/*  
---------------------------------------------------
Main Navigation - Large Breakpoint
---------------------------------------------------  
*/

nav.main {
    height: var(--nav-main-height);
    position:relative;
}
nav.main>ul>li>span::before {
    z-index:-1;
    opacity:0;
    border-radius: var(--base-border-radius);
    transition:all 0.2s ease-in-out 0s;
}
nav.main ul>li:hover>span::before,
nav.main ul>li:focus>span::before,
nav.main ul>li:active>span::before,
nav.main ul>li.active>span::before,
nav.main ul>li.open-child>span::before {
    opacity:1;
}
nav.main ul>li.active>span::before { 
    opacity:1;
}
nav.main ul>li:focus-within>span::before {
    opacity:1;
}
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 {
    display: flex;
    flex-direction: row;
}
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 {
    height: var(--nav-main-height);
    border: 0 none;
    box-sizing: border-box;
}
nav.main>ul>li>span>a {
    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>ul>li>span>a {
    height: var(--nav-main-height);
    line-height:var(--nav-main-height);
}
nav.main>ul ul>li>span>a {
    padding: 10px var(--base-half-spacing);
}
nav.main>ul>li.has-child>span::after {
    padding:0;
    font-size:14px;
    margin-top: 5px;
}
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.has-child>span::after {
    line-height:var(--nav-main-height);
}
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.has-child>span::after {
    z-index: 0;
}


/*  
---------------------------------------------------
MAIN NAV - dropdowns
---------------------------------------------------  
*/

nav.main ul>li>ul {
    transition: opacity 0.3s ease-in-out 0s, top 0.3s ease-in-out 0s;
}

body:not(.header-03-lg) nav.main ul > li > ul,
body:not(.header-03-lg) nav.main.navigation-dropdown-bg-solid ul > li > ul {
    background: radial-gradient( circle, #ffffff 60%, #e0f0f3 100% );
    padding: 40px;
}
body:not(.header-03-lg) nav.main.navigation-dropdown-bg-linear ul>li>ul { 
    background: linear-gradient(var(--navigation-dropdown-angle), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%); 
}
body:not(.header-03-lg) nav.main.navigation-dropdown-bg-radial ul>li>ul { 
    background: radial-gradient(farthest-side at var(--navigation-dropdown-start-perc) var(--navigation-dropdown-stop-perc), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%); 
}

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 {
    position: fixed;
    left: -999em;
    z-index: 99;
/*    width: var(--nav-main-dropdown-width);*/
    width: 100vw;
    border-radius: var(--base-border-radius);
    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;
}
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,
html.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.open-child>ul {
    left: 0;
    opacity: 1;
}
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:focus-within>ul {
    left: 0;
    opacity: 1;
}

nav.main ul ul li span::before {
    top:0; bottom:0; left:0;
    width:0; height:100%!important;
}
html.no-touch nav.main ul ul li:hover>span::before,
nav.main ul ul li:focus>span::before,
nav.main ul ul ul li:active>span::before,
nav.main ul ul li.active>span::before,
nav.main ul ul li.open-child>span::before {
/*    display:none;*/
    width: 3px;
}
nav.main ul ul li:focus-within>span::before {
    width: 3px;
}
nav.main ul ul li.has-child>span::after {
    padding-top: 12px;
    color:  rgba(var(--navigation-dropdown-link), 1);
    content: "\f284";
}
html.no-touch nav.main ul ul li:not(.active):hover>span::after,
nav.main ul ul li:not(.active):focus>span::after,
nav.main ul ul li:not(.active):active>span::after,
nav.main ul ul li:not(.active).open-child>span::after {
    color:  rgba(var(--navigation-dropdown-link-hover), 1);
}
nav.main ul ul li:not(.active):focus-within>span::after {
    color:  rgba(var(--navigation-dropdown-link-hover), 1);
}
nav.main ul ul li.active.has-child>span::after { 
    color:  rgba(var(--navigation-dropdown-link-active), 1);
}

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.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);
}
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.has-child>span>a {
    padding: var(--base-half-spacing) 30px var(--base-half-spacing) var(--base-half-spacing);
}

nav.main ul ul>li>span>a {
    color:  rgba(var(--navigation-dropdown-link), 1);
}
nav.main ul ul>li:hover>span>a,
nav.main ul ul>li>span>a:hover,
nav.main ul ul>li>span>a:focus,
nav.main ul ul>li>span>a:active {
    color:  rgba(var(--navigation-dropdown-link-hover), 1);
}
nav.main ul ul>li:focus-within>span>a {
    color:  rgba(var(--navigation-dropdown-link-hover), 1);
}
nav.main ul ul>li.active>span a {
    color:  rgba(var(--navigation-dropdown-link-active), 1);
}

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>ul {
    z-index: 100;
}

body:not(.header-03-lg) nav.main ul ul>li>ul,
body:not(.header-03-lg) nav.main.navigation-dropdown-bg-solid ul ul>li>ul { 
    background: rgba(var(--navigation-dropdown-color1), 1); 
}
body:not(.header-03-lg) nav.main.navigation-dropdown-bg-linear ul ul>li>ul { 
    background: linear-gradient(var(--navigation-dropdown-angle), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%); 
}
body:not(.header-03-lg) nav.main.navigation-dropdown-bg-radial ul ul>li>ul { 
    background: radial-gradient(farthest-side at var(--navigation-dropdown-start-perc) var(--navigation-dropdown-stop-perc), rgba(var(--navigation-dropdown-color1), 1) 0%, rgba(var(--navigation-dropdown-color2), 1) 100%); 
}

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 ul>li:hover>ul,
html.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 ul>li.open-child>ul {
    left: var(--nav-main-dropdown-width);
    opacity: 1;
}
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:focus-within>ul {
    left: var(--nav-main-dropdown-width);
    opacity: 1;
}

/* Multi column navigation */
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.multi-col {
    width: var(--nav-main-dropdown-width_wide);
    display: flex;
    flex-wrap: wrap;
}
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.multi-col>li {
    flex: 1 1 50%;
}

nav.main > ul > li.has-child::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.sub-menu-wrapper {
    display: flex;
    justify-content: center;
    /*grid-template-columns: repeat(3, 1fr);*/ /* 3 columns */
    /*grid-gap: 40px;*/ /* spacing between columns */
    margin: 0 auto;
}

.sub-menu-wrapper .group-column {
    break-inside: avoid; /* prevents breaking inside columns (like masonry) */
    display: flex;
    flex-direction: column; /* stack content vertically */
    align-items: center; /* horizontal center */
}

.sub-menu-wrapper .group-column > div {
    width: 300px;
}

.sub-menu-wrapper .group-column:last-child {
    margin-top: -110px;
}

.group-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-title {
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #5e5e5e;
    font-size: 14px;
    padding: 12px;
    padding-left: 0;
    line-height: 20px;
}

.nav-item {
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
    position: relative;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 12px;
    padding-left: 0;
}

.nav-item:after {
    content: "\25B6";
    display: block;
    font-size: 10px;
    color: black;
    top: 10px;
    right: 10px;
    position: absolute;
}
.user-name-header::after {
    content: "" !important;
}
.nav-item:last-child {
    border-bottom: none;
}


.sub-menu-wrapper-mobile {
    display: none;
}

nav.main ul li span a {
    text-align: center;
}

.custom-account-name {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
}

.custom-account-name .nav {
    margin: 0!important;
    padding: 0!important;
}