:root {
    --nav-height: 100px;
    --trigger-mobile-width: 30px;
    --trigger-mobile-height: 20px;
    --trigger-mobile-gutter: 12px;
    --trigger-bar-size: 3px;
}
.page-wrapper {
    padding-top: calc(var(--nav-height) + var(--space-standard) * 1.5);
}
.menu {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
.menu > .container > .row {
    height: var(--nav-height);
    align-items: center;
}
.menu ul {
    display: flex;
}
.menu ul li a {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-transform: uppercase;
    text-decoration: none;
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}
.menu ul li a::before,
.menu .menu-lvl-2 a::before,
.menu ul li a.is-current-page::before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--black);
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    opacity: 0;
    transition: opacity .2s ease-in;
}
.menu ul li a.active::before,
.menu .menu-lvl-2 a:hover:before,
.menu ul li a.is-current-page::before {
    opacity: 1;
}
.menu .submenu {
    z-index: 1;
}
.menu .submenu.visible {
    visibility: visible;
    opacity: 1;
}
.menu .square {
    width: 108px;
    height: 108px;
    border-radius: 20px;
    display: inline-flex;
}
.menu .logo {
    width: auto;
    flex: 0 0 auto;
}
.menu .logo a {
    display: flex;
}
.logo.visible-desk a img{
    height: 80px;
    width: 100%;
    object-fit: cover;
}
.menu .submenu-close {
    background-color: transparent;
    border: none;
    border-radius: 0;
    position: absolute;
    top: 26px;
    right: 41px;
    cursor: pointer;
}
.nl-wrapper {
    --wave-size: 50px;
    margin-top: var(--wave-size);
    position: relative;
}
.nl-wrapper::before {
    content: "";
    width: 100%;
    height: var(--wave-size);
    background-image: url("../images/bg-nl.svg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(0px - var(--wave-size));
    left: 0;
    display: block;
}
@media (min-width: 768px) {
    .nl-wrapper {
        --wave-size: 100px;
    }
}
@media (max-width: 1439.98px) {
    .menu-opened {
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    .menu {
        background-color: var(--white);
    }
    .menu .submenu.visible {
        max-height: 2000px;
    }
    .menu .menu-lvl-1 {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .menu .menu-lvl-1 > li {
        width: 100%;
    }
    .menu .menu-lvl-1 > li > * {
        width: 100%;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .menu .menu-lvl-2 > li > * {
        text-align: left;
    }
    .menu .logo a {
        /*width: 138px;
        height: 60px;*/
        height: 80px;
        flex: 0 0 auto;
    }
    .menu .trigger-collapse-wrapper {
        display: flex;
        flex: 1;
    }
    .menu .trigger-collapse-mobile {
        margin-left: auto;
    }
    .menu .collapse-mobile,
    .menu .submenu {
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--white);
        padding-left: calc((100% - var(--container-size)) / 2);
        padding-right: calc((100% - var(--container-size)) / 2);
        position: absolute;
        top: 100%;
        left: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(100%);
        transition: transform .3s ease-in;
    }
    .menu .submenu {
        height: 100%;
        top: 0;
    }
    .menu .collapse-mobile.visible,
    .menu .submenu.visible {
        transform: translateX(0);
    }
    .menu ul a {
        display: flex;
    }
    .menu .trigger-collapse-mobile {
        width: calc(var(--trigger-mobile-width) + var(--trigger-mobile-gutter));
        height: calc(var(--trigger-mobile-height) + var(--trigger-mobile-gutter));
        background-color: transparent;
        border: none;
        border-radius: 0;
        padding: calc(var(--trigger-mobile-gutter) / 2);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
    }
    .menu .trigger-collapse-mobile > span {
        width: 100%;
        height: var(--trigger-bar-size);
        background-color: var(--black);
        border-radius: var(--trigger-bar-size);
        transition: all .3s ease-in;
    }
    .menu .trigger-collapse-mobile > span:nth-child(2) {
        width: calc(var(--trigger-mobile-height) + 5px);
        position: absolute;
        top: calc(50% - var(--trigger-bar-size) / 2);
        left: calc(var(--trigger-mobile-gutter) / 2);
        transition: all .3s ease-in;
        transform-style: preserve-3d;
    }
    .menu .trigger-collapse-mobile.collapse > span:nth-child(2) {
        width: calc(var(--trigger-mobile-height) + 5px);
        height: var(--trigger-bar-size);
        top: calc(50% - var(--trigger-bar-size) / 2);
        left: calc(50% - (var(--trigger-mobile-height) + 5px) / 2);
        transform: rotate(45deg);
    }
    .menu .trigger-collapse-mobile > span:nth-child(2)::after {
        content: "";
        width: calc(var(--trigger-mobile-height) + 5px);
        height: var(--trigger-bar-size);
        background-color: var(--black);
        border-radius: var(--trigger-bar-size);
        display: block;
        opacity: 0;
        position: absolute;
        top: calc(50% - var(--trigger-bar-size) / 2);
        left: calc(50% - (var(--trigger-mobile-height) + 5px) / 2);
        transition: all .3s ease-in;
        transform-style: preserve-3d;
    }
    .menu .trigger-collapse-mobile.collapse > span:nth-child(2)::after {
        transform: rotate(-90deg);
        opacity: 1;
    }
    .menu .trigger-collapse-mobile.collapse > span:first-child,
    .menu .trigger-collapse-mobile.collapse > span:last-child {
        opacity: 0;
    }
    .menu .menu-link-mobile {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        text-transform: uppercase;
        background-color: transparent;
        border: none;
        border-radius: 0;
        padding: calc(var(--gutter) * 2);
        /*margin-top: calc(55px - var(--gutter) * 2);*/
        margin-top: 36px;
        cursor: pointer;
    }
    .menu .menu-section-link,
    .menu .menu-go-back {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        padding-top: 8px;
        padding-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .menu .menu-section-link > span {
        position: relative;
    }
    .menu .menu-section-link > span::before {
        content: "";
        width: 100%;
        height: 2px;
        background-color: var(--black);
        border-radius: 4px;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        display: block;
    }
    .menu .menu-go-back {
        background-color: transparent;
        border: none;
        border-radius: 0;
        display: flex;
        align-items: center;
    }
    .menu .menu-go-back > .is-svg {
        transform: rotate(180deg);
    }
    .menu .submenu-title {
        font-size: 16px;
        font-weight: 700;
        line-height: 20px;
        text-transform: uppercase;
        /*margin-top: 35px;*/
    }
    .menu .menu-lvl-2 {
        justify-content: center;
    }
    .menu .menu-lvl-2 li {
       /*margin-top: 40px;*/
        margin-top: 26px;
    }
    .menu .menu-lvl-2 li,
    .menu .menu-lvl-2 li a {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
    }
    .menu .submenu .row:not(.visible-tab) > .col {
        margin-bottom: 26px;
    }
    .menu .menu-lvl-1 > li.search,
    .menu .menu-lvl-1 > li.lang {
        width: auto;
    }
    .menu .menu-lvl-1 > li.search .menu-link-mobile,
    .menu .menu-lvl-1 > li.lang .menu-link-mobile {
        display: flex;
        align-items: center;
    }
    .menu .lang {
        margin-left: auto;
    }
}
@media (max-width: 639.98px) {
    .menu .collapse-mobile,
    .menu .submenu {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (min-width: 1440px) {
    :root {
        --nav-height: 84px;
    }
    .menu {
        top: calc(var(--space-standard) * 1.5);
    }
    .menu > .container {
        width: var(--container-size);
        background-color: var(--white);
        border-radius: 40px;
        box-shadow: 0px 158px 63px rgba(2, 1, 50, 0.01), 0px 89px 53px rgba(2, 1, 50, 0.05), 0px 39px 39px rgba(2, 1, 50, 0.09), 0px 10px 22px rgba(2, 1, 50, 0.1), 0px 0px 0px rgba(2, 1, 50, 0.1);
        position: relative;
    }
    .menu ul li a {
        font-size: 14px;/*13px;*/
        font-weight: 600;
        line-height: 16px;
        display: flex;
        align-items: center;
    }
    .menu .submenu {
        width: 100%;
        background-color: var(--white);
        border-radius: 40px;
        padding: 53px 96px 140px;
        box-shadow: 0px 158px 63px rgba(2, 1, 50, 0.01), 0px 89px 53px rgba(2, 1, 50, 0.05), 0px 39px 39px rgba(2, 1, 50, 0.09), 0px 10px 22px rgba(2, 1, 50, 0.1), 0px 0px 0px rgba(2, 1, 50, 0.1);
        position: absolute;
        top: calc(100% + 20px);
        left: 0;
        visibility: hidden;
        opacity: 0;
        transition: all .075s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .menu .submenu.visible {
        transition: all .125s cubic-bezier(0.32, 0, 0.67, 0);
    }
    .menu .menu-lvl-1 {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
    .menu .submenu-title {
        font-size: 14px;/*13px;*/
        font-weight: 900;
        line-height: 21px;
        text-transform: uppercase;
        color: var(--black);
    }
    .menu .menu-lvl-2 a {
        font-size: 14px;/*13px;*/
        font-weight: 400;
        line-height: 21px;
        text-transform: uppercase;
        color: var(--black);
        position: relative;
    }
    .menu .menu-lvl-2 li {
        margin-top: 30px;/*margin-top: 45px;*/
    }
    .menu .square + .square {
        margin-left: 46px;
    }
    .menu .collapse-mobile {
        display: flex;
        align-items: center;
    }
    .menu .menu-link-desk {
        display: flex;
        align-items: center;
    }
    .menu .lang {
        position: relative;
    }
    .menu .lang .submenu {
        width: 100px;
        min-height: 250px;
        border-radius: 50px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        top: calc(100% + 39px);
        left: 50%;
        transform: translateX(-50%);
    }
    .menu .lang-select {
        display: flex;
        align-items: center;
    }
    .nl-wrapper {
        --wave-size: 150px;
    }
    .menu .lang .row {
        flex-direction: column;
        flex: 1;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .menu .lang .row > .col {
        display: flex;
        align-items: center;
    }
}


.grade-legend {
    display: flex;
    /*flex-direction: column;*/
    margin-top: 2vw;
    font-size:10pt;
}
.grade-legend sup {
    font-size: 66%;
    margin-bottom: 3px;
    margin-right: 4px;
}
.grade-legend > div {
    font-size: 13px;
    line-height: 21px;
    text-transform: uppercase;
    display: flex;
    align-items: flex-end;
    margin-top: 6px;
}
.grade-legend .grade-1,
.grade-legend .grade-2,
.grade-legend .grade-3 {
    margin-left: 0;
    margin-right: 6px;
}
.menu-lvl-2 > li {
    width: 100%;
    display: flex;
    align-items: center;
}
.grade-1, .grade-2, .grade-3 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
    margin-left: 6px;
}
.grade-1 {
    background-color: var(--GLT-red);
}
.grade-2 {
    background-color: var(--GLT-green);
}
.grade-3 {
    background-color: var(--yellow);
}
.grade-1.board, .grade-2.board, .grade-3.board {
    font-size: 13px;
    width: 24px;
    height: 18px;
    border: 1px solid var(--black);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
    background-color: transparent !important;
}
.grade-1.box, .grade-2.box, .grade-3.box {
    font-size: 13px;
    width: 18px;
    height: 18px;
    color: var(--white);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
    margin-bottom: 12px;
}

.submenu-text, .submenu-text p{font-size: 10pt!important;text-align: justify;margin: 0;padding: 11pt 0 0;line-height: 11pt;}
.submenu-text strong{font-size: 10pt!important;}

/*
new language switcher template
*/

.lang .glt-wpml-laguages ,
.menu .collapse-mobile .lang .glt-wpml-laguages {
    display: flex;
}
.menu .collapse-mobile .lang .glt-wpml-laguages {
    align-items: center;
}
.glt-wpml-laguages .lang-select {
    margin-left: 4px;
    margin-right: 4px;
}
.glt-wpml-laguages .lang-select .flag-svg {
    height: 16px;
    width: auto;
    border: none;
}

@media (max-width: 1439px) {
    .menu .collapse-mobile .lang .glt-wpml-laguages {
        margin-top: 36px;
    }
    .glt-wpml-laguages .lang-select {
        margin-left: 10px;
        margin-right: 10px;
    }
}
.default-lang.lang-select .flag-svg {
    border: 2px solid #e74730;
    border-radius: 2px;
    height:20px;
}
@media (max-width: 639.98px) {
    .menu .collapse-mobile {
        margin-top: 16px;
    }
}



