/* CUSTOM CSS */

html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

html, body{
    overflow : visible;
    overflow-x: hidden;
}

/* RECAPTCHA */
.grecaptcha-badge{
	display : none!important;
	opacity : 0;
	z-index : -99999;
}

:root {
    --max-width: 1340px;
    --min-margin: 3rem;
    --dynamic-width: min(var(--max-width), calc(100% -(2* var(--min-margin))));
    --dynamic-margin: max(calc(50% - 0.5* var(--max-width)), var(--min-margin));
} 

.offset-left-wrapper{
    position: relative!important;
    padding-left: var(--dynamic-margin)!important;
} 

.offset-right-wrapper{
    position: relative!important;
    padding-right: var(--dynamic-margin)!important;
}


@media screen and (max-width:992px){
    .offset-left-wrapper{
        padding-left: inherit!important;
    } 

    .offset-right-wrapper{
        padding-right: inherit!important;
    }

    .mobile-hidden{
        display: none!important;
    }
}


/*
 *
 * HEADER 
 *
 */

 .home #menu-logo{
    opacity: 0;
    transition: all .3s ease;
 }

 .home #burger-menu-wrapper.active + #menu-logo{
    opacity: 1;
 }

 div.elementor-location-header{
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
 } 

 #main-header{
    position: fixed;
    transition: all .3s ease;
    z-index: 10;
 }

 #main-header .elementor-widget-image{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: all .3s ease;
 }

 #main-header #main-menu{
    padding-top: 0rem;
    transition: all .3s ease;
    z-index: 2;
 }

 #main-header #main-menu ul{
    justify-content: space-between;
    width: 100%;
 }

 #main-header #main-menu ul > li.home{
    flex-grow: 2;
 }


 #main-header #main-menu ul > li a{
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 100%;
    text-wrap: wrap;
    text-align: center;
    font-weight: 400;
 }

 #main-header #main-menu ul > li.emphasized-menu-item a{
    background-color: var(--e-global-color-accent);
    border-radius: 50px;
    box-shadow: 0 0 1rem rgba(0,0,0,.1);
 }

 #main-header #main-menu ul > li:not(.emphasized-menu-item) a:hover:before, #main-header #main-menu ul > li:not(.emphasized-menu-item) a:focus:before, #main-header #main-menu ul > li.current-menu-item:not(.emphasized-menu-item) a:before{
    opacity : 1;
 }

 #main-header #main-menu ul > li a:hover, #main-header #main-menu ul > li a:focus, #main-header #main-menu ul > li.current-menu-item a{
    color: #ffffff;
 }

 #main-header #main-menu ul > li.emphasized-menu-item:hover a, #main-header #main-menu ul > li.emphasized-menu-item:focus a, #main-header #main-menu ul > li.emphasized-menu-item.current-menu-item a{
    background-color: var(--e-global-color-primary);
 }

 /* MENU */
 #main-header #main-menu nav > ul > li > a:hover, #main-header #main-menu nav > ul > li > a:focus{
    background-color : rgba(255,255,255,.2);
    transition: all .3s ease; 
 }

 /* STICKED */

#main-header .elementor-widget-image {
	z-index: 3;
}

#main-header:not(.sticked) #main-logo svg path{
    fill : #fff!important;
}

#main-header.sticked{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 15;
	transform : translateY(-100%);
	transition : transform .3s ease;
    background-color: #fff;
}

#main-header.sticked.active{
    padding-block-start: 0.5rem;
    padding-block-end: 0.5rem;
	transform : translateY(0);
}

#main-header.sticked #main-menu ul > li span, #main-header.sticked #main-menu ul > li a{
    color : var( --e-global-color-accent );
}

@media screen and (min-width:1200px) and (max-width:1399px) {
    #main-header #main-menu ul > li a{
        font-size : .9rem;
        line-height: 1.2;
    }
} 

@media screen and (min-width:1025px) and (max-width:1200px) {

    #main-header #main-menu ul > li a{
        font-size : .8rem;
        line-height: 1.2;
    }
}

@media screen and (min-width:1025px){
    #main-header #main-menu ul > li.home > a{
        color: transparent;
    }
}

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

    .d-mobile{
        display: flex!important;
    }

    .d-tablet-none{
        display: none;
    }

    #main-header{
        align-items: center;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

   #main-menu{
        width: 10%;
   }

   #main-header.sticked #main-menu .elementor-menu-toggle > svg{
      fill : var( --e-global-color-secondary );
   }

    #main-header #main-menu ul > li a {
        padding: .25rem;
    }

    #main-header #main-menu .elementor-nav-menu > li:not(.menu-item-home){
        order : 2;
    }

    #main-header #main-menu .elementor-nav-menu > li.menu-item-home{
        order : 1;
    }

   #main-header #main-menu nav.elementor-nav-menu--dropdown{
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      z-index: 5;
   }

   #main-header #main-menu .elementor-menu-toggle{
    z-index: 1;
   }

   #main-header #main-menu .elementor-menu-toggle.elementor-active{
      z-index: 6;
   }

   #main-header #main-menu .elementor-menu-toggle.elementor-active > svg{
      fill : var( --e-global-color-secondary );
   }

   #main-header #main-menu nav.elementor-nav-menu--dropdown > ul{
      display: inline-flex;
      flex-direction: column;
      gap: 1rem;
      justify-content: center;
      align-items: center;
   }

   #main-header #main-menu nav.elementor-nav-menu--dropdown > ul li:nth-child(3){
      margin: auto;
   }

   #main-header #main-menu nav.elementor-nav-menu--dropdown > ul li.emphasized-menu-item a{
    color : #fff;
   }

   #main-header #main-menu nav.elementor-nav-menu--dropdown > ul li:not(.emphasized-menu-item) a.elementor-item.elementor-item-active,
   #main-header #main-menu nav.elementor-nav-menu--dropdown > ul li:not(.emphasized-menu-item) a.elementor-item:hover,
   #main-header #main-menu nav.elementor-nav-menu--dropdown > ul li:not(.emphasized-menu-item) a.elementor-item:focus{
    background-color: transparent;
    color : var(--e-global-color-secondary);
   }

   #main-header #main-menu nav.elementor-nav-menu--dropdown > ul li:not(.emphasized-menu-item) a.elementor-item.elementor-item-active:before{
    background-color: var(--e-global-color-secondary);
   }

   #main-header .elementor-widget-image{
        position: relative;
        top: auto;
        left: auto;
        transform: translateX(0) translateY(0);
        transition: all .3s ease;
        z-index: 1;
    }
   
 }

@media screen and (max-width:768px){
    .d-mobile-none{
        display: none;
    }
}

/* Tab Title */
.tab-pill.e--selected, .tab-pill[aria-selected="true"]{
    background-color: var(--Rose)!important;
    border-color: var(--Rose)!important;
}

.tab-pill:hover span, 
.tab-pill.e--selected span{
    color: #fff;
}

/* Btn secondary */
.btn-secondary:hover span,
.btn-secondary:focus span
{
    color: #fff;
}