.menu {
    display: none;
}

.menu.active {
    display: flex;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.menu__inner {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.menu__left {
    flex: 0 0 335px;
    line-height: 0;
}

.menu__right {
    flex: 0 0 calc(100% - 355px);
}

.menu__left .logo {
    margin: 0;
    display: inline-flex;
    opacity: 0;
}

button.menu__close {
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 50%;
    margin: 0 0 auto auto;
    display: block;
    position: absolute;
    left: 300px;
    top: 155px;
}

.menu__right ul {
    display: none;
    line-height: 1;
}

.menu__left ul {
    padding: 10px 0 10px 10px;
    margin: 0;
    list-style: none;
    border-radius: 15px;
    background: #fff;
    line-height: 1;
}

.menu__left ul+ul {
    margin-top: -20px;
}

.menu__left li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    position: relative;
}

.menu__left li a {
    padding: 20px 30px 20px 30px;
    display: block;
    color: black;
    font-size: 20px;
    font-weight: 600;
}

.menu__left li a:hover {
    /*color: var(--colorF7);*/
    /*text-underline-position: under;*/
    /*text-decoration-thickness: from-font;*/
    /*background: url(/images/icons/arrow-right--orange.svg) center right no-repeat;*/
    text-decoration: none;
    background-color: #ebebeb;
    border-radius: 20px 0 0 20px;
}

.menu__left li span {
    display: block;
    padding-bottom: 25px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 31px;
    text-transform: uppercase;
}

/*button.menu__close:hover svg * {*/
/*    stroke: white*/
/*}*/

.menu__right ul.active {
    display: flex;
    margin: 0;
    list-style-type: none;
    border-radius: 20px;
    background: #f3f3f3;
    flex-wrap: wrap;
    column-gap: 20px;
    padding: 15px;
    align-items: flex-start;
    row-gap: 21px;
}

.menu__right ul.active a {
    padding: 15px;
    white-space: nowrap;
    background-color: #fff;
    display: flex;
    border-radius: 20px;
    font-weight: 600;
}

.menu__right ul.active[data-id="2"] li {
    border-radius: 12px;
    background: #E6E6E6;
    height: 116px;
    flex: 0 0 calc((100% - 20px*3)/4);
    display: flex;
    justify-content: center;
    padding: 10px;
}

.menu__right ul.active[data-id="2"] li a {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.menu__inner {
    height: 100vh;
    padding-bottom: 33px;
    position: relative;
}

.menu__left:not(:first-child) {
    height: calc(100vh - 193px);
    display: flex;
    flex-direction: column;
}

.menu__right:last-child {
    overflow: auto;
    padding: 10px 10px 10px 0;
    max-width: 800px;
    align-self: flex-start;
}

.menu__left ul+ul {
    flex-grow: 1;
}

.menu__right ul.active[data-id="2"] {
    max-height: 100%;
    overflow: auto;
}

.menu__right ul.active[data-id="1"] {
    /* position: relative; */
    align-items: start;
    overflow: auto;
    row-gap: 0;
}

.menu__right ul.active[data-id="1"] li {
    display: flex;
    column-gap: 60px;
    padding: 12.5px 0;
    flex: 0 0 100%;
}

.menu__right ul.active[data-id="1"] img {
    position: absolute;
    top: 195px;
    right: 35px;
    border-radius: 6px;
    display: none;
    max-height: calc(100% - 70px - 20px - 33px - 120px - 20px);
    width: auto;
}

.menu__left:first-child {
    height: 120px;
}

.menu__left:first-child+.menu__right {
    height: 120px;
}

.menu__right--right {
    /*flex: 0 0 537px;*/
}

.menu__right--left {
    flex: 0 0 calc(100% - 597px);
}

.menu__right--left a {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: black;
}

.menu__right--left a:hover {
    color: var(--colorF7);
}

.menu__right ul.active[data-id="1"] li:first-child {
    padding-top: 0;
}

.menu__right ul.active[data-id="1"] li:last-child {
    padding-bottom: 0;
}

/*.menu__right ul.active[data-id="1"] li .menu__right--left:hover+.menu__right--right img {*/
/*    display: block;*/
/*}*/

.menu__right ul.active[data-id="1"] {
    align-content: flex-start;
    border-radius: 0 20px 20px 20px;
}

.menu__right ul.active[data-id="3"] {
    row-gap: 20px;
    align-content: flex-start;
}

.menu__right ul.active[data-id="3"] a {
    color: black;
    font-size: 20px;
}

.menu__right ul.active[data-id="3"] li {
    flex: 0 0 calc((100% - 20px*3)/4);
}

.menu__right ul.active[data-id="3"] a:hover {
    color: var(--colorF7);
}

.menu__left li:not([data-id]) a:hover {
    background: transparent;
}

.menu__left li.active a {
    /*color: var(--colorF7);*/
    border-radius: 15px 0 0 15px;
    text-underline-position: under;
    text-decoration-thickness: from-font;
    background-color: #f3f3f3;
    /*background: url(/images/icons/arrow-right--orange.svg) center right no-repeat;*/
}

html,
body,
.menu {
    scroll-behavior: smooth;
}
.menu__right ul.active[data-id="3"] li:only-child {
    flex: 0 0 100%;
}
.menu__right:last-child {
    border-radius: 0 15px 15px 15px;
    background: #fff;
}
.menu__right ul.active[data-id="2"] {
    align-content: flex-start;
}
@media (max-width: 1429px) {
    @media (min-width: 1200px) {
        .menu__right--right {
            flex: 0 0 300px;
        }

        .menu__right ul.active[data-id="1"] li {
            column-gap: 20px;
        }

        .menu__right--left {
            flex: 0 0 calc(100% - 320px);
        }
    }
}

@media (max-width: 1199px) {
    .menu__right--right {
        display: none;
    }

    .menu__right--left {
        flex: 0 0 100%;
    }

    .menu__right ul.active[data-id="2"] li {
        flex: 0 0 calc((100% - 20px*2)/3);
    }

    .menu__right ul.active[data-id="3"] li {
        flex: 0 0 100%;
    }

    .menu__right ul.active[data-id="1"] li {
        padding: 0 !important;
    }

    .menu__right ul.active[data-id="1"] {
        row-gap: 20px;
    }

    .menu__right ul.active[data-id="3"] {
        line-height: normal;
    }

    .menu__left .logo img {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .menu__right ul.active[data-id="2"] li {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .menu__left:not(:first-child) {
        flex: 0 0 100%;
        height: auto;
    }

    .menu {
        overflow: auto;
    }

    .menu__right:last-child {
        flex: 0 0 100%;
        height: auto;
        padding-bottom: 20px;
    }

    .menu__right:last-child {
        display: none;
    }
    
    .menu__left:not(:first-child) {
        padding-bottom: 33px;
    }
    
    .menu__left li.active ul.d-none {
        display: flex!important;
        flex-direction: column;
        padding-top: 0;
    }
    
    .menu__left li.active ul.d-none a {
        color: white;
        background: transparent;
        padding-right: 0;
    }
}

@media (max-width: 575px) {
    .menu__left:first-child+.menu__right {
        height: 0;
    }

    .menu__left .logo img {
        max-width: unset;
        /* max-height: 75px; */
        width: auto;
    }

    button.menu__close {
        position: absolute;
        top: 20px;
        right: 15px;
    }

    .menu__left li.active ul.d-none {
        padding-left: 0;
        padding-right: 0;
    }
    
    .menu__left li.active ul.d-none a {
        font-size: 16px;
        padding: 10px 0;
    }

    /* .menu__left:first-child {
        height: 75px;
    } */
}