/* START HEADER */
:root {
    --header-height: 60px;
}

.l-header {
    width: 100%;
    height: var(--header-height);
    background-color: #FFFFFF;
    color: #4E4F62;
    position: fixed;
    transition: all 0.3s ease-out;
    display: flex;
    justify-content: space-between;
}

.l-header .logo_wrapper .w-logo,
.l-header .logo_wrapper .w-logo .w-logo-link,
.l-header .logo_wrapper .w-logo .w-logo-link .w-logo-img {
    height: 100%;
}

.l-header .logo_wrapper {
    height: 262px;
    width: 475px;
    background-image: url(../images/textures/logo-section.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    aspect-ratio: 295/163;
    position: absolute;
    top: var(--header-height);
    transition: all 0.3s ease-out;
}

body.home .l-header .logo_wrapper {
    height: 150px;
    width: 288px;
}

@media (min-width: 1300px) {
    body.home .l-header .logo_wrapper {
        height: 326px;
        width: 590px;
    }    
}

.l-header .logo_wrapper .logo-large {
    display: block;
}
.l-header .logo_wrapper .logo-small {
    display: none;
    padding: 20px 10px;
}

.l-header.scrolled .logo_wrapper .logo-small {
    display: block;
}

.l-header.scrolled .logo_wrapper .logo-large {
    display: none;
}

body.home .l-header.scrolled .logo_wrapper,
.l-header.scrolled .logo_wrapper {
    height: 100px;
    width: 150px;
}

.w-logo-img img {
    max-height: 100%;
    max-width: unset;
}


.l-header .htop-menu {
    display: flex;
    flex-wrap: nowrap;
}

.l-header .htop-menu .w-nav-control {
    float: none;
    margin-right: 0;
    width: 80px !important;
}

.l-header .htop-menu .w-nav-control:before {
    font-size: 35px;
}

.top_widget {
    position: absolute;
    right: 1em;
    top: 0;
    display: flex;
    font-size: 1em;
    color: #ffffff;
}

.top_widget a:not(.wpml-ls-link) {
    font-size: 0.8em;
    color: #ffffff;
    width: 230px;
    display: block;
    line-height: 1;
}

.main_menu_wrapper {
    float: none;
    margin-top: 0; 
}

.l-header .w-nav-anchor.level_1 {
    color: #4E4F62;
    padding: 0 25px 0 0;
    height: var(--header-height);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.l-header .main_menu {
    flex: 1 1 auto;
}

.l-header .main_menu_wrapper {
    width: 100%;
    margin: 0 0 0 var(--header-height);
    height: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

@media (min-width: 1670px) {
    .l-header .main_menu_wrapper nav > ul > li.absolute-right {
        position: absolute;
        right: 0;
    }

    .l-header .w-nav-anchor.level_1 {
        padding: 0 42px 0 0;
    }
}


.l-header .main_menu_wrapper nav > ul > li.absolute-right .w-nav-anchor.level_1 {
    color: var(--pri-red);
    padding-right: 15px;
    overflow: visible;
}

.l-header .main_menu_wrapper nav > ul > li.absolute-right .w-nav-anchor.level_1:before {
    content: '';
    width: 14px;
    height: 14px;
    position: absolute;
    left: -20px;
    bottom: 50%;
    background-image: url(../images/icons/reserve-menu-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    transform: translateY(50%);
}
.l-main > .vc_section:first-child {
    padding-top: var(--header-height);
}

.l-main > .vc_section:first-child > .l-section {
    padding-top: 0;
}

.hamburger-menu-wrapper {
    flex: 0 0 var(--header-height);
    width: var(--header-height);
    height: var(--header-height);
    background-color: var(--sec-color);
    border-bottom: 6px solid var(--pri-color);
}

input#hamburger-toggle {
    visibility: hidden;
}
label#hamburger-toggle-label {
    width: var(--header-height);
    height: var(--header-height);
    position: absolute;
    right: 0;
    top: 0;
    background-image: url(../images/icons/hamburger-icon.svg);
    background-size: 34px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

input#hamburger-toggle ~ .hamburger-menu-container {
    background-color: var(--sec-color);
    position: absolute;
    right: 0;
    top: var(--header-height);
    width: 260px;
    transition: all 0.3s ease-out;
    border-bottom: 6px solid var(--pri-color);
    margin-right: -260px;
}
.l-header .w-nav {
    flex: 1 0 auto;
    position: relative;
}

.l-header .w-nav-list {
    position: relative;
}
.l-header .w-nav-list.level_2,
.main_menu nav > ul.w-nav-list ul,
.hamburger-menu-container .menu-hamburger-menu-container {
    padding: 63px 36px 83px 30px;
    min-width: 14vw;
}

.l-header .w-nav-list.level_2 {
    box-shadow: none;
    border-bottom: 6px solid var(--pri-color);
    position: absolute;
}

.l-header .w-nav-list.level_2:after,
.hamburger-menu-container .menu-hamburger-menu-container:after {
    content: '';
    width: 100%;
    min-width: 14vw;
    height: 28px;
    position: absolute; 
    bottom: 25px;
    left: 0;
    background-image: url(../images/icons/cake-flipper.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.l-header .w-nav-list.level_2:before {
    content: '';
    width: 75px;
    height: 6px;
    position: absolute;
    left: 50%;
    top: -6px;
    transform: translateX(-50%);
    background-color: var(--pri-color);
}

input#hamburger-toggle:checked ~ .hamburger-menu-container {
    margin-right: 0;
}

ul.menu {
    list-style: none;
    margin: 0;
}

ul.menu li a {
    color: #ffffff;
    font-size: 16px;
}

.l-header .w-nav-list.level_2 > li a:before,
.menu-hamburger-menu-container ul.menu > li:before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 3em;
    background-color: var(--pri-color);
    position: relative;
    display: inline-block;
    margin-bottom: 4px;
    margin-right: 1ch;
}

.menu-hamburger-menu-container ul.menu > li {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    line-height: 2;
}

.main_menu nav > ul.w-nav-list > li {
    font-family: Zilla Slab;
    font-weight: 400;
    text-transform: uppercase;
}

.main_menu nav > ul.w-nav-list ul {
    background-color: var(--sec-color);
}

.main_menu nav > ul.w-nav-list ul > li a,
.main_menu nav > ul.w-nav-list ul > li {
    font-family: Fixel Display;
    text-transform: none;
    color: #ffffff;
    font-size: 16px;
}
