@charset "UTF-8";
.RForm {
    margin-top: 15px;
}

.form-wrap {
    max-width: 800px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

.input-wrap input,
.input-wrap select {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.submit {
    -webkit-appearance: none;
    line-height: 1;
    text-transform: uppercase
}

@media (max-width:767px) {
    .bc-form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .input-wrap .button-wrap {
        border: none
    }
    .form-wrap {
        padding: 0 15px;
        margin: 0 auto
    }
    .checkbox-terms {
        color: #393939
    }
    .checkbox-wrap {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }
    .checkbox-wrap .checkbox {
        width: 40px
    }
    .phone-wrap .phone-code {
        width: 23%
    }
    .phone-wrap .phone-number {
        width: 72%
    }
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    position: relative
}

.form-wrap {
    max-width: 400px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
}

.bc-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 20px
}

.input-wrap.button-wrap {
    margin-bottom: 0;
}

.page-form-title {
    color: #2d2f32;
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    margin-bottom: 18px
}

.input-wrap input,
.input-wrap select {
    font-size: 14px;
    height: 48px;
    border: 1px solid #bababa;
    width: 100%;
    padding: 0 10px;
    border-radius: 50px;
}

.phone-wrap .phone-code {
    width: 23%
}

.phone-wrap .phone-number {
    width: 72%
}

.phone-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.submit {
    width: 100%;
    -webkit-appearance: none;
    font-size: 16px;
    color: #ffffff;
    background: #385ec6;
    display: inline-block;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
    transition: .4s;
    outline: none;
    border: none;
    height: 50px;
    cursor: pointer;
    text-transform: lowercase;
}

.submit:hover {
    box-shadow: 0 0 25px 5px rgba(5, 140, 221, 1);
}

input.error {
    border: 1px solid #dc8d99 !important;
    color: #d85030
}

.checkbox-terms {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    vertical-align: middle;
    color: #393939;
    display: block;
}

.checkbox-terms a {
    color: #393939 !important;
}

a:active,
a:hover,
button,
input,
select,
textarea {
    outline: 0
}

.submit-btn-error {
    position: absolute;
    left: 0;
    top: -18px;
    width: 100%;
    color: red;
    font-size: 12px
}

@media (min-width:768px) and (max-width:860px) {
    .bc-form {
        padding: 0 15px
    }
}

@media (max-width:767px) {
    .bc-form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .input-wrap .button-wrap {
        border: none
    }
    .form-wrap {
        padding: 0 15px
    }
    .checkbox-terms {
        color: #393939
    }
    .checkbox-wrap {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }
    .checkbox-wrap .checkbox {
        width: 40px
    }
    .phone-wrap .phone-code {
        width: 23%
    }
    .phone-wrap .phone-number {
        width: 72%
    }
    .input-wrap .select-country {
        height: 40px
    }
}

input[type=checkbox] {
    -webkit-appearance: none;
}

label {
    cursor: default;
    vertical-align: middle
}

.checkbox-terms {
    padding-left: 30px;
}

.page-form-block_modal .page-form-title {
    font-size: 28px;
    text-align: center;
    margin-top: 20px
}

.page-form-block_modal .section-video-lesson-block-button__text_steps {
    text-align: center;
    margin-bottom: 20px
}

.checkbox-wrap input.error~.checkbox-terms {
    color: red !important
}

#privacyPolicy-error {
    display: none !important
}

@media all and (max-width:767px) {
    .checkbox-terms {
        text-align: left;
        font-size: 13px
    }
}

@media (max-width:479px) {
    .checkbox-wrap label:before {
        margin-right: 20px
    }
    .checkbox-terms {
        font-size: 12px
    }
    .form-wrap {
        padding: 0
    }
    .page-form-block_modal .form-wrap {
        padding: 0 15px
    }
}

@media (max-width:340px) {
    .page-form-title {
        font-size: 20px
    }
    input:checked+label:before {
        margin-bottom: 38px
    }
    .checkbox-terms {
        font-size: 11px
    }
}

.bc-form {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-direction: column;
    flex-direction: column;
}

label.error {
    position: absolute;
    left: 0;
    top: -16px;
    width: 100%;
    color: red;
    font-size: 12px
}

.input-wrap input,
.input-wrap select {
    width: 100%;
    color: #393939;
    background-color: #ffffff;
    font-size: 14px;
    padding: 0 10px;
    box-sizing: border-box
}

.phone-wrap .phone-code {
    width: 23%
}

.phone-wrap .phone-number {
    -webkit-flex: 1;
    flex: 1
}

.phone-wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    justify-content: space-between
}

.checkbox {
    -webkit-appearance: checkbox
}

.checkbox-wrap input.error~.checkbox-terms a {
    color: red
}

input.error {
    border: 1px solid #dc8d99;
    color: #d85030
}

.checkbox-terms {
    font-size: 14px;
    vertical-align: middle;
    color: #393939;
}

a:active,
a:hover,
button,
input,
select,
textarea {
    outline: 0
}

.checkbox-terms a {
    text-decoration: underline !important
}

.submit-btn-error {
    position: absolute;
    left: 0;
    top: -16px;
    width: 100%;
    color: red;
    font-size: 12px
}

.popUp-form-register-phone {
    display: -webkit-flex;
    display: flex;
    width: 100%
}

.popUp-form-register-phone .popUp-form-register-phone-wrap {
    box-sizing: border-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 48px
}

.popUp-form-register-phone .popUp-form-register-phone-wrap:after {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    bottom: -14px;
    color: red;
    content: attr(data-error);
    left: 100px;
    position: absolute;
    right: 0;
    text-align: start
}

.popUp-form-register-phone .popUp-form-register-phone-wrap input {
    border-radius: 4px;
    height: 100%;
    padding-left: 100px;
    border-radius: 50px;
}

.popUp-form-register-phone .selected-country-arrow {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center
}

.popUp-form-register-phone .selected-country-arrow .select__icon:focus {
    outline: 0;
    outline-offset: 0;
}

.popUp-form-register-phone .custom-countryElem:hover {
    background-color: #5e5f5f
}

.popUp-form-register-phone .select-drop-menu-hidden .custom-select-wrap {
    max-height: 0;
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .select-drop-menu-hidden .selected-country-arrow {
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .select-drop-menu-show .custom-select-wrap {
    max-height: 200px;
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .select-drop-menu-show .selected-country-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .custom-select-wrap {
    background-color: #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    max-height: 300px;
    overflow-y: scroll;
    position: absolute;
    top: 120%;
    width: 100%;
    z-index: 3
}

.popUp-form-register-phone .selected-country {
    -webkit-align-items: center;
    align-items: center;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: #fff;
    display: -webkit-flex;
    display: flex;
    height: 100%;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 0 10px;
    position: absolute;
    left: 0;
    width: 90px;
}

.popUp-form-register-phone .selected-country-flag {
    -webkit-order: 1;
    order: 1
}

.popUp-form-register-phone .selected-country-arrow {
    -webkit-order: 3;
    order: 3
}

.popUp-form-register-phone .selected-country-code {
    -webkit-order: 2;
    order: 2;
    color: #393939;
}

.popUp-form-register-phone-wrap.success.select-drop-menu-show .selected-country-code {
    color: #393939;
}

.popUp-form-register-phone .selected-country-flag img {
    height: 18px;
    width: 24px
}

.popUp-form-register-phone .custom-countryElem {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    padding: 10px 0 10px 12px;
    color: #393939;
}

.popUp-form-register-phone .custom-countryElem img {
    height: 18px;
    margin-right: 12px;
    width: 24px
}

.popUp-form-register-phone .custom-select-country {
    width: 50px
}

@media (max-width:767px) {
    .bc-form {
        -webkit-flex-direction: column;
        flex-direction: column
    }
    .input-wrap {
        width: 100%
    }
    .checkbox-wrap {
        -webkit-align-items: flex-start;
        align-items: flex-start
    }
    .checkbox-wrap .checkbox {
        width: 46px
    }
}

@media (max-width:650px) {
    .tooltip:after {
        top: -15px
    }
}

@media (max-width:599px) {
    .popUp-form-register-phone .popUp-form-register-phone-wrap input {
        width: 204px;
        max-width: 100%;
    }
}

@media (max-width: 479px) {
    .popUp-form-register-phone .selected-country {
        width: 90px;
    }
}

@media (max-width:359px) {
    .tooltip:after {
        font-size: 10px
    }
}

.modal-shadow {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(1.6px);
    -webkit-backdrop-filter: blur(1.6px);
    z-index: 20;
}

.modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 32px;
    background: #ffffff;
    z-index: 30;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    border-radius: 24px;
}

.modal-window h4 {
    color: #393939;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    margin: 20px 0;
    text-align: center;
    text-wrap: balance;
}

.modal-window p {
    color: #8e8e93;
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    margin: 0 auto 24px;
    max-width: 534px;
    text-align: center;
}

.close-popUp {
    position: absolute;
    top: 16px;
    right: 16px;
    transition: 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.modal-shadow,
.modal-window {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-shadow.modal--active,
.modal-window.modal--active {
    opacity: 1;
    visibility: visible;
}

.agreementText {
    font-size: 12px;
    line-height: 22px;
    font-weight: 400;
    color: #393939;
    position: relative;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-left: 35px
}

.agreementText a {
    text-decoration: none;
    transition: .3s
}

.input-wrap.checkbox-wrap {
    width: 100%;
    color: #5c647a;
    text-align: left;
}

.checkbox-wrap input {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 20px !important;
    height: 20px;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 2px;
    background-color: transparent;
    border: 1px solid #393939;
}

.checkbox-wrap input:after,
.checkbox-wrap input:before {
    content: "";
    position: absolute;
    background-color: #393939;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity .3s ease
}

.checkbox-wrap input:before {
    width: 3px;
    height: 9px;
    left: 11px;
    top: 4px
}

.checkbox-wrap input:after {
    width: 8px;
    height: 3px;
    top: 9px;
    left: 3px;
}

.checkbox-wrap input:checked:after,
.checkbox-wrap input:checked:before {
    opacity: 1;
}

@media (max-width: 575px) {
    .modal-window h4 {
        font-size: 24px;
        line-height: 30px;
    }
    .bc-form {
        padding: 0;
    }
}