/* Nav - Root
------------------------------------------- */

:root {
    --ct-header-trigger-size: 60px;
    --theme-block-max-width: var(--stk-block-wide-width);
    --theme-transition-duration: 0.3s;
    --theme-transition-delay: 0.3s;
    --theme-transition-easing: cubic-bezier(0.76, 0, 0.24, 1);
    /* https://easings.net */
}

/* Header Nav
----------------------------------------------- */
[data-menu*="type-2"] {
    height: auto;
}

[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
    min-height: var(--theme-button-min-height);
    margin-block-end: 0;
}

#header [data-device=mobile] [data-sticky*="yes"] {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-device=mobile][data-transparent] {
    position: fixed;
}

nav[class*="menu"] {

    li.ct-highlight,
    li.ct-highlight > a {
        color: var(--theme-link-active-color) !important;
        /* pointer-events: none; */
    }

    li.ct-highlight > a .ct-icon,
    li.ct-highlight > a .ct-icon-container svg {
        fill: var(--theme-link-active-color) !important;
    }
}

[data-menu*="type-2"] > ul > li.ct-highlight > a {
    --menu-indicator-opacity: 0;
}


/* Mega Menu
----------------------------------------------- */

/* #menu-header-mega-menu {
    position: relative;
} */

.mobile-menu[data-submenu-dots=yes] [class*=children].mega-menu > ul {
    --has-indentation: 0;
}


/* Mobile Menu - Offcanvas Panel
----------------------------------------------- */

#offcanvas .ct-panel-actions {
    height: var(--header-height);
    margin-left: auto;
    --panel-padding: calc((100vw - var(--theme-container-edge-spacing))/2);
    padding-top: 0;
    z-index: 1;
}

#offcanvas .ct-panel-content {
    margin-top: calc(0px - var(--header-height));
}

#offcanvas .ct-panel-content-inner {
    height: 100%;
    --panel-padding: calc((100vw - var(--theme-container-edge-spacing))/2);
    padding-top: 12px;
}

[data-header*="type-1"] [data-id="offcanvas-logo"] {
    margin-top: calc((var(--header-height) - var(--logo-max-height))/2) !important;
    margin-bottom: calc((var(--header-height) - var(--logo-max-height))/2) !important;
}

[data-header*="type-1"] [data-id="content-block"] {
    margin-top: auto !important;
    width: 100%;
}

#offcanvas .ct-panel-content-inner > .ct-header-text {
    margin-top: auto;
}

#offcanvas .ct-panel-content-inner > *:last-child {
    margin-bottom: 1em;
}

/* Mobile Menu - Nav Items */
.mobile-menu li {
    align-items: flex-start;
}

/* Mobile Menu - Animations */
.ct-header.ct-panel .mobile-menu ul > li,
.ct-header.ct-panel .ct-header-cta,
.ct-header.ct-panel [class*=ct-contact-info],
.ct-header.ct-panel .ct-social-box a,
[data-header*="type-1"] [data-id="content-block"] .animate-in {
    /* overflow: hidden; */
}

.ct-header.ct-panel .mobile-menu ul > li > :first-child,
.ct-header.ct-panel .ct-header-cta a,
.ct-header.ct-panel [class*=ct-contact-info] li,
.ct-header.ct-panel .ct-social-box a .ct-icon-container,
[data-header*="type-1"] .ct-header.ct-panel [data-id="content-block"] .animate-in > :first-child {
    opacity: 0;
    transition: transform calc(var(--theme-transition-duration)*1) var(--theme-transition-easing), opacity calc(var(--theme-transition-duration)*2) var(--theme-transition-easing);
}

.ct-header.ct-panel.active .mobile-menu ul > li > :first-child,
.ct-header.ct-panel.active .ct-header-cta a,
.ct-header.ct-panel.active [class*=ct-contact-info] li,
.ct-header.ct-panel.active .ct-social-box a .ct-icon-container,
[data-header*="type-1"] .ct-header.ct-panel.active [data-id="content-block"] .animate-in > :first-child {
    opacity: 1;
    transform: translateX(0px) !important;
}

[data-panel*=out] [data-behaviour=right-side] .ct-panel-content,
[data-panel*=in] [data-behaviour=right-side].active .ct-panel-content {
    animation-name: none;
}

[data-header*="type-1"] .ct-header.ct-panel [data-id="offcanvas-logo"],
[data-header*="type-1"] .ct-header.ct-panel .animate-in > *:not(style) {
    opacity: 0;
    transition: opacity calc(var(--theme-transition-duration)*2) var(--theme-transition-easing);
}

[data-header*="type-1"] .ct-header.ct-panel.active [data-id="offcanvas-logo"],
[data-header*="type-1"] .ct-header.ct-panel.active .animate-in > *:not(style) {
    opacity: 1;
}

.ct-panel-content .scale-in {
    opacity: 0;
    width: 0;
}

[data-panel*=in] [data-behaviour=right-side].active .ct-panel-content .scale-in {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
    animation-name: scale-in;
}

@keyframes scale-in {
    0% {
        opacity: 0;
        width: 0%;
    }

    100% {
        opacity: 1;
        width: 100%;
    }
}

/* Footer Nav
----------------------------------------------- */

/* @media screen and (max-width: 999.98px) {

    [data-footer*="type-1"] .ct-footer [data-column="menu"],
    [data-footer*="type-1"] .ct-footer [data-column="socials"] {
        display: none;
    }
} */