[data-header*="type-1"] #offcanvas {
    background: rgba(255, 255, 255, 0.9) !important;
}


[data-header*="type-1"] #offcanvas {
    height: 80% !important;
}


.ct-header .ct-container {
    position: relative;
}

.ct-header .site-logo-container {
    position: absolute;
    top: 0;
    left: 0;
}

nav[class*=menu] .ct-menu-link {
    text-decoration: none;
}

[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
    transition: all .4s ease-in-out;
}

/* body:not(.home, .page-child)[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
    --logo-max-height: 234px;
} */


[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
    height: unset !important;
}


body.home[data-header="type-1:sticky"] .ct-header-socials .ct-icon-container path,
body.page-id-176[data-header="type-1:sticky"] .ct-header-socials .ct-icon-container path,
body.page-id-32357[data-header="type-1:sticky"] .ct-header-socials .ct-icon-container path,
body.page-id-178[data-header="type-1:sticky"] .ct-header-socials .ct-icon-container path,
body.page-id-180[data-header="type-1:sticky"] .ct-header-socials .ct-icon-container path,
body.page-id-2658[data-header="type-1:sticky"] .ct-header-socials .ct-icon-container path {
    fill: #ffffff !important;
}

body.home:not([data-header="type-1:sticky:shrink"]) nav[class*=menu] .ct-menu-link,
body.home:not([data-header="type-1:sticky:shrink"]) .ct-header [data-id="menu"]>ul>li>a,
body.page-id-176:not([data-header="type-1:sticky:shrink"]) nav[class*=menu] .ct-menu-link,
body.page-id-176:not([data-header="type-1:sticky:shrink"]) .ct-header [data-id="menu"]>ul>li>a,

body.page-id-32357:not([data-header="type-1:sticky:shrink"]) nav[class*=menu] .ct-menu-link,
body.page-id-32357:not([data-header="type-1:sticky:shrink"]) .ct-header [data-id="menu"]>ul>li>a,

body.page-id-178:not([data-header="type-1:sticky:shrink"]) nav[class*=menu] .ct-menu-link,
body.page-id-178:not([data-header="type-1:sticky:shrink"]) .ct-header [data-id="menu"]>ul>li>a,
body.page-id-180:not([data-header="type-1:sticky:shrink"]) nav[class*=menu] .ct-menu-link,
body.page-id-180:not([data-header="type-1:sticky:shrink"]) .ct-header [data-id="menu"]>ul>li>a,

body.page-id-2658:not([data-header="type-1:sticky:shrink"]) nav[class*=menu] .ct-menu-link,
body.page-id-2658:not([data-header="type-1:sticky:shrink"]) .ct-header [data-id="menu"]>ul>li>a {
    color: #ffffff;
}

body.page-id-176:not([data-header="type-1:sticky:shrink"]) .active nav[class*=menu] .ct-menu-link:not(:hover),
body.page-id-32357:not([data-header="type-1:sticky:shrink"]) .active nav[class*=menu] .ct-menu-link:not(:hover),
body.page-id-178:not([data-header="type-1:sticky:shrink"]) .active nav[class*=menu] .ct-menu-link:not(:hover),
body.page-id-180:not([data-header="type-1:sticky:shrink"]) .active nav[class*=menu] .ct-menu-link:not(:hover),
body.page-id-2658:not([data-header="type-1:sticky:shrink"]) .active nav[class*=menu] .ct-menu-link:not(:hover),
body.home:not([data-header="type-1:sticky:shrink"]) .active nav[class*=menu] .ct-menu-link:not(:hover) {
    color: #000000 !important;
}

body.home:not([data-header="type-1:sticky:shrink"]) nav[class*=menu] .ct-menu-link:hover {
    color: #c51230 !important;
}


.arrow_down .stk-button:hover .stk--inner-svg svg { 
    transform: translate(0, 4px) !important;
}

[data-header*="type-1"] .ct-header [data-transparent-row="yes"][data-row*="middle"] {
    background-color: #0A0A0A26;
}




@media (max-width: 860px) {
    .ct-header [data-sticky="fixed:shrink"] {
        background: #ffffff !important;
    }

    [data-header*="type-1"] .ct-header [data-transparent-row="yes"][data-row*="middle"] {
        padding: 15px;
    }

    [data-sticky*=yes] {
        padding: 10px;
    }

    /* [data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
        height: 80px !important;
    } */


    /* .single[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
        --logo-max-height: 80px !important;
    } */

    /* body:not(.home, .single, [data-header="type-1:sticky:shrink"]) .ct-header .site-branding img {
        height: 80px;
    } */
}



/* ---------------------------------------------------------------------------------------------- */


.banner {
    position: relative;
    z-index: 0;
}

.banner::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
}


#search-modal input {
    color: #ffffff;
}


#search-modal .ct-panel-content>form {
    display: flex;
    align-items: center;
}

#search-modal .ct-panel-content>form input {
    margin: 0;
    height: 44px;
    font-size: 18px;
    padding-right: 10px;
}

#search-modal .ct-panel-content>form input:hover {
    transform: unset !important;
}

/* ---------------------------------------------------------------------------------------------- */

/* [aria-label="megamenu"][data-interaction=click] [class*=children]:not(.dropdown-active)>ul {
    display: unset;
}

[aria-label="megamenu"][data-submenu-dots=yes] [class*=children]>ul.sub-menu {
    display: none;
} */

[aria-label="megamenu"][data-submenu-dots=yes] [class*=children]>ul li a:not(:empty):before {
    display: none !important;
}

/* [aria-label="megamenu"][data-interaction=click] [class*=children]:not(.dropdown-active)>ul {
    visibility: hidden;
    opacity: 0;
    transition: visibility .5s ease-in-out, opacity .5s ease-in-out;
    transform: translateX(-20px);
} */

/* [aria-label="megamenu"]>ul {
    width: 400px;
} */

[aria-label="megamenu"] li {
    width: 350px;
}

[aria-label="megamenu"] [class*=children]>ul.sub-menu {
    position: absolute;
    left: 390px;
    top: 17px;
    overflow: initial;
    width: auto;
    z-index: 999;
    margin-left: 0;
    padding-left: 0 !important;
    /* height: 100%; */
    /* background: #ffffff; */
    /* transition: unset !important; */
}

[aria-label="megamenu"] [class*=children]>ul.sub-menu .sub-menu {
    top: 64px;
}

[aria-label="megamenu"] [class*=children]>ul.sub-menu .sub-menu .nav-back-btn {
    margin-bottom: 20px;
}

[aria-label="megamenu"] [class*=children]>ul.sub-menu .sub-menu {
    left: 440px;
}

[aria-label="megamenu"] {
    position: relative;
}

#offcanvas .ct-panel-actions {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#offcanvas .ct-panel-content-inner {
    height: auto;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow: hidden;
}

/* [aria-label="megamenu"] .menu-item-has-children:hover>ul.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    height: 100%;
} */

[aria-label="megamenu"] li {
    border-bottom: 1px solid #D0D0D0 !important;
}



[aria-label="megamenu"] .ct-menu-link {
    padding: 12px 0 !important;
}

[aria-label="megamenu"] .ct-menu-link:hover {
    color: #b50f21 !important;
}

.ct-header .ct-search-box {
    max-width: 350px !important;
}

.ct-header .ct-search-box input {
    padding-left: 0;
    border-top: none;
    border-left: none;
    height: 44px !important;
    border-radius: 0;
}

.ct-header .ct-search-box .wp-element-button {
    border-top: none !important;
    border-right: none !important;
    justify-content: flex-end;
    border-radius: 0 !important;
}


/* ----------------------------------------------------------- */

.ct-panel.active [aria-label="top-menu"] {
    width: 40% !important;
}

.ct-panel.active [aria-label="top-menu"] ul {
    display: flex;
}

.ct-panel.active [aria-label="top-menu"] ul .ct-menu-link {
    font-size: 16px;
    color: #5A5B5E;
    white-space: nowrap;
    font-weight: 600;
}

.ct-panel.active [aria-label="top-menu"] ul {
    justify-content: flex-end;
    column-gap: 45px;
}



/* ----------------------------------------------------------- */
/* ----------------------------------------------------------- */

nav[class*=menu] .ct-menu-link:not(:hover) {
    color: #323232;
}

.ct-toggle-close path {
    fill: #ffffff !important;
}

.ct-header .ct-search-box>form {
    display: flex;
    border-bottom: 1px solid #aea58c;
}

.ct-header .ct-search-box>form button {
    font-size: 0;
    height: 40px !important;
    padding: 0;
    width: 40px;
    line-height: 40px !important;
    border: none;
    background: url(../images/search.svg) no-repeat 10px center;
    background-size: 15px;
}

.ct-header .ct-search-box>form [type=submit]:hover {
    transform: unset !important;
}

.ct-header .ct-search-box input {
    border: none;
}

/* nav.mobile-menu.menu-container {
    position: absolute;
    right: 0;
    height: 100%;
} */

.has-submenu {
    margin-top: 82px !important;
}

#offcanvas [aria-label="top-menu"]>ul {
    margin-right: 90px;
}


/* --------------------------------------------------------------------------- */

.nav-back-btn {
    background: transparent !important;
    font-size: 18px;
    /* font-weight: 500; */
    color: #5A5B5E;
    fill: #5A5B5E;
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 26px;
}

svg.back-arrow-icon {
    transform: rotate(90deg);
    margin: 0 8px 0 -3.5px;
}

.mobile-menu .sub-menu a {
    font-weight: 500;
    font-size: 18px;
    min-height: 56px;
}

@media screen and (min-width: 601px) {
    [aria-label="megamenu"] li:hover svg:not(.back-arrow-icon) {
        transform: rotate(-90deg);
    }

    [aria-label="megamenu"] li svg:not(.back-arrow-icon),
    [aria-label="megamenu"] li:hover svg:not(.back-arrow-icon) {
        transform: rotate(270deg) !important;
    }
}


/* .ct-panel {
    transition: unset !important;
} */

[aria-label="megamenu"] li li {
    width: 400px;
    /* background: rgb(255, 255, 255); */
}



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

    .home [data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
        height: 180px !important;
    }

    .has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog {
        margin-top: 0;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        padding-top: 45px !important;
        margin-top: -20px !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open {
        overflow: unset !important;
    }


    .page__menu__wrap,
    #page__menu__wrap {
        top: 88px;
        padding: 0 !important;
    }

    [aria-label="megamenu"] li,
    [aria-label="megamenu"] li li {
        width: 100%;
    }

    [aria-label="megamenu"] [class*=children]>ul.sub-menu {
        position: unset;
        width: 100%;
        margin-left: 0;
        background: #f1f1f1;
        padding: 10px !important;
        margin-bottom: 15px;
        border-radius: 6px;
    }

    [aria-label="megamenu"] [class*=children]>ul.sub-menu .sub-menu {
        margin-bottom: 0;
    }

    [aria-label="megamenu"] li:last-child {
        border-bottom: none !important;
    }

    .menu-item-has-children {
        position: relative;
    }

    [aria-label="megamenu"][data-interaction=click] [class*=children]:not(.dropdown-active)>ul {
        display: none !important;
    }

    nav[class*=menu] .sub-menu .ct-menu-link {
        font-size: 16px;
    }

    .ct-panel.active [aria-label="top-menu"] {
        width: 100% !important;
    }

    .ct-panel.active [aria-label="top-menu"] ul {
        justify-content: flex-start;
        column-gap: 15px;
        flex-wrap: wrap;
    }

    #offcanvas .ct-panel-content-inner {
        height: auto;
    }

    .ct-panel-actions {
        padding: 16px !important;
    }

    .ct-panel-content-inner {
        padding-inline: 16px !important;
    }

    [data-header*="type-1"] #offcanvas {
        height: 100% !important;
        padding: 0 20px 20px 20px;
    }
}

@media screen and (max-width: 767px) {
    [aria-label="megamenu"] li li {
        width: 100%;
    }

    .nav-back-btn {
        margin-bottom: 15px;
    }

    .mobile-menu .sub-menu a {
        min-height: 48px;
    }

    .page__menu__wrap,
    #page__menu__wrap {
        top: 71px;
    }

    [aria-label="megamenu"] [class*=children]>ul.sub-menu {
        max-height: 320px;
        overflow: auto;
    }

    .nav-back-btn,
    [aria-label="megamenu"] [class*=children]>ul.sub-menu .sub-menu .nav-back-btn {
        display: none;
    }

    [aria-label="megamenu"] [class*=children]>ul.sub-menu ul {
        padding: 0 !important;
    }

    .dropdown-active>span [aria-haspopup="true"] svg {
        transform: rotate(180deg) !important;
    }

    .has-submenu {
        margin-top: 62px !important;
        max-height: 740px;
        overflow: auto;
        padding-right: 8px;
    }

    .ct-panel-actions {
        padding: 0 16px !important;
    }

    [data-header*="type-1"] #offcanvas {
        padding: 15px 16px 20px 20px;
    }
}