/* 
Theme Name: Hello Elementor Child
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/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
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
*/

/** GLOBAL **/
.box-icon-height-auto svg{
    height: auto;
    max-width:100%;
}
    /* satellite title */
.satellite-title{
    color:#DAE3F1;
    padding-left: 40px;
    line-height: 0.8;
    top:-8px;
    z-index: -1;
    position: relative;
}
    /* buttons style */
.elementor-widget-button .elementor-button:not(#menu-popup){
    padding:0;
}
.elementor-widget-button .elementor-button:not(#menu-popup) .elementor-button-content-wrapper{
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
}
.elementor-widget-button .elementor-button:not(#menu-popup) .elementor-button-content-wrapper .elementor-button-icon{
    margin: 10px 0 0;
}
.elementor-widget-button .elementor-button:not(#menu-popup) .elementor-button-content-wrapper .elementor-button-icon svg{
    width:75px;
}

/** HEADER  **/
#menu-popup .elementor-button-icon{
    margin-right: 0;
}
#menu-popup .elementor-button-icon i{
    height: 30px;
    width: 30px;
    line-height: 30px;
}
#menu-popup .elementor-button-text{
    display: none;
}
    /** transparent header **/
.home .elementor-location-header header,
.page-id-20 .elementor-location-header header,
.page-id-22 .elementor-location-header header,
.page-id-24 .elementor-location-header header,
.page-id-26 .elementor-location-header header,
.page-id-28 .elementor-location-header header,
.page-id-30 .elementor-location-header header{
    background-image: none !important;
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding-bottom: 0 !important;
}
.home .elementor-location-header header .elementor-shape-bottom,
.page-id-20 .elementor-location-header header .elementor-shape-bottom,
.page-id-22 .elementor-location-header header .elementor-shape-bottom,
.page-id-24 .elementor-location-header header .elementor-shape-bottom,
.page-id-26 .elementor-location-header header .elementor-shape-bottom,
.page-id-28 .elementor-location-header header .elementor-shape-bottom,
.page-id-30 .elementor-location-header header .elementor-shape-bottom{
    display: none;
}

/** POPUP NAVIGATION **/
.popup-menu .dialog-widget-content .dialog-lightbox-close-button{
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
        transform: translateX(50%);
    display: -webkit-box !important;
    display: -ms-flexbox !important;
        display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
    border-radius: 50%;
    height: 60px;
    width: 60px;
}
#menu-principal-popup nav .elementor-nav-menu li{
    -webkit-box-flex:33.33%;
    -ms-flex:33.33%;
        flex:33.33%;
    padding:10px;
}
@media screen and (max-width:767px){
    #menu-principal-popup nav .elementor-nav-menu li{
        -webkit-box-flex:50%;
        -ms-flex:50%;
            flex:50%;
    }  
}
#menu-principal-popup nav .elementor-nav-menu li a{
    padding-top: 130px;
    border-radius: 10px;
}
#menu-principal-popup nav .elementor-nav-menu li a:hover,
#menu-principal-popup nav .elementor-nav-menu li.current-menu-item a{
    background-color: #2C62B3;
}
#menu-principal-popup nav .elementor-nav-menu li a::before{
    content:'';
    display:block;
    height: 100px;
    width: 100px;
    bottom:80px;
    opacity:1;
    background-position: center center;
    background-size:contain;
    background-repeat:no-repeat
}
@media screen and (max-width:767px){
    #menu-principal-popup nav .elementor-nav-menu li a{
        padding-top: 90px;
    }
    #menu-principal-popup nav .elementor-nav-menu li a::before{
        height: 70px;
        width: 70px;
        bottom:60px;
    }
}
#menu-principal-popup nav .elementor-nav-menu li.menu-item-54 a::before{background-image:url('https://www.opidlavoye.com/wp-content/uploads/2020/04/picto-menu-concept.svg');}
#menu-principal-popup nav .elementor-nav-menu li.menu-item-53 a::before{background-image:url('https://www.opidlavoye.com/wp-content/uploads/2020/04/picto-menu-casse-croute.svg');}
#menu-principal-popup nav .elementor-nav-menu li.menu-item-56 a::before{background-image:url('https://www.opidlavoye.com/wp-content/uploads/2020/04/picto-menu-epicerie.svg');}
#menu-principal-popup nav .elementor-nav-menu li.menu-item-52 a::before{background-image:url('https://www.opidlavoye.com/wp-content/uploads/2020/04/picto-menu-brocante.svg');}
#menu-principal-popup nav .elementor-nav-menu li.menu-item-51 a::before{background-image:url('https://www.opidlavoye.com/wp-content/uploads/2020/04/picto-menu-annexe.svg');}
#menu-principal-popup nav .elementor-nav-menu li.menu-item-55 a::before{background-image:url('https://www.opidlavoye.com/wp-content/uploads/2020/04/picto-menu-contact.svg');}

/** HOMEPAGE **/
    /* info icon */
.home-concept-info .elementor-icon-box-icon{
    margin-top:12px;
}
.home-concept-info .tippy-popper .tippy-arrow{
    left:88% !important;
}
    /* infobulle info icon */
@media screen and (max-width:767px){
    .home-concept-info .tippy-popper{
        transform: translate3d(0px, 200px, 0px) !important;
        width: 100%;
        max-width: 100%;
    }
    .home-concept-info .tippy-popper .tippy-tooltip{
        margin:0 auto;
    }
    .home-concept-info .tippy-popper .tippy-tooltip .tippy-arrow{
        left: 50% !important;
        transform: translateX(-50%);
    }
}
    /* a decouvrir */
#a-decouvrir  .elementor-background-overlay{
    z-index: 1;
}
.img-home-a-decouvrir figure img{
    height: 120px;
    object-fit: contain;
}
@media screen and (max-width:767px){
    .img-home-a-decouvrir figure img{
        height: 80px;
    }
}

/** LE CONCEPT **/
.img-ambiance-singuliere img{
    height: 140px;
    object-fit: contain;
}

/** CASSE-CROUTE **/
.offre-simple-col .elementor-row{
    -webkit-box-align: start;
    -ms-flex-align: start;
        align-items: flex-start;
}
.offre-simple-col .elementor-row .elementor-column{
    min-height: 350px;
}
.offre-simple-col .list-le-service{
    padding-left: 15px;
}
.offre-simple-col .list-le-service li{
    margin:15px 0;
}
.offre-simple-titre h3::after,
.animated-box-title h3::after,
.lire-plus-btn .jet-unfold__button-text::after,
footer .mailpoet_form .mailpoet_form_column:last-child .mailpoet_paragraph::after{
    content: '';
    position: relative;
    display: block;
    width: 100%;
    height: 20px;
    top: 15px;
    background-image: url('https://www.opidlavoye.com/wp-content/uploads/2020/04/icone-vague-orange.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

/** EPICERIE **/
.produit-epicerie-img figure img{
    height: 100px;
    object-fit: contain;
}
.regles-epicerie .regles-epicerie-row{
    display: -webkit-box;
    display: -ms-flexbox;
        display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
    margin-top: 40px;
}
.regles-epicerie .regles-epicerie-number{
    -webkit-box-flex: 1;
    -ms-flex: 1;
        flex: 1;
    font-size: 4rem;
    font-weight: 700;
    color: #f2931f;
}
.regles-epicerie .regles-epicerie-content{
    -webkit-box-flex: 3;
    -ms-flex: 3;
        flex: 3;
}
@media screen and (max-width:767px){
    .regles-epicerie .regles-epicerie-number{
        font-size: 3rem;
    }
    .regles-epicerie .regles-epicerie-content{
        font-size: 0.9rem;
    }
}

/** ANNEXE **/
.tab-annexe .elementor-tabs .elementor-tab-content{
    background-color: #F9E2CB;
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    margin-bottom: 20px;
}

.tab-annexe .elementor-tabs .elementor-tabs-wrapper{
    padding-right: 180px;
}
@media screen and (max-width:1024px){
    .tab-annexe .elementor-tabs .elementor-tabs-wrapper{
        padding-right: 60px;
    }
}
.tab-annexe .elementor-tab-title.elementor-active,
.tab-annexe .elementor-tab-title a:hover,
.tab-annexe .elementor-tab-mobile-title:hover{
    color: #F2931F !important;
}
.tab-annexe .elementor-tab-mobile-title{
    margin-bottom: 20px;
}
.tab-annexe .elementor-tab-title{
    position: relative;
    padding-left: 40px !important;
}
.tab-annexe .elementor-tabs-wrapper{
    overflow: visible !important;
}
.tab-annexe .elementor-tab-title.elementor-active::before{
    content: '';
    position: absolute;
    left: -20px;
    background-image: url('https://www.opidlavoye.com/wp-content/uploads/2020/04/tab-active-icon.svg');
    height: 40px !important;
    width: 40px !important;
    background-size: contain;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/** BROCANTE **/
.liste-pourquoi-brocante{
    list-style:none;
    margin:30px 0;
}
.liste-pourquoi-brocante li{
    font-size: 2rem;
    position: relative;
    font-weight: 500;
    padding-left: 10px;
    margin: 5px 0;
}
.liste-pourquoi-brocante li::before{
    content:'';
    position: absolute;
    top:50%;
    left:-40px;
    transform: translateY(-50%);
    background-image: url('https://www.opidlavoye.com/wp-content/uploads/2020/04/tab-active-icon.svg');
    background-size: contain;
    height: 30px;
    width: 30px;
}

/** CONTACT **/
#contact-form-opdv .elementor-field-type-submit button.elementor-button[type="submit"] > span{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
        flex-direction: column;
}
#contact-form-opdv .elementor-field-type-submit button.elementor-button[type="submit"] .elementor-button-icon svg{
    width: 4em;
    margin-top: 10px;
}

/** EVENEMENTS **/
.evenement-date .jet-listing-dynamic-field__content{
    max-width: 130px;
}
.evenement-btn-savoir-plus .elementor-button-icon svg g path{
    fill: #F7D6B5;
}

/** FOOTER **/
.menu-footer ul.menu{
    padding:0;
    list-style: none;
}
.address-footer address,
.address-footer address a,
.menu-footer ul.menu li a{
    color:#fff;
    font-size:1.1rem;
    font-weight: 500;
}
.address-footer address a:hover,
.menu-footer ul.menu li a:hover{
    color:#F7D6B5;
}
.elementor-location-footer footer h5{
    color:#F7D6B5;
    font-size: 1.9rem;
    font-weight: 600;
    max-width: 245px;
    margin-bottom: 20px !important;
}
    /** newsletter **/
footer .mailpoet_form .mailpoet_form_column:first-child{
    background-color: #4B79BE;
}
@media screen and (min-width:768px){
    footer .mailpoet_form .mailpoet_form_column:first-child{
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    } 
}
footer .mailpoet_form .mailpoet_form_column:first-child .mailpoet_paragraph {
    -webkit-box-flex:1;
    -ms-flex:1;
        flex:1;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
        align-self: center;
    width: 100%;
}
footer .mailpoet_form .mailpoet_text[type="email"]{
    background-color: transparent;
    border:none;
    padding:0;
}
@media screen and (max-width:767px){
    footer .mailpoet_form .mailpoet_form_column:first-child .mailpoet_paragraph:first-child{
        margin-bottom: 15px !important;
    }
}
footer .mailpoet_form .mailpoet_text[type="email"],
footer .mailpoet_form .mailpoet_text[type="email"]::placeholder,
footer .mailpoet_form .mailpoet_checkbox_label{
    color:#fff;
}
footer .mailpoet_form .mailpoet_paragraph .mailpoet_submit{
    color: #fff;
    border: none;
    background: none;
    padding:0;
}