/*************** MAIN ***************/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    height: 100%;
    min-width: 1000px;
    font-family: Inter,sans-serif;
}
.js-on .no-js-alert {
    display: none;
}
.b-section {
    padding: 80px 0;
}
.b-section__wrapper {
    position: relative;
    margin: auto;
    width: 1000px;
    min-width: 1000px;
}

/*************** HEADER ***************/
.header {
    position: relative;
    z-index: 1200;
    height: 64px;
    font-family: 'Inter', sans-serif;
    color: #222429;
    background: #fff;
}
.header__menu {
    margin: auto;
    width: 1000px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__main-menu {
    display: flex;
    justify-content: center;
    height: 100%;
}
.logo__link {
    width: 138px;
    height: 36px;
    background-image: url("../images/header/logo.svg");
}
.logo__link_new-year {
    width: 131px;
    height: 41px;
    background-image: url("../images/header/logo__newyear.svg");
}

.submenu__wrapper {
    margin: 38px auto;
    max-width: 1020px;
}
.submenu__column {
    display: inline-block;
    margin: 10px;
    vertical-align: top;
    text-decoration: none;
}
.submenu__column_33 {
    min-width: 200px;
    width: calc(33.33333333% - 20px);
    max-width: 320px;
}
.submenu__column_50 {
    min-width: 250px;
    width: calc(50% - 20px);
    max-width: 490px;
}

#menu-languages {
    display: inline-block;
    position: relative;
    margin-left: 20px;
    vertical-align: top;
}
#menu-languages.active>.menu-languages__chose {
    display: block !important;
}
.menu-languages__button {
    width: 44px;
    height: 24px;
    background: 0/24px no-repeat;
}
.menu-languages__button:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../images/header/arrow-down.svg") right center no-repeat;
}
#menu-languages.active>.menu-languages__button:after {
    background-image: url("../images/header/arrow-up.svg");
}
.menu-languages__chose {
    position: absolute;
    left: -120px;
    top: 32px;
    padding: 4px 0;

    background: #FFFFFF;
    border: 1px solid #D9DBDE;
    box-shadow: 0 6px 10px rgba(34, 36, 41, 0.08);
    border-radius: 8px;
}
.menu-languages__item {
    display: block;
    position: relative;
    width: 180px;
    height: 32px;
    padding-left: 16px;
    font: 14px/32px 'Inter', sans-serif;
    color: #222429;
    text-decoration: none;
}
.menu-languages__item.active {
    color: #1177D1;
    background: #F0F7FC;
    cursor: default;
}
.menu-languages__item:hover {
    color: #1177D1;
    background: #F0F7FC;
}
.menu-languages__item-flag {
    position: absolute;
    left: 140px;
    top: 4px;
}
.submenu__soft {
    display: block;
    position: relative;
    width: 100%;
    height: 48px;
    margin-bottom: 8px;
    background: 8px 8px / 32px 32px no-repeat;
    border-radius: 8px;
    padding: 14px 0 0 48px;
    font: 600 14px/20px 'Inter';
    color: #222429;
    text-decoration: none;
}
.submenu__soft:last-child {
    margin-bottom: 0;
}
.submenu__soft:hover {
    background-color: #F7F8FA;
}
.submenu__soft:active {
    background-color: #E8EAED;
}
.submenu__soft:hover:after {
    content: " ";
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: 16px;
    top: 16px;
    background: url("../images/header/arrow-right.svg") center / 16px no-repeat;
}
.header-achiv {
    margin-bottom: 8px;
    width: 100%;
    padding: 16px 32px 16px 96px;
    border: 1px solid #E8EAED;
    border-radius: 8px;
    background: 32px 16px / 40px no-repeat;
    font: 14px/22px 'Inter';
}
.header-achiv b{
    display: block;
    margin-bottom: 4px;
    font: 800 20px/28px 'Inter';
}
html[lang="de"] .header-achiv b{
    font: 800 20px/24px 'Inter';
}
html[lang="es"] .header-achiv b{
    font: 800 17px/24px 'Inter';
}
html[lang="it"] .header-achiv b, html[lang="pt"] .header-achiv b{
    font: 800 18px/26px 'Inter';
}
.header-achiv_year {
    background-image: url("../images/icon/achiv-gem-40-28.svg");
}
.header-achiv_download {
    background-image: url("../images/icon/achiv-down-40-28.svg");
}
.header-achiv_5-star {
    background-image: url("../images/icon/achiv-star-40-28.svg");
}
.header-microsoft {
    display: block;
    width: 100%;
    height: 86px;
    border: 1px solid #E8EAED;
    border-radius: 8px;
    background: url("../images/microsoft_badge.svg") center / auto 82px no-repeat;
}
.header-qa {
    width: 100%;
    background: #F0F7FC url("../images/header/aaq_bg.svg") calc(50% - 36px) 0 / 1266px 112px no-repeat;
}
.header-qa__flex {
    display: flex;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;

    align-items: center;
    justify-content: space-between;
}
.header-qa__icon {
    min-width: 80px;
    height: 80px;
    background: url("../images/header/question-icon.svg");
}
.header-qa__text {
    min-height: 112px;
    padding: 26px 32px;
    font: 400 16px/24px 'Inter';
    color: #676A6E;
}
.header-qa__text b {
    display: block;
    margin-bottom: 8px;
    font: 800 20px/28px 'Inter';
    color: #222429;
}
.header-qa__button {
    background: #1785E6;
    border-radius: 8px;
    padding: 18px 32px;
    font:600 16px/20px 'Inter';
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
}
.header-qa__button:hover{
    background: #2E9DFF;
}
.header-qa__button:active{
    background: #1177D1;
}
.submenu__title {
    font:800 16px/22px 'Inter';
    color: #222429;
    margin-bottom: 22px;
}
.submenu__wrapper-company {
    display: flex;
    flex-flow: column wrap;
    max-height: 430px;
    align-content: start;
}
.submenu-item_company {
    width: calc(33.33333333% - 20px);
    max-width: 320px;
    padding: 10px;
    font:14px/22px 'Inter';
    color: #676A6E;
    text-decoration: none;
}
.submenu-item_company:hover {
    background: #F0F7FC;
}
.submenu-item {
    padding: 16px 24px;
    font:14px/22px 'Inter';
    color: #676A6E;
    border-right: 8px;
}
.submenu-item:hover {
    color: #222429;
    background-color: #F0F7FC;
}
.submenu-item__title {
    display: inline-block;
    vertical-align: middle;
    font:800 16px/22px 'Inter';
    color: #222429;
}
.submenu-item__subtitle {
    display: block;
    margin: 8px 0;
    font: 600 14px/20px 'Inter';
    color: #222429;
    text-decoration: none;
}
.submenu-item__img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: auto;
    height: 40px;
}
.submenu-item__link {
    display: block;
    margin-top: 16px;
    font: 600 13px/20px 'Inter';
    color: #1785E6;
    text-decoration: none;
}
.submenu__list-link {
    display: block;
    padding: 8px;
    font: 14px/24px 'Inter';
    color: #222429;
    text-decoration: none;
    border-radius: 8px;
}
.submenu__list-link:hover {
    background: #F7F8FA url("../images/header/arrow-right.svg") calc(100% - 12px) center / 16px 16px no-repeat;
}
.submenu__list-link:active {
    background-color: #E8EAED;
}

.submenu-article__preview {
    display: block;
    aspect-ratio: 320 / 216;
    width: 100%;
    height: auto;
    background: center / cover;
    border-radius: 8px;
    margin-bottom: 16px;
}
.submenu-article__term {
    display: inline-block;
    margin: 0 8px 8px;
    font: 800 12px/18px 'Inter';
    color: #00AD62;
    text-decoration: none;
}
.submenu-article__title {
    display: block;
    margin: 0 8px 8px;
    font: 800 20px/28px 'Inter';
    color: #222429;
    text-decoration: none;
}
.submenu-article__date {
    margin: 0 8px;
    font: 14px/22px 'Inter';
    color: #8B8C8F;
}
.submenu-article__all {
    display: block;
    margin: 38px 10px 48px;
    width: calc( 100% );
    height: 56px;
    border: 1px solid #CDCED1;
    border-radius: 8px;
    padding-top: 17px;
    text-align: center;
    font: 600 16px/20px 'Inter';
    color: #404347;
    text-decoration: none;
}

.menu__item {
    height: 100%;
    cursor: pointer;
}
.menu__link {
    display: block;
    padding: 23px 16px 0;
    height: 100%;
    color: #222429;
    font: 500 14px/18px 'Inter';
    text-decoration: none;
    text-transform: uppercase;
}
.menu__item:hover .menu__link {
    color: #1785E6;
    border-bottom: 2px solid #1785E6;
}
.submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 64px;
    width: 100%;
    background: #fff;
    border-top: 1px solid #E8EAED;
}
.menu__item:hover .submenu {
    display: block !important;
    cursor: default;
}
#menu-viewer {
    display: none;
}
.menu__store {
     display: inline-block;
     vertical-align: top;
     padding-left: 28px;
     color: #222429;
     background: url("../images/header/bag.svg") 0 0 no-repeat;
     font: 600 13px / 24px 'Inter', sans-serif;
     text-decoration: none;
 }
