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

    /* Classe génériques */
    .Content,
    .texte-content {
        width: 100% !important;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }

    .not_mobile {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .flexHalf:not(.notCent), .flexThird:not(.notCent) {
        width: 100%;
        max-width: 100%;
    }

    .flexParent:not(.notCent) {
        width: 100%;
    }

    .flexParent:not(.notColumn) {
        flex-direction: column !important;
    }

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

    /*=========================================================================================================*/

    /* Tableaux */
    div:not(.notTable)>table,
    div:not(.notTable)>table tbody,
    div:not(.notTable)>table tr,
    div:not(.notTable)>table td {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        justify-content: center;
        align-items: center;
    }

    table td img {
        max-width: 100%;
    }

    /*=========================================================================================================*/

    /* Menu */
    #HeaderMenu ul.mobile {
        background-color: var(--main-color-header);
        list-style-type: none;
        padding: 0px;
        padding-top: 15px;
        margin: 0px;
        top: 50px;
        z-index: 39;
        display: block;
        position: fixed;
        width: 100%;
        transition: all 0.3s ease;
        left: -200%;
        overflow-x: auto;
        z-index: 800;
        height: calc(100vh - 50px);
        padding-bottom: 50px;
    }

    #HeaderMenu ul.mobile.open {
        left: 0;
        padding-top: 15px;
        top: 50px;
    }

    #HeaderMenu ul.mobile li {
        max-width: 100%;
        margin: 0;
        text-align: left;
        flex-direction: column;
        justify-content: space-between;
        align-items: baseline;
        position: relative;
        border-top: 1px solid grey !important;
        padding: 0;
    }

    #HeaderMenu ul.mobile li div.hasSSMenu,    #HeaderMenu ul.mobile li div.hasSSMenu2 {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .aMenu {
        width: 100%;
        padding: 5px 35px;
    }

    #HeaderMenu ul.mobile li:not(:last-child) {
        border-bottom: 0.5px solid var(--main-rose-second);
    }

    #HeaderMenu ul.mobile li:not(.btnLangue) a {
        font-size: 20px;
        text-align: left;
    }

    #HeaderMenu ul.mobile li.selected > div > a,
    #HeaderMenu ul.mobile li.selected > div > .spanMenu {
        color: var(--main-color);
    }

    #Header .Content {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
        display: flex;
        justify-content: center;
    }

    #HeaderMenu {
        height: 100%;
        position: absolute;
        left: 0;
        display: flex;
        flex-direction: row-reverse;
    }

    #HeaderMenu .ico_mobile {
        display: none;
    }

    #ouvreMenu {
        height: 100%;
        width: fit-content;
        display: flex !important;
        cursor: pointer;
        margin-left: 10px;
        z-index: 40;
    }

    #ouvreMenu .contenuBouton {
        width: 30px;
        height: 30px;
        margin: auto;
        margin-left: 10px;
    }

    #ouvreMenu .traitBlanc {
        border-radius: 4px;
        width: 100%;
        margin: 4px 0;
        background: var(--main-color);
        height: 4px;
        overflow: hidden;
    }

    #ouvreMenu .traitBlanc .couleur {
        background: var(--main-color);
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 0;
        transition: 0.2s;
    }

    #ouvreMenu .traitOrange {
        border-radius: 4px;
        width: 50%;
        margin: 4px 0;
        background: var(--main-color);
        height: 4px;
        transition: 0.2s;
        overflow: hidden
    }

    #ouvreMenu .traitOrange .couleur {
        background: white;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        transition: 0.2s;
    }

    #ouvreMenu.open .traitOrange {
        width: 100%;
    }

    #ouvreMenu.open .traitBlanc .couleur {
        width: 80%;
    }

    #ouvreMenu.open .traitOrange .couleur {
        width: 20%;
    }

    #Header {
        height: 50px;
        position: fixed;
    }

    .HeaderTop{
        justify-content: center;
    }

    #InfoHeader {
        left: unset;
        top: unset;
        height: 100%;
        min-width: unset;
        margin-right: 0;
        margin-top: 0;
        z-index: 15;
    }

    #InfoHeader #Logo {
        margin: 0;
    }

    #HeaderMenu ul.mobile {
        transition: all ease 0.3s;
    }

    #HeaderMenu ul.mobile ul.SSMenu {
        height: auto;
        max-height: 0;
        background-color: var(--main-color-header);
        overflow: hidden;
        transition: all 0.3s ease;
        background-color: rgba(0, 0, 0, 0.15);
    } 

    ul.SSMenu.niveau2 > li {
        padding-left: 35px !important;
    }

    #InfoHeader #Logo img{
        margin-top: 5px;
        height: 30px;
    }

    #FilAriane {
        margin-top: 60px;
    }

    .HeaderOtherMobile.mobile {
        display: flex !important;
        flex-direction: row !important;
        position: absolute;
        align-items: center;
        justify-content: center;
        right: 15px;
        z-index: 15;
        height: 100%;
        column-gap: 8px;
    }

    .HeaderOtherMobile.mobile img{
        width: 25px;
    }

    /*=========================================================================================================*/

    /*Bandeau*/
    .bandeau-page {
        margin-bottom: 15px;
        height: auto;
        min-height: 70px;
    }

    .bandeau-titre{
        position: relative;
    }

    .bandeau-titre .titrePage::after{
        content: none;
    }

    .bandeau-titre .titrePage::before{
        top: -20px;
    }

    .bandeau-titre .titrePage h1{
        background-color: transparent;
        word-break: break-word;
        margin-right: 57px;
    }

    /*Page contact*/
    .formSpecifique > p.isText{
        width: 100%;
    }

    iframe{
        margin-bottom: 30px;
    }

    .radioElement {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        column-gap: 10px;
    }

    .formRadio .radioElement input {
        margin: 0 !important; 
    }

    /*Footer*/
    #Footer div.Content {
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse !important;
    }
    
    .menuFooter  {
        align-items: center;
        justify-content: center;
    }

    .menuFooter ul li{
        text-align: center;
    }

    .elMenuFooter {
        margin: 20px 0;
    }

    #Footer::before {
        content: url(../images/rond_noir.svg);
        position: absolute;
        bottom: 140px;
        left: 0;
        width: 200px;
        height: 200px;
        transform: translate(-269%, -67%);
    }

    #Footer::after {
        content: url(../images/rond_bleu.svg);
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        transform: translate(75%, -15%);
    }

    #Footer .form_newsletter .texteRGPD {
        padding: 0 15px;
    }

    .articleFooter.wp_32,
    .articleFooter.wp_40{
        width: 100%;
    }

    .articleFlottant {
        position: relative;
        width: 100%;
        right: 0;
        padding: 20px 0;
    }
    #Footer .articleFlottant {
        bottom: 0;
    }

    .articleFlottant table {
        width: fit-content !important;
        margin: auto;
    }

    #Footer .flecheUp { 
        top: 300px;
    }

    /*Page actualités*/
    .actu-img {
        min-width: 350px;
        width: 350px;
        height: 200px;
        margin-right: 0;
    }

    .actu-txt{
        width: 100%;
        margin-top: 10px;
    }

    .actu-txt a{
        margin: 15px auto;
    }

    .page_navigation{
        margin-bottom: 15px;
    }

    .actu-item .actu-txt {
        text-align: center !important;
    }
    
    .actu-item:not(.actu-item-reverse) .actu-txt a {
        margin: 10px auto;
    }

    .type_galerie .slick-slide {
        margin: 0 !important;
    }

    .type_galerie {
        padding: 0 40px;
    }

    /*Page accueil*/
    .page-accueil{
        padding-top: 50px;
    }

    .slideContenu {
        align-items: center;
        justify-content: center;
    }

    .h1Accueil{
        text-align: center;
    }

    .slideContenu .tiny-button-transparent{
        margin: 0 auto;
    }

    .slideHalf p{
        width: 100%;
    }

    .page-accueil h2, .h2, h2{
        text-align: center;
        padding: 0 5px;
    }

    .slider_gammes {
        padding: 0 20px;
    }

    .type_galerie .slick-prev, .slider_gammes .slick-prev {
        left: -15px !important;
        z-index: 20 !important;
    }

    .type_galerie .slick-next, .slider_gammes .slick-next {
        right: -15px !important;
        z-index: 20 !important;
    }

    .contentFamille {
        column-gap: 20px;
    }

    .contentFamille a{
        width: 45%;
    }

    .texte_gauche{
        margin-right: 0;
    }

    .texte_gauche .tiny-button-transparent{
        margin: 0 auto;
        margin-bottom: 15px;
    }

    .card_decale .cardTotal {
        margin-top: 0;
        margin: 15px 0 !important;
    }

    .engagement{
        width: 50% !important;
    }

    .engagement_content{
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .engagement_article_parent span, .engagement_article_parent td, .engagement_article_parent .tiny-button-transparent{
        text-align: center;
        margin: 0 auto;
    }

    .type_galerie {
        padding: 0 20px;
    }

    .slide_avis {
        min-height: 475px !important;
        max-height: 475px !important;
        height: 475px !important;
        padding: 25px;
    }

    .slide_avis_image{
        margin-bottom: 10px;
    }

    .type_texte_absolu{
        padding: 10px 0;
    }

    .type_texte_absolu table tr, .type_texte_absolu table tr td{
        width: 100% !important;
        text-align: center;
    }

     .type_texte_absolu table tr td{
        margin-bottom: 20px;
    }

    .type_texte_absolu colgroup {
        display: block !important;
    }

    .type_engagement{
        box-shadow: none;
    }

    .slider_accueil .slick-dots::before{
        content: none;
    }

    .slider_accueil .slick-dots{
        display: none !important;
    }

    /*Liste produits*/
    .listeFiltresProduits > div{
        justify-content: center;
        align-items: center;
    }

    .listeFiltres{
        width: 100%;
    }

    .article .titre{
        justify-content: center;
        align-items: center;
    }

    /*détail article */
    .produit-galerie-liste-images{
        width: 100%;
        max-width: 100%;
        height: 280px;
    }
    
     .produit-galerie-image{
        width: calc(100svw - 100px);
        max-width: 100svw;
        height: 280px;
    }

    .produit-galerie-liste-images .slick-next{
        right: -4px !important;
    }

    .produit-galerie-liste-images .slick-prev{
        left: -4px !important;
    }

    .slider_assoc .slick-next{
        right: -16px !important;
    }

    .slider_assoc .slick-prev {
        left: -16px !important;
        z-index:2;
    }

    .slider-for {
        display:none !important;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
        height:160px;
    }

    .produit-galerie-image-previsu{
        /*margin: 5px !important;*/
        width : calc(50svw - 30px);
        max-width: 50svw;
    }

    .content_produit_detail{
        flex-direction: column !important;
    }

    .content_produit_detail > .texte{
        width: 100% !important;
    }

    .details_panier .quantite{
        margin-bottom: 10px;
    }

    .ajoutPanier {
        margin-right: auto;
    }

    ul#ul_produit {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    ul#ul_produit li:first-child a {
        border-radius: 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    ul#ul_produit li:last-child a {
        border-radius: 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .listeProduitsDevis thead{
        display: none;
    }

    .article-formulaire-step1 form, .article-formulaire-step2 form{
        padding: 20px !important;
    }

    .recapTotalRemise{
        margin-top:20px;
    }

    div.recapPrixDevis .flexHalf:first-child{
        margin:0px;
        font-size:19px
    }

    div.devisStep:not(:last-child):after{
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
        top:auto;
        bottom:-100px;
    }

    div.jconfirm.jconfirm-material .jconfirm-box{
        padding: 20px 15px 20px 15px;
        width: 100% !important;
    }

    .jconfirm-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btnRetourDevis {
        font-size: 17px;
    }

    div.referenceArticle {
        bottom: 0px;
    }

    .articleCounter {
        width: 15px;
        height: 15px;
        font-size: 10px;
        margin-top: 5px;
        pointer-events: none;
    }

    .slide_gamme {
        height: 450px !important;
        margin:  0 !important;
        border-radius: 20px;
        overflow: hidden;
    }
    
    .slide_gamme_image{
        height: 400px;
        width: 100%;
        transition: ease all 0.3s;
        -webkit-transition: ease all 0.3s;
        overflow: hidden;
    }

    .titreListeFiltres .flecheFiltre{
        display:flex;
        position: absolute;
        right: 15px;
        top: 1px;
    }

    #filtresProduits{
        display:none;
    }

    #searchMobile{
        position: absolute;
        z-index:16;
        background-color: white;
        padding-left: 70px;
        padding-right: 0px;
        height:100%;
    }

    a.btnSetRechercheMobile {
        position: absolute;
        right: 13px;
        background-color: white;
        top:50%;
        transform: translateY(-50%);
    }

    .titreArticle .lienBandeau{
        right:-20px;
    }

    #FilAriane>.Content{
        height:auto;
        margin-bottom:5px;
    }

    .content_produit_detail .img{
        height:auto;
    }

    #FilAriane > .Content a, #FilAriane > .Content li{
        font-size:13px;
    }

    .bandeau-titre .titrePage h1, .bandeau-titre .titrePage .h1, h1, .h1, .cardFlottant{
        font-size: 24px;
    }

    h2, .h2{
        font-size: 22px;
    }

    body{
        font-size: 14px !important;
    }

    .btnPopinDevis{
        font-size: 14px;
    }

    .btnRetourDevis{
        font-size: 15px;
    }
    .btnNextDevis, .formSpecifique > p > label{
        font-size: 17px;
    }

    #HeaderMenu ul.mobile li:not(.btnLangue) a{
        font-size: 17px;
    }

    .itemFamille img{
        max-height: 50px;
    }

    .itemContentFamille{
        font-weight: 500;
    }

    .itemFamille{
        height: 112px;
    }

    .contentFamille .slick-slide > div:first-child{
        margin-bottom: 0;
    }

    .contentFamille .slick-next, .contentFamille .slick-prev {
        background-color: transparent !important;
        width: 15px !important;
        height: 15px !important;
    }

    .contentFamille .slick-next:before, .contentFamille .slick-prev:before {
        content: url(../images/fleche_slider_resp.svg) !important;
        width: 15px;
        height: 15px;
    }

    .contentFamille .slick-prev {
        left: -17px !important;
    }

    .contentFamille .slick-next {
        right: -17px !important;
    }

    .actu-txt{
        margin-right: 0;
    }

    #HeaderMenu ul li a, #HeaderMenu ul li .spanMenu{
        line-height: 25px !important;
    }

    .type_texte_absolu table table table tr {
        flex-wrap: wrap;
        flex-direction: row !important;
        justify-content: flex-start;
    }

    .type_texte_absolu table table table tr td {
        width: 49% !important;
    }

    .card_decale .slick-prev {
        left: -18px !important;
        z-index: 20;
    }

    .card_decale .slick-next {
        right: -18px !important;
        z-index: 20;
    }



    /* Masque toutes les divs sauf la première par défaut en mobile */
    /*.famille-produits div:not(:first-child) {
        display: none;
        overflow: hidden;
        transition: all 0.5s ease;
        max-height: 0;
    }*/

    /* Classe pour afficher toutes les divs en mode expanded */
    /*.famille-produits.expanded div {
        display: flex;
        max-height: 500px;
    }*/

    .famille-produits{
        margin-bottom: 20px;
    }

    .famille-produits:not(.expanded):after{
        content:"";
        position:absolute;
        bottom: 0;
        left:0px;
        height:10px;
        width:100%;
        background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    }

    .moreArticleDetail{
        display: flex;
        justify-content: center;
        margin-top:5px;
        margin-bottom: 20px;
        margin-top:-10px;
    }

    .slider_assoc a.article{
        margin:0px;
    }

    .HeaderTop {
        justify-content: left;
        margin-left: 15px;
    }

    .HeaderOtherMobile.mobile {
        position: relative;
        right: 0;
        left: 15px;
    }

    #HeaderMenu {
        justify-content: right;
    }

    #ouvreMenu {
        margin-left: 0;
        margin-right: 15px;
    }
    #ouvreMenu .traitOrange {
        left: 50%; 
    }
    #ouvreMenu.open .traitOrange {
        left: 0;
    }

    #HeaderMenu ul.mobile {
        left: 200%;
    }

    .lienPanier {
        width: 35px;
        height: 35px;
    }

    .HeaderOtherMobile.mobile {
        text-align: center;
        column-gap: 2px;
    }

    .HeaderOtherMobile.mobile a.enveloppe img {
        width: 35px;
    }

    .form_newsletter h3 {
        font-size: 15px;
    }

    .form_newsletter .formRadio .radioElement input {
        margin-bottom: 5px !important;
        margin-right: 10px !important;
    }
}

/* Safari 10.1+ */
@media not all and (min-resolution:.001dpcm) {
    @media {

        .parallax {
            background-attachment: scroll;
        }
    }
}