/*Le nouveau fichier responsive du site*/

/* Appareils de taille moyenne (tablettes paysage, 768 pixels et plus) */
@media only screen and (max-width: 1024px) {

    header div nav ul.menu-nav a {
        padding: 8px;
    }
    .mx-24{
        margin-left: auto;
        margin-right: auto;
    }
    .w-80{
        width: 100%;
    }
    #logo {
        margin-top: 70px;
    }

    #page-home #logo {
        margin-top: 70px;
    }

    #logo > div > svg {
        width: 80%;
        max-width: 300px;
        margin: 12rem auto 5rem auto;
    }

    #page-home #logo .logo {
        opacity: 0;
    }

    #logo-mobile {
        width: 80%;
        margin: 20px auto;
        max-width: 250px;
        display: block;
    }

    /*section coup de coeur accueil*/
    #notreboutique > article > div:first-child > h1 {
        padding: 0 2rem;
        font-size: 2.5rem;
    }
    #coup_coeur {
        display: flex;
        padding: 4rem;
        padding-top: 0;
        align-items: center;
        flex-direction: column;
    }

    #coup_coeur .swiperOne-container {
        width: 100%;
        /*height: 100%;*/

    }

    #coup_coeur #swiperOne {
        width: 100%;
        height: 100%;
    }


    #notreboutique .swiper-container {
        width: 80%;
        height: 100%;
    }

    .notreboutique_texte {
        width: 100%;
        height: 100%;
        font-family: 'Krub';
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;

    }


    #swiperOne img.lamala{
        height:auto;
    }

    /*section accueil potiers alsace*/

    .poterie_content {
        flex-direction: column;
    }

    .poterie_texte {
        width: 100%;
        text-align: left;
    }

    #poterie #logo-poterie-alsace {
        margin-left: 0;
    }

    #points-vente{
        justify-content: center;
    }

    #points-vente .lign-container{
        flex-direction: column;
    }

    .pointdevente_content {
        flex-direction: column;
    }

    .pointdevente_content img {
        width: 19rem;
        height: 100%;
        margin-bottom: 2rem;
    }

    #clickcollect > div > div:last-child {
        position: relative;
        width: 100%;
        margin-top: 3.5rem;
    }

    #clickcollect > div > article > div:last-child {
        width: 100%;
    }

    #presentation article {
        flex-direction: column;
    }

    #presentation article > div {
        width: 100%;
    }

    #presentation article > div:first-of-type {
        margin-bottom: 50px;
        padding-right: 0;
    }

    .swiperGalerieSouffl-container{
        margin: auto;
        height: auto;
    }

    #clickcollect > div {
        flex-direction: column;
    }

    #clickcollect > div > article {
        width: 100%;
        margin-bottom: 50px;
    }

    #fabrication-poterie > .flex {
        flex-direction: column;
    }

    #fabrication-poterie > .flex > .col-33 {
        width: 100%;
        margin-top: 2rem;
    }

    #fabrication-poterie > .flex > .col-66 {
        padding-right: 0;
    }

    .fabrication-gallerie .flex:first-of-type img:first-of-type {
        width: 33%;
        object-fit: cover;
    }

    .fabrication-gallerie .flex:first-of-type img:nth-of-type(2)  {
        width: 66%;
        object-fit: cover;
    }

    .fabrication-gallerie .flex:nth-of-type(2) img:first-of-type {
        width: 66%;
        object-fit: cover;
    }

    .fabrication-gallerie .flex:nth-of-type(2) img:nth-of-type(2)  {
        width: 33%;
        object-fit: cover;
    }

    #contenu_boutique #boutique {
        flex-direction: column;
    }

    #contenu_gauche {
        display: none;
    }
    #contenu_droite {
        width: 100%;
    }

    #main-conseils-recettes .container-90:first-of-type > div:first-of-type {
        width: 100%;
        padding-right: 0;
    }
    #main-conseils-recettes .container-90:nth-of-type(2) .col:first-of-type {
        width: 100%;
        padding-right: 0;
    }

    #main-conseils-recettes .container-90:nth-of-type(2) .flex {
        flex-direction: column;
    }

    #main-conseils-recettes .container-90:nth-of-type(2) .col:nth-of-type(2) {
        width: 66.66%;
        margin-top: 2rem;
    }

    #formulaire-contact .flex {
        display: flex;
        flex-direction: column;
    }

    header div nav ul.menu-nav {
        flex-direction: column;
        position: absolute;
        background-color: var(--color-secondaire);
        margin-top: -0.5px;
        left: 0;
        padding: 2rem;
        padding-right: 1rem;
        transition: 0.5s;
        box-shadow: 2px 2px 3px rgba(0,0,0,0.05);
        /*width: 20rem;*/
        width: 100%;
    }
    header div nav ul.menu-nav.hidden {
        transform: translateX(-100%);
        box-shadow: none;

    }
    header div nav ul.menu-nav.scroll {
        overflow-y: scroll;
    }
    .menu-nav li {
        /*margin: 1rem 0;*/
        margin-bottom: 0.75rem;
    }

    .menu-zone {
        position: relative;
        padding: 0;
    }
    .menu-burger-btn {
        position: absolute;
        right: -50px;
        top: 25px;
        background-color: var(--color-secondaire);
        padding: 10px;
        width: 50px;
        box-shadow: 2px 2px 3px rgba(0,0,0,0.05);
        display: flex;
        justify-content: center;
        align-items: center;
        height:3rem;
        transition: all .2s;
    }
    .menu-burger-btn.active {
        right: 0;
        top: 0;
    }

    .menu-burger-btn > svg {
        margin: 0 auto;
        height: 3rem;
    }

    header .dropDownMenuContent {
        position: relative;
        top: auto;
        opacity:1;
        display: none;
        pointer-events: auto;
        max-width: 100%;
        padding: 0;
        /*max-width: 80%;*/
    }

    header .dropDownMenuContent .set{
        position: relative;
    }

    .set.activeNav{
        height: 100%;
    }

    /*header .dropDownMenuContent {*/
    /*    position: absolute;*/
    /*    top: 0;*/
    /*    left: -100%;*/
    /*    opacity:0;*/
    /*    pointer-events: auto;*/
    /*    !*max-width: 100%;*!*/
    /*    padding: 0;*/
    /*    max-width: 80%;*/
    /*}*/
    /*header .content-accordeon{*/
    /*    position: absolute;*/
    /*    top: 0;*/
    /*    left: -300%;*/
    /*    opacity:0;*/
    /*}*/
    header .content-accordeon {
        display: none;
        transition-delay: 0.5s;
        /*position: absolute;*/
        /*top: 2rem;*/
        /*left: -2rem;*/
        /*right: auto;*/
        opacity:1;
        height: auto;
        pointer-events: auto;
        /*width: 20rem;*/
        width: 100%;
        padding: 5px;
        background: var(--color-primary);
        z-index:25;
        /*animation: 3s linear 2s slidein;*/
    }

    .content-accordeon > a.sublink{
        padding-left: 2.5rem;
    }

    header .dropDownMenuParent {
        position: relative;
    }
    .dropDownMenuContent li {
        margin-bottom: 0.25rem;
    }

    .dropDownMenuContent li:first-of-type {
        margin-top: 1rem;
    }

    .picto-arrow-menu {
        width: 12px;
        margin-left: 12px;
    }

    .-rot-90 {
        transform: rotate(-90deg);
    }

    .rot-90 {
        transform: rotate(90deg);
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {

    .container-90 {
        max-width: 90%;
        margin: auto;
    }

    /*    le header*/
    header > div > div span {
        display: none;
    }

    /*    le header niveau 2*/
    header div nav ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    header div nav ul.menu-nav {
        flex-direction: column;
        /*position: absolute;*/
        /*background-color: var(--color-secondaire);*/
        /*margin-top: -0.5px;*/
        /*left: 0;*/
        /*padding: 2rem;*/
        /*padding-right: 1rem;*/
        transition: 0.5s;
        box-shadow: 2px 2px 3px rgba(0,0,0,0.05);
        width: 100%;
        height: 100vh;
        justify-content: flex-start;
    }

    header .setParent:after {
        content:"";
        position: absolute;
        right: 5px;
        left: auto;
        top: 7px;
        width: 15px;
        height: 15px;
        background: url("/global/picto/picto-flesh.svg") no-repeat center;
        transform: rotate(90deg);
        cursor:pointer;
    }

    header .setParent.activeNav:after {
        content:"";
        transform: rotate(270deg);
        transform-origin: center;
        transition: 0.2s;
        background: url("/global/picto/picto-flesh-red.svg") no-repeat center;
    }

        /*section coup de coeur accueil*/
    #notreboutique > article > div:first-child > h1 {
        font-size: 2.5rem;
    }



    #swiperOne #produits {
        left: 0;
        width: 90%;
        transform: translateX(5%);
    }

    #swiperOne #produits{
        height: auto;
    }

    #swiperOne #produits > p {
        font-size: 1.2rem;
    }

    .pointdevente_content {
        flex-direction: column;
    }

    .pointdevente_content img {
        width: 100%;
    }

    /*le footer*/
    /*le footer niveau 2*/
    footer section:last-child div {
        display: flex;
        flex-direction: column;
        text-align: center;

    }

    #contenu_droite > .contenu > div:nth-child(1) {
        flex-direction: column;
    }

    .c_terrine,
    .c_article {
        display: flex;
        flex-direction: column!important;
    }

    #autres_pays > div {
        position: relative;
        width: 50%;
    }

}
@media only screen and (min-width: 768px){
    .c_terrine,
    .c_article {
        display: flex;
        /*flex-direction: row!important;*/
        /*justify-content: space-between;*/
    }
}


/* Petits appareils (tablettes portrait et gros téléphones, 600 pixels et plus) */
@media only screen and (max-width: 640px) {

    header > div > div > div:last-child > div {
         padding-left: 0;
         padding-right: 0;
    }

    /*    le header*/
    header > div > div span {
        display: none;
    }

    /*    le header niveau 2*/
    header div nav ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /*section coup de coeur sur accueil*/
    #coup_coeur {
        padding: 1rem;
    }

    #coup_coeur .swiperOne-container {
        width: 100%;
        /*height: 100%;*/

    }

    #coup_coeur #swiperOne{
        width: 100%;
        height:26rem;
    }

    #swiperOne {
        width:90%;
        height: 12rem;
        overflow: hidden;
    }

    #swiperOne .slide-container {
        height: 100%;
    }

    #swiperOne .slide-container {
        height: 100%;
    }

    #swiperOne a, div {
        /*height: 100%;*/
    }

    #swiperOne img {
       height: 100%;
    }
    /*la section clickcollect */
    #clickcollect > div {
        display: flex;
        flex-direction: column;
    }

    /*#clickcollect > div > article > div:first-child > p:nth-child(1) {*/
    /*    font-family: 'Arya';*/
    /*    font-weight: bold;*/
    /*    font-style: normal;*/
    /*    text-transform: uppercase;*/
    /*    font-size: 4rem;*/

    /*}*/

    /*Ambiance*/

    #ambiances h2 {
        /*font-family: 'p22-sneaky-pro';*/
        font-family: 'Arya';
        font-style: normal;
        color: #1c1616;
        font-size: 2.5rem;
        text-align: left;
        z-index:2;
        position: relative;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 2rem;
        padding-bottom: 5rem;
        padding-left: 5rem;
        background: url("/global/picto/Ellipse.png") no-repeat top left;
    }

    #ambiances h2:after {
        content: "";
        width: 2.5rem;
        height: 2.5rem;
        position: absolute;
        left: 1.5rem;
        top: 3rem;
        background: url("/global/picto/picto-forme.svg") no-repeat center;
        background-size: contain;
    }

    #ambiances #swiperAmbiance {
        height: 29rem;
        margin-top: 0rem;
        margin-left: 0rem;
    }

    #ambiances .swiperAmb-container{
        width: 100%;
    }

    .swiperGalerieSouffl-container{
        width: 100%;
        height: auto;
    }

    #swiperGalerieSouffl {
        height: 29rem;
        max-height: 500px;
        margin: 0;
        padding-bottom: 3rem;

    }

    /*la section poterie*/
    #poterie > div {
        display: flex;
        flex-direction: column;
    }

    /*#swiperGalerieSouffl {*/
    /*    height: 38vw;*/
    /*    max-height: 500px;*/
    /*    margin: auto;*/
    /*    width:100%;*/
    /*}*/

    #fabrication-poterie > .flex > .col-66 {
        width: 100%;
    }


    .fabrication-gallerie .flex img  {
        width: 100% !important;
    }

    #poterie > div > article:nth-child(2){
        display: none;
    }

    #poterie #poterieSvg{
        z-index:-1;
    }

    /*le footer*/
    /*le footer niveau 1*/
    footer section:first-child > div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /*le footer niveau 2*/
    footer section:last-child div {
        display: flex;
        flex-direction: column;
        text-align: center;

    }

    /*la page contact*/
    .flex {
        display: flex;
        flex-direction: column;
    }

    #adresse-contact #poterieSvg {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: -1;
    }

    #adresse-contact {
        padding: 0;

    }

    .pointdevente_content p {
        width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .pointdevente_content img {
        width: 100%;
        margin-bottom: 1rem;
    }


    #main-conseils-recettes .container-90:nth-of-type(2) .col:nth-of-type(2) {
        width: 100%;
    }

    .c_terrine, .c_article, .article_image {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .c_ter_liens,
    .c_art_liens {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .c_ter_liens a:nth-child(2), .c_art_liens a:nth-child(2),
    .c_ter_liens a:nth-child(1), .c_art_liens a:nth-child(1) {
        width: 180px;
        margin: auto;
    }

    #template_produits_details .div-description-produit img {
        width: 100% !important;
    }

    #template_information_livraison table {
        width: 100% !important;
    }

    #colorbox {
        width: 100vw !important;
    }

    .fabrication-gallerie table tr {
        display: table;
    }

    .fabrication-gallerie table th {
        display: block;
        width: 100%;
    }

}

@media only screen and (max-width: 480px) {
    #autres_pays > div {
        position: relative;
        width: 100%;
    }
}

/* Appareils très petits (téléphones, 600 pixels et plus) */
@media only screen  and (max-width: 320px) {
    /*    le header*/
    header > div > div span {
        display: none;
    }

    /*    le header niveau 2*/
    header div nav ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /*la section clickcollect */
    #clickcollect > div {
        display: flex;
        flex-direction: column;
    }


    /*la section poterie*/
    #poterie > div {
        display: flex;
        flex-direction: column;
    }

    /*section notre boutique*/
    #coup_coeur {
        display: flex;
        /*padding: 4rem;*/
        align-items: center;

        flex-direction: column;
    }

    #coup_coeur p{
        text-align: justify;
    }

    .notreboutique_texte {
        width: 100%;
        height: 100%;
        font-family: 'Krub';
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /*le footer*/
    /*le footer niveau 1*/
    footer section:first-child > div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


    /*le footer niveau 2*/
    footer section:last-child div {
        display: flex;
        flex-direction: column;
        text-align: center;

    }

    /*la page contact*/
    .flex {
        display: flex;
        flex-direction: column;
    }

    #adresse-contact #poterieSvg {
        position: absolute;
        top: 100px;
        right: 0;
        z-index: -1;
    }

    #adresse-contact {
        padding: 0;

    }


}

/* Appareils très volumineux (grands ordinateurs portables et ordinateurs de bureau, 1200 pixels et plus) */
@media only screen and (min-width: 1024px) {
    .w-80{
        width: 80%;
    }
    #page-home #logo {
        margin-top: 150px;
        background-size: cover;
        background: url("/medias/fonds/poterie-lehmann-bg-accueil.jpg") no-repeat right 90%;
        background-size: cover;
        padding: 4rem 0;
    }

    #swiperOne .swiper-container {
        width: 50%;
        /*height: 100%;*/
        height: 26rem;
        overflow: hidden;
    }


    .fabrication-gallerie {
        /*height: 200px;*/
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 5rem;
    }

    .fabrication-gallerie .flex {
        width: 50%;
        height: 17vw;
        justify-content: space-around;
    }

    .fabrication-gallerie img {
        height: 100%;
        width: auto;
    }


    /*la section clickcollect  */
    #clickcollect > div {
        display: flex;
        padding-top: 80px;
        padding-bottom: 80px;
        color: #fff;
        justify-content: space-between;
        align-items: stretch;
    }

    /*la section clickcollect le titre*/
    #clickcollect > div > article {
        width: 85%;
    }

    /*la section clickcollect le titre*/
    #clickcollect > div > article > div:first-child {
        margin: auto;
    }

    #clickcollect > div > article > div:first-child > p{
        font-family: 'Arya';
        font-weight: normal;
        font-style: normal;
        font-size: 4rem;
    }

    /*#clickcollect > div > article > div:first-child > p:nth-child(1) {*/
    /*    !*position: absolute;*!*/
    /*    !*left: -132px;*!*/
    /*    !*top: 30px;*!*/
    /*}*/


    /*#clickcollect > div > article > div:first-child > p:nth-child(2) {*/
    /*    !*font-family: 'Symbol';*!*/
    /*    font-family: 'Arya';*/
    /*    font-weight: normal;*/
    /*    font-style: normal;*/
    /*    font-size: 8rem;*/
    /*    color: var(--color-quarternaire);*/
    /*}*/

    /*#clickcollect > div > article > div:first-child > p:nth-child(3) {*/
    /*    font-size: 4rem;*/
    /*    !*position: absolute;*!*/
    /*    !*left: 56px;*!*/
    /*    !*bottom: 0;*!*/
    /*}*/


    #clickcollect > div > article > div:last-child {
        width: 85%;
        font-size: 1.1rem;
        line-height: 1.8rem;
    }


}

/*pour éviter les problèmes à 1024*/
@media only screen and (min-width: 1025px) {

    .menu-burger-btn {
        display: none;
    }
    header .dropDownMenuParent:hover .dropDownMenuContent {
        display:block;
        position: absolute;
        pointer-events: auto;
        top: 100%;
        padding: 2rem 0 1.5rem;
        opacity: 1;
        background-color: var(--color-secondaire);
        transition: 0.3s;
    }

    header .content-accordeon{
        display:none;
        position: absolute;
        left: 0;
        z-index:-1;
        top: 0;
    }

    header .content-accordeon.active{
        display:block;
        position: absolute;
        left: 100%;
        z-index:1;
        top: 0;
        transition: 0.3s ease-in-out;
        box-shadow:5px 1px 10px 0px #00000014;
        border-radius:5px;
    }

    .setParent:after {
        content:"";
        position: absolute;
        right: 15px;
        left: auto;
        top: 7px;
        width: 15px;
        height: 15px;
        background: url("/global/picto/picto-flesh.svg") no-repeat center;
        cursor:pointer;
    }

    .setParent.activeNav:after {
        content:"";
        transition: 0.2s;
        right: 7px;
        background: url("/global/picto/picto-flesh-red.svg") no-repeat center;
    }

    #contenu_gauche .setParent:after {
        content:"";
        position: absolute;
        right: 115px;
    }


    #contenu_gauche .setParent.activeNav:after {
        content:"";
        right: 100px;
    }

    #contenu_gauche .content-accordeon.active {
        width: max-content;
        display:block;
        position: absolute;
        left: 70%;
        z-index:5;
        top: 0;
        padding: 10px;
        transition: 0.3s ease-in-out;
        box-shadow:5px 1px 10px 0px #00000014;
        border-radius:5px;
    }

    .picto-arrow-menu {
        display: none;
    }
    .link-all-boutique {
        display: none;
    }

    #rgpd_contact p{
        font-size: small;
        width: 80%;
    }

    .c_terrine,
    .c_article {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .c_ter_liens,
    .c_art_liens {
        flex-direction: row;
    }

    .btn_compte{
        width: 200px;
        padding: 5px 3px;
        color: #ffffff !important;
        background-color: var(--color-tertiare);
        font-size: 16px;
        text-align: center;
        border-radius: 6px;
        text-decoration: none !important;
        position: relative;
    }
    .btn_rouge{
        width: 30%;
    }


}

@media only screen and (min-width: 1600px) {
    #page-home #logo {
        margin-top: 150px;
        background-size: cover;
        background: url("/medias/fonds/poterie-lehmann-bg-accueil.jpg") no-repeat right 90%;
        background-size: cover;
        padding:0;
    }


}


