.vars-block img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.vars-block .block .pic {
    background: none;
}

.vars-block .block .pic::before {
    display: none !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield;
}


.err-message {
    color: red !important;
    font-size: 12px !important;
    text-align: center;
    margin-top: 10px;
}

.err-message {
    display: none;
}

.error-block {
    border-color: #FF4D4D !important;
}

.preloader.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

.preloader {
    z-index: 9999;
    position: fixed;
    /* фиксируем поверх всего */
    top: 0;
    left: 0;
    width: 100vw;
    /* на всю ширину экрана */
    height: 100vh;
    /* на всю высоту экрана */
    background: rgba(0, 0, 0, 0.35);
    /* затемнение, можно увеличить/уменьшить прозрачность */
    transition: opacity 0.3s;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader .preloader-round {
    animation: rotate 1s 0s linear infinite;
    position: relative;
    /* не absolute! */
    width: 50px;
    height: 50px;
    border: 4px solid #0056F3;
    border-radius: 50%;
    border-bottom-color: transparent;
}

@keyframes rotate {
    0% {
        transform: rotate(0) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(.6);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.tg-inputs {
    margin: 0 0 20px;
}

.btn-wrapper {
    margin-top: 20px;
}

.tg-inputs.error {
    margin-bottom: 0 !important;
}

.first-screen {
    position: relative;
    margin-top: 64px;
}

.first-screen h1,
.first-screen .descr,
.first-screen .btn {
    z-index: 2;
    position: relative;
}

.first-screen .descr {
    font-weight: 300;
}

.first-screen-background,
.first-screen-background-mobile {
    display: block;
    width: 100%;
    object-fit: cover;
    position: absolute;
    height: 100%;
}

.first-screen-background-mobile {
    display: none !important;
}

footer .corp {
    margin: 0 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    display: table;
    text-decoration: none;
    font-weight: 300;
}

footer .corp:hover {
    border-color: rgba(255, 255, 255, 0);
}

.progress-panel .all {
    max-width: 480px;
}

.progress-panel .all.big {
    max-width: 706px;
}

.cookie-popup {
    z-index: 9999;
}

.choose-course img {
    display: block;
    position: absolute;
    width: 44px;
    border-radius: 8px;
    height: 44px;
    top: 16px;
    left: 12px;
    object-fit: cover;
}

.tooltip-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: opacity 0.2s;
}

.tooltip-icon {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: opacity 0.2s;
}

/* Позиционируем тултип относительно иконки */
.tooltip-popup {
    position: absolute;
    top: 38px;
    /* left: 50%;
    transform: translateX(-50%); */
    background: #E6E6E6;
    color: #1D1D1D;
    border-radius: 10px;
    padding: 14px 20px 14px 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
    min-width: 220px;
    width: max-content;
    max-width: 500px;
    font-size: 13px;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s;
    font-weight: 300;
    line-height: 16px;
    box-sizing: border-box;
    right: auto;
}

.tooltip-arrow {
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #E6E6E6;
    z-index: 11;
    pointer-events: none;
    border-radius: 3px;
    top: 33px;
    opacity: 0;
    transition: opacity 0.1s;
    right: 2px;
}

/* .tooltip-wrapper:hover .tooltip-popup,
.tooltip-wrapper:focus-within .tooltip-popup {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.2s;
} */

/* .icon:hover .tooltip-arrow,
.icon:focus .tooltip-arrow,
.tooltip-icon:focus-within .tooltip-arrow {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.1s;
} */
.tooltip-popup.visible,
.tooltip-arrow.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}


.tooltip-icon .icon {
    position: relative;
    transition: opacity 0.2s;
}

.tooltip-icon .icon .tooltip-arrow {
    position: absolute;
    transition: opacity 0.2s;
}

.checkbox {
    margin-bottom: 10px;
}

.attantion-block.blue {
    background: #E5EEFE !important;
    border-color: #A5BDE7 !important;
    font-weight: 400;
}

.attantion-block.red {
    background: #FF4D4D6E !important;
    border-color: #FC7878 !important;
    font-weight: 400;
}

.bloquote {
    margin: 20px 0 40px;
    display: block;
    padding: 0 0 0 30px;
    position: relative;
}

.bloquote:before {
    content: '';
    display: block;
    position: absolute;
    width: 3px;
    top: 2px;
    bottom: 0px;
    left: 0;
}

.bloquote.gray:before {
    background: #e9ecef;
}

.bloquote.blue:before {
    background: #A5BDE7;
}

.customo-desc li {
    break-inside: avoid;
    background: url(/local/templates/.default/assets/img/checked-ic.svg) top 4px left/16px auto no-repeat;
    position: relative;
    padding-left: 24px;
}

.customo-desc ul {
    Padding: 0;
    margin: 0;
    list-style-type: none;
    padding: 0;
    margin: 20px 0 40px;
}

.blue-text {
    color: #0056F3 !important;
    font-weight: 500;
}

.customo-desc table {
    font-size: 14px;
    line-height: 125%;
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    white-space: nowrap;
    display: block;
}

.customo-desc table,
.customo-desc td,
.customo-desc th {
    border: none !important;
}

.customo-desc table th {
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 20px;
    font-weight: 500;
}

.customo-desc table th:first-child,
.customo-desc table td:first-child {
    padding-left: 0;
}

.customo-desc table th:last-child,
.customo-desc table td:last-child {
    padding-right: 0;
}

.customo-desc table td {
    border-bottom: 1px solid #e9ecef;
    padding: 10px 20px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .tooltip-popup {
        min-width: 120px;
        max-width: 300px;
        width: max-content;
        font-size: 12px;
        padding: 12px 8px 10px 8px;
        /* left: -80px;
        transform: translateX(-50%); */
        transition: opacity 0.2s;
    }

    .first-screen {
        height: 100%;
    }

    .first-screen-background {
        display: none !important;
    }

    .first-screen-background-mobile {
        display: block !important;
    }
}

.register_tg_btn {
    display: table;
    position: relative;
    color: #0056F3;
    text-decoration: none;
    padding-left: 34px;
    font-size: 14px;
    line-height: 20px;
}

.register_tg_btn_small {
    display: table;
    position: relative;
    margin: 0 0 28px;
    color: inherit;
    text-decoration: none;
    padding-left: 34px;
    font-size: 11px;
}

.selectable {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: none;
}

#action-btn {
    position: absolute;
    display: none;
    z-index: 1000;
}

.chat-block {
    padding: 0 0 290px;
}

.account-exit {
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
    color: black;
}

.account-exit:hover {
    color: #0056F3;
}

.no-arrow span:after {
    content: unset !important;
}

#email-form .into {
    padding: 32px 40px 40px;
}

#email-form .all {
    justify-content: right;
}

@media (max-width: 700px) {
    #email-form .into {
        padding: 24px 12px 48px;
        left: 0;
        bottom: 0;
        height: auto;
        transform: translateY(150dvh);
        transition: transform 0.3s ease;
        top: auto;
        border-radius: 16px 16px 0 0;
    }

    #email-form.visible .into {
        transform: none;
    }
}

.step-email .title {
    text-align: center;
    margin-bottom: 20px;
}

.days-list .d:hover {
    cursor: pointer
}

.btn-custom {
    cursor: pointer;
    border: 0;
    font-family: inherit;
    transition: all 0.3s ease;
    display: table;
    color: #fff;
    text-decoration: none;
    line-height: 52px;
    background: #1E5CFF;
    padding: 0 40px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 300;
}

.tab-btn {
    color: black;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
}

.menu-page nav .row:hover>.tab-btn,
.menu-page nav .row.open>.tab-btn {
    color: #0056F3;
}

.menu-page nav .row.open>.tab-btn:before {
    opacity: 1;
}

.menu-page nav .row>.tab-btn:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #0056F3;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.menu-page nav .row:hover .tab-btn:after,
.menu-page nav .row.open .tab-btn:after {
    filter: none;
}

.tab-btn:after {
    display: block;
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url(/local/templates/.default/assets/img/menu-arr.svg) center center no-repeat;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(50%);
}

.ib {
    color: #1D1D1D;
    display: inline-block !important;
}

[error-text] {
    font-weight: 300;
}

.hidden {
    display: none !important;
}

#alert-form {
    z-index: 99999999;
}

#alert-form .into {
    height: auto;
    position: relative;
}

.blank {
    display: inline-block !important;
    text-decoration: none !important;
    color: #1D1D1D !important;
    position: unset !important;
}

.dark .popup .into {
    background: #424242;
}

.dark .popup.small .into .close:not(.btn) {
    filter: brightness(0) invert(1);
}

.first-screen div.large-text {
    z-index: 2;
    position: relative;
    font-size: 60px;
    line-height: 100%;
    font-weight: 500;
    padding: 0;
    margin: 0 0 20px;
}

@media all and (max-width: 1300px) {
    .first-screen div.large-text {
        font-size: 50px;
    }
}

@media all and (max-width: 1000px) {
    .first-screen div.large-text {
        font-size: 36px;
    }
}

@media all and (max-width: 700px) {
    .first-screen div.large-text {
        font-size: 36px;
        margin: 0 0 12px;
    }
}

/*start articles*/

.articles h2,
.articles h3 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.articles h1 {
    font-size: 55px;
    line-height: 55px;
    text-align: left;
}

.articles h2 {
    font-size: 32px;
    text-align: left;
}

.articles .image-wrapper {
    display: flex;
    max-width: 100%;
    line-height: 0;
    justify-content: center;
}

.articles .image-wrapper img {
    max-height: 550px;
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.articles .btn-wrapper {
    display: flex;
    justify-content: center;
}

.articles p {
    text-align: justify;
}

/*end articles*/

.typing-wrap .text {
    font-weight: 300;
    opacity: 1 !important;
}

.block.blue.pop-link {
    text-decoration: none;
}

.menu-page .bottom a.telegram:before {
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0%);
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url(/local/templates/.default/assets/img/telegram.svg) center center no-repeat;
}

.menu-page .bottom a.telegram {
    display: table;
    position: relative;
    padding-left: 32px;
}

#step-ne-kurs div.all .title,
#step-tariff div.all .title,
#step-free-tariff div.all .title {
    text-align: start;
}

.dark .attantion-block.blue {
    background: #70A0F9 !important;
}

@media (max-width: 700px) {
    .popup.small .form-block.write-que .inp-txt {
        line-height: 16px;
    }
}

@media (max-width: 1000px) {
    header nav {
        padding: 36px 17px;
        z-index: 50;
        position: fixed;
        left: -100vw;
        height: 100%;
        transition: left 0.3s ease;
        width: 100%;
        background: #fff;
    }
}


#ritual .into {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#ritual .title {
    flex-shrink: 0;
}

#ritual .wrap {
    flex: 1;
    scrollbar-width: thin;
    overflow: auto;
}

#ritual .btn-wrap {
    flex-shrink: 0;
}

#ritual .phrases-block {
    padding: 0;
}

.popup.small .btn-wrap {
    position: unset;
}

.success-message {
    display: table;
    position: relative;
    margin: 0 0 28px;
    color: #32CD32;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

@media (max-width: 370px) {
    .popup.small thead tr th {
        text-wrap: auto;
    }

    .popup.small .title {
        text-wrap: auto;
        width: 80%;
    }
}

@media (max-width: 700px) {
    .popup.small.diagram-form .into {
        width: 100% !important;
        max-width: 100% !important;
    }

    .popup.small form table {
        display: table !important;
    }
}

@media (max-height: 800px) {
    .popup.small .into {
        max-height: 80%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .popup.small .title {
        flex-shrink: 0;
    }

    .popup.small form {
        flex: 1;
        scrollbar-width: auto;
        overflow: auto;
    }
}

.modules-list .block {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modules-list .block .title,
.modules-list .block .chars div {
    color: #333;
    transition: color 0.3s ease;
}

.modules-list .block:hover .title,
.modules-list .block:hover .chars div {
    color: #0056F3;
}

.modules-list .block {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.modules-list .block:hover {
    box-shadow: 0 4px 12px rgba(0, 56, 243, 0.2);
}

.popup .questions-rules {
    scrollbar-width: thin;
}

.calendar .monthes {
    scrollbar-width: thin;
}

.menu-page .bottom a.max:before {
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(50%);
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url(/local/templates/.default/assets/img/max.svg) center center no-repeat;
}

.menu-page .bottom a.max {
    display: table;
    position: relative;
    padding-left: 32px;
}

.survey-item select {
    font-family: 'Unbounded', sans-serif;
    padding: 0.7em;
    font-size: 16px;
    line-height: 1.4;
    width: 100%;
    max-width: 320px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    background-color: #fff;
    color: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.survey-item select:focus {
    outline: none;
    border-color: #0056F3;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.survey-item select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.menu-page .bottom a.dzen:before {
    transition: all 0.3s ease;
    filter: grayscale(100%);
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url(/local/templates/.default/assets/img/dzen.svg) center center no-repeat;
}

.menu-page .bottom a.dzen {
    display: table;
    position: relative;
    padding-left: 32px;
}

.progress-block .left div {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 335px) {
    .progress-block .left a.bold-text {
        font-size: 80%;
    }

    .progress-block .left a.base-text {
        font-size: 80%
    }
}

.progress-block .left a.bold-text {
    font-weight: bold;
}

.progress-block .left a.base-text {
    color: #8A8A8A;
    font-weight: unset;
}

.progress-block .left a.bold-text:after {
    transition: opacity 0.3s ease;
    content: '';
    display: block;
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #0056F3;
}

@media (max-width: 700px) {
    .cookie-popup .wrap .title {
        width: 80%;
    }
}

.actions-banner {
    position: relative;
    background-color: #ff4d4d;
}

.actions-banner .actions-banner-elements {
    margin: 0 auto;
    max-width: 1360px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.actions-banner p {
    white-space: nowrap;
    font-size: 16px;
    font-weight: unset;
    color: white;
}

.actions-banner a.btn {
    border-radius: 12px;
    font-weight: normal;
    padding: 8px 16px;
    line-height: normal;
    font-size: 12px;
    margin-left: 20px;
    background: white;
    color: #1D1D1D;
}

.actions-banner .counter-block {
    width: 100%;
    justify-content: flex-end;
    background: none;
    border-radius: 24px;
    padding: 9px 0;
    max-width: unset;
    margin: unset;
    font-size: unset;
    font-weight: unset;
}

.actions-banner .counter-block .block {
    margin: 0 10px;
    text-align: center;
}

.actions-banner .counter-block .top {
    font-size: 16px;
    color: #FFDADA;
    line-height: 100%;
    margin: 0;
    font-weight: 500;
}

.actions-banner .counter-block .bottom {
    color: #FFDADA;
    font-size: 10px;
}

.actions-banner #actions-banner-counter {
    flex-grow: 1;
}

@media (max-width: 1200px) {
    .actions-banner .actions-banner-elements {
        padding: 0 20px;
    }
}

@media (max-width: 500px) {
    .actions-banner p {
        white-space: wrap;
        font-size: 12px;
        font-weight: unset;
        line-height: normal;
        color: white;
    }
}

@media (max-width: 1000px) {
    .actions-banner a.btn {
        display: none;
    }

    .actions-banner a::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    header div.all {
        margin-top: 0;
    }

    header .actions-banner {
        margin-top: 0;
    }
}

@media (min-width: 1000px) {
    header.scrolled .actions-banner .btn:not(.try) {
        display: block;
    }
}

body.no-scroll {
    overflow: hidden;
    height: 100%;
}

.nocources-slider {
    margin-bottom: 20px;
}

.nocources-slider:last-child {
    margin-bottom: 20px;
}

.popup.nocourse-info {
    border-radius: 0;
}

@media (max-width: 1000px) {
    #nocourse-info1 .all {
        margin-top: 0;
    }
}