header.header-bg-solid {
    border-bottom: 1px solid rgba(var(--true-black), 0.1);
}

@media (min-width: 1200px) {
    html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li:hover>ul,
    body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li.open-child>ul {
        display: none !important;
    }

    html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul>li:hover>ul.multi-col, body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li.open-child>ul.multi-col {
        display: none !important;
    }

    html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li.open>ul,
    body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li.open>ul {
        display: flex !important;  
    }

    html.no-touch body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li.open>ul.multi-col,
    body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li.open>ul.multi-col {
        display: flex !important;    
    }

    body.header-06-lg header#site-header nav.main.main-custom ul>li>ul {
        top: var(--large-header);
    }
    html.no-touch body.header-06-lg header#site-header nav.main.main-custom ul>li:hover>ul,
    body.header-06-lg header#site-header nav.main.main-custom ul>li.open-child>ul {
        top: var(--large-header);
    }

    /* Dropdown menu */
    body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main ul>li>ul {    
        width: var(--nav-main-dropdown-width);
        border-radius: 0;
        box-shadow: var(--base-box-shadow_h) var(--base-box-shadow_v) var(--base-box-shadow_b) rgba(var(--true-black), var(--base-box-shadow_o));
        opacity: 0;
        background-color: #fff;
        padding: var(--base-spacing);
        color: #000;
        border-left: 1px solid rgba(var(--true-black), 0.1);
        border-right: 1px solid rgba(var(--true-black), 0.1);
        border-bottom: 1px solid rgba(var(--true-black), 0.1);
    }

    /* nav.main.main-custom ul ul>li>span>a {
        color: rgba(var(--base-text), 1);
        display: flex;
        align-items: flex-start;
        gap: 5px;
        line-height: 1.2;        
    } */

    /* nav.main.main-custom ul ul>li>span>a:hover {
        color: rgba(var(--secondary-navigation-link-hover), 1);
    } */

    nav.main.main-custom ul>li.open>ul {
        display: flex;
        flex-direction: column;    
        gap: 20px;
        left: 0 !important;
        opacity: 1 !important;
    }

    nav.main.main-custom ul>li.open>ul.multi-col {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;    
        justify-content: space-between;    
        width: calc(var(--nav-main-dropdown-width) + 60px);
    }

    nav.main.main-custom ul>li.open>ul.wider-dropdown {
        width: 700px !important;
    }

    body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li>ul.multi-col {
        width: var(--nav-main-dropdown-width_wide);
    }

    body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul>li>ul.multi-col>li {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);    
    }

    .directional-icons-chevron nav.main.main-custom ul li.has-child.open>span::after {
        transform: rotate(180deg);
    }

    nav.main ul li li {        
        border-radius: 4px;
    }

    nav.main ul li li:not(.dropdown-heading):hover {
        background: rgba(var(--navigation-dropdown-link-active), .1);
    }

    nav.main ul li li.dropdown-heading > a {
        display: inline-block;
        padding: 10px 15px;
        border-radius: 4px;
        margin-left: -15px;
    }

    nav.main ul li li.dropdown-heading > a:hover {        
        background: rgba(var(--navigation-dropdown-link-active), .1);        
    }

    nav.main ul li li.dropdown-heading h3 {
        margin: 0;
    }
}

li.dropdown-heading {
    width: 100% !important;
    flex: 1 0 100% !important;
    min-width: 100%;
    order: -1;
    margin-bottom: 10px;
}

.dropdown-heading h3 {
    font-size: 15px;
    font-weight: 500;   
    margin-bottom: 0; 
}

.navitem-description {
    font-size: 12px;
    color: rgba(var(--base-text), 0.7);
    margin: 0;
    line-height: 1.4;
    margin-top: 5px;    
}

.hide-icons .navitem-description {
    padding: 0 var(--base-half-spacing);
}

body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main.main-custom ul li.has-child ul>li>span>a, body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main>ul ul>li>span>a {
    padding: 10px var(--base-half-spacing) 10px;
}

nav.main.main-custom ul ul>li>span>a {
    color: rgba(var(--base-text), 1);
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.2;        
}

nav.main.main-custom .nav-icon {    
    width: 24px;
    height: auto;
    margin-top: -2px;
}

nav.main.main-custom ul ul>li.active>span a {
    color: rgba(var(--navigation-dropdown-link-active), 1);
}

@media (max-width: 1199px) {
    nav.main.main-custom > ul > li > ul {        
        padding-bottom: 20px;
    }
    nav.main.main-custom > ul > li > ul > li { 
        border: 0;
    }

    nav.main.main-custom ul ul>li>span>a {        
        margin-bottom: 10px;
    }

    nav.main.main-custom ul li.active>span::before {
        background: none;
    }

    .dropdown-heading {
        padding: 0 16px;
    }

    .dropdown-heading h3 {
        font-size: 14px;
        font-weight: 300;
        margin: 0;        
    }

    .hide-heading-mobile .dropdown-heading {
        display: none;
    }

    .directional-icons-chevron nav.main ul li.has-child>span::after, .directional-icons-chevron nav.main ul ul li.has-child>span::after {
        display: none;
    }

    .directional-icons-chevron nav.main ul li.has-child>span>a::after, .directional-icons-chevron nav.main ul ul li.has-child>span>a::after {
        display: inline-block;
        content: "\f3d0";        
        font-family: "Ionicons";
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        text-rendering: auto;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        transition: transform 0.3s ease;
    }

    .directional-icons-chevron nav.main ul li.has-child.open-child_mobile>span>a::after {
        content: "\f3d8";
    }

    nav.main ul li.has-child>span>a::after {
        font-size: 20px;
        cursor: pointer;
    }

    nav.main ul li.has-child>span>a::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 60px;
        padding-top: 15px;
        text-align: center;
        color: rgba(var(--main-navigation-link), 1);
        -webkit-transition: opacity 0.3s 
        ease-in-out 0s, color 0.3s 
        ease-in-out 0s, background-color 0.3s 
        ease-in-out 0s, text-decoration 0.3s 
        ease-in-out 0s, top 0.3s 
        ease-in-out 0s, right 0.3s 
        ease-in-out 0s, bottom 0.3s 
        ease-in-out 0s, left 0.3s 
        ease-in-out 0s, width 0.3s 
        ease-in-out 0s, max-width 0.3s 
        ease-in-out 0s, height 0.3s 
        ease-in-out 0s, max-height 0.3s 
        ease-in-out 0s, padding-top 0.3s 
        ease-in-out 0s, padding-right 0.3s 
        ease-in-out 0s, padding-bottom 0.3s 
        ease-in-out 0s, padding-left 0.3s 
        ease-in-out 0s, box-shadow 0.3s 
        ease-in-out 0s, border-color 0.3s 
        ease-in-out 0s, transform 0.3s 
        ease-in-out 0s;
            transition: opacity 0.3s 
        ease-in-out 0s, color 0.3s 
        ease-in-out 0s, background-color 0.3s 
        ease-in-out 0s, text-decoration 0.3s 
        ease-in-out 0s, top 0.3s 
        ease-in-out 0s, right 0.3s 
        ease-in-out 0s, bottom 0.3s 
        ease-in-out 0s, left 0.3s 
        ease-in-out 0s, width 0.3s 
        ease-in-out 0s, max-width 0.3s 
        ease-in-out 0s, height 0.3s 
        ease-in-out 0s, max-height 0.3s 
        ease-in-out 0s, padding-top 0.3s 
        ease-in-out 0s, padding-right 0.3s 
        ease-in-out 0s, padding-bottom 0.3s 
        ease-in-out 0s, padding-left 0.3s 
        ease-in-out 0s, box-shadow 0.3s 
        ease-in-out 0s, border-color 0.3s 
        ease-in-out 0s, transform 0.3s 
        ease-in-out 0s;
    }
}

nav.secondary-custom .nav-icon {
    display: inline-block;
    width: 24px;
    height: auto;
    margin-top: -2px;
}