/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1400PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1400px) {

    html {
        font-size: 95%;
        -webkit-text-size-adjust: 95%;
        -ms-text-size-adjust: 95%;
    }
    
    body:not(.page-template-page-annonce) .ui-tabs .ui-tabs-nav li {
        width: 24%;    
    }
    
    
    
}


/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1340 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1340px) {


    h1 {
        font-size: 2.8rem;
        line-height: 3rem;
    }

    h2 {
        font-size: 2.4rem;
        line-height: 2.7rem;
    }
    
    .top-home.no-mobile {
        padding-top: 70px;
        background-position: top center;
    }
    

}


/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1280 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1280px) {

    h1 {
        font-size: 2.6rem;
        line-height: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
        line-height: 2.5rem;
    }

    h3 {
        font-size: 1.7rem;
        line-height: 1.9rem;
    }

    h4 {
        font-size: 1.3rem;
        line-height: 1.5rem;
    }

    h5 {
        font-size: 1rem;
        line-height: 1.3rem;
    }
    
    .flex-item-moitie iframe {
        height: 280px;    
    }
    
    .big,
    p.big {
        font-size: 1.15rem;
        line-height: 1.3rem;
    }

    .wrapthin {
        margin: 0 auto;
        width: 100%;
        position: relative;
        padding: 0 var(--leftright);
    }
    
    .picto-service {
        width: 80px;
        height: 80px;
    }

    
    

    
}


/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1200 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1200px) {

    .container-top-home .cta,
    .top-home .cta {
        display: block;
        margin-right: 0;
        width: 250px;
        top: 0;
        margin-top: 20px;
    }
    
    .top-home.no-mobile {
        padding-top: 40px;
    }
    
    
    .container-top-home .cta {
        margin: 20px auto 0;
    }
    
    .logo-header {
        width: 260px;
        height: 35px;
    }
    
    .module-categorie {
        padding: 30px;    
    }
    
    .footer-banner {
        height: 20vh;    
    }
    
    a.cta.small {
        font-size: .8rem;
        padding: 4px 12px;
        border-radius: 4px;
        border-width: 1px;
    }
    
    .liens-header li a {
        font-size: .8rem;
        line-height: 1.1rem;
    }
    
    .liens-header li {
        margin: 0 5px;    
    }
    
    .liens-header li a::before {
        font-size: 1.1rem;    
    }
    
    .container-menu-principal {
        padding: 15px 0;
        margin: 10px 0;
    }
    
    a.cta {
        font-size: 1rem;
        padding: 6px 18px;
    }
    
    .container-menu-principal ul li a {
        font-size: .9rem;    
    }
    
    
    body.page-template-page-annonce article .flex-item-quart,
    body.page-template-page-annonce article .flex-item-trois-quart {
        width: 100%;
    }
    
    .flex-item-tiers.flex-module-produit {
        width: 48%;    
    }
    
    .flex100 {
        width: 48% !important;
    }
    
    .flex100 .flex-item-moitie {
        margin-bottom: 0 !important;
    }
    
    body.page-template-default.page main .wrap:not(.rangee-page) {
        width: 100%;
        padding: 0 30px;
    }
    
    .container-menu-principal ul li {
        margin: 0 12px;    
    }
    
    
}


/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 967 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 967px) {

    
    .top-page {
        height: 80px;
    }
    
    .container-menu-principal {
        display: none;
    }
    
    .rangee-page {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    h1 {
        font-size: 2.4rem;
        line-height: 2.6rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 2.3rem;
        margin: 0 0 20px 0;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.7rem;
    }

    h4 {
        font-size: 1.2rem;
        line-height: 1.3rem;
    }

    h5 {
        font-size: 1rem;
        line-height: 1.3rem;
    }
    
    .module-categorie .picto-cat {
        width: 90px;
        height: 90px;
    }
    

    #shiftnav-toggle-main,
    #shiftnav-toggle-main.scroll {
        top: 20px !important;
    }
    
    .container-menus-subheader {
        position: fixed;
        bottom: 0;
        left: 0;
        background: var(--bleu);
        padding: 12px 0;
        z-index: 80;
        width: 100%;
    }
    
    .container-menus-subheader .liens-header {
        margin-right: 70px;    
    }

    .container-menus-subheader .liens-header li {
        margin-right: 15px;    
    }
    
    .container-menus-subheader .liens-header li a {
        font-size: .9rem;
    }
    
    .container-menus-subheader .liens-header li a,
    .container-menus-subheader .liens-header li a::before {
        color: #fff !important;
    }
    
    .container-menus-subheader .liens-header li a::before {
        display: inline-block;
        margin-right: 6px;
        vertical-align: middle;
    }
    
    .container-menus-subheader .liens-header li a::after {
        display: none;
    }
    
    .container-menus-subheader a.cta.small {
        top: 0 !important;
        color: #fff;
        margin-right: 10px !important;
        border-color: #fff !important;
    }
    
    footer.footer {
        padding-bottom: 100px;    
    }
    
    .top-home .flex-item-moitie {
        width: 60%;    
    }
    
    .acf-field.acf-field-645522ab8ef38,
    .acf-field.acf-field-645522df8ef39,
    .acf-field.acf-field-6455230e8ef3a,
    .acf-field.acf-field-6455234d8ef3b {
        width: 20% !important;
        margin-right: 6% !important;
    }
    
    .acf-field.acf-field-6455234d8ef3b {
        margin-right: 0 !important;
    }
    
    .container-boutons-compte {
        order: 2;
        width: 100% !important;
        margin-top: 30px;
    }
    
    .container-tdb {
        order: 1;
        width: 100% !important;
    }
    
    .header-compte .bouton-compte {
        padding: 15px 20px;
    }
    
    .container-cta-depose {
        width: 100% !important;
        padding: 20px 0 40px;
        text-align: right;
    }
    
    .container-cta-depose a.cta {
        display: inline-block;
    }
    
    .container-tabs {
        width: 100% !important;
    }
    
    .module-annonce .boutons-actions-annonces,
    .module-annonce .container-titre {
        width: 100% !important;
    }
    
    .module-annonce .boutons-actions-annonces {
        margin-bottom: 0 !important;
    }
    
    .module-annonce .container-titre {
        margin-bottom: 25px;    
    }
    
    body:not(.page-template-page-annonce) .ui-tabs .ui-tabs-nav li {
        width: 33%;    
    }
    
    .container-messagerie .flex-item.flex-item-quart {
        width: 32%;    
    }
    
    .container-messagerie .flex-item.flex-item-trois-quart {
        width: 64%;
    }
    
    .flex100 {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .flex100 .flex-item-moitie {
        width: 48% !important;
    }

    .infos-annonce-paiement .img-produit-message {
        height: 100px;
        margin-top: 0;
    }
    
    .module-recherche {
        text-align: center;    
    }
    
    .module-recherche .part-left,
    .module-recherche .part-right {
        width: 100% !important;
        float: none;
    }
    
    .module-recherche .part-left {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .module-recherche .searchandfilter li {
        width: 33%;
        margin: 0 auto;
    }

    .module-recherche .searchandfilter li.sf-field-search {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .top-home.no-mobile {
        padding-top: 0;
        background-position: center center;
    }
    
    a.cta.annonce {
        width: 300px;
        margin: 0 auto !important;
        padding: 18px 20px;
    }

    .container-compte h2 {
        text-align: center;    
    }
    
    /**************/
    /* 09/2025 */
    /**************/
    
    a.btn-demande {
        bottom: 80px;
        right: 20px;
        box-shadow: 0 0 30px rgba(0,0,0,0.1);
    }
    
    
    
}



/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 768 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 768px) {
    
    #toTop {
        display: none !important;
    }
    
    .thin {
        width: 100%;
    }
    
    
    .top-home .flex-item-moitie,
    .flex-item-moitie {
        width: 100%;
        margin-bottom: 20px;
    }
    
    
    .flex-item-quart {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .flex-item-cinq {
        width: 31%;
        margin-bottom: 20px;
    }

    .flex-item-tiers,
    .flex-item-deux-tiers {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .padding40 {
        padding: 30px;
    }

    .padding30 {
        padding: 20px;
    }

    .mobile-only {
        display: block !important;
    }
    
    .mobile-only.container-label {
        display: inline-block!important;
    }
    
    .desktop-only,
    .no-mobile {
        display: none !important;
    }
    
    h1 {
        font-size: 2.2rem;
        line-height: 2.4rem;
    }
    
    .rangee-image-seule {
        max-height: 40vh;    
    }
    
    .rangee-page {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .superbig {
        font-size: 1.8rem;
        line-height: 2rem;
        margin-bottom: 15px;
    }
    
    .container-menus-subheader {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container-menus-subheader.connecte {
        text-align: center;    
    }
    
    .container-menus-subheader .liens-header {
        margin-right: 0;
        display: block;
        margin: 0 auto 15px;
             
    }

    .container-menus-subheader.connecte .liens-header li {
        margin: 0 10px;
    }
    
    .container-menus-subheader.connecte .liens-header li a::before {
        display: block;
        margin-right: auto;
    }

    .container-menus-subheader.connecte a.cta.small:last-child {
        /*display: none;*/
    }
    
    .container-menus-subheader {
        text-align: center;    
    }
    
    
    
    .container-menus-subheader a.cta.small {
        
    }
    
    /*
    .acf-field.#field_frais,
    .acf-field.acf-field-645526d48ef49,
    .acf-field.acf-field-645524098ef3d,
    .acf-field.acf-field-645526358ef47,
    .acf-field.acf-field-645525fc8ef46,
    .acf-field.acf-field-645525398ef43,
    .acf-field.acf-field-645525688ef44,
    .acf-field.acf-field-645525d78ef45 {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    .acf-field.acf-field-645522ab8ef38,
    .acf-field.acf-field-645522df8ef39,
    .acf-field.acf-field-6455230e8ef3a,
    .acf-field.acf-field-6455234d8ef3b {
        width: 45% !important;
        margin-right: 5% !important;
    }
    */
    
    .acf-field {
        width: 100% !important;    
        margin-right: 0 !important;
    }
    
    
    .acf-field.acf-field-645522df8ef39,
    .acf-field.acf-field-6455234d8ef3b {
        margin-right: 0 !important;
    }
    
    .single-produit-photos {
        order: 2;
        width: 100% !important;
    }
    
    .single-produit-infos {
        order: 1;
        width: 100% !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .container-messagerie .flex-item.flex-item-quart {
        width: 100%;    
    }
    
    .container-messagerie .flex-item.flex-item-trois-quart {
        width: 100%;
    }
    
    .container-messagerie .flex-item .container-overflow.container-des-conversations {
        overflow-y: auto;
        height: auto;
        min-height: 200px;
        max-height: 300px;
    }
    
    .container-des-conversations .flex-item-full {
        width: 48%;
        margin-bottom: 15px;
    }
    
    .contenu-fancybox .flex-item-moitie {
        width: 100%;
    }
    
    .contenu-fancybox .flex-item-moitie:first-child {
        border-bottom: 4px solid var(--bleuclair);
        padding-bottom: 30px;
        border-right: 0;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    a.cta {
        margin-right: 0;    
    }
    
    #mapbase {
        text-align: center;
    }
    
    #mapbase svg {
        height: 550px;
    }
    
    #container-partenaires {
        height: auto;
        overflow: hidden;
    }
    
    .picto-service {
        width: 60px;
        height: 60px;
        border: 2px solid var(--orange);
    }

    footer.footer .flex-item-quart:first-child {
        width: 100%;
        text-align: center;
    }

    footer.footer .flex-item-quart:last-child {
        width: 100%;
        text-align: center !important;
    }
    
    footer.footer .flex-item-quart .right {
        text-align: center !important;
    }
    
    
    footer.footer .flex-item-quart:last-child img,
    footer.footer .flex-item-quart:first-child img {
        height: 50px;
        width: auto;
        max-width: auto;
        margin: 0 auto;
    }
    
    /**************/
    /* 09/2025 */
    /**************/
    
    .container-titre-actu {
        min-height: 1px;
    }
    
    .module-actu {
        margin: 15px 0;    
    }
    
    .container-cta-actus {
        text-align: left;
        padding-bottom: 20px;
        border-bottom: 2px solid #fff;
    }
    
    a.btn-demande {
        bottom: 100px;
        right: 20px;
        box-shadow: 0 0 30px rgba(0,0,0,0.1);
    }
    
    
}




/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 600 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 600px) {

    .flex-item-cinq {
        width: 48%;
    }

    h1,
    h1.h2 {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 2rem;
    }

    h3 {
        font-size: 1.3rem;
        line-height: 1.5rem;
    }

    h4 {
        font-size: 1rem;
    }
    
    .container-top-home .superbig {
        font-size: 1.3rem;
        line-height: 1.5rem;
    }
    
    .acf-field {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    .acf-field.acf-field-645522ab8ef38,
    .acf-field.acf-field-645522df8ef39,
    .acf-field.acf-field-6455230e8ef3a,
    .acf-field.acf-field-6455234d8ef3b {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    .tableau-de-bord .flex-item-quart {
        width: 24%;
        margin-bottom: 0;
    }
    
    .tableau-de-bord .flex-item-quart h5 {
        font-size: 1rem;
        line-height: 1.4rem;
        margin-bottom: 0;
    }
    
    .tableau-de-bord .flex-item-quart p.superbig {
        font-size: 1.2rem;
        color: var(--bleu);
    }
    
    .container-cta-depose {
        padding: 20px 0 40px;
        text-align: center;
    }
    
    #accordion h3 .compteur-annonces {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 5px;
        margin-right: 10px;
    }
    
    body:not(.page-template-page-annonce) .ui-tabs .ui-tabs-nav li {
        width: 33%;    
    }
    
    .container-tdb .floatright,
    .container-tdb .floatleft {
        float: none;
    }
    
    .container-compte h2 {
        text-align: center;    
    }
    
    .header-compte {
        margin-bottom: 0;    
    }
    
    .superbig {
        font-size: 1.5rem;
        line-height: 1.7rem;
    }
    
    .flex-item-tiers.flex-module-produit {
        width: 100%;
    }
    
    .module-produit.label-attestation .container-label {
        right: 10px;
    }

    .module-recherche .searchandfilter li.sf-field-taxonomy-produit_cat,
    .module-recherche .searchandfilter li.sf-field-taxonomy-region_cat {
        width: 48%;
    }
    
    .module-recherche .searchandfilter li.sf-field-submit {
        width: 100%;
        margin-top: 20px;
    }
    
    #mapbase svg {
        height: 450px;
    }
    
    .container-boutons-compte .flex-item-quart {
        width: 48% !important;    
    }
    
    footer.footer .right {
        text-align: center;    
    }
    
    footer.footer .right img {
        max-width: 120px;
        height: auto;
    }
    
    .container-catalogue .flex-item-tiers {
        padding: 0;
    }

    a.btn-demande::before {
        display: none;
    }
    
    a.btn-demande {
        bottom: 100px;
        right: 20px;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        font-size: .85rem;
        line-height: 1.25rem;
        padding: 10px;
        border-width: 1px;
        width: 100px;
    }
    
    
    
}




/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 480 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 480px) {

    
    section {
        padding: 20px 0;
    }
    
    .flex-item-quart iframe,
    .flex-item-tiers iframe,
    .flex-item-moitie iframe,
    .flex-item-moitie iframe {
        height: 250px;    
    }
    
    .flex-item-trois-quart {
        width: 100%;    
    }
    
    p.big,
    .big p,
    .big {
        font-size: 1rem;
        line-height: 1.3rem;
    }
    
    .flex-item-tiers,
    .flex-item-quart {
        width: 100%;
    }
    
    .container-menu-footer {
        width: 48%;    
    }
    
    .module-categorie {
        width: 48%;
        padding: 20px;
    }
    
    .module-categorie .picto-cat {
        width: 70px;
        height: 70px;
        margin: 0 auto 10px;
    }
    
    .container-menus-subheader .liens-header {
        margin-right: 15px;
    }

    .container-menus-subheader a.cta.small:last-child {
        /*display: none;*/
    }
    
    .container-menus-subheader.connecte .liens-header {
        margin-right: 0;
    }
    
    
    .container-des-conversations .flex-item-full {
        width: 100%;
    }
    
    .module-recherche .searchandfilter li.sf-field-taxonomy-produit_cat,
    .module-recherche .searchandfilter li.sf-field-taxonomy-region_cat {
        width: 100%;
        display: block;
        margin-top: 20px;
    }
    
    .module-recherche .searchandfilter li.sf-field-search {
        margin-bottom: 0;    
    }
    
    #mapbase svg {
        height: 410px;
    }
    
    #menu-annonces.ui-tabs-nav li {
        margin-right: 1px !important;    
    }
    
    #menu-annonces.ui-tabs-nav li:last-child {
        margin-right: 0 !important;    
    }
    
    
}

/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 440 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 440px) {

    .container-menus-subheader .liens-header {
        margin-right: 0;
        display: block;
        margin: 0 auto 15px;
    }

    .container-menus-subheader a.cta.small:last-child {
        /*display: none;*/
    }
    
    .container-menus-subheader.connecte a.cta.small {
        display: none;
    }
    
    #menu-annonces.ui-tabs-nav li {
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    
    
}


/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 375 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 375px) {

    #mapbase svg {
      height: 300px;
    }
    
    .container-boutons-compte .flex-item-quart {
        width: 100% !important;
    }
    
    
    
}



@media only screen and (max-height: 700px) and (orientation: landscape) {
    
    .top-home.no-mobile {
        min-height: 80vh;
        height: auto;
        padding-top: 32vh;
        padding-bottom: 15vh;
    }
    
}


@media only screen and (max-height: 500px) and (orientation: landscape) {
    
    .top-home.no-mobile {
        padding-top: 45vh;
    }
    
}


@media only screen and (max-height: 300px) and (orientation: landscape) {
    
    .top-home.no-mobile {
        padding-top: 60vh;
    }
    
}



