[class*="menu"] {
    list-style: none;
}

[class*="menu"] .nav-item {
    position: relative;
}

.mobi-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 480px;
    height: 100vh;
    background-color: #12356c;
    z-index: 999;
    transition: all .3s ease-in-out;
}

body.menu-on .mobi-menu {
    right: 0;
}

.mobi-menu .mobi-menu-wrapper {
    position: relative;
    padding: 45px 60px 54px 36px;
    height: 100%;
}

.menu-header .close {
    position: relative;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.menu-header .close span {
    position: absolute;
    top: 50%;
    height: 2px;
    left: 50%;
    width: 100%;
    background-color: #fff;
    transform-origin: left center;
}

.menu-header .close span:nth-child(1) {
    transform: rotate(45deg) translate(-50%, -50%);
}

.menu-header .close span:nth-child(2) {
    transform: rotate(-45deg) translate(-50%, -50%);
}

.first-lvl-menu > li:not(:last-child) {
    margin-bottom: 6px;
}

.mobi-menu .menu-body {
    margin-top: 76px;
    text-align: right;
}

body.mobile .mobi-menu .menu-body {
    margin-top: 56px;
}

.mobi-menu .first-lvl-menu > li {
    position: relative;
}

.mobi-menu .first-lvl-menu > li > a {
    font-size: 25px;
    line-height: 1;
    color: #fff;
}

.mobi-menu .exclude-first-lvl-menu .second-level > li.has-child > a,
.mobi-menu .first-lvl-menu > li > a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: end;
    justify-content: flex-end;
}


.mobi-menu .first-lvl-menu > li > a > img,
.mobi-menu .exclude-first-lvl-menu .second-level > li.has-child > a > img {
    transform: scaleX(-1);
    transition: all .3s ease-in-out;
    margin-left: 0px;
}

.mobi-menu .first-lvl-menu > li > a {
    line-height: 46px;
}

body:not(.mobile) .mobi-menu .first-lvl-menu > li > a > img,
body:not(.mobile) .mobi-menu .exclude-first-lvl-menu .second-level > li.has-child > a > img {
    width: 0;
    flex: 0;
}

body:not(.mobile) .mobi-menu .first-lvl-menu > li > a > img {
    height: 46px;
}

body:not(.mobile) .mobi-menu .first-lvl-menu > li > a:hover > img,
body:not(.mobile) .mobi-menu .first-lvl-menu > li.on > a > img {
    width: 46px;
    flex: 0 0 46px;
    margin-left: 20px;
}

body:not(.mobile) .mobi-menu .exclude-first-lvl-menu .second-level > li.has-child > a:hover > img,
body:not(.mobile) .mobi-menu .exclude-first-lvl-menu .second-level > li.on.has-child > a > img {
    width: 32px;
    flex: 0 0 32px;
    margin-left: 15px;
    height: 28px;
}

body.mobile .mobi-menu .first-lvl-menu > li > a > img {
    width: 32px;
    flex: 0 0 32px;
    height: 32px;
    margin-left: 10px;
}

body.mobile .mobi-menu .exclude-first-lvl-menu .second-level > li.has-child > a > img {
    width: 32px;
    flex: 0 0 32px;
    margin-left: 10px;
    height: 28px;
}

.mobi-menu .exclude-first-lvl-menu ul > li:not(:last-child) {
    margin-bottom: 14px;
}

.mobi-menu .exclude-first-lvl-menu .second-level > li:not(:last-child) {
    margin-bottom: 12px;
}

body.mobile .first-lvl-menu > li:not(:last-child) {
    margin-bottom: 10px;
}

body.mobile .mobi-menu .exclude-first-lvl-menu .second-level > li:not(:last-child) {
    margin-bottom: 12px;
}

.mobi-menu .exclude-first-lvl-menu ul > li > a {
    font-size: 20px;
    line-height: 1;
    color: #fff;
}

.mobi-menu .exclude-first-lvl-menu ul.third-level li a {
    font-size: 18px;
}

.mobi-menu .exclude-first-lvl-menu ul > li > ul {
    margin-top: 8px;
}

.mobi-menu .exclude-first-lvl-menu .third-level {
    margin-top: 0;
}

.mobi-menu .exclude-first-lvl-menu .third-level > li:first-child {
    margin-top: 10px;
}

.mobi-menu .exclude-first-lvl-menu ul > li > ul > li > a {
    font-family: "cf_asty_st_light", sans-serif;
}

.mobi-menu .menu-footer {
    position: absolute;
    bottom: 54px;
    right: 70px;
    padding-top: 60px;
}

.mobi-menu .mobi-menu-wrapper > div {
    padding-left: 10px;
    padding-right: 10px;
}

.mobi-menu .exclude-first-lvl-menu > ul > li:first-child {
    padding-top: 20px;
}

.mobi-menu .exclude-first-lvl-menu > ul > li.has-child > ul > li:first-child {
    padding-top: 10px;
}

.mobi-menu .exclude-first-lvl-menu > ul > li:last-child {
    padding-bottom: 20px;
}

.mobi-menu .exclude-first-lvl-menu > ul > li.has-child > ul > li:last-child {
    padding-bottom: 10px;
}

.mobi-menu .exclude-first-lvl-menu > ul,
.mobi-menu .exclude-first-lvl-menu > ul > li.has-child > ul {
    overflow: hidden;
    max-height: 0;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.mobi-menu .exclude-first-lvl-menu > ul.on,
.mobi-menu .exclude-first-lvl-menu > ul > li.has-child.on > ul {
    max-height: 1000px;
    transition: all 1s ease-in-out
}

@media screen and (max-width: 540px) {
    .mobi-menu {
        width: 100%;
    }

    .mobi-menu .mobi-menu-wrapper {
        padding: 55px 15px;
    }

    .mobi-menu .lang .item {
        font-size: 19px;
        line-height: 1.2;
    }

    .mobi-menu .lang .item:not(:last-child) {
        margin-right: 22px;
    }

    .mobi-menu .lang {
        margin-right: 0;
    }

    .mobi-menu .menu-body {
        margin-top: 10vh;
    }

    .mobi-menu .menu-footer {
        position: absolute;
        bottom: 54px;
        right: 25px;
        padding-top: 5vh;
    }
}




