/*
Theme Name:   
Author:       Digeek
Author URI:   https://digeek.fr/
Version:      0.0.1
Description : Fichier CSS chargé sur le FRONT de Wordpress
*/

/*
* GENERAL
*/

/* Variables CSS */
:root {
    /* Colors */
    --main-black: #000;
    --main-white: #fff;
    --main-brown: #432D34;
    --main-rose: #FFEFEB;
    --main-dark-rose: #F08974;

    /* Font sizes Desktop */
    --font-nav-link: 10px;
    --font-title: 40px;
    --font-p-title: 12px;
    --font-content: 10px;


}

/* Font sizes Mobile */

@media (min-width: 1024px) {
    :root {
        --font-nav-link: 10px;
        --font-title: 50px;
        --font-p-title: 16px;
        --font-content: 14px;
    }
}
@media (min-width: 1280px) {
    /*
    :root {
        --font-nav-link: 20px;
    }
    */
}

/* Général */
body {
    font-family: 'Bloery', sans-serif;
    color: var(--main-brown);
}

section {
    position: relative;
    z-index: 30;
    overflow: hidden;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--main-brown);
}

h1, h1 p {
    font-size: var(--font-title);
    font-weight: bold;
    margin-bottom: 40px;
}
.single-post h1,
.single-post h1 p{
    font-size: 30px;
}
h2 {
    font-size: var(--font-title);
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.3;
}

h3 {
    font-size: var(--font-content);
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

h4 {
    font-size: var(--font-content);
    font-weight: bold;
    margin: 0;
}

.content-article h2,
.content-article h3,
.content-article h4{
    font-size: initial;
    line-height: normal;
}


p {
    font-size: var(--font-p-title);
    font-weight: 300;
    line-height: 1.5;
}

.content-text,
.content-text p {
    font-size: var(--font-content);
    font-weight: 300;
    margin: 0;
    margin-bottom: 20px;
}

img {
    width: 100%;
    height: auto;
}

strong {
    font-weight: bold;
}

.centered-vertically {
    display: flex;
    align-items: center;
}

.rounded-bg {
    text-align: center;
    background-color: var(--main-rose);
    border-radius: 50%;
}

.bg-white {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
    padding: 30px;
}

@media (max-width: 768px) {
    .bg-white {
        padding: 20px;
    }
}

.rose {
    color: var(--main-dark-rose);
}

.rose-stroke {
    color: #fff;
    border: solid 1px var(--main-dark-rose);
}

article {
    margin-top: 60px;
    margin-bottom: 60px;
}

.header-section-bg-line {
    position: relative;
}

.header-section-bg-line:before {
    content: '';
    position: absolute;
    right: 103%;
    top: 10px;
    transform: translateY(-50%);
    width: 1000px;
    height: 10px;
    background-color: var(--main-dark-rose);
}

#how-it-works, #agents {
    height: 40px;
}

#engagements {
    height: 140px;
}

/* ANIMATION PAGE SCROLL */
.service-section {
    margin-top: 80px;
}

@media (max-width: 992px) {
    .service-section {
        margin-top: 80px;
    }
}

.fadeinRight {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}

.fadeinLeft {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}

/* Horizontal translate */
.fadein-active {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadein-active.fadeinLeft {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
    animation-name: fadeInLeft;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadein-active.fadeinRight {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
    animation-name: fadeInRight;
}

@keyframes fadeInRight{
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Opacity animation */
.anim-opacity {
    opacity: 0;
}

.anim-opacity-active {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: opacityAnim;
}

@keyframes opacityAnim {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Content opacity delay 1s */
.opacity-content {
    opacity: 0;
}

.fadein-active .opacity-content {
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: both;
    animation-name: opacityAnim;
}

.fadein-active .opacity-content-header {
    animation-duration: 2s;
    animation-delay: 1s;
    animation-fill-mode: both;
    animation-name: opacityAnim;
}

/* Header */
.bg-header {
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100%;
    background-image: url('../img/background/bg-header.png');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
}

.bg-header-secondary-page {
    position: relative;
    top: 0;
    width: 100%;
    background-image: url('../img/background/bg-secondary-page.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    padding-bottom: 60px;
}

@media (max-width: 992px) {
    .bg-header {
        height: 120vh;
    }
}

header {
    padding-top: 35px;
    position: relative;
    z-index: 100;
    overflow: hidden;
}

/* Navigation Desktop */
.header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--main-rose);
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-img {
    width: 150px;
    height: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
    font-size: var(--font-nav-link);
    font-weight: 300;
    text-transform: uppercase; 
}

#menu-item-162 a {
    padding: 10px 20px;
    background-color: var(--main-white);
    text-align: center;
    border-radius: 50px;
    color: var(--main-brown);  
}

.current-menu-item {
    text-shadow: 0 0.5px var(--main-brown),0 -0.5px var(--main-brown),0.5px 0 var(--main-brown),-0.5px 0 var(--main-brown);
}

#menu-item-27,
#menu-item-28,
#menu-item-29 {
    text-shadow: none;
}

nav ul li a:hover {
    text-shadow: 0 0.5px var(--main-brown),0 -0.5px var(--main-brown),0.5px 0 var(--main-brown),-0.5px 0 var(--main-brown);
    color: var(--main-brown);
}

.menu-burger {
    display: none;
}

/* Navigation Mobile */
@media (max-width: 1400px) {
    nav {
        display: none;
    }

    .menu-burger {
        background-color: #fff;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        display: flex;
        padding: 10px;
        z-index: 100;
      }
      .menu-burger svg {
          width: 40px;
          height: 40px;
      }
      .line {
        fill: none;
        stroke: black;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
          stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
      }
      .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
      }
      .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
      }
      .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
      }
      .opened .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
      }
      .opened .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
      }
      .opened .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
      }

      /* Display navigation links */
      .menu-active {
          display: block;
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0,0,0,0.9);
          display: flex;
          align-items: center;
          z-index: 80;
          /* Animation opacity */
          animation-duration: 0.5s;
          animation-name: opacityAnim;
      }
      .menu-menu-1-container {
          margin: auto;
      }
      .menu-active ul {
        display: flex;
        flex-direction: column;
        margin: auto;
        text-align: center;
      }
      .menu-active li {
          color: #fff;
          margin: 20px;
      }
      .menu-item {
        opacity: 0;
        animation-duration: 0.5s;
        animation-fill-mode: both;
        animation-name: opacityAnim;
      }
      .menu-active li a {
        color: #fff;
    }
    .btn-client {
        background-color: #F08974;
    }
}

/* Content header */
.header-content {
    margin-top: 100px;
}

.header-content .col-12:first-child {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .header-content {
        margin-top: 80px;
        margin-bottom: 30px;
    }

    .header-content-img {
        margin-top: 40px;
        width: 400px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .header-content-img {
        width: 300px;
    }
}

/* Feature "Etre rappelé" */
.callback-form {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 55;
    width: 300px;
    height: auto;
    display: none;
    background-color: white;
    border-radius: 20px;
}

.callback-form.active {
    display: block;
}

.callback-form .bg-white {
    padding: 0;
    opacity: 0;
}

.callback-form.active {
    box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
    animation-duration: 0.5s;
    animation-name: formAnimation;
}

@keyframes formAnimation {
    from {
        width: 10px;
        max-height: 10px;
    }
    75% {
        max-height: 50px;
    }
    to {
        width: 300px;
        max-height: 440px;
    }
}

.callback-form.active .bg-white {
    animation-duration: 1s;
    animation-name: opacityAnimForm;
    animation-fill-mode: both;
    animation-delay: 0.5s;
}

@keyframes opacityAnimForm {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.callback-form header {
    background-color: var(--main-dark-rose);
    text-align: center;
    padding: 20px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
}

.callback-form .callback-form-container {
    padding: 0 20px;
}

.callback-form .nf-form-fields-required {
    display: none;
}

.callback-form label {
    display: none;
}

.callback-form #nf-field-13-wrap {
    text-align: center;
}

.link-rgpd {
    font-size: var(--font-content);
    color: var(--main-dark-rose);
    font-weight: 300;
}

.link-rgpd:hover {
    color: var(--main-dark-rose);
    font-weight: bold;
}


.callback-message-hover {
    color: var(--main-brown);
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 50;
    font-weight: bold;
    display: none;
}

.callback-message-hover.active {
    display: block;
}

.callback-message-hover .bg-white {
    padding: 10px;
    border-radius: 10px;
}

.callback-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 70px;
    height: 50px;
    background-color: var(--main-brown);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    z-index: 50;
    font-size: 20px;
}
.callback-button:after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 25%;
    display : inline-block;
    height : 0;
    width : 0;
    border-top : 20px solid var(--main-brown);
    border-left : 20px solid transparent;
}

/* Nos services */
.anim-scale {
    transform: scale(0);
    opacity: 0;
}

.anim-scale .rounded-bg-service,
.anim-scale .service-section-card-item-description {
    opacity: 0;
}

.anim-scale-active {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: scaleAnim;
}

.anim-scale-active .rounded-bg-service,
.anim-scale-active .service-section-card-item-description {
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: both;
    animation-name: opacityAnim;
}

@keyframes scaleAnim {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.service-section-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.service-section-card-item {
    width: 20%;
    flex: 0 0 20%;
    padding: 10px;
}

.service-section-card-item .bg-white {
    height: 100%;
}

@media (max-width: 1200px) {
    .service-section-card-item {
        width: 33%;
        flex: 0 0 33%;
    }
}

@media (max-width: 768px) {
    .service-section-card-item {
        width: 50%;
        flex: 0 0 50%;
    }
}

.rounded-bg-service {
    margin: auto;
    width: 100px;
    height: 100px;
}

.service-section-card-item-description {
    text-align: center;
    margin-top: 20px;
}

/* Comment ça marche Section */
.how-it-works-section {
    margin-top: 100px;
    padding-bottom: 60px;
}

.how-it-works-section-header {
    margin-bottom: 60px;
}

.timeline {
    display: flex;
    align-items: center;
}

.desktop-timeline {
    display: block;
}

.mobile-timeline {
    display: none;
}

@media (max-width: 992px) {
    .desktop-timeline {
        display: none;
    }
    .mobile-timeline {
        display: block;
        width: 75%;
        height: auto;
        margin: auto;
        margin-top: 60px;
    }
}

.how-it-works-section-item {
    display: flex;
    padding: 20px;
}

.rounded-bg-how-it-works {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    line-height: 40px;
    font-weight: bold;
}

.how-it-works-section-annotation {
    position: relative;
}

.how-it-works-section-annotation div {
    position: absolute;
    right: 0;
    width: 50%;
    font-size: 8px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .how-it-works-section-annotation div {
        width: 75%;
    }
}

/* Promesse section */
.promesse-section {
    margin-top: 80px;
    background-image: url('../img/background/bg-promesse-section.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 150px;
    overflow-x: hidden;
}

.promesse-section h2 {
    margin-bottom: 60px;
}

.promesse-section-content {
    position: relative;
}

.promesse-section-content::before {
    content: '';
    height: 10px;
    width: 1000px;
    position: absolute;
    top: 0;
    left: 103%;
    background-color: var(--main-dark-rose);
}

@media (max-width: 992px) {
    .promesse-section-img {
        
        width: 75%;
        height: auto;
        margin: 0 auto;
        margin-bottom: 40px;
    }
}

/* Nos bons agents section */
.agent-section {
    margin-top: 100px;
    padding-bottom: 80px;
    background-image: url('../img/background/bg-agent.png');
    background-repeat: no-repeat;
    background-position: bottom 0px right 0px;
}

.illustration-agent {
    display: flex;
    justify-content: center;
}

.illustration-agent img {
    align-self: flex-end;
    width: 75%;

}

@media (max-width: 992px) {
    .illustration-agent img {
        margin-top: 30px;
        width: 100%;
    }
}

.agent-section-description {
    margin-top: 60px;
}

.agent-section-description p {
    margin-bottom: 30px;
}

/* Section ce qu'ils pensent */
.testimonial-section {
    position: relative;
    padding: 80px 0;
}

.testimonial-section .container {
    position: relative;
    z-index: 10;
}

.testimonial-section:after {
    content: '';
    position: absolute;
    top: 0;
    background-color: var(--main-rose);
    width: 100%;
    height: 75%;
    z-index: 5;
}

.testimonial-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-section-title h2 {
    margin: 0;
}

.testimonial-section-img {
    text-align: center;
}

.testimonial-section-img img {
    width: auto;
    height: 200px;
}

@media (max-width: 992px) {
    .testimonial-section-title {
        justify-content: start;
    }
    .testimonial-section-img {
        margin-top: 40px;
    }
}

.testimonial-section-wrapper {
    margin-top: 80px;
    position: relative;
}

.slick-button {
    position: absolute;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);

    background-color: transparent;
    border: none;

    font-size: 30px;
}

.slick-before {
    left: 0px;
}

.slick-after {
    right: 0px;
}

.testimonial-section-slider {
    padding: 0 60px;
}

.testimonial-section-slider-item {
    padding: 10px;
    text-align: center;
}

.slick-track {
    display: flex;
}

.slick-slide {
    height: auto;
}

.slick-slide>div,
.testimonial-section-slider-item, 
.testimonial-section-slider-item .bg-white {
    height: 100%;
}

.testimonial-section-slider-item .centered-vertically {
    justify-content: center;
}

.testimonial-section-slider-notation {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.testimonial-section-slider-notation .star-icon {
    margin: 0 2px;
}

.testimonial-date {
    margin-top: 20px;
}

.testimonial-section-slider-item .centered-vertically {
    height: 100%;
}

/* Footer */
footer {
    position: relative;
    z-index: 20;
    background-color: var(--main-brown);
    padding: 30px 20px;
    color: var(--main-white);
}

footer .content-text{
    margin-bottom: 0px !important;
}

.logo-footer {
    height: 50px;
    width: auto;
}
.logo-footer-aubonmandat{
    width : 100%;
    height:auto;
}
body.page-template-template-estimation{
    background-color: #432D34;
}
.page-template-template-estimation .logo-footer {
    width: 100%;
}
/*
@media (min-width: 992px) {
    .logo-footer-aubonmandat,
    .logo-footer,
    .page-template-template-estimation .logo-footer  {
        height: 50px;
        width: auto;
        margin-bottom: 20px;
    }
}
*/
footer a {
    color: var(--main-white);
}

footer a:hover {
    color: var(--main-white);
    font-weight: bold;
}

footer h3 {
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .footer-menu {
        margin-bottom: 40px;
    } 
}
.footer-menu ul li {
    width: 49%;
    display: inline-block;
}
@media (min-width: 1024px) {
    .footer-menu ul li { 
        width: 100%;
        display: block;
    }
}
.network-title {
    margin-top: 40px;
}

.social-networks {
    display: flex;
}

.social-networks a {
    margin-right: 15px;
}

.social-networks a:last-child {
    margin-right: 0;
}

.social-networks img {
    width: 30px;
    height: auto;
}

.logo-occitanie {
    text-align: right;
}

@media (max-width: 992px) {
    .logo-occitanie {
        text-align: left;
        margin-top: 40px;
    }    
}

.logo-occitanie img {
    width: 180px;
    height: auto;
}
.logo-partenaires{
    text-align: center;
}
.logo-partenaires img {
    height: 40px;
    width: auto;
    max-width: 140px;
    margin-right: 8px;
    margin-bottom: 8px;
   
}
@media (min-width: 1024px) {
    .logo-partenaires img {
        margin-right: 40px;
        display: inline-block;
        max-width: auto;
    }  
}
@media (min-width: 1280px) {
    .logo-partenaires img {
        margin-right: 60px;
    }  
}
@media (min-width: 1440px) {
    .logo-partenaires img {
        margin-right: 90px;
    }  
}
.footer-credentials {
    border-top: solid 1px #fff;
    padding-top: 10px;
    margin: 0 auto;
    margin-top: 30px;
}

.footer-credentials-content {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

@media (max-width: 992px) {
    .footer-credentials-content {
        display: block;
    } 
}


/* CONTACT PAGE */
.header-content-thumbnail-container {
    display: flex;
    justify-content: center;
}

.header-content-thumbnail-container img {
    align-self: flex-end;
    width: 50%;
}

@media (max-width: 992px) {
    .header-content-thumbnail-container img {
        margin-top: 30px;
        width: 75%;
    }
    .page-id-34 .header-content-thumbnail-container img {
        width: 50%;
    }
}

#contact-section {
    padding-top: 40px;
    padding-bottom: 75px;
    background-image: url('../img/background/bg-agent.png');
    background-repeat: no-repeat;
    background-position: bottom 0 left 0;
    position: relative;
    overflow-x: hidden;
}
@media (min-width: 1024px) {
    #contact-section {
        padding-top: 80px;
        padding-bottom: 150px;
    }
}
.contact-right-img {
    position: absolute;
    display: block;
    width: 50%;
    left: 52%;
    top: 80px;
}

.contact-right-img img {
    object-fit: cover;
    height: 100%;
}

@media (max-width: 992px) {
    .contact-right-img {
        display: none;
    }
}

.nf-form-content {
    margin: 0;
    margin-top: 30px;
    max-width: 100%;
}
.nf-response-msg{
    padding-top: 10px;
    padding-bottom: 10px;
}
#contact-section .nf-field-label {
    display: none;
}
#nf-field-23-container{
    margin-bottom: 0;
}
.g-recaptcha  iframe{
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
}
@media (min-width: 992px) {
    .g-recaptcha iframe{
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
}
#nf-field-19-wrap .nf-field-label {
    display: block;
}

#contact-section input, 
#contact-section textarea {
    background-color: #fff;
    border: var(--main-brown) 1px solid;
    color: var(--main-brown);
}

#contact-section input::placeholder, 
#contact-section textarea::placeholder {
    color: var(--main-brown);
    opacity: 0.3;
}

.nf-checked-label {
    color: var(--main-dark-rose);
}

.listradio-wrap .nf-field-element label.nf-checked-label:before {
    background: var(--main-dark-rose);
}

input[type=button] {
    background-color: var(--main-brown) !important;
    color: var(--main-white) !important;
}

.nf-error,
.nf-error .nf-error-msg {
    color: #e80000;
    font-size: 12px;
    
}
@media (max-width: 1024px) {
    .nf-error,
    .nf-error .nf-error-msg {
        font-size: 14px;
        
    }
}
.nf-field-container .nf-field-label{
    margin-bottom: 3px !important;
}
#nf-field-91-wrap .nf-field-label,
#nf-field-64-wrap .nf-field-label,
#nf-field-5-0,#nf-field-5-1
{
    display: none;
}
#nf-field-91,
#nf-field-64{
    min-height: 54px; 
}
/* ERROR 404 */
.error-404 {
    margin-top: 60px;
    margin-bottom: 60px;
}

.error-404-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 30px;
}

.error-404-title {
    text-align: center;
}

.error-404-content strong {
    font-size: 200px;
    line-height: 200px;
}

.error-404-content p {
    font-size: 30px;
    text-align: center;
}

.error-404-link {
    margin-top: 30px;
    text-align: right;
}

.error-404-link a {
    color: var(--main-dark-rose);
    font-weight: bold;
}

@media (max-width: 992px) {
    .error-404-content strong {
        font-size: 120px;
        line-height: 120px;
    }
    .error-404-content p {
        margin-top: 20px;
        font-size: 18px;
    }

    .error-404-link a {
        font-size: 14px;
    }
}

/* NOS PARTENAIRES */
.partenaire-item {
    text-align: center;
    padding: 10px;
}

.partenaire-item a:hover {
    color: var(--main-brown);
}

.partenaire-item img {
    width: auto;
    height: auto;
    display: block;
    margin: auto;
}


/* ARTICLE LAYOUT & BLOG */
#blog-page {
    padding: 40px 0;
}

.introduction-blog {
    text-align: center;
    margin-bottom: 40px;
}

.article-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

.article-wrapper>div {
    flex: 0 0 50%;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .article-wrapper {
        display: block;
    }
}

.article-wrapper img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

.article-infos h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-infos p {
    font-size: var(--font-content);
}

.article-url a {
    color: var(--main-dark-rose);
    font-size: 12px;
}

.article-url a:hover {
    text-decoration: underline;
}

.pagination-blog {
    margin-top: 20px;
    text-align: center;
}

.page-numbers:hover {
    color: var(--main-brown);
    text-decoration: underline;
}

.page-numbers.current {
    color: var(--main-dark-rose);
    text-decoration: underline;
}

.next-prev-link {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.next-prev-link a:hover {
    color: var(--main-brown);
    text-decoration: underline;
}

.content-article {
    margin: 40px 0;
}

.taxonomy-filter {
    text-align: center;
}

.taxonomy-filter a {
    padding: 5px 20px;
    background-color: var(--main-rose);
    color: var(--main-brown);
    border-radius: 50px;
    display: inline-block;
    margin: 5px;
}

.taxonomy-filter a:hover, .taxonomy-filter a.current {
    padding: 5px 20px;
    background-color: var(--main-dark-rose);
    color: var(--main-white);
    border-radius: 50px;
}

#breadcrumbs {
    margin-top: 40px;
}

#breadcrumbs a {
    font-weight: bold;
}

#breadcrumbs a:hover {
    color: var(--main-brown);
    text-decoration: underline;
}


/* Estimation step form */
.estimation-form .nf-row{
    position: relative
}
.estimation-form .nf-form-content {
    margin: 0;
    margin-top: 0px;
    max-width: 100%;
    padding-top: 0 !important;
}
.estimation-form #ninja_forms_required_items, .estimation-form .nf-field-container{
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    .estimation-form #ninja_forms_required_items, .estimation-form .nf-field-container{
        margin-bottom: 20px;
    }
}
.estimation-form input, .estimation-form textarea, .estimation-form select {
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    -ms-border-radius: 10px !important;
    -o-border-radius: 10px !important;
    border: 1px solid !important;

}

.estimation-form input.nf-next, .estimation-form input.nf-previous {
    border: 3px solid var(--main-brown) !important;
}

.estimation-form .nf-progress-container {
    margin-bottom: 20px !important;
    margin-top: 0;
}

.estimation-form .nf-progress {
    background-color: var(--main-dark-rose) !important;
}
 
.estimation-form .nf-progress-container, .estimation-form .nf-progress {
    height: 5px !important;
}

.estimation-form input.nf-next:hover, 
.estimation-form input.nf-previous:hover {
    background-color: var(--main-white) !important;
    color: var(--main-brown) !important;
    border: 3px solid var(--main-brown) !important;
}
.nf-form-content button:hover, 
.nf-form-content input[type=button]:hover, 
.nf-form-content input[type=submit]:hover{
    background-color: var(--main-white) !important;
    color: var(--main-brown) !important;
    border: 3px solid var(--main-brown) !important;
}
div[for=nf-field-48], div[for=nf-field-59], div[for=nf-field-35], div[for=nf-field-37], div[for=nf-field-41] {
    border: none !important;
}

.nf-form-content .list-select-wrap .nf-field-element>div{
    border: none !important;;
}
.estimation-form .message-intro-step .nf-field-element {
    display: flex;
    align-items: center;
    background-color: var(--main-rose) !important;
    padding: 15px !important; 
    border-radius: 20px !important;
}
@media (min-width: 1024px) {
    .estimation-form .message-intro-step .nf-field-element {
        padding: 20px !important; 
    }
}
.estimation-form .message-intro-step .nf-field-element p {
    margin: 0 !important;
    margin-right: 20px !important;
    font-weight: bold;
}

.estimation-form .message-intro-step .nf-field-element img {
    width: 60px !important;
    height: auto !important;
    border-radius: 50%;
    background-color: var(--main-dark-rose);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.estimation-form .estimation-radio-field .list-radio-wrap ul li label {
    cursor: pointer;
    margin: auto !important;
    border: 1px solid var(--main-brown);
    padding: 10px !important;
    border-radius: 10px;
    transition: all .3s ease-in-out;
    font-size: 14px;
}
@media (min-width: 768px) {
    .estimation-form .estimation-radio-field .list-radio-wrap ul li label {
        font-size: 18px;
        padding: 20px !important;
    }
}
.estimation-form .estimation-radio-field .list-radio-wrap ul li label.nf-checked-label {
    color: var(--main-brown) !important;
    background-color: var(--main-rose) !important;
    border: 1px solid var(--main-brown);
}

.estimation-form .estimation-radio-field .list-radio-wrap ul li label {
    text-align: center;
    margin: 0 !important;
}

.estimation-form .estimation-radio-field .list-radio-wrap ul li input, .estimation-radio-field .list-radio-wrap ul li label:before, .estimation-radio-field .list-radio-wrap ul li label:after {
    display: none !important;
}

.estimation-form .estimation-field-checkbox .list-checkbox-wrap ul li label {
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--main-brown);
    border-radius: 10px;
    transition: .3s all ease-in-out;
}

.estimation-form .estimation-field-checkbox .list-checkbox-wrap ul li label:hover {
    /* transform: scale(1.1);*/
    border: 1px solid var(--main-brown);
}

.estimation-form .estimation-field-checkbox .list-checkbox-wrap ul li label {
    margin-left: 0 !important;
    display: block;
    width: 100%;
    padding: 10px 30px;
}

.estimation-form .estimation-field-checkbox .list-checkbox-wrap ul li label.nf-checked-label {
    background-color: var(--main-rose) !important;
    color: var(--main-brown);
    border: 3px solid var(--main-brown);
}

.estimation-field-checkbox .list-checkbox-wrap ul li label:before, 
.estimation-field-checkbox .list-checkbox-wrap ul li label:after {
    visibility: hidden;
}

.estimation-form #nf-field-49-container {
    float: right;
    margin-bottom: -100px;
    margin-top: 20px;
}
.estimation-form .estimation-form #nf-field-77-container .nf-field-label,
.estimation-form .estimation-form #nf-field-49-container .nf-field-label {
    margin: 0 !important;
}

.estimation-form .estimation-field-expert img {
    width: 100% !important;
    max-width: 110px !important;
    height: auto;
}
@media (min-width: 768px) {
    .estimation-form .estimation-field-expert img {
        max-width: 200px !important;
    }
}
.estimation-form .estimation-field-type-bien img {
    object-fit: cover;
    width: 100%;
    max-width: 110px;
    height: auto;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .estimation-form .estimation-field-type-bien img {
        max-width: 200px;
    }
}

.estimation-form .form-recap{
    background-color: var(--main-rose);
    padding: 40px;
    margin: auto;
    border-radius: 20px;
}
.estimation-form .estimation-validate{
    max-width: 150px;
    position: absolute;
    right: 0;
    top: 20px;
}
.estimation-form .nf-form-content .listcheckbox-wrap li,
    .estimation-form .nf-form-content .listradio-wrap li{
    display: inline-block;
    vertical-align: top;
    width: 49%;
    margin-bottom: 0px!important;
}
#nf-field-60-container .estimation-form .estimation-field-checkbox .listcheckbox-wrap li {
    margin-bottom: 5px!important;
}
@media (min-width: 1024px) {
    #nf-field-60-container .estimation-form .estimation-field-checkbox .listcheckbox-wrap li {
        margin-bottom: 0px;
    }
}
.estimation-form .nf-form-content .listradio-wrap li label {
    min-height: 175px;
}
@media (min-width: 768px) {
    .estimation-form .nf-form-content .listradio-wrap li{
        margin-bottom: 12px!important;
    }
}
/*
#nf-label-class-field-28-0{
    min-height: 251px;
}
*/
@media (min-width: 992px) {

    .estimation-form .nf-form-content .listcheckbox-wrap li,
    .estimation-form .nf-form-content .listradio-wrap li{
        display: block;
        vertical-align: top;
        width: 100%;
    }
    .estimation-form .nf-form-content .listcheckbox-wrap li,
    .estimation-form .nf-form-content .listradio-wrap li{
        margin-bottom: 0px!important;
    }
    .estimation-form .estimation-radio-field .list-radio-wrap ul {
        display: grid;
        /* grid-template-columns: repeat(2, 50%); */
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 20px;
    }

    .estimation-form .estimation-radio-field .list-radio-wrap ul li {
        display: flex;
        justify-content: center;
        height: 100%;
    }

    .estimation-form .estimation-radio-field .list-radio-wrap ul li label {
         width: 100%; 
    }

    .estimation-form .estimation-radio-field .list-radio-wrap ul li label:hover {
        transform: scale(1.1);
        border: 3px solid var(--main-brown);
    } 

    .estimation-form .estimation-field-checkbox .list-checkbox-wrap ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .estimation-form .estimation-field-checkbox.options .list-checkbox-wrap ul{
        grid-template-columns: 33% 33% 33%;
        width: 70%;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    

    .estimation-form .message-intro-step .nf-field-element {
        border-bottom-left-radius: 100px !important;
        border-top-left-radius: 100px !important;
        border-top-right-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
    }

    .estimation-form .estimation-form .form-recap{
        max-width: 75%;
    }
}
#nf-field-92-wrap,
#nf-field-65-wrap{
    display: none;
}
@media (min-width: 768px){
    #nf-field-92-wrap,
    #nf-field-65-wrap{
        display: block;
    }
}


/* Estimation template */
#estimation-content{
    background-color: #fff;
}
#estimation-header {
    padding: 20px;
    background-color: var(--main-rose);
    display: flex;
    justify-content: center;
}
#estimation-content .container,
#estimation-content .nf-form-content {
    padding-left: 0;
    padding-right: 0;
}
#estimation-content   .nf-mp-body,
#estimation-content .nf-mp-footer,
#estimation-content .nf-after-form-content{
    padding-right: var(--bs-gutter-x,.75rem);
    padding-left: var(--bs-gutter-x,.75rem);
    
}
@media (min-width: 992px) {
    #estimation-content .nf-response-msg,
    #estimation-content .nf-debug-msg,
    #estimation-content .nf-before-form,
    #estimation-content .nf-before-form-content,
    #estimation-content .nf-mp-body,
    #estimation-content .nf-mp-footer {
        max-width: 780px;
        margin: auto;
    }
}
