.main-header {
    position: fixed;
    border-radius: 999px;
    border: 1px solid #FFF;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(25px);
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 1240px;
    max-width: calc(100% - 40px);
    padding: 14px 48px 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 300;
}

.main-header-logo {
    width: 54px;
    height: 52px;
    min-width: 54px;
    margin-right: auto;
}

.main-header-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.header-hambugreg {
    display: none;
}

.main-header-menu>ul {
    display: flex;
    list-style-type: none;
}

.main-header-menu>ul>li {
    margin-right: 24px;
    padding-bottom: 14px;
    padding-top: 14px;
    position: relative;
}

.main-header-menu>ul>li>.sub-menu {
    position: absolute;
    bottom: 0;
    transform: translate(-50%, 100%);
    left: 50%;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 30px 60px -12px rgba(50, 50, 93, 0.27), 0px 18px 36px -18px rgba(0, 0, 0, 0.14);
    width: 320px;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    display: flex;
    gap: 5px;
    flex-direction: column;
    list-style-type: none;
}

.main-header-menu>ul>li>.sub-menu>li {
    width: 100%;
}

.main-header-menu>ul>li>.sub-menu>li a {
    border-radius: 12px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px;
    color: #111;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.07);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}


.main-header-menu>ul>li>a {
    color: #111;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.07);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

.main-header-menu>ul>li.menu-item-has-children {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-header-menu>ul>li.menu-item-has-children:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDZMOCAxMEw0IDYiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLXdpZHRoPSIxLjMzMzMzIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.25s;
}

.main-header-language {
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.10);
    padding: 2px;
}

.main-header-language ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-header-language ul li {
    width: 42px;
    height: 28px;
    display: block;
    border-radius: 999px;
    border: 1px solid transparent;
}

.main-header-language ul li.current-lang {
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #FFF;
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.12), 0px 3px 1px 0px rgba(0, 0, 0, 0.04);
}

.main-header-language ul li.current-lang a {
    color: #000;
}

.main-header-language ul li a {
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.mobile-menu {
    display: none;
}

@media screen and (max-width: 1300px) {
    .main-header-menu>ul>li>a {
        font-size: 16px;
    }

    .main-header-menu>ul>li>.sub-menu>li a {
        font-size: 16px;
    }
}

@media screen and (max-width: 1200px) {
    .main-header-menu>ul>li>a {
        font-size: 14px;
    }

    .main-header-menu>ul>li>.sub-menu>li a {
        font-size: 14px;
    }

    .main-header {
        padding-right: 28px;
    }
}

@media screen and (max-width: 1100px) {
    .main-header {
        width: 100%;
        max-width: 100%;
        padding: 20px 17px 20px 20px;
        background: transparent;
        border: none;
        top: 0;
        backdrop-filter: none;
    }

    .main-header .main-header-menu {
        display: none;
    }

    .main-header .main-header-language {
        display: none;
    }

    .main-header-logo {
        width: 48px;
        height: 46px;
    }

    .header-hambugreg {
        display: block;
        border-radius: 10px;
        background: #FFF;
        box-shadow: 0px 8px 12.2px 1px rgba(0, 0, 0, 0.05);
        width: 40px;
        height: 40px;
        position: relative;
        cursor: pointer;
    }

    .header-hambugreg:before {
        content: '';
        display: block;
        width: 15px;
        height: 2px;
        position: absolute;
        top: calc(50% - 5px);
        left: 50%;
        background: #111111;
        transition: 0.25s;
        transform-origin: center;
        transform: translate(-50%, -50%);
    }

    .header-hambugreg:after {
        content: '';
        display: block;
        width: 15px;
        height: 2px;
        position: absolute;
        top: calc(50% + 5.4px);
        left: 50%;
        background: #111111;
        transition: 0.25s;
        transform-origin: center;
        transform: translate(-50%, -50%);
    }

    .header-hamburger-line {
        width: 15px;
        height: 2px;
        position: absolute;
        top: 50%;
        left: 50%;
        background: #111111;
        transition: 0.25s;
        transform-origin: center;
        transform: translate(-50%, -50%);
    }

    .header-hambugreg.is-active .header-hamburger-line {
        transform: translate(-50%, -50%) rotate(180deg);
        top: 50%;
        left: 50%;
        opacity: 0;
    }

    .header-hambugreg.is-active:before {
        transform: translate(-50%, -50%) rotate(225deg);
        top: 50%;
        left: 50%;
    }

    .header-hambugreg.is-active:after {
        transform: translate(-50%, -50%) rotate(135deg);
        top: 50%;
        left: 50%;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        z-index: 299;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        padding-top: 104px;
        padding-bottom: 70px;
        background: rgba(255, 255, 255, 0.60);
        backdrop-filter: blur(30px);
        opacity: 0;
        pointer-events: none;
        transition: 0.25s;
        padding-left: 10px;
        padding-right: 10px;
    }

    .mobile-menu.active {
        opacity: 1;
        pointer-events: initial;
    }

    .mobile-menu-wrap {
        min-height: calc(100vh - 150px);
        display: flex;
        flex-direction: column;
    }

    .main-header-language {
        margin-left: auto;
        margin-right: auto;
        margin-top: 36px;
    }

    .main-header-menu>ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .main-header-menu>ul>li {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }

    .main-header-menu>ul>li.menu-item-has-children {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .main-header-menu>ul>li>a {
        color: #111;
        text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.07);
        font-size: 25px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        position: relative;
        z-index: 20;
    }

    .main-header-menu>ul>li.menu-item-has-children a {
        max-width: calc(100% - 30px);
    }

    .main-header-menu>ul>li.menu-item-has-children:after {
        width: 24px;
        height: 24px;
        min-width: 24px;
        margin-left: auto;
        order: 2;
        z-index: 20;
        position: relative;
    }

    .main-header-menu>ul>li.menu-item-has-children.active:after {
        transform: rotate(180deg);
    }

    .main-header-menu>ul>li.menu-item-has-children.active>a {
        font-weight: 600;
    }

    .main-header-menu>ul>li.menu-item-has-children.active .sub-menu {
        max-height: 1000px;
        padding-top: 56px;
        padding-bottom: 15px;
        margin-bottom: -14px;
    }

    .main-header-menu>ul>li>.sub-menu {
        width: calc(100% + 20px);
        max-width: calc(100% + 20px);
        order: 3;
        position: relative;
        transform: none;
        max-height: 0;
        left: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.50);
        padding: 0 10px 0 10px;
        bottom: auto;
        margin-top: -40px;
        margin-left: -10px;
        margin-right: -10px;
        box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.05);
    }

    .main-header-menu {
        margin-bottom: 0;
    }

    .main-header-menu>ul>li>.sub-menu {
        gap: 17px;
    }

    .main-header-menu>ul>li>.sub-menu>li a {
        color: #111;
        text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.07);
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        padding: 0;
    }

    .main-header-menu>ul>li {
        padding-bottom: 16px;
        padding-top: 16px;
    }

    .main-header-menu>ul>li:last-child {
        padding-bottom: 0;
    }

    .main-header-language ul li{
        width: 78px;
        height: 36px;
    }
}

@media screen and (min-width: 1100px) {
    .main-header-menu>ul>li>.sub-menu>li a:hover {
        background: rgba(138, 151, 165, 0.10);
    }

    .main-header-menu>ul>li>a:hover {
        text-decoration: underline;
    }

    .main-header-menu>ul>li.menu-item-has-children:hover:after {
        transform: rotate(180deg);
    }

    .main-header-menu>ul>li.menu-item-has-children:hover>a {
        text-decoration: underline;
    }

    .main-header-menu>ul>li.menu-item-has-children:hover>.sub-menu {
        max-height: 500px;
        padding: 16px;
    }
}



#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-allow-all {
    border-radius: 8px !important;
    background: #DF1D36 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    width: fit-content !important;
    min-width: 127px !important;
    min-height: 38px !important;
    max-width: 100% !important;
    cursor: pointer !important;
    color: #FFF !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: 0.48px !important;
    text-transform: uppercase !important;
    outline: none !important;
    border: none !important;
    transition: 0.25s !important;
}

body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-content .mgbutton.moove-gdpr-infobar-settings-btn.change-settings-button.gdpr-fbo-2 {
    border-radius: 8px !important;
    background: transparent !important;
    border: 1px solid #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    width: fit-content !important;
    min-width: 127px !important;
    min-height: 38px !important;
    max-width: 100% !important;
    cursor: pointer !important;
    color: #fff !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: 0.48px !important;
    text-transform: uppercase !important;
    outline: none !important;
    transition: 0.25s !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.mgbutton  {
    border-radius: 8px !important;
}

#moove_gdpr_cookie_info_bar .mgbutton.moove-gdpr-infobar-settings-btn.change-settings-button.gdpr-fbo-2:hover,
#moove_gdpr_cookie_info_bar .mgbutton.moove-gdpr-infobar-settings-btn.change-settings-button.gdpr-fbo-2:focus {
    border: 1px solid #fff !important;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
    background: #0a0a0a !important;
    border-top: 1px solid #383838 !important;
}

.cookie-baner-title {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.64px;
}

.cookie-baner-text {
    color: #6D6D6D;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.48px;
}

#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper {
    bottom: 32px;
}
