:root {
    --menu-top-height: 73px;
    --menu-height: 86px;
    --padding-sides: 5.56%; 
    --mega-menu-separation: 30px;
}
@media (max-width: 1024px) {
    :root {
        --menu-height: 83px;
    }
}
@media (max-width: 767px) {
    :root {
        --padding-sides: 4.44%;
    }
}
/* BURGER MENU BUTTON */
.m-burger-button {
    display: flex;
    margin-left: auto;
    cursor: pointer;
    background-color: #FFFFFF !important;
    display: flex;
    align-items: center;
    gap: 8px;
}.m-burger-button__icon * {
    transition: .3s;
}.burger-menu-open .m-burger-button__icon .top {
    transform: rotate(45deg);
    transform-origin: center top;
    x: 7.5px;
    y: 6.5px;
}.burger-menu-open .m-burger-button__icon .middle {
    opacity: 0;
    x: 0;
}.burger-menu-open .m-burger-button__icon .bottom {
    transform: rotate(-45deg);
    transform-origin: center top;
    x: -7.5px;
    y: 6.5px;
}
.m-burger-button__text {
    font-size: 15px;
    line-height: 0;
    font-weight: 500;
    color: var(--e-global-color-primary, #0b2345);
}
@media (min-width: 1025px) {
    .m-burger-button {
        display: none;
    }
}
/* FIRST LEVEL */
.m-main-menu-container {
    transition: .3s;
}.m-main-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8.35%;
    list-style-type: none;
    padding: 0;
}.mm-first-level-item {
    position: relative;
}.mm-first-level-item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 140%;
    max-height: 24px;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .m-main-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #FFFFFF;
        z-index: -1;
        padding: calc(var(--menu-height) + 40px) var(--padding-sides) 0;
        transform: translateX(100%);
        max-width: 100vw;
        overflow-x: hidden;
    }.burger-menu-open .m-main-menu-container {
        transform: translateX(0);
    }.m-main-menu {
        padding-bottom: 32px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
        max-height: 100%;
        overflow-y: scroll;
    }.mm-first-level-item {
        width: 100%;
    }.mm-first-level-item-link {
        justify-content: space-between;
    }.mm-first-level-item-link svg {
        transform: rotate(-90deg);
    }.mm-first-level-item-link, .m-main-menu > li:not(.btn-header) > a {
        font-size: 18px;
        font-weight: 600;
        line-height: 140%;
    }.m-main-menu > .menu-item a.elementor-item {
        font-weight: 400;
    }
}
/* SECOND LEVEL */
.mega-menu-container {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100vw;
    max-width: 1440px;
    padding-top: var(--mega-menu-separation);
    transition: .3s;
}.mega-menu {
    background-color: #FFFFFF;
    padding: 56px 3.125% 80px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    transition: .3s;
}.mega-menu__col {
    width: 29.33%;
}.mega-menu__title {
    color: var(--e-global-color-primary, #0b2345);
    font-size: 44px;
    font-weight: 500;
    font-family: "Ubuntu", Sans-serif;
}.m-sub-menu {
    padding: 0;
    list-style-type: none;
    position: relative;
}.mm-second-level-item:not(:last-child) {
    padding-bottom: 25px;
}.mm-second-level-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #878787;
    font-size: 18px;
    font-weight: 400;
    padding-left: 0;
    transition: .3s;
}.mm-second-level-item-link svg {
    transition: .3s;
    fill: #878787;
}.mm-second-level-item-link:hover {
    padding-left: 10px;
    color: var(--e-global-color-primary, #0b2345);
}.mm-second-level-item-link:hover svg {
    fill: var(--e-global-color-primary, #0b2345);
}.mega-menu__insert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 312px;
    padding: 55px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}.mega-menu__insert:not(.no-insert)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #1111114D;
}.mega-menu__insert-title {
    position: relative;
    z-index: 1;
    text-align: center;
    font-weight: 500;
    font-size: 44px;
    line-height: 140%;
    color: #FFFFFF;
}.mega-menu__insert-link {
    position: relative;
    z-index: 1;
}
@media (min-width: 1025px) {
    body:not(.scrolling) .mm-first-level-item:hover .mega-menu-container {
        visibility: visible;
        opacity: 1;
    }.mm-first-level-item .mega-menu {
        transform: translateY(-5px);
    }.mm-first-level-item:hover .mega-menu {
        transform: translateY(0);
    }
}
@media (max-width: 1024px) {
    .mega-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #FFFFFF;
        z-index: 1;
        padding: var(--menu-height) var(--padding-sides) 0;
        transform: translateX(100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        visibility: visible;
        opacity: 1;
        max-height: 100vh;
        max-width: 100vw;
        overflow-x: hidden;
    }.mega-menu-container.active {
        transform: translateX(0);
    }.mega-menu {
        padding: 0;
        flex-direction: column;
        gap: 56px;
        max-height: 100%;
        overflow-y: scroll;
        padding-bottom: 32px;
    }.mega-menu__col {
        width: 100%;
    }.mega-menu__title-col {
        display: none;
    }.mm-second-level-item-link svg {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
}
/*  THIRD LEVEL */
.m-subsub-menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: calc(var(--menu-height) - var(--mega-menu-separation));
    right: 3.1%;
    width: 29.33%;
    background-color: #FFFFFF;
    list-style-type: none;
    padding: 0;
    height: calc(100% - 136px);
    z-index: 2;
    transform: translateX(-20px);
    transition: .3s;
}.m-subsub-menu::after { /* Grow subsub menu hover zone to prevent closing it before reaching it  */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 20.20%;
    height: 100%;
}.mm-third-level-item:not(:last-child) {
    margin-bottom: 25px;
}.mm-third-level-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #878787;
    font-size: 18px;
    font-weight: 400;
    padding-left: 0;
    transition: .3s;
}.mm-third-level-item-link svg {
    transition: .3s;
    fill: #878787;
}.mm-third-level-item-link:hover {
    padding-left: 10px;
    color: var(--e-global-color-primary, #0b2345);
}.mm-third-level-item-link:hover svg {
    fill: var(--e-global-color-primary, #0b2345);
}
@media (min-width: 1025px) {
    .mm-second-level-item:hover .m-subsub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(0px);
    }
}
@media (max-width: 1024px) {
    .m-subsub-menu {
        visibility: visible;
        opacity: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #FFFFFF;
        z-index: 2;
        padding: var(--menu-height) var(--padding-sides) 32px;
        transform: translateX(100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
        max-height: calc(var(--menu-height) - 32px + 100vh);
        overflow-y: scroll;
    }.m-subsub-menu.active {
        transform: translateX(0);
    }.mm-third-level-item-link svg {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
}
/* RETURN BUTTON */
.mega-menu__return {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 40px 0 32px;
    margin-bottom: 35px;
    position: relative;
    width: 100%;
}.mega-menu__return::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #878787;
}.mega-menu__return-text {
    font-size: 18px;
    line-height: 140%;
    font-weight: 400;
}
@media (max-width: 1024px) {
    .mega-menu__return {
        display: flex;
    }
}
/* Polylang item */
.m-main-menu > .lang-item {
    display: none;
}.m-subnav .pll-parent-menu-item > a span:not(.sub-arrow) {
    display: none;
}.m-subnav .sub-menu .lang-item .elementor-sub-item {
    padding: .5em 0;
    border: 0;
}.m-subnav .sub-menu .lang-item .elementor-sub-item span {
    font-size: 15px;
    text-transform: uppercase;
}
@media (min-width: 1025px) {
    .pll-parent-menu-item .sub-menu {
        min-width: 80px !important;
        max-width: 80px !important;
    }
}
@media (max-width: 1024px) {
    .m-main-menu .pll-parent-menu-item .sub-menu {
        display: none !important;
    }.m-main-menu .languages-menu {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
    }.m-main-menu .languages-menu > a {
        position: relative;
    }.m-main-menu .languages-menu > a svg {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(100%, -50%) rotate(0);
        transition: .3s;
    }.m-main-menu .languages-menu.languages-menu-active > a svg {
        transform: translate(100%, -50%) rotate(-90deg);
    }.m-main-menu .languages-menu > ul {
        display: none;
        gap: 18px;
        flex-wrap: wrap;
        list-style-type: none;
        padding: 0;
    }.m-main-menu .languages-menu.languages-menu-active > ul {
        display: flex;
    }.m-main-menu .languages-menu span {
        text-transform: uppercase;
        font-size: 18px;
        line-height: 140%;
        text-transform: uppercase;
        font-weight: 400;
    }.m-main-menu .elementor-sub-item:hover {
        background-color: initial;
        color: var(--e-global-color-text);
    }
}

@media (min-width: 1025px) {
    .main-header.elementor-sticky--effects {
        transform: translateY(calc(-1 * var(--menu-top-height)));
    }.scrolling-up .main-header.elementor-sticky--effects {
        transform: translateY(0);
    }
}

@media (min-width: 1025px) {
    .main-header.elementor-sticky--effects {
        transform: translateY(calc(-1 * var(--menu-top-height)));
    }.scrolling-up .main-header.elementor-sticky--effects {
        transform: translateY(0);
    }
}