header#header{
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
}
li.languages > a,
header#header #masthead .header-nav-main > li.menu-item > a {
    font-size: 0.833rem  /* 16/19.2 */;
    font-weight: 400;
    line-height: 1.25rem;
    color: #FFF;
    padding: 0 !important;
}
header#header #masthead .header-search>a {
    color: #fff;
    padding-bottom: 0;
    padding-top: 0;
}
header#header #masthead {
    height: auto !important;
    border-bottom: 0.5px solid transparent;
    padding-bottom: 0.833rem;
    padding-top: 0.729rem;
    transition: .4s all;
}
header#header .header-bg-container {
    display: none;
}
header#header #masthead:after {
    position: absolute;
    z-index: 1;
    width: 100%;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    opacity: 1;
    background: linear-gradient(180deg, #0C0C0C 0%, rgba(12, 12, 12, 0) 100%);
}
header#header .stuck #masthead:after {
    opacity: 0.8;
    background-color: var(--third-cl);
    backdrop-filter: blur(10px);
}
header#header ul.header-nav li {
    margin: 0;
}
header#header ul.header-nav li>a {
    padding-bottom: 0;
    text-transform: inherit;
}
header#header ul.header-nav.nav-left {
    gap: 2.24rem;
}
header#header ul.header-nav.nav-right {
    gap: 2.604rem  /* 50/19.2 */;
}
header#header #masthead > div{
    position: relative;
    z-index: 5;
    align-items: flex-end;
}

header#header .stuck #masthead {
    border-color: rgb(255, 255, 255, 0.2);
}
header#header #masthead .header-nav-main > li.menu-item:hover > a,
header#header .header-nav-main li > ul.sub-menu > li > a:hover,
header#header .stuck #masthead .header-nav-main > li.menu-item.active > a,
header#header #masthead .header-nav-main > li.menu-item.active > a {
    color: #fff;
}
header#header #masthead .header-nav-main > li.menu-item.active {
    position: relative;
}
header#header #masthead .header-nav-main > li.menu-item:before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: .5s ease-in-out;
}
header#header #masthead .header-nav-main > li.menu-item:hover:before,
header#header #masthead .header-nav-main > li.menu-item.active:before {
    width: 100%;
}
header#header .stuck #masthead #logo .header-logo {
    opacity: 0;
    display: none;
}
header#header .stuck #masthead #logo .header-logo-dark {
    display: block !important;
    opacity: 1;
}

header#header ul.header-nav li.languages img {
    width: 1.667rem  /* 32/19.2 */;
}

.has-dropdown .icon-angle-down {
    opacity: 1;
    margin-left: 0.5rem;
}
li.current-dropdown>.nav-dropdown {
    margin-top: 32px;
    padding: 16px;
    background-color: var(--third-cl);
}
.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
    padding: 0;
    margin: 0;
    border-bottom: none;
}

#masthead ul.sub-menu.nav-dropdown>li>a:hover,
.nav-dropdown-default .nav-column li>a:hover,
.nav-dropdown.nav-dropdown-default>li>a:hover {
    color: var(--sub-cl) !important;
}
.header-nav .sub-menu>li:not(:last-child) {
    border-bottom: 1px solid rgba(51, 51, 51, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem !important;
}

.btn.contact_header>a {
    min-width: 4.5rem;
    text-align: center;
    justify-content: center;
    height: 1.5rem;
}


@media (max-width: 1600px) {
    header#header #masthead #logo {
        width: 7.8125rem  /* 150/19.2 */;
    }
}
@media (max-width: 1199px) {
    header#header #masthead #logo {
        width: 6.25rem  /* 100/16 */;
    }
}
@media (max-width: 911px) {
    header#header .stuck #masthead:after {
        opacity: unset;
        background-color: unset;
    }
    header#header #masthead:after {
        opacity: 0.8;
        background-color: var(--third-cl);
        backdrop-filter: blur(10px);
    }
    header#header #masthead .header-search>a {
        color: #fff;
    }
    header#header #masthead {
        border-bottom: 0.5px solid transparent;
        padding-bottom: unset !important;
        padding-top: unset !important;
    }
    header#header #masthead,
    .header.show-on-scroll, .stuck .header-main, .header-main {
        height: 70px !important;
    }
}

@media (max-width: 991px) {
    header#header #masthead > div {
        align-items: center;
    }
}

@media (max-width: 767px) {
    li.languages > a {
        font-size: 1rem;
        color: #fff;
    }
}

