#main-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

#main-nav > li {
    margin: 0;
    padding: 0;
}

#main-nav > li > ul {
    display: none;
    list-style-type: none;
    box-shadow: 0px 43px 46px #00000060;
}

#main-nav > li > a {
    font-family: Lexend, sans-serif;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
}

#main-nav > li {
    margin-right: 40px;
    position: relative;
}

#main-nav > li > ul {
    display: none;
    position: absolute;
    background-color: rgba(246, 246, 246, 0.96);
    min-width: 320px;
    padding: 30px;
    left: -40px;
    top: 61px
}

#main-nav > li > ul a {
    display: block;
    font-family: "Work Sans", Sans-Serif;
    font-size: 16px;
    color: inherit;
    text-decoration: none;
    margin: 10px 0 5px;
}


#main-nav a:hover,
#main-nav a:focus,
#main-nav a.active,
#main-nav a[aria-expanded="true"]{
    color: var(--color-primary);
    text-decoration: none;
}

#main-nav > li > a[aria-expanded="true"] + ul {
    display: block;
}

.mega-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background-color: rgba(246, 246, 246, 0.96);
    top: 94px;
    box-shadow: 0 43px 46px #00000060;
}

[aria-expanded="true"] + .mega-menu {
    display: block;
}

.mega-menu > button {
    display: flex;
    appearance: none;
    font-size: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    justify-content: center;
    border: 0;
    box-shadow: none;
    position: absolute;
    right: 0;
    top: 0;
    background: transparent;
}

.mega-menu > button > span {
   font-size: 27px;
    font-weight: normal;
}

.mega-menu a {
    color: inherit;
    text-decoration: none;
}

.mega-menu a:hover,
.mega-menu a:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.mega-menu > .container {
    display: flex;
}

.mega-menu .left-side,
.mega-menu .right-side {
    padding-top: 50px;
    padding-bottom: 80px;
}

.mega-menu .left-side {
    width: 33.33333333%;
}

.mega-menu .right-side {
    width: 66.66666667%;
}

.mega-menu ul {
    display: block;
    margin: 0;
    padding: 0;
}

.mega-menu ul li {
    display: block;
    margin: 0;
    padding: 0;
}

.mega-menu .left-side {
    font-size: 15px;
    font-weight: 500;
    font-family: Lexend, Sans-Serif;
    padding-right: 63px;
}


.mega-menu .left-side a {
    display: block;
    padding: 12px 0 11px 0;
}

.mega-menu .left-side li + li {
    border-top: 1px solid #C6C6C6;
}

.mega-menu .right-side {
    position: relative;
    padding-left: 63px;
    font-family: "Work Sans", Sans-Serif;
    font-size: 16px;
    font-weight: normal;
}

.mega-menu .right-side::before {
    content: ' ';
    display: block;
    background-color: #EDEDED;
    position: absolute;
    left: 0;
    width: 200%;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.mega-menu .mega-menu-sub {
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mega-menu .right-side ul li {
    width: 261px;
    max-width: 50%;
}

.mega-menu .right-side a {
    display: block;
    margin: 13px 0 0;
}

.mega-menu .left-side .hasSub > a,
.mega-menu .right-side a,
#main-nav > li > ul a {
    background: transparent url('/typo3conf/ext/website_template/Resources/Public/Images/Icons/angle-right.svg') no-repeat center right;
    background-size: 8px auto;
    padding-right: 20px;
}

.mega-menu-sub {
    display: none;
}

.mega-menu-sub.in {
    display: flex;
}

.language-toggle-mobile {
    display: none;
    appearance: none;
    border: 0;
    background: transparent url(/typo3conf/ext/website_template/Resources/Public/Images/Icons/icon-flag.svg) no-repeat center;
    width: 30px;
    height: 30px;
    font-size: 0;
    margin-right: 27px;
}

@media(max-width: 1199px) {
    #header .contact-btn,
    #header .cupo-btn,
    #header .nav-box .language-nav {
        display: none;
    }

    #header {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        background-color: #FFF;
        padding-left: 10px;
    }

    .language-toggle-mobile {
       display: block;
    }
}
