/*Elizaveta Romanovna*/
/*https://betsyweb.ru*/
.submenu-block {
    max-height: calc(100vh - 110px);
    overflow-y: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white-color);
    bottom: -100vh;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.28);
    display: none;
}

.is--dark .header.header--hasSubmenu {
    background: var(--black-color);
}

.header-menu li a {
    display: block;
}

.header.header--hasSubmenu {
    background: var(--white-color);
}

.is--dark
.submenu-block {
    background: var(--black-color);
    border-color: rgba(255, 255, 255, 0.28)
}

.is--dark .header--hasSubmenu .has--submenu a:after {
    background: var(--white-color);
}

.is--dark .header--hasSubmenu .header-menu li a, .is--dark .submenu-bottom span {
    color: var(--white-color);
}

.header--hasSubmenu .submenu-block {
    display: block;
    overflow-y: auto;
}

.header-menu li .has--submenu > a {
    color: var(--black-color)
}

.header--hasSubmenu .has--submenu > a {
    position: relative;
}

/*.header--hasSubmenu .has--submenu a:after {*/
/*    content: '';*/
/*    background: var(--black-color);*/
/*    height: 3px;*/
/*    width: 100%;*/
/*    position: absolute;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: -17px;*/
/*}*/

/*.header--hasSubmenu{*/
/*    background: var(--white-color);*/
/*}*/
.header--hasSubmenu .header-menu .submenu-block__article {
    margin: 0;
}

.header--hasSubmenu .header-menu li a {
    color: var(--black-color);
    /*line-height: 100%;*/
}

.header-menu .header-submenu a {
    color: var(--black-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.header-menu .header-submenu a:hover {
    color: var(--green-color)
}

.header-menu li .submenu-bottom {
    max-width: 282px;
    margin-top: auto;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submenu-block__left {
    height: calc(100% - 80px);
}

.header-menu li .submenu-block__right span {
    display: flex;
}
.header-menu li .submenu-block__right span.submenu-article__text{
    flex-direction: column;
    align-items: flex-start;
}
.submenu-bottom i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #0095FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.submenu-bottom span {
    /*margin-left: 15px;*/
    font-size: 14px;
    color: var(--black-color);
    line-height: 130%;
}

.submenu-bottom:hover i {
    background: var(--green-color);
}

.header-menu li .submenu-bottom span {
    padding-bottom: unset;
}

body .header--hasSubmenu .header-change svg,
.header--hasSubmenu .header-login svg {
    stroke: var(--black-color);
}

.header--hasSubmenu .header-search svg,
.header--hasSubmenu .header-logo svg {
    fill: var(--black-color);
}

.submenu-block .container {
    max-width: 1150px;
    padding-left: 0;
    padding-right: 0;
}

.submenu-block__right {
    max-width: 598px;
}

.submenu-block__article {
    width: 42%;
}

.submenu-article__title {
    font-size: 16px;
    margin-top: 6px;
    font-family: 'Gotham Pro', Arial, sans-serif;
    font-weight: 500;
    line-height: 130%;
    max-width: 90%;
    display: block;
}

.submenu-article__date {
    color: #D2D2D2;
    font-size: 10px;
    line-height: 100%;
    display: block;
}

.submenu-article__name {
    font-size: 10px;
    font-weight: bold;
    margin-top: 30px;
}

.submenu-article__name > i {
    width: 16px;
    height: 16px;
    border-radius: 100%;
    margin-right: 5px;
    overflow: hidden;
}

.header-menu li .submenu-block__article span {
    padding-bottom: unset;
    border-bottom: unset;
    margin-top: 5px;
}

.header-menu li .submenu-bottom2 .btn {
    height: 40px;
    width: 230px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.submenu-bottom .btn:hover {
    background: #0095FF;
    opacity: 1;
}

.submenu-bottom2 .btn > img {
    margin-left: 10px;
}

.header-menu li .submenu-block__text {
    font-size: 16px;
    margin-top: 10px;
    padding-bottom: unset;
    line-height: 130%;
    font-weight: 500;
}

@media screen and (max-width: 1199px) {
    .submenu-article__title {
        font-size: 14px;
    }

    .submenu-block .container {
        padding-left: 15px;
        padding-right: 15px;
    }

}

@media screen and (max-width: 990px) {
    .header.is--active .menu-glavnoe-container {
        margin-bottom: -60px;
    }

    .submenu-block > .container {
        height: unset;
        padding-bottom: 230px;
    }

    .header.is--active.header--hasSubmenu .menu-glavnoe-container {
        margin-bottom: unset;
    }

    .header--hasSubmenu .submenu-block {
        top: 93px;
        border: unset;
        z-index: 23;
    }

    .submenu-block__article {
        width: 100%;
    }

    .submenu-block__article:first-of-type {
        display: none;
    }

    .header.is--active .header-menu li.has--submenu > a {
        position: relative;
    }

    .header.is--active.header--hasSubmenu .header-menu li.has--submenu > a:after {
        top: 20px;
    }

    .header.is--active .header-menu li.has--submenu > a:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        display: block;
        background: url('../img-new/submenu/arrow-right.svg') no-repeat;
        width: 24px;
        height: 24px;
    }

    .header-menu .has--submenu span {
        padding-bottom: unset;
    }

    .header--hasSubmenu .header-menu span {
        border: unset
    }

    .header--hasSubmenu .has--submenu a:after {
        display: none;
    }

    .is--dark .header.is--active .header-menu li.has--submenu > a:after {
        background-image: url('../img-new/submenu/arrow-right-b.svg');
    }

    .header.is--active .header-menu li.has--submenu a {
        display: flex
    }

    .header.is--active {
        z-index: 999;
        overflow-y: hidden
    }

    .submenu-block > .container {
        flex-direction: column;

    }

    .submenu-block__right {
        max-width: 100%;
        top: 30px;
        position: relative;
    }

    .header--hasSubmenu.header.is--active .header-menu li.has--submenu.active > a {
        position: fixed !important;
        z-index: 9999;
        top: 123px;
        left: 0;
        right: 0;
        padding-left: 15px;
        padding-right: 15px;
        justify-content: center;
        font-size: 18px;
        font-weight: bold;
    }

    .header--hasSubmenu.header.is--active .header-menu li.has--submenu > a:after {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .header--hasSubmenu li.has--submenu.active .submenu-block {
        padding-top: 120px;
        overflow-y: scroll;
    }

    .header-menu li .submenu-block__article {
        flex-direction: row;
        margin-bottom: 12px;
    }

    .submenu-article__img {
        width: 120px;
        height: 120px;
    }

    .submenu-article__text {
        margin-left: 12px;
        font-size: 12px;
        max-width: 205px;
    }

    .submenu-article__name {
        margin-top: unset;
    }

    .submenu-article__title {
        font-size: 12px;
    }

    .header.is--active .header-menu li.has--submenu .submenu-bottom {
        display: none;
    }

    .header.is--active.header--hasSubmenu .menu-glavnoe-container {
        margin-top: 110px !important;
        padding-bottom: 180px;
    }

    .header.is--active.header--hasSubmenu .desktop-hidden {
        z-index: 2222;

        position: fixed;
        padding-top: 20px;
        padding-bottom: 37px;
        bottom: 0;
        left: 15px;
        right: 15px;
        background: var(--white-color);
    }

    .header-menu li .submenu-block__article:first-of-type {
        margin-left: unset;
    }
}

@media screen and (max-width: 767px) {
    .submenu-block__right {
        flex-direction: column;
    }

    .header.is--active .header-menu li .submenu-block__article:first-of-type {
        display: none;
    }

    .header-menu li .submenu-block__article:last-of-type {
        margin-left: unset;
        justify-content: center;
    }

    .header--hasSubmenu.header.is--active .header-menu li.has--submenu.active > a {
        top: 153px;
        background: var(--white-color);
        padding-top: 20px;
    }

    .header--hasSubmenu li.has--submenu.active .submenu-block {
        padding-top: 130px;
    }

    .header.is--active .desktop-hidden strong {
        gap: 70px
    }

    .submenu-article__title {
        max-width: 100%;
    }

    .submenu-article__text {
        display: flex;
        flex-direction: column;
    }

    .submenu-article__date {
        order: 1;
        margin-top: unset;
    }

    .submenu-article__name {
        order: 2;
        font-size: 8px;
    }

    .submenu-article__title {
        order: 3;
    }
}

@media screen and (max-width: 600px) {

    .header.is--active .desktop-hidden strong {
        gap: 45px
    }

    .header-menu li .submenu-block__text {

        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.is--dark .header--hasSubmenu.header.is--active .header-menu li.has--submenu.active > a, .is--dark .header.is--active.header--hasSubmenu .desktop-hidden {
    background: var(--black-color);
}