/* 
Theme Name: Le cercle
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Temproduite: hello-elementor
Version: 1.0.1
Text Domain: le-cercle
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/*Design*/
*{
	outline: 0;
}
html {
    scroll-behavior: smooth;
}
h1{
    font-size:24px;
    display: block;
    width: 100%;
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 1140px;
    margin: 20px auto;
}

h1 em, h1 strong{
    display: block;
    color:var(--e-global-color-secondary);
    text-transform: uppercase;
}

h1 em{
    font-size:16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: .2rem;
}

h1 strong{
    font-size:60px;
    font-weight: 400;
}
h2 span{
    display: block;
    font-size: 1.4rem;
    margin-bottom: 10px;
}
h2 strong{
    display: block;
    text-transform: uppercase;
    font-size: 2rem;
}

.services-plage{
    border:1px solid var(--e-global-color-eefad27);
    background-color: #fff;
    padding: 15px;
}

.services-plage p{
    margin: 0;
}

.services-plage .tarif{
    font-size: 25px;
    font-weight: 700;
    color:var(--e-global-color-accent);
}

.ligne-bas:after, .ligne-bas-under:after{
    content:"";
    display:block;
    position:relative;
    max-width: 1200px;
    height: 16px;
    background-color:var(--e-global-color-secondary);
    width: 100%;
    margin:0 auto;
    bottom: -8px;
    z-index: 9;    
}
.ligne-bas-under:after{
    z-index: 0;    
}
.circle{
    cursor: pointer;
}
.souligne-rouge .elementor-widget-container > *, h3.souligne-rouge{
    display: inline-block;
}
h3.souligne-rouge{
    width: fit-content;
}
.souligne-rouge .elementor-widget-container > *:after, h3.souligne-rouge:after{
    margin-top: 10px;
    display: block;
    content:"";
    height: 1px;
    width: 100%;
    background-color: var(--e-global-color-secondary);
}

/*Menu mobile*/
#menu-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
body.admin-bar #menu-header{
    position: relative;
}
body.admin-bar #spacer-header{
    display: none;
}

.open-menu-mobile #burger_x5F_menu *{
    transition: all .2s ease-in-out;
}

body.open-menu .open-menu-mobile #burger_x5F_menu #milieu{
    transform: rotate(45deg);
    transform-origin: center;
}

body.open-menu .open-menu-mobile #burger_x5F_menu #bas{
    transform: rotate(-45deg) translateY(-7px);
    transform-origin: center;
}


body.open-menu .open-menu-mobile #burger_x5F_menu #haut{
    transform: translateX(-50px);    
}

#quick_access{
    position: fixed;
    width: 100%;
    bottom:-100px;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease-in-out .1s;
}

body.open-menu #quick_access{
    
    pointer-events: all;
    bottom:40px;
    opacity: 1;
}

/*
@media (max-width:1300px){
    #menu-header{
        background-size: 55% 100%;
    }
    #menu-header .menu-col a{
        font-size: 14px;
        padding: 10px;
        letter-spacing: 2px;
    }
    
}*/

@media (max-width:1139px){
    #menu-header .menu-col{
        position: fixed;
        top:60px;
        left: -101vh;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #fff;
        transition: all .2s ease-in-out;
    }
    body.open-menu #menu-header .menu-col{
        left: 0;
    }

    body.open-menu #menu-header .menu-col > .elementor-widget-wrap{
        align-content: start !important;

    }

    #menu-header .menu-col a{
        font-size: 20px;
        margin: 5px 0;
        letter-spacing: 4px;
    }
    #menu-header .menu-col .elementor-nav-menu{
        display: flex;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 15%;
    }
    #amelia-custom-id{
        padding: 12px 13px 10px;
    }
    #amelia-custom-id .elementor-button-text{
        display: none;   
    }
    #amelia-custom-id .elementor-button-icon{
        margin: 0;
    }
    #menu-header .open-menu-mobile{
        cursor: pointer;    
    }
}




/*Polylang*/
a[href="#pll_switcher"] > span:not(.sub-arrow){
    display: none;
}

/*Carte des produits*/

.carte-container{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap:20px;
    height: auto;
}

.carte-container .carte-left .carte-sommaire{
    display: block;
    position: sticky;
    top:140px;
    border:1px solid var(--e-global-color-eefad27);
    padding:15px 0px 20px 20px;
    width: 100%;
    
}
.carte-container .carte-left .carte-sommaire ul{    
    list-style-type: none;
    padding:0 0 0 10px
}

.carte-container .carte-left .carte-sommaire a{
    font-size: 14px;
    font-weight: bold;
    
}
.carte-container .carte-left .carte-sommaire > div > a {
    font-size: 14px;
    font-weight: normal;
    margin-top: 20px;
    display: block;
    color: var(--e-global-color-text);
}
.carte-container .carte-left .carte-sommaire > a:hover {
    color: var(--e-global-color-accent);
}


.carte-produits > div > div{
    background-color: #fff;
    transition: all .5s ease-in-out;
    border: 1px solid #fff;
    border-radius: 20px;    
}

.carte-produits > div > div.clicked{
    border: 1px solid var(--e-global-color-eefad27);
}
.carte-produits > div > div.clicked,.carte-produits > div > div.clicked ul.liste-produits .titre-produit span,.carte-produits > div > div.clicked ul.liste-produits .titre-produit strong{
    background-color: #f5f7f8;
}
/*
.carte-produits > div > div{
    position: relative;
    margin: -60px 0 0;
}

.carte-produits > div > div:before{
    content:"";
    position:relative;
    pointer-events: none;
    height: 60px;
    display: block;
}*/


.carte-produits h2{
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    padding: 60px 0 20px;
}
/*
.carte-produits h2, .carte-produits ul{
    position:relative;
    margin: -60px 0 30px;
}*/
.carte-produits > div:first-child > div h2{
    padding: 0 0 20px;
}







ul.liste-produits {
    width: 100%;
    max-width: 750px;
    margin: auto;
    color:#002C50;
    padding-inline-start: 15px;
}
ul.liste-produits li {
    display: block;
    width: 100%;
    list-style: none;    
}
ul.liste-produits .titre-produit {
    display: flex;
    font-size: 16px;
    line-height: 25px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    background: linear-gradient(0deg, rgba(0,0,0,0) 46%, var(--e-global-color-secondary) 50%, rgba(0,0,0,0) 54%);
}
ul.liste-produits li:before{
    content: "";
    display: block;
    background-color: var(--e-global-color-secondary);
    height: 1px;
    width: 100%;
    position: relative;
    top:14px;
    z-index: -1;
}
ul.liste-produits .titre-produit span {
    display: inline;
    flex-wrap: nowrap;
    background:#fff;
    padding:0 10px 0 0;
    transition: all .5s ease-in-out;
}

ul.liste-produits .titre-produit span i{
    font-size: 12px;
}
ul.liste-produits .titre-produit span i a{
    font-size: 12px;
    color: var(--e-global-color-secondary);
}

ul.liste-produits .titre-produit span:before {
    content: "\2022";
      color: var(--e-global-color-secondary);
      font-weight: bold;
      display: inline-block;
      width: 1em; 
      margin-left: -1em;
}


ul.liste-produits .titre-produit strong {
    display: flex;
    justify-content: end;
    background:#fff;
    color:var(--e-global-color-secondary);
    padding:0 0 0 10px;
    transition: all .5s ease-in-out;
}

ul.liste-produits .description-produit {
    display: flex;
    font-size: 14px;
    width: 100%;
    color:#8899A7;
}
.precision{
    margin-top: 30px;
    width: 100%;
    text-align: center;
    display: block;
}
.precision .tarif{
    color:var(--e-global-color-secondary);
}
.precision, .precision a{
    font-size: 14px;
}

@media (max-width: 767px){
    .carte-container {
        grid-template-columns: 1fr;
    }
    
    .carte-left{
        position: fixed;
        top:56px;
        transition: all .3s ease-in-out;
        left: 0;
        width: 100%;
        z-index: 109;
    }
    /*body.scrolling .carte-left{
        top:56px;
    }
    body.scrolling.scrollup .carte-left{
        top:56px;
    }*/
    
    .carte-container .carte-left .carte-sommaire{
        padding: 15px;
        background-color: #fff;
        border:none;
        box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    }
    
    .carte-sommaire h3{
        text-align: center;
        margin:0;
    }
    .carte-container .carte-left .carte-sommaire div{
        height: 0;
        overflow: hidden;
        text-align: center;
        line-height: 2;
        transition: all .3s ease-in-out;
    }
    .carte-container .carte-left .carte-sommaire h3.active + div{
        height: 100vh;
    }
    .carte-container .carte-left .carte-sommaire ul{
        padding: 20px 0;
    }
    
    .carte-produits > div > div:before{
        height: 40px
    }
    
}


/* Allergènes */

table.tableau-allergenes {
    table-layout: fixed;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

table.tableau-allergenes tbody,
table.tableau-allergenes td,
table.tableau-allergenes th,
table.tableau-allergenes thead,
table.tableau-allergenes tr {
    box-sizing: border-box;
    vertical-align: middle;
}

table.tableau-allergenes td,
table.tableau-allergenes th{

    border: 1px solid #f3f3f3;
}

table.tableau-allergenes,
table.tableau-allergenes thead:first-child tr:first-child th.produit{
    border:none;
    border-top: none;
}
.tableau-allergenes tr {
    position: relative;
}

.tableau-allergenes th {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 9;
}

.tableau-allergenes th.allergene {
    border-left: 1px solid #e9e9e9;
    text-align: left;
    padding: 3px 0;
    height: 200px;
    vertical-align: bottom;
    width: 5%;
    overflow: hidden;
}

.tableau-allergenes .famille {
    vertical-align: middle;
    background: #f8c9c9;
    text-align:center;
    font-weight:700;
    text-transform:uppercase;
}

.tableau-allergenes .produit {
    width: 20%;
    text-align: center;
    vertical-align: middle;
}

.tableau-allergenes th span {
    transform: rotate(-90deg) translate(0, 1.5em);
    margin-bottom: 20px;
    bottom: 0;
    display: inline-block;
    color: var( --e-global-color-accent );
    font-weight: bold;
    white-space: nowrap;
    transform-origin: left;
    padding: 0;
    text-transform: uppercase;
}

.tableau-allergenes th.allergene:after {
    content: "";
    width: 100%;
    height: 42px;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    filter: invert(1);
    opacity: .5;
}

.tableau-allergenes th.all_gluten:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/gluten.png);
}

.tableau-allergenes th.all_crustaces:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/crustace.png);
}

.tableau-allergenes th.all_oeufs:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/oeufs.png);
}

.tableau-allergenes th.all_poisson:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/poissons.png);
}

.tableau-allergenes th.all_arachide:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/arachides.png);
}

.tableau-allergenes th.all_soja:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/soja.png);
}

.tableau-allergenes th.all_lait:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/lait.png);
}

.tableau-allergenes th.all_fruitsacoque:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/fruits-a-coques.png);
}

.tableau-allergenes th.all_celeri:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/celeri.png);
}

.tableau-allergenes th.all_moutarde:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/moutarde.png);
}

.tableau-allergenes th.all_sesame:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/sesame.png);
}

.tableau-allergenes th.all_sulfite:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/sulfites.png);
}

.tableau-allergenes th.all_lupin:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/lupin.png);
}

.tableau-allergenes th.all_mollusque:after {
    background-image: url(https://complexelecercle.com/wp-content/themes/cercle/allergenes/mollusques.png);
}

.tableau-allergenes td.allergene {
    text-align: center;
    padding: 20px 5px;
    line-height: 0;
    vertical-align: middle;
    font-size: 50px;
    color: var( --e-global-color-accent );
}

tr:nth-child(odd) td.produit,
tr:nth-child(odd) td.allergene {
    background: #e9e9e9;
}

@media (max-width:990px) {
    .tableau-allergenes th {
        top: 0;
    }
    .tableau-allergenes th span {
        transform: rotate(-90deg) translate(0, 1em);
    }
    .tableau-allergenes th:after {
        display: none;
    }
    .tableau-allergenes td.allergene{
        padding: 0;
    }
}

@media (max-width:570px) {
    .tableau-allergenes th span {
        transform: rotate(-90deg) translate(0, 0.5em);
    }
}




/*PLATS A LA UNE*/

.une{
    display: block;
    overflow: hidden;
    background-color: var( --e-global-color-b6ee7e2 );
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 20%);
}
.une .swiper-wrapper{
    display: flex;
    gap: 0;
}
.une-wrapper{
    display:grid;
    grid-template-columns: 1fr 1fr;
}

.une-image{
    display: flex;
    flex-wrap: nowrap;
    width:100%;
    max-height: 350px;
    z-index: 0;
}
.une-image img{
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    z-index: 0;
}
.une-image:after{
    content:"";
    display: block;
    position: relative;
    top:10%;
    right: 6px;
    width: 16px;
    height: 80%;
    background-color: var(--e-global-color-secondary);
    z-index: 9;
}

.une-infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:20px;
    font-size: 16px;
}


.une-infos h3{
    font-size: 20px;
}

.une-infos .tarif-produit{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: var(--e-global-color-secondary);
    font-weight: 700;
    gap: 10px;
}


.une-infos .tarif-produit:before, .une-infos .tarif-produit:after{
    content:"";
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--e-global-color-secondary)
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
    left: -40px;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
    right: -40px;
}
.swiper-button-next, .swiper-button-prev{
    filter: grayscale(1);
    height: 22px;
}

@media (max-width:1199px){
    .swiper-button-prev, .swiper-container-rtl .swiper-button-next{
        left: 0;
    }
    .swiper-button-next, .swiper-container-rtl .swiper-button-prev{
        right: 0;
    }
    .une{
        width: calc(100vw - 80px);
        margin: 0 auto;
    }
}
@media (max-width:767px){
    .une-wrapper {
        grid-template-columns: 1fr;
    }
    .une-image {        
        display: block;
    }
    .une-image img {
        overflow: initial;
    }
    .une-image:after {
        display: block;
        position: relative;
        top: initial;
        right: initial;
        width: 80%;
        margin: -3px auto 0;
        height: 6px;
    }
    .une-infos{
        gap:0;
    }

    .une-infos h3 {
        font-size: 18px;
        text-align: center;
        margin: 15px 0 0;
    }
}

/*QR CODE*/
#qrcode{
    display: block;
    text-align: center;
    width: 100%;
    grid-column: 2/3;
}
#qrcode canvas{
    width: 128px;
    height: 128px;
}
#qrcode img{
    display: block;
    margin: 0 auto;
    width: 128px;
    height: 128px;
}

@media (max-width: 767px){
    #qrcode {
        grid-column: 1/2;
    }
}
/*CONTACT*/
.formulaire-contact:not(.active){
    display: none;
}

.btn-contact.active a{
    color:#fff;
    background-color: var(--e-global-color-secondary);
    border: 1px solid var(--e-global-color-secondary);
}


.tel-footer a, .tel-contact a{
    font-family: "Arciform", Sans-serif;
    font-size:25px;
    color:#fff;
    display: block;
}
.tel-contact a{
    color:var( --e-global-color-primary );
}
.tel-footer, .tel-contact{
    border:2px dashed #fff;
    border-radius:15px;
    padding:15px;       
}
.tel-contact{
    border:2px dashed var( --e-global-color-primary );  
}
.tel-footer p,.tel-contact p{
    margin:0;   
}
.tel-footer a:hover,.tel-contact a:hover{
    color:   var( --e-global-color-accent );
}

.horaires ul{
    padding: 0;
}
.horaires ul li{
    display: flex;
    justify-content: space-between;
    background: linear-gradient(0deg, rgba(0,0,0,0) 46%, var(--e-global-color-secondary) 50%, rgba(0,0,0,0) 54%);
}

.horaires ul li em{
    display: flex;
    align-items: center;
    gap:10px;
    background-color:#fff;
    padding: 0 5px;
    font-style: normal;
}
.horaires ul li em:before{
    display: block;
    content:"";
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--e-global-color-secondary);
}
.horaires ul li strong{
    color:var(--e-global-color-secondary);
    font-weight: 400;
    background-color:#fff;
    padding: 0 5px;
}


.wpcf7-form input[type=date], .wpcf7-form input[type=email], .wpcf7-form input[type=number], .wpcf7-form input[type=password], .wpcf7-form input[type=search], .wpcf7-form input[type=tel], .wpcf7-form input[type=text], .wpcf7-form input[type=url],.wpcf7-form select,.wpcf7-form textarea,.wpcf7-form input:not([type="button"]):not([type="submit"]){
    border:1px solid #E9E9E9;
    border-radius: 30px;
    
}
.wpcf7-form textarea{
    border-radius: 15px
}


.wpcf7-form .wpcf7-form-control-wrap{
    margin-bottom: 10px;
    display: block;
}

.wpcf7-form h3{
    font-size: 20px;
    line-height: 1;
    margin-top: 30px
}

.wpcf7-form h3:after{
    font-size: 20px;
}

.wpcf7-form label{
    padding-left: 15px;
}

input[type="submit"]{
    float:right;
}

@media (min-width: 1140px){
    .wpcf7-form{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 10px
    }
    .wpcf7-form > *{
        grid-column: 1/3;
    }
    
    .wpcf7-form .form-half-1{
        grid-column: 1/2;
    }
    .wpcf7-form .form-half-2{
        grid-column: 2/3;
    }
}

/*FOOTER*/
.separateur-footer h2{
    position: relative;
    display:block;
    max-width: 200px;
    margin: 0 auto;
    background-color: var( --e-global-color-primary );
    z-index: 1;
}
.separateur-footer > div:before{
    content:"";
    display: block;
    height: 1px;
    width: 100%;
    background-color: #fff;
    position: relative;
    top:10px;
    z-index: 0;
}
.bottom-footer a, .bottom-footer a:hover{
    color:#fff;
    font-size: 14px;
}

/*recaptcha*/
.grecaptcha-badge {
    opacity: 0;
    pointer-events: none;
}

/*SEO PRESS COOKIE CONSENT*/
body .seopress-user-consent:not(.seopress-user-consent-hide){
    height: 300px;
    display: flex;
    flex-direction: column;
}
body .seopress-user-consent p{
    max-width: 600px;
    width: 100%;
}
body .seopress-user-consent p a{
    display: inline-block;
    font-size: 1em;
}
body #seopress-user-consent-close{
    position: absolute;
    top: -30px;
    right: 0;
    background: #ededed;
}
body #seopress-user-consent-accept{
    margin-top:30px;
    display: block;
    width: 100%;
}