header#header{
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
}
header#header #masthead .header-nav-main > li.menu-item > a {
    font-family: SVN-Gilroy;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.25rem;
    color: #FFF;
    padding-bottom: 0 !important;
}
header#header #masthead .header-search>a {
    color: #fff;
    padding-bottom: 0;
}
header#header .stuck #masthead .header-search>a,
header#header .stuck #masthead .header-nav-main > li.menu-item > a {
    color: #333;
    padding-bottom: 0;
}
/*header#header .header-wrapper:not(.stuck) #masthead .header-search-form form.searchform{*/
/*    background-color: rgba(255, 255, 255, 0.2);*/
/*    backdrop-filter: blur(0.521rem);*/
/*}*/
/*header#header .header-wrapper:not(.stuck) #masthead .header-search-form form.searchform input::placeholder {*/
/*    color: rgba(255, 255, 255, 0.5);*/
/*}*/
/*header#header .header-wrapper:not(.stuck) #masthead .header-search-form form.searchform input{*/
/*    color: #FFF;*/
/*}*/
/*header#header .header-wrapper:not(.stuck) #masthead .header-search-form form.searchform button path{*/
/*    stroke: #FFF;*/
/*}*/

header#header .header-wrapper {
    /*border-bottom: 1px solid #FFFFFF;*/
    /*padding-bottom: 0.833rem;*/
}
header#header #masthead:before{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 10rem;
    content: '';
    left: 0;
    top: 0;
    -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;
    pointer-events: none;
}
header#header .stuck #masthead:before {
    height: 0;
}
header#header #masthead {
    height: auto !important;
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 0.833rem;
    padding-top: 0.729rem;
}
header#header .header-bg-container {
    display: none;
}
header#header #masthead:after{
    background: #FFF;
    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: 0;
    /*height: 100%;*/
}
header#header .stuck #masthead:after {
    height: 100%;
}
header#header ul.header-nav li {
    margin: 0;
}
header#header ul.header-nav li>a {
    padding-bottom: 0;
}
header#header ul.header-nav.nav-left {
    gap: 2.24rem;
}
header#header ul.header-nav.nav-right {
    gap: 1.25rem;
}
header#header #masthead > div{
    position: relative;
    z-index: 5;
}

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: var(--main-cl);
}

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 */;
}


@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 #masthead:after {
        height: 100%;
    }
    header#header .stuck #masthead:after {
        height: unset;
    }
    header#header #masthead .header-search>a {
        color: #333;
    }
}

