/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1630PX *****************************************************************/
/**********************************************************************************************************************************************************/

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

    body.archive .wpc-filter-layout-submit-button {
        left: 20px;
        bottom: 0;
        border-radius: 0;
        width: 230px;
        border-bottom: 0;
        width: 248px;
    }
    
    
}


/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1366PX *****************************************************************/
/**********************************************************************************************************************************************************/

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

    h1 {
        font-size: 1.7rem;
        line-height: 2rem;
    }

    table tbody h2,
    h2 {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }

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



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

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

    
    
}

/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1170 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1170px) {
    
    .wrap {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    header.header.scroll .logo-header:not(.logo-header-scroll) {
        margin-top: 0;   
    }
    
    #menu-menu-utilisateur-resp .count-messages,
    #menu-menu-utilisateur-resp .count-favoris {
        top: 5px;
        left: -5px;
        right: auto;
    }
    
    .module-habillage-total {
        display: none;
    }
    
    body.home #page.class-habillage {
        padding-top: 0;    
    }
    
    body.home #page.class-habillage .banniere-habillage {
        position: relative;
        height: 200px;
        width: 96%;
        margin: 80px 2% 0;
        display: block;
        background: var(--grislight);
        padding: 20px;
    }
    
    .banniere-habillage img {
        margin: 15px auto 0;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: calc(100% - 40px);
    }
    
    #content.class-habillage {
        padding-top: 20px;
    }
    
    #page.class-habillage #primary section {
        padding-left: 0;
        padding-right: 0;
    }    
    
    
}

/**********************************************************************************************************************************************************/
/*************************************************************************** MAXI 1070 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1170px) {
    
    .declenche-panneau {
        display: block;
    }

    #inner-header .container-flex .flex-item-auto:not(.container-logo-header, .menu-constant) {
        display: none;
    }
    
    #inner-header .container-flex .flex-item-auto.container-logo-header {
        width: 100%;
        text-align: center;
    }
    
    .menu-constant {
        position: absolute;
        right: 0;
        top: 10px;
    }
    
    .menu-constant ul li {
        padding: 0 6px !important;
    }
    
    .menu-constant ul li:last-child{
        padding-right: 0 !important;
    }
    
    .logo-header {
        display: inline-block;
        height: 40px;
        width: 315px;
    }
    
    .logo-header.logo-header-scroll {
        display: none;
    }
    
    header.header {
        padding: 10px 0;    
    }
    
    #annonce-attente {
        width: 154px;
        padding: 15px;
        bottom: 30px;
        right: 30px;
    }
    
    #annonce-attente::before {
        position: relative;
        margin-bottom: 6px;
        top: auto;
        left: auto;
    }
    
    
    
    
}


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

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

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

    table tbody h2,
    h2 {
        font-size: 1.5rem;
        line-height: 1.7rem;
    }
    
    section {
        padding: 35px 0 !important;
    }
    
    .accueil-site {
        min-height: 75vh;
        justify-content: center;
    }
    
    .accueil-site .flex-item-moitie {
        width: 90%;
    }
    
    .flex-item-moitie.categories-intitules {
        display: none;
    }
    
    .owl-carousel-annonces {
        margin-top: 20px !important;    
    }
    
    .contenu-page-liste .flex-item-quart.colonne-filtres {
        width: 100%;
    }
    
    .contenu-page-liste .flex-item-quart.colonne-filtres {
        width: 100%;
    }
    
    .contenu-page-liste .container-liste-annonces {
        width: 70%;    
    }

    .contenu-page-liste .flex-item-quart.colonne-pubs {
        width: 25%;
    }
    
    .contenu-page-liste .titre-filtres {
        margin-bottom: 20px;
        cursor: pointer;
        display: inline-block;
        padding-right: 20px;
    }
    
    .contenu-page-liste .groupe-filtres {
        position: fixed;
        right: 100%;
        top: 0;
        width: 100%;
        max-width: 480px;
        padding: 15px;
        background: #fff;
        overflow-y: auto;
        height: 100%;
        z-index: 80;
        padding-top: 50px;
        padding-bottom: 30px;
        transition: all .3s;
    }
        
    .contenu-page-liste .groupe-filtres.actif {
        right: 0;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
    
    .close-groupe {
        position: absolute;
        bottom: 0;
        display: block;
        right: 0;
        padding: 6px 15px;
        border-radius: 4px;
        background: var(--grislight);
        font-size: .8rem;
        text-align: center;
        font-weight: 500;
        z-index: 150;
        cursor: pointer;
    }
    
    .module-detail-annonce .module-contact-annonce {
        position: fixed;
        bottom: 0;
        padding: 10px;
        background: #fff;
        box-shadow: 0 0 16px rgba(0,0,0,0.1);
        z-index: 30;
        width: 100%;
        left: 0;
        text-align: center;
    }
    
    .module-detail-annonce .module-contact-annonce a {
        display: inline-block !important;
        margin-top: 0;
        width: 48%;
    }
    
    body.single-product {
        padding-bottom: 80px;    
    }
    
    body.page-template-default #primary,
    body.page-template-template-creation-annonce #primary {
        padding-top: 0;    
    }
    
    .container-recap-create {
        margin-bottom: 0;    
    }
    
    .flex-etapes,
    .container-recap-create {
        width: 100%;
    }
    
    .recap-annonce {
        padding: 15px;
        border: 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 0 16px rgba(0,0,0,0.1);
        margin-bottom: 10px;
    }

    .recap-annonce .etape-creation.actif.done::before {
        display: none;
    }
    
    .etape-creation.etape06 {
        margin-bottom: 25px;    
    }
    
    .etape-creation.etape01 {
        margin-top: 20px;    
    }
    
    .etape-creation {
        display: none;
        max-width: 400px;
        padding-left: 40px;
    }
    
    .etape-creation.visible {
        display: block;
    }
    
    .titre-page-create {
        background: none;
        padding: 0;
        border-radius: 0;
    }
    
    .titre-page-create h2 {
        display: none;
    }
    
    .titre-descriptif {
        padding: 10px;
        border-radius: 8px;
    }
    
    .montant-total-annonce {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1002;
        padding: 12px 20px;
        border-radius: 0;
        margin: 0;
        color: #fff;
        border: 0;
        background: var(--bleu);
        box-shadow: 0 0 18px rgba(0,0,0,0.1); 
    }
    
    .recap-annonce .bkg-grisclair {
        background: none;
        border-radius: 0;
        padding: 0;
        margin-bottom: 0 !important;
    }
    
    .recap-annonce h4 {
        display: inline-block;
        color: var(--rouge);
        text-decoration: underline;
        cursor: pointer;
    }
    
    .recap-annonce h4::before {
        content: 'article';
        font-family: var(--materialicon);
        display: inline-block;
        margin-right: 10px;
        font-size: 1.7rem;
        color: var(--rouge);
        vertical-align: middle;
        position: relative;
        font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
    }
    
    .module-form.form-annonce {
        max-width: 100%;    
    }
    
    .bouton.remove-annonce-btn {
        margin-bottom: 0;    
    }
    
    
    .container-account>.flex-item-quart,
    .container-account>.flex-item-trois-quart {
        width: 100%;    
    }
    
    .container-account>.flex-item-quart {
        margin-bottom: 20px;    
    }
    
    .container-account .flex-item-quart .bouton.before.close {
        position: absolute;
        right: 0;
        top: -30px;
        z-index: 6;
    }
    
    
    .contenu-flexible .flex-item-moitie {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .contenu-flexible .flex-item-quart {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .contenu-flexible .flex-item-trois-quart {
        width: 48%;
        margin-bottom: 20px;
    }
    
    body.archive .wpc-filter-layout-submit-button {
        position: inherit;
        z-index: inherit;
        left: auto;
        bottom: auto;
        padding: 0;
        border-radius: 0;
        border: 0;
        width: auto;
        margin-top: 20px;
        box-shadow: none;
    }
    
    
    
}



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

@media only screen and (max-width: 768px) {
    
    body.single-product #content {
        padding-top: 50px;
    }
    
    .thin {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .padding40 {
        padding: 30px;
    }

    .padding30 {
        padding: 20px;
    }

    .flex-item-tiers:not(.module-marque-recherchee, .module-formule),
    .flex-item-deux-tiers {
        width: 100%;
        margin-bottom: 20px;
    }    
    
    .module-recherche-enregistree .flex-item-deux-tiers {
        width: 60%
    }
    
    .module-recherche-enregistree .flex-item-tiers {
        width: 37%
    }
    
    
    p.big,
    .big p,
    .big {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
    
    .section-home .lien-all,
    .section-home .titre-home {
        float: none;
    }
    
    .section-home .lien-all {
        margin-top: 15px;
        text-align: left;
    }
    
    .module-photos-annonce {
        height: 40vh;
    }
    
    .module-photos-annonce .flex-item-tiers {
        width: 35%;    
    }
    
    .module-photos-annonce .flex-item-deux-tiers {
        width: 65%;
    }
    
    .container-description-annonce .flex-item-tiers {
        width: 31%;    
    }
    
    .section-single-annonce {
        padding-top: 15px !important;    
    }
    
    .module-formule {
        width: 31%;
        padding: 15px;
    }
    
    
    .container-photos-base .flex-item-cinq,
    .module-photos-options .flex-item-cinq {
        width: 31%;    
    }
    
    .module-formule .prix-formule {
        position: relative;
        bottom: auto;
        margin-top: 40px;
    }
    
    .container-account-customer .flex-item-cinq {
        width: 31%;
        margin-bottom: 25px;
    }
    
    .module-form-part .flex-item-moitie {
        width: 100%;
    }
    
   .module-detail-annonce .module-contact-annonce a {
        padding: 0 15px !important;
       font-size: .9rem;
       font-weight: 600;
    }
    
    a.contact-annonce::after {
        display: none !important;
    }
      
    .module-annonce-conversation .photo-annonce {
        display: none;
    }
    
    .conversation-annonce-infos {
        background: var(--noir);
        padding: 8px 12px;
        border-radius: 6px;
    }
    
    .conversation-annonce-infos h5,
    .conversation-annonce-infos p {
        color: #fff;
        font-weight: 500;
        margin-bottom: 0;
    }
    
    .conversation-annonce-infos h5 {
        font-size: .85rem;
        line-height: 1.1rem;
    }
    
    .container-liste-annonces {
        width: 30%;    
    }
    
    .container-conversations-annonces {
        width: 65%;    
    }
    
    .module-message p {
        font-size: .85rem;
        line-height: 1.1rem;
    }
    
    .contenu-flexible .flex-item-tiers,
    .contenu-flexible .flex-item-deux-tiers {
        width: 100%;
        margin-bottom: 25px;
    }
    
    
    
}



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

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

    .logo-header-std {
        display: none;
    }
    
    .logo-header.logo-header-scroll {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto;
        width: 125px;
    }
     
    section {
        padding: 30px 0 !important;
    }
    
    .select-categorie-search .cat-search {
        height: 40px;    
    }
    
    .select-categorie-search .cat-search::after {
        line-height: 40px;
        font-size: 1.9rem;
    }
    
    .section-home .lien-all {
        display: none;
    }
    
    .accueil-site {
        min-height: 1vh;
        padding: 0;
    }
    
    .accueil-site .flex-item-moitie {
        width: 100%;
    }
    
    .accueil-site .img-categorie {
        display: none;
    }
    
    .module-recherche-home {
        border: 2px solid var(--grislight);
    }
    
    .cat-active.center.gris-fonce {
        color: var(--rouge) !important;    
    }
    
    .select-categorie-search .cat-search:not(.actif) {
        background: var(--grislight);
    }
    
    .select-categorie-search .cat-search:not(.actif)::after {
        opacity: .5;
    }
    
    
    .container-banniere-pub {
        padding: 0;
        background: transparent;
        border-radius: 0 !important;
    }
    
    .container-banniere-pub p {
        margin-bottom: 6px;    
    }
    
    .container-banniere-pub img {
        margin-top: 0;    
    }
    
    
    h1 {
        font-size: 1.4rem;
        line-height: 1.7rem;
    }

    table tbody h2,
    h2 {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }
    
    .header-archive .count {
        font-size: 1.1rem;
        line-height: 1.4rem;
        font-weight: 600;
    }
    
    .titre-annonce-front {
        font-size: .9rem;
        line-height: 1.2rem;
    }
    
    .section-home .module-annonce-front {
        display: block;
    }
    
    .module-annonce-front .elements-annonce {
        padding: 12px;    
    }
    
    .owl-carousel-annonces {
        margin-top: 30px !important;    
    }

    .contenu-page-liste .flex-item-quart.colonne-filtres {
        text-align: center;    
    }
    
    .contenu-page-liste .titre-filtres {
        display: block;
        padding: 8px 15px;
        border-radius: 8px;
        box-shadow: 0 0 12px rgba(0,0,0,0.1);
        background: #fff;
        margin-top: 15px;
        color: var(--rouge);
    }
    
    body.archive .container-breadcrumb {
        display: none;
    }
    
    body.archive .site-main .filet.bkg-gris {
        display: none;
    }
    
    .contenu-page-liste .container-liste-annonces {
        width: 100%;
        margin-bottom: 30px;
    }

    .contenu-page-liste .flex-item-quart.colonne-pubs {
        width: 100%;
    }
    
    .contenu-page-liste .flex-item-quart.colonne-pubs .flex-item-full {
        width: 48%;    
    }
    
    .header-archive {
        padding-top: 10px;    
    }
    
    .logo-header {
        margin-top: 5px;
        width: 250px;
    }
    
    .container-description-annonce .flex-item-tiers {
        width: 48%;
    }
    
    .container-description-annonce .details-annonce li::before {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
        margin-top: 15px;
    }
    
    .container-description-annonce h4 {

    }
    
    .container-description-annonce .details-annonce li {
        margin-bottom: 30px;    
    }
    
    .container-pubs .flex-item-quart {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .container-pubs .flex-item-tiers,
    .flex-item-tiers.pub {
        width: 100%;
        margin-bottom: 20px;
    }
    
    a.btn-save-search.actif {
        bottom: 30px;
        display: block;
        width: 70%;
        text-align: center;
    }
    
    .container-photos-base .flex-item-cinq,
    .module-photos-options .flex-item-cinq {
        width: 48%;
    }
    
    .module-boosts .flex-item-moitie {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .container-account-customer .flex-item-cinq {
        width: 48%;
    }
    
    .module-annonce-espace .photo-annonce {
        width: 100%;
        height: 140px;
        margin-bottom: 20px;
    }
    
    .module-annonce-espace  .flex-item-trois-quart {
        width: 100%;    
    }
    
    .zone-actions-annonce a {
        margin-bottom: 15px;    
    }
    
    .module-detail-annonce .module-contact-annonce a {
       font-size: .8rem;
    }
     
    .container-liste-annonces {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .container-conversations-annonces {
        width: 100%;    
    }
    
    .container-liste-annonces h3 {
        cursor: pointer;
    }
    
    .container-liste-annonces h3::after {
        content: 'Voir les messages ›';
        display: block;
        font-size: .75rem;
        margin-left: 100px;
        text-decoration: underline;
        font-weight: 700;
        margin-right: 0;
        text-align: right;
        margin-top: -25px;
        cursor: pointer;
    }
    
    .container-liste-annonces .module-annonce-conversation {
        display: none;
    }
    
    li.compte span {
        font-size: .65rem;
        bottom: -18px;
    }
    
    .infos-conversation .flex-item-quart {
        width: 25% !important;   
    }
    
    .infos-conversation .flex-item-trois-quart {
        width: 70% !important;
    }
    
    .form-soumission-msg .flex-item-deux-tiers,
    .form-soumission-msg .flex-item-tiers {
        width: 100% !important;
        margin: 0;
    }
    
    .form-soumission-msg .flex-item-tiers {
        text-align: right;
    }
    
    .container-liste-annonces .filet.masquable {
        display: none;
    }
    
    #menu-menu-utilisateur {
        margin: 0 15px 0 0;    
    }
    
    #menu-menu-utilisateur .recherche,
    #menu-menu-utilisateur .favoris {
        display: none;
    }
    
    #menu-menu-utilisateur li.compte span {
        text-align: center !important;
    }

    .menu-constant {
        top: 0;    
    }
    
    .menu-constant ul li.compte {
        padding: 0 !important;
    }
    
    #menu-menu-utilisateur .count-messages {
        right: -5px;
        top: -5px;
    }
    /*
    .fancybox-content {
        vertical-align: top !important;
        margin-top: 60px !important;
        position: absolute !important;
        transform: translate(-50%);
        top: 20%;
    }
    */
    .contenu-flexible .flex-item-trois-quart,
    .contenu-flexible .flex-item-quart {
        width: 100%;
    }
    
    h2.before::before {
        display: none;
    }
    
    .mobile-only {
        display: block;    
    }
    
    .flex-item-tiers.modules-pubs-lateraux,
    .modules-pubs .flex-item-tiers {
        width: 100%;    
    }
    
    .bloc-info {
        font-size: .85rem;
        line-height: 1.3rem;
        padding: 12px;
        margin-bottom: 0 !important;
    }
    
    .bloc-info .flex-item-tiers,
    .bloc-info .flex-item-deux-tiers {
        margin-bottom: 0;    
    }
    
    a.cta.step:not(.btn-final) {
        position: fixed;
        margin-left: 0 !important;
        width: 80%;
        bottom: 70px;
        left: 50%;
        transform: translate(-50%);
        text-align: center;
        z-index: 5;
        transition: bottom .3s ease;
        line-height: 40px;
        border: 2px solid #fff;
    }
    
    a.cta.step.inactif {
        background: var(--gris);    
        line-height: 45px;
        border: 0;
    }
    
    .module-formule .description-courte {
        min-height: 1px;    
    }
    
    .module-formule .bouton {
        transform: none;
        bottom: 15px;
        right: 15px;
        left: auto;
    }
    
    .module-formule .prix-formule {
        margin-top: 20px;    
    }
    
    .flex-etapes {
        padding-top: 15px;    
    }
    
    #container-steps p.file-name {
        display: none;
    }
    
    #container-steps .zone-download-photo {
        margin-bottom: 15px;    
    }
    
    #container-steps {
        min-height: 55vh;
    }
    
    #container-steps>.container-flex {
        margin-bottom: 0 !important;    
    }
    
    #acf_form_creation_annonce .acf-form-fields .acf-field:first-child {
        padding-top: 0 !important;    
    }
    
    .module-formule {
        width: 100%;
        margin-bottom: 20px;
    }
    
    #container-steps .container-flex .module-formule:last-child {
        margin-bottom: 0 !important;
    }
    
    #container-steps .floatleft .retour-step {
        margin-bottom: 40px;    
    }
    
    .cart-collaterals .cart_totals, .cart-collaterals .shipping_calculator {
        width: 100%;    
    }
    
    .wrap .thin {
        padding-left: 0;
        padding-right: 0;
    }
    
    .zone-actions-annonce .bouton.after.bkg-rouge.boost {
        margin-right: 50%;
    }
    
    
}




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

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

    section {
        padding: 20px 0 !important;
    }
    
    .flex-item-quart:not(.cat-search) {
        width: 100%;
    }
    
    a.btn-save-search.actif {
        bottom: 20px;
        width: 80%;
    }
    
    
    
    
}

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

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

    .container-account-customer .flex-item-cinq {
        width: 100%;
    }
    
    
    
}


@media only screen and (max-height: 800px) and (orientation: landscape) {

}

@media only screen and (max-height: 450px) and (orientation: landscape) {

}



