/*.bk-main {*/
/*    padding-top: 100px;*/
/*}*/

.lesson {
    padding-left: 0;
}

.sidebar {
    top: 100px;
}

.header,
.aside {
    display: none;
}

.student_aside {
    height: calc(100vh - 120px);

    /* for OFFER */
    position: fixed;
    width: 340px;
    top: 100px;
}

.student_aside__progress-line {
    background-color: var(--color-primary-opacity);
}

.student_aside__progress-line div {
    background-color: var(--color-primary);
}

.student_aside__lesson-item._active {
    background-color: var(--color-primary-opacity);
}

.xpl-audio__play {
    background-color: var(--color-primary-opacity);
}

.xpl-audio__play span {
    background-color: var(--color-primary);
}

.xpl-audio__duration {
    color: var(--color-primary);
}

.xpl-audio__progress::-webkit-slider-thumb {
    background: var(--color-primary);
}

.xpl-audio__progress::-webkit-slider-runnable-track {
    background: var(--color-primary-opacity);
}

.xpl-audio__progress::-webkit-slider-runnable-track {
    background: linear-gradient(var(--color-primary), var(--color-primary)) 0/var(--sx) 100% no-repeat, var(--color-primary-opacity);
}

.student-rec__timer-info {
    color: var(--color-primary);
}

.xpl-audio {
    --accent: var(--color-primary);
    --opacity: var(--color-primary-opacity);
    --play: #EEF2FA;
}

._progress {
    --color: var(--color-primary);
    --color-15: #EEF2FA;
    --color-25: var(--color-primary-opacity);
}

.ef__ext {
    background-color: var(--color-primary);
}

.lcr__buttons-loader {
    background-color: #FFFFFF;
    color: var(--color-primary);
}

.lcr__button {
    background-color: #fff;
    color: var(--color-primary);
}

.lcr__next {
    background: var(--color-primary);
    color: #fff;
}

.lcr__prev .lcr__button-inner::after,
.lcr__next .lcr__button-inner::after {
    background-color: var(--color-primary);
}

.lcr__next .lcr__button-inner::after {
    background-color: #fff;
}

.lcr__sending {
    background-color: #fff;
}

.lcr__buttons-loader span {
    background-color: var(--color-primary);
}

.lcr__loader {
    color: var(--color-primary);
}

.lcr__loader-dot {
    fill: var(--color-primary);
}

._button {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

._button:active {
    background-color: var(--color-primary);
    filter: brightness(0.9);
}

._button:disabled:active {
    background-color: var(--color-primary);
}

.student_test-question__answer input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.student_template__box[data-type=sort] .student_test-question__secondary .student_test-question__answer,
.student_template__box[data-type=queue] .student_test-question__answer {
    background-color: var(--color-primary-opacity);
}

.student-rec__start span {
    background-color: var(--color-primary);
}

.student_template-task__video-icon {
    background-color: var(--color-primary-opacity);
}

.student_template-task__video-rec {
    color: var(--color-primary);
    background-color: var(--color-primary-opacity);
}

.link__icon span, .file__icon span {
    background-color: var(--color-primary);
}

.file._file-loading .file__icon {
    --s: 40px;
    width: var(--s);
    height: var(--s);
    -webkit-mask-image: url('/img/common/audio-loader.svg?1');
    mask-image: url('/img/common/audio-loader.svg?1');
    -webkit-mask-size: var(--s);
    mask-size: var(--s);
    background-color: var(--color-primary);

     background-image: none;
}

.video-popup__btn._ready {
    color: var(--color-primary);
    background-color: var(--color-primary-opacity);
}

.video-popup__btn._active, .video_poster-popup__btn._active {
    background-color: var(--color-primary);
}

.student_aside__backwards {
    display: none;
}

.student_lesson-videobox__descr {
    word-break: break-word;
}

.lcr .warning__main {
    padding: 24px;
}

.lcr .student_lesson-theory h2,
.lcr .warning__main-text h2 {
    line-height: 1.15;
}

.m-xpl__img svg {
    width: 100%;
}

.offer-header__wrapper {
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(51, 51, 51, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    position: fixed;
    z-index: 149;
}

.offer-header__wrapper._active {
    opacity: 1;
    visibility: visible;
}

.offer-header {
    top: 0;
    left: 0;
    right: 0;
    line-height: 1.15;
    background-color: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0px 4px 8px 0px rgba(217, 217, 217, 0.25);
    position: fixed;
    z-index: 149;
}

.offer-header__inner {
    padding: 16px;
    background-color: #fff;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.offer-header__lawyer {
    margin-right: 20px;
    display: flex;
    overflow: hidden;
}

.offer-header__lawyer-avatar {
    --s: 50px;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #fff;
    background-image: url(/img/common/icon-logo-mob.svg);
    display: flex;
    align-items: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    text-transform: uppercase;
}

.offer-header__lawyer-info {
    margin: auto 0;
    overflow: hidden;
}

.offer-header__lawyer-name,
.offer-header__lawyer-pos {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-header__wrapper._active + .offer-header .offer-header__lawyer-name,
.offer-header__wrapper._active + .offer-header .offer-header__lawyer-pos {
    white-space: unset;
}

.offer-header__lawyer-name {
    font-size: clamp(1rem, 0.821rem + 0.476vw, 1.25rem);
    font-weight: 600;
}

.offer-header__lawyer-pos {
    font-size: 16px;
    color: var(--textOpacity);
}

.offer-header__nav {
    display: flex;
    align-items: center;
}

.offer-header__contacts {
    font-size: 16px;
    text-align: right;
}

.offer-header__menu-icon {
    --s: 24px;
    width: var(--s);
    height: var(--s);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.offer-header__menu-icon div {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #989898;
    position: relative;
    transition: background-color 0s ease .2s;
}

.offer-header__wrapper._active + .offer-header .offer-header__menu-icon div {
    background-color: transparent;
}

.offer-header__menu-icon div:before,
.offer-header__menu-icon div:after {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    background-color: #989898;
    position: absolute;
    content: '';
    transition: transform .2s ease .2s, rotate .2s ease 0s;
}

.offer-header__wrapper._active + .offer-header .offer-header__menu-icon div:before,
.offer-header__wrapper._active + .offer-header .offer-header__menu-icon div:after {
    transition: transform .2s ease 0s, rotate .2s ease .2s;
}

.offer-header__menu-icon div:before {
    transform: translateY(300%);
}

.offer-header__wrapper._active + .offer-header .offer-header__menu-icon div:before {
    transform: translateY(0);
    rotate: 45deg;
}

.offer-header__menu-icon div:after {
    transform: translateY(-300%);
}

.offer-header__wrapper._active + .offer-header .offer-header__menu-icon div:after {
    transform: translateY(0);
    rotate: -45deg;
}

.offer-header__hidden {
    display: none;
}

.offer-header__menu {
    width: 100vw;
    height: 75vh;
    padding: 0 14px 50px;
    display: flex;
    flex-direction: column;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: none;
}

.offer-menu__contacts {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    color: var(--textOpacity);
    border-radius: 8px;
    background: var(--bodyBg);
    display: block;
}

.offer-menu__phone {
    margin-bottom: 8px;
    text-decoration: none;
}

.offer-menu__lessons {
    flex-grow: 1;
    overflow: auto;
}

.offer-menu__close {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: block;
    position: absolute;
}

.offer-menu__close:before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 6px;
    background-color: var(--textOpacity);
    border-radius: 4px;
    position: absolute;
    content: '';
}

.offer-lcr__progress {
    margin-bottom: 10px;
    padding: 14px;
    color: var(--textOpacity);
    background-color: #fff;
    border-radius: 10px;
    display: none;
}

.offer-lcr__progress-header {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.15;
    display: flex;
    justify-content: space-between;
}

.video-popup,
.student-video-popup {
    z-index: 150;
}

.offer-plug {
    height: calc(100vh - 120px);
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-plug__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.offer-plug__img {
    max-width: 500px;
    margin-bottom: 50px;
}

.offer-plug__img svg {
    width: 100%;
}

.offer-plug__title {
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
}

.offer-plug__text {
    max-width: 680px;
    font-size: 18px;
}

.auth-invite-link {
    position: relative;
    z-index: 150;
}

.student_test-question__sortitem {
    background-color: var(--color-primary-opacity);
}

.student_aside {
    padding: 0 12px;
}

.student_aside__links {
    margin: 40px 12px 0 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(51, 51, 51, 0.05);
}

.student_aside__link {
    margin-top: auto;
    /*padding-bottom: 10px;*/
    font-size: 14px;
    line-height: 1.15;
    color: #33333370;
    text-decoration: none;
    display: block;
}

.student_aside__link:last-child {
    margin-top: 10px;
    margin-bottom: 20px;
}

.student_aside__link-inner {
    display: flex;
    align-items: center;
}

.student_aside__link-circle {
    margin-right: 12px;
    padding: 6px;
    background: linear-gradient(45deg, #2892E0, #80D7F5);
    border-radius: 50%;
}

.student_aside__link-icon {
    --s: 18px;
    -webkit-mask-image: url(/img/explorer/icon-telegram.svg);
    mask-image: url(/img/explorer/icon-telegram.svg);
    background-color: #fff;
}

.student_aside__link-text {
    flex-grow: 1;
}

.student_aside__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.student_aside__body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.student_aside__modules {
    flex-grow: 1;
    /*margin-bottom: 10px;*/
}

@media screen and (max-width: 767px) {
    .offer-header > ._container {
        padding: 0;
    }

    .offer-header__lawyer-avatar {
        --s: 40px;
        font-size: 16px;
    }

    .offer-header__lawyer-name {
        font-weight: 400;
    }

    .offer-header__nav {
        display: none;
    }

    .offer-header__menu-icon {
        display: flex;
    }

    .offer-lcr__progress {
        display: block;
    }

    .offer-plug {
        min-height: calc(100vh - 92px);
    }

    .student_aside__links {
        margin: 20px 12px 0 12px;
    }
}