header>.headerbar {
    padding-left: var(--sky-toolbar-width);
    padding-right: var(--sky-toolbar-width);
    height: var(--sky-header-height);
    width: 100%;
    z-index: 10;
    background-color: transparent;
}

header>.notice {
    color: white;
    background-color: var(--bs-primary);
    position: relative;
}
header>.notice>.cont {
    padding: 1rem;
}
header.notTop>.headerbar {
    background-color: white;
}

header nav.navbar {
    padding-bottom: 0px;
    flex-wrap: nowrap;
}

header nav.navbar .navbar-toggler {
    --bs-navbar-toggler-transition: none;
}

header .collapse:not(.show) .search .searchAll {
    position: absolute;
    width: 60%;
    left: 40%;
    top: var(--sky-header-height);
    background-color: var(--bs-primary);
    height: 5rem;
}
header .collapse:not(.show) .search .searchAll>form {
    padding: 1rem;
}
header .collapse:not(.show) .search .searchAll svg{
    margin-left: 1rem;
    padding-top: 0.25rem;
}

header .collapse:not(.show) .search>svg {
    margin-top: auto;
    margin-bottom: auto;
}

header .collapse:not(.show) .nav-link {
    padding: 2.125rem;
    color: black;
    text-align: center;
}
header .collapse:not(.show) nav.navbar {
    --bs-navbar-active-color: var(--bs-primary);
}

header .collapse:not(.show) .nav-item:hover>.nav-link{
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
    color: var(--bs-primary) !important;
}

header .collapse:not(.show) .nav-item>.with-sub-menu {
    display: none;
    position: absolute;
    top: var(--sky-header-height);
    left: 0;
    width: 100%;
}
header .collapse:not(.show) .nav-item>.with-sub-menu>.sub-menu-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: 5rem;
    margin-right: 5rem;
    background-color: white;
    padding-bottom: 2rem;
}
header .collapse:not(.show) .nav-item:hover>.with-sub-menu {
    display: block;
}

header .collapse:not(.show) .nav-item>.with-sub-menu .sub-menu-item {
    padding-left: 2rem;
    padding-right: 2rem;
}
header .collapse:not(.show) .nav-item .sub-menu-item>.title {
    padding-top: 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid gray;
}
header .nav-item>.with-sub-menu .sub-menu-item a {
    text-decoration: none;
    color: black;
    display: block;
}

header .collapse:not(.show) .nav-item .sub2-menu>.sub2-item {
    flex-wrap: nowrap;
    list-style: none;
    list-style-type: none;
    padding-top: 1rem;
}

header .collapse:not(.show) .nav-item>.with-sub-menu>.sub-menu-item.with-sub2-menu {
    display: flex;
    flex-direction: column;
}
header .nav-item .sub2-menu>.sub2-item>a {
    font-size: 1rem;
    color: #666666;
}
header .navbar-nav {
    margin-left: auto;
}

header .navbar-nav .nav-item {
    padding-right: 1.5rem;
}
header .navbar-collapse.collapsing {
    display: none;
} 
header .collapse.show {
    background-color: white;
    position: absolute;
    top: var(--sky-header-height);
    width: 100%;
}

header .collapse.show {
    display: flex;
    flex-direction: column-reverse;
}
header .collapse.show .navbar-nav {
    margin-left: unset;
    align-self: start;
    width: 100%;
    background-color: blue;
}
header .collapse.show .navbar-nav .nav-item {
    padding: 0;
    background-color: var(--bs-primary);
}
header .collapse.show .nav-link {
    line-height: 2rem;
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
}

header .collapse.show .search {
    display: flex;
    width: 100%;
    padding: 1rem;
    color: black;
    justify-content: center;
}
header .collapse.show .search .form-control {
    background-color: #e5eef4;
}
header .collapse.show .search svg {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

header .collapse.show .nav-link.has-sub-menu::after {
    content: '';
    width: 10px;
    height: 10px;
    top: 10px;
    border-right: 1px solid white;
    border-top: 1px solid white;
    transform: rotate(135deg);
    position: relative;
    float: right;
}

header .collapse.show .nav-link.has-sub-menu.expanded::after {
    transform: rotate(-45deg);
}
header .collapse.show .nav-item .with-sub-menu {
    display: none;
}
header .collapse.show .nav-link.has-sub-menu.expanded+.with-sub-menu {
    display: flex;
}
header .collapse.show .with-sub-menu {
    background-color: blue;
    width: 100%;
}
header .collapse.show .with-sub-menu .sub-menu-container {
    width: 100%;
}

header .collapse.show .with-sub-menu .sub-menu-item {
    background-color: #e5eef4;
    width: 100%;
}
header .collapse.show .with-sub-menu .sub-menu-item>.title {
    line-height: 2rem;
    padding: 0 1rem;
    color: black;
}
header .collapse.show .sub-menu-item.with-sub2-menu>.sub2-menu {
    display: none;
}

header .collapse.show .sub-menu-item.with-sub2-menu.expanded>.sub2-menu {
    display: flex;
    flex-direction: column;
}
header .collapse.show .sub-menu-item.with-sub2-menu> .title::after {
    content: '';
    width: 10px;
    height: 10px;
    top: 10px;
    border-right: 1px solid black;
    border-top: 1px solid black;
    transform: rotate(135deg);
    position: relative;
    float: right;
}
header .collapse.show .sub-menu-item.with-sub2-menu.expanded> .title::after {
    transform: rotate(-45deg);
}

header .collapse.show .sub-menu-item.with-sub2-menu>.sub2-menu>.sub2-item {
    line-height: 2rem;
    padding: 0 1rem;
    background-color: white;
    font-size: 1rem;
}
header .collapse.show .sub-menu-item.with-sub2-menu>.sub2-menu>.sub2-item>a {
    color: black;
}
header .comps button.btn {
    background: transparent;
}
header .comps .dropdown-menu {
    padding: 1rem 0.25rem;
    
}

header .languages {
    margin: 1.25rem 2rem;
    background-color: white;
}
header .collapse.show .languages {
    margin: 1rem 0;    
}

header .languages a.btn.active {
    background-color: var(--bs-secondary);
    color: white;
    border:unset;
}
header .languages a.btn.lang-en.active {
    border-bottom-left-radius: var(--bs-border-radius-pill)!important;
    border-top-left-radius: var(--bs-border-radius-pill)!important;
}

header .languages a.btn.lang-sc.active {
    border-bottom-right-radius: var(--bs-border-radius-pill)!important;
    border-top-right-radius: var(--bs-border-radius-pill)!important;
}

@media (max-width: 1199.98px) {
    header {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 1599.98px) {
    header .collapse:not(.show) .nav-link {
        padding: 2.125rem 0.5rem;
    }    
}