/* 
Theme Name: Bentouch Group
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team and custom by Ajanco
Author: Elemntor Team and Ajanco
Author URI: https://elementor.com/
Template: hello-elementor
Text Domain: bentuochgroup
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
*/

/*design*/
.m0 p:last-child {
	margin-bottom: 0;
}

.elementor-widget-text-editor ul{
    margin-bottom: 15px;
}
.elementor-widget-text-editor a{
    text-decoration: underline;
}

.elementor-heading-title span{
    color:var(--e-global-color-67401a3);
    font-size: 200%;
    display: inline-block;
    line-height:0;
}
.elementor-counter .elementor-counter-number-suffix{
    color:var(--e-global-color-67401a3);
    font-family: "Poppins";
    font-weight: 200;
    font-size: 70%;
    display: flex;
    align-items: end;
}

body .separateur-gradient .elementor-divider{
    padding-block-start: 0 !important;
  padding-block-end: 0 !important;

}
body .separateur-gradient .elementor-divider-separator:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color:transparent !important;
    background:linear-gradient(to right,var(--e-global-color-ff07190), transparent,var(--e-global-color-ff07190))
}
.pretitre{
    padding-bottom: 30px;
}
.pretitre:after{
    content:'';
    display: block;
    width: 46px;
    height: 8px;
    background-color: var(--e-global-color-67401a3);
    position: absolute;
   bottom:0;
}
.pretitre.blanc:after{
    background-color: var(--e-global-color-primary);
}

.pretitre.centre:after{
    left:calc(50% - 23px);
}

@media(max-width:767px){
    .pretitre{
        padding-bottom: 10px;
    }
    .pretitre:after{
        bottom: -10px;
        width:20px;
        height:4px;
    }
}

/*HERO*/

@media(min-width:1024px){

    .hero-metier{
        opacity: 1;
        transition:all .2s ease-in-out;
    }
    .hero-metier.is-off{
        opacity: 0;
    }

    .hero-metier .hero-info{
        opacity: 0;
        filter:blur(10px);
        transform: scale(.6);
        transition:all .2s ease-in-out;
        height: 0;
    }

    .hero-metier:hover{
        opacity: 1;
    }

    .hero-metier:hover .hero-info{
        opacity: 1;
        filter:blur(0);
        transform: scale(1);
        height: 100%;
    }


    .hero-video {
        opacity: 0;
        transition:all .4s ease-in-out;
    }

    .hero-video.is-active{
        opacity: 1;
    }

}


@media (max-width:1024px){
    
    
    .hero-video.active-mobile .elementor-background-video-container:before{
        transition:all .2s ease-in-out;     
    }
    .hero-video.active-mobile .elementor-background-video-container:before{
        opacity: 0;
    }
    
    
    .hero-video, .hero-metier{
        height:10vh;
        transition:all .4s ease-in-out;  
    }
    .hero-metier:hover:before{
        background-color: var(--e-global-color-ff07190)!important;
    }
    .hero-metier .hero-info,.hero-metier .hero-btn{
        display: none;
    }
    .hero-video.active-mobile, .hero-metier.active-mobile{
        height:70vh;
    }
    .hero-video.active-mobile.habitat{
        margin-top:calc(10vh + 10px)
    }
    
    .hero-metier.active-mobile .hero-info,.hero-metier.active-mobile .hero-btn{
        display: initial;
    }
    
    .hero-video .elementor-background-video-hosted{
        height: 100% !important;
        object-position: center;
    }
    .hero-video.hotellerie .elementor-background-video-hosted{
        object-position: right;
    }
    
}
        
        
        
        
        
        

/*Complianz*/
body #cmplz-manage-consent{
    display: none!important;
}

body .cmplz-show-banner{
    cursor: pointer;
}

body .cmplz-show-banner:hover{
    text-decoration: underline; 
}

/*Menu langue*/
.lang-fr a span, .lang-en a span{
    font-weight: 300;
}
html[lang="fr-FR"] .lang-fr a span, html[lang="en-GB"] .lang-en a span{
    font-weight: 700;
}
.menu-langue .menu-mini .menu{
    display: flex;
    list-style-type: none;
    padding: 0;
}
.menu-langue .menu-mini .menu a{
    color:var(--e-global-color-primary)
}
html[lang="fr-FR"] .menu-langue.mobile .lang-fr a, html[lang="en-GB"] .menu-langue.mobile .lang-en a{
    color:var(--e-global-color-67401a3);
}
.menu-langue .menu-mini .menu a:hover{
    text-decoration: underline;
}


.menu-langue .menu-mini .menu .menu-item{
    padding: 0 5px;
    height: 16px;
    display: flex;
    line-height: .9
}
.menu-langue .menu-mini .menu .menu-item:not(:first-child){
    border-left:1px solid var(--e-global-color-primary);
}

/*MENU MOBILE*/

.menu-mobile-panels-wrapper{
    --menu-mobile-height:auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: var(--menu-mobile-height);
    transition: height .32s ease;
}

.menu-mobile-panels-wrapper ul,
.menu-mobile-panels-wrapper li{
    list-style: none;
}

.menu-mobile-panels-wrapper ul{
    margin: 0;
    padding: 0;
}

.menu-mobile-panels-wrapper > .menu-mobile-panel{
    position: absolute;
    inset: 0 0 auto 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%,0,0);
    transition: transform .32s ease, opacity .32s ease, visibility 0s linear .32s;
    will-change: transform, opacity;
}

.menu-mobile-panels-wrapper > .menu-mobile-panel.is-active,
.menu-mobile-panels-wrapper > .menu-mobile-panel.is-on-left,
.menu-mobile-panels-wrapper > .menu-mobile-panel.is-on-right{
    visibility: visible;
    transition: transform .32s ease, opacity .32s ease, visibility 0s linear 0s;
}

.menu-mobile-panels-wrapper > .menu-mobile-panel.is-active{
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0,0,0);
    z-index: 2;
}

.menu-mobile-panels-wrapper > .menu-mobile-panel.is-on-left{
    transform: translate3d(-100%,0,0);
}

.menu-mobile-panels-wrapper > .menu-mobile-panel.is-on-right{
    transform: translate3d(100%,0,0);
}

.menu-mobile-panels-wrapper li > a,
.menu-mobile-panels-wrapper li > span,
.menu-mobile-panels-wrapper .menu-mobile-trigger,
.menu-mobile-panels-wrapper .menu-mobile-back-button{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    width: 100%;
    min-height: 60px;
    padding: 14px 0;
    border: 0;
    background: transparent;
    color: var(--e-global-color-primary);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
    outline: 0;
    transition: color .2s ease;
}
.menu-mobile-panels-wrapper .menu-mobile-back-button{
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .08em;
}


.menu-mobile-panels-wrapper > .menu-mobile-panel > li > a,
.menu-mobile-panels-wrapper > .menu-mobile-panel > li > .menu-mobile-trigger{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: .15em;
    text-transform: none;
    text-transform: uppercase;
}


.menu-mobile-panels-wrapper li{
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.menu-mobile-panels-wrapper .menu-item-has-children > .menu-mobile-trigger::after,
.menu-mobile-panels-wrapper .menu-mobile-back-button::before{
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--e-global-color-primary);
    border-right: 2px solid var(--e-global-color-primary);
    transition: transform .32s ease, color .2s ease;
}

.menu-mobile-panels-wrapper .menu-item-has-children > .menu-mobile-trigger::after{
    transform: rotate(45deg) translateX(-5px);
    margin-left: 16px;
}

.menu-mobile-panels-wrapper .menu-mobile-back-button::before{
    transform: rotate(-135deg) translate(-5px,4px);
    margin-right: 16px;
}

.menu-mobile-panels-wrapper li > a:hover,
.menu-mobile-panels-wrapper li > span:hover,
.menu-mobile-panels-wrapper .menu-mobile-trigger:hover,
.menu-mobile-panels-wrapper .menu-mobile-back-button:hover,
.menu-mobile-panels-wrapper li > a:focus,
.menu-mobile-panels-wrapper li > span:focus,
.menu-mobile-panels-wrapper .menu-mobile-trigger:focus,
.menu-mobile-panels-wrapper .menu-mobile-back-button:focus{
    color: var(--e-global-color-primary);
    border: 0;
    box-shadow: none;
    outline: 0;
    opacity: .75;
    background: transparent;    
}

.menu-mobile-panels-wrapper .menu-mobile-header{
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-mobile-panels-wrapper .menu-mobile-header > *{
    width: fit-content;
}

.menu-mobile-panels-wrapper .menu-mobile-back-button{
    min-height: 0;
    padding: 10px 0;
}

.menu-mobile-panels-wrapper .menu-mobile-title{
    display: flex;
    padding: 10px 0;
    color: var(--e-global-color-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

}

.menu-mobile-panels-wrapper .sub-menu{
    background: inherit;
}


@media(max-width:767px){
    .menu-mobile-panels-wrapper > .menu-mobile-panel > li > a, .menu-mobile-panels-wrapper > .menu-mobile-panel > li > .menu-mobile-trigger{
        font-size: 14px;
        letter-spacing: .05em;
    }
.menu-mobile-panels-wrapper .menu-mobile-title{
    text-align: right;
}
}


/*MEGA MENU*/

.mega-menu .menu-mini ul{
    font-size: 19px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style-type: none;
    padding: 5px;
}

.mega-menu .menu-mini a,.mega-menu .menu-mini span{
    color:  var(--e-global-color-primary);
    padding: 5px;
    display: flex;
    transition: all .2s ease-in-out;
}
.mega-menu .menu-mini .menu-item-has-children >a,
.mega-menu .menu-mini .menu-item-has-children >span{
    font-weight: 700;
    text-transform: uppercase;
}


.mega-menu .menu-mini a:hover{
    background-color: #fff;
    color:var(--e-global-color-accent);
}

/*FOOTER*/

.footer-links .menu-mini ul{
    font-size: 15px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style-type: none;
    padding: 5px;
}

.footer-links .menu-mini a{
    color:  var(--e-global-color-primary);
}
.footer-links .menu-mini .menu-item-has-children >a,
.footer-links .menu-mini .menu-item-has-children >span{
    font-weight: 700;
    color: var(--e-global-color-67401a3);
    text-transform: uppercase;
}
.footer-links .menu-mini a:hover{
    text-decoration: underline;
}
.footer-bottom-links *{
    
    color: var(--e-global-color-primary);
}
.footer-bottom-links .menu-mini > ul{
    font-size: 15px;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 0;
    list-style-type: none;
    
}
.footer-bottom-links .menu-mini a, .footer-bottom-links .menu-mini span{
    color: var(--e-global-color-67401a3);
    transition: color .2s ease-in-out;
}

.footer-bottom-links .menu-mini a:hover,  .footer-bottom-links .menu-mini span:hover{
    text-decoration: underline;
    color: var( --e-global-color-9f3be40);
}

.footer-bottom-links .menu-mini li:not(:last-child):after{
    content:"―";
    color:  var(--e-global-color-9f3be40);
    display: inline-block;
    margin: 0 15px;
}


@media(max-width:767px){
    .footer-bottom-links .menu-mini > ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
        
    }
    .footer-bottom-links .menu-mini li:not(:last-child):after{
        display:none;
        
    }
    
    
}


/*FORMS*/
body form input[type=file]:not([type="button"]):not([type="submit"]){
    width: 100%;
    padding: 0;
    background: transparent;
}

input[type=file]::file-selector-button {
  
  margin-right: 20px;
  border: none;
  color:var(--e-global-color-primary);
  background: var(--e-global-color-ff07190);
  padding: 20px;
  cursor: pointer;
  transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
  background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
}


/*BLOG*/
/*liste catégories*/
.categories-list{
    display: flex;
    gap: 20px;
    justify-content: center;
    
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}
.categories-list .category-button{
    display: flex;
    flex-direction: row;
    gap: 0;
    width: fit-content;
    text-align: center;
    justify-content: center;
    line-height: 1.1;
    align-items: center;
    padding: 10px 15px;
    border-radius:12px;
    transition: all .2s ease-in-out;
    font-size:14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.categories-list .category-button.current{
    pointer-events: none;
    color: var(--e-global-color-primary);
    background-color: var(--e-global-color-ff07190);
 }

.categories-list .category-button:hover{
    color: var(--e-global-color-primary);
    background-color: var( --e-global-color-accent) !important;    
}

/*pagination*/
.pagination-accordeon{
    display: flex;
    gap: 10px;
}
.pagination-accordeon > *{
    padding:2px 8px;
    min-width: 28px;
    text-align: center;
    background-color: transparent;
}
.pagination-accordeon > a:hover{
   color: var(--e-global-color-a719ac7);
    background-color: var(--e-global-color-accent);
}

.pagination-accordeon > strong{
   color: var(--e-global-color-a719ac7);
    background-color: var(--e-global-color-9df11eb);
}

.pagination-accordeon > span{
    opacity: .5
}

/*recaptcha*/
.grecaptcha-badge { visibility: hidden; }