:root {
    --brand-2: #3C56BC;
}

.btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
    background: none;
    font-family: Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.btn:hover,
.btn:focus,
.btn:active {
    outline: none;
}

.btn_outline {
    --btn-bgc: rgba(0, 0, 0, 0.25);
    --btn-c: var(--brand-2);
    --btn-trans-dur: .2s;
    border-radius: 4px;
    color: var(--btn-c);
    fill: var(--btn-c);
    overflow: hidden;
    padding: 0 1.25em;
    border: 1px solid var(--btn-c);
}

.btn_l {
    font-size: 1.2em;
    min-height: 2.5em;
}

.btn_primary {
    --btn-bgc: #34bc5a;
    --btn-c: #fff;
    --btn-trans-dur: .2s;
    background-color: var(--btn-bgc);
    border-radius: 4px;
    color: var(--btn-c);
    fill: var(--btn-c);
    overflow: hidden;
    padding: 0 1.25em;
    transition: var(--btn-trans-dur) box-shadow ease, var(--btn-trans-dur) background-color ease, var(--btn-trans-dur) color ease;
    box-shadow: 0 1em 1em -1em rgba(0, 0, 0, 0);
}

.section_default {
    padding: var(--spacing_content);
}

.bg_light {
    --c-bg: #F3F7FC;
    background-color: var(--c-bg);
}

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

.section_default .section__container {
    width: var(--width_page);
    max-width: 100%;
    margin: auto;
}

.swiper__container {
    overflow: visible;
    -webkit-transition: opacity .25s;
    transition: opacity .25s;
}

.swiper_h .swiper__wrapper {
    margin-left: 0!important;
    margin-right: 0!important;
}

.swiper_h .swiper__wrapper, .swiper_v .swiper__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.swiper__slide {
    max-width: 100%;
    background-position: center center;
    background-size: cover;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

@media (min-width:1200px) {
    .section_default .section__header {
        margin-bottom: 3rem;
    }
}
@media (min-width:768px) and (max-width:1199px) {
    .section_default .section__header {
        margin-bottom: 2rem;
    }
}
@media (max-width:767px) {
    .section_default .section__header {
        margin-bottom: 1.5rem;
    }

    .level-test__content__box__video {
        width: 95%!important;
        max-width: 394px;
    }

    .level-test__answers {
        margin: 0 10px;
        padding: 0 !important;
    }
}
.section_default .section__header_center {
    text-align: center;
}

@media (min-width:768px) {
    .fs_display {
        font-size: 150%;
    }
}
@media (min-width:768px) and (max-width:1199px) {
    .fs_display {
        font-size: calc(1rem + .5 * (100vw - 48rem) / (75 - 48));
    }
}

.level-test-h2{
    padding-top: 3rem;
    padding-bottom: 1px;
    line-height: 1.25;
    color: var(--c-header);
    font-size: 30px;
    font-weight: bold;
}

.level-test-h2:before{
    content: '';
    display: block;
    margin-top: -.25em;
}

.level-test-h2:after{
    content: '';
    display: block;
    margin-bottom: -.25em;
}

.level-test__header {
    text-align: center;
}

.level-test__title {
    color: #333!important;
}
.level-test__body {
    --grid-col: 2;
    --grid-gap: 2rem;
    display: grid;
    grid-gap: var(--grid-gap);
    align-items: stretch;
}
@media (min-width:768px) {
    .level-test__body {
        grid-template-columns: 4fr 6fr;
        grid-template-areas: "media answers" ". next";
    }
}
@media (max-width:767px) {
    .level-test__body {
        grid-template-columns: 1fr;
        --grid-gap: 1.5rem;
    }
}
.level-test__step {
    opacity: 0 !important;
    padding: 30px 0;
}
.level-test__step_final {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.level-test__step.swiper__slide_active {
    opacity: 1 !important;
    z-index: 5;
}
.level-test__media {
    position: relative;
    grid-area: media;
}
@media (max-width:767px) {
    .level-test__media {
        /*padding-bottom: 59%;*/
    }
}
.level-test__media video {
    display: block;
    background-color: rgba(0,0,0,.1);
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
}

.level-test__step_success .level-test__media:not(.j-not-comment-leveltest) .level-test__content__box__sound,
.level-test__step_error .level-test__media:not(.j-not-comment-leveltest) .level-test__content__box__sound,
.level-test__step_success .level-test__media:not(.j-not-comment-leveltest) img,
.level-test__step_error .level-test__media:not(.j-not-comment-leveltest) img {
    display: none;
}
.level-test__answers {
    counter-reset: section;
    grid-area: answers;
}
.level-test__next {
    display: flex;
    grid-area: next;
}
.level-test__comment {
    position: absolute;
    display: none;
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 1rem -0.5rem rgba(0, 0, 0, 0.12), 0 1.5rem 1.5rem -1rem rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}
@media (max-width:767px) {
    .level-test__comment {
        max-height: 100%;
        overflow: auto;
    }
}
.level-test__step_success .level-test__comment:not(.j-not-comment-leveltest),
.level-test__step_error .level-test__comment:not(.j-not-comment-leveltest) {
    display: block;
}
.level-test__btn-answer {
    --btn-bgc: #fff;
    --btn-c: #000;
    --btn-border-c: #fff;
    --btn-trans-dur: .2s;
    background-color: var(--btn-bgc);
    border-radius: 4px;
    color: var(--btn-c);
    fill: var(--btn-c);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.12);
    text-align: left;
    display: block;
    transition: all 0.125s ease;
    overflow: hidden;
    padding: 0.41666667em 0.83333333em 0.41666667em 2.5em;
    width: 100%;
    min-height: 2.5em;
    font-size: 1.2em;
}
@media (min-width:768px) {
    .level-test__btn-answer {
        font-size: 1.4em;
    }
}
.level-test__btn-answer:hover {
    --btn-c: var(--brand-2);
    box-shadow: 0 1.5rem 1.5rem -1rem rgba(0, 0, 0, 0.25);
    z-index: 5;
}
.level-test__btn-answer:before {
    font-size: 1em;
    counter-increment: section;
    display: block;
    box-sizing: border-box;
    content: counters(section, ".");
    opacity: .125;
    width: 2.5em;
    text-align: center;
    margin-bottom: 1rem;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}
.level-test__btn-answer.btn_active {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.12) inset;
}
.level-test__step_success .level-test__btn-answer.btn_active {
    --btn-bgc: #b9f3c7;
    background-color: #b9f3c7;
}
.level-test__step_error .level-test__btn-answer.btn_active {
    --btn-bgc: #f6c4ca;
    background-color: #f6c4ca;
}
.level-test__btn-answer[disabled] {
    opacity: 1;
}
.level-test__btn-answer + .level-test__btn-answer {
    margin-top: 1rem;
}
.level-test__btn-continue {
    display: none;
}
.level-test__step_success .level-test__btn-continue,
.level-test__step_error .level-test__btn-continue {
    display: block;
}
.level-test__step_success .level-test__btn-skip,
.level-test__step_error .level-test__btn-skip {
    display: none;
}

.box_default {
    --box-spacing: 1.5rem;
}
@media (min-width:1200px) {
    .box_default {
        --box-spacing: 2rem;
    }
}
.box_default .box__header {
    margin-bottom: var(--box-spacing);
}
.box_default .box__footer {
    margin-top: var(--box-spacing);
}

.btn_inline {
    display: inline-flex;
}

.level-test__content__box__sound {
    display: none;
    margin-bottom: 45px;
}

.level-test__content__box__video {
    width: 394px;
    height: 221px;
    margin: 0 auto 45px;
    border: 3px solid #d7d7d7;
    background-color: #e4e4e4;
}

.level-test__content__box__video video {
    width: 100%;
    height: 100%;
    background: #d7d7d7;
}

.level-test__content__box__video {
    position: relative;
}

.level-test__media video {
    display: block;
    background-color: rgba(0,0,0,.1);
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
}

.level-test__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    background-color: transparent;
}

.level-test__content__box__video__play-btn {
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #73bbc6;
    -webkit-box-shadow: 0 4px 0 #64a0aa;
    box-shadow: 0 4px 0 #64a0aa;
    width: 69px;
    height: 60px;
    border-radius: 3px;
}

.level-test__content__box__sound__play__icon {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-45%, -45%);
    -ms-transform: translate(-45%, -45%);
    -o-transform: translate(-45%, -45%);
    transform: translate(-45%, -45%);
    border-left: 18px solid #fff;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
}

.level-test__btn-answer {
    background-color: #ffffff;
}


.level-test__final-title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 24px;
}

.level-test__final-subtitle {
    font-size: 29px;
}

.level-test__final-img {
    margin-bottom: 60px;
}

.level-test__final-img svg {
    max-width: 100%;
}

@media (max-width: 768px) {
    .level-test__final-title {
        font-size: 24px;
    }

    .level-test__final-subtitle{
        font-size: 18px;
    }

    .level-test__final-img {
        margin: 35px 0;
    }
}
