@charset "UTF-8";

.form-wrap {
    max-width: 800px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Montserrat-Regular, 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: #000
    }

    .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
}

@font-face {
    font-family: Montserrat-Regular;
    font-weight: 400;
    font-style: normal;
    src: url(../images/Montserrat-Regular.woff) format("woff"),
    url(../images/Montserrat-Regular.woff) format("woff");
}

@font-face {
    font-family: Montserrat-Light;
    font-weight: 300;
    font-style: normal;
    src: url(../images/Montserrat-Light.woff) format("woff"),
    url(../images/Montserrat-Light.woff) format("woff");
}

@font-face {
    font-family: Montserrat-Bold;
    font-weight: 700;
    font-style: normal;
    src: url(../images/Montserrat-Bold.woff) format("woff"),
    url(../images/Montserrat-Bold.woff) format("woff");
}

.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
}

label.error {
    position: absolute;
    left: 0;
    top: -18px;
    width: 100%;
    color: red;
    font-size: 11px
}

.page-form-title {
    color: #2d2f32;
    font-family: Montserrat-Bold, sans-serif;
    font-size: 36px;
    margin-bottom: 18px
}

.input-wrap input,
.input-wrap select {
    font-size: 14px;
    height: 54px;
    border: 1px solid #bababa;
    width: 100%;
    padding: 0 10px;
    border-radius: 3px
}

.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: 17px;
    color: #ffffff;
    background: #474747;
    display: inline-block;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    -webkit-transform: scale(1, 1) translate3d(0, 0, 0);
    transform: scale(1, 1) translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform .2s linear;
    transition: transform .2s linear, -webkit-transform .2s linear;
    border: none;
    height: 54px;
    cursor: pointer
}

input.error {
    border: 1px solid #dc8d99 !important;
    color: #d85030
}

.checkbox-wrap .checkbox {
    width: 20px;
    height: 20px;
    margin: 2px 5px 0 2px;
    float: left;
    vertical-align: middle;
    cursor: pointer
}

.checkbox-terms {
  font-family: 'schrift', Arial, sans-serif;
    font-size: 14px;
    vertical-align: middle;
    color: #ffffff !important
}

.checkbox-terms a {
    color: #ffffff !important;
    text-decoration: underline !important
}

a:active,
a:hover,
button,
input,
select,
textarea {
    outline: 0
}

.checkbox-wrap {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.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: #000
    }

    .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: 54px
    }
}


input[type=checkbox] {
    opacity: 0;
    position: absolute;
    left: -99999px
}

label {
    cursor: default;
    vertical-align: middle
}

.checkbox-wrap label:before {
    content: "";
    display: inline-block;
    margin-right: 30px;
    position: relative;
    text-align: center;
    text-indent: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ffffff;
    border-radius: 6px;
    -o-border-image: initial;
    border-image: initial;
    vertical-align: middle;
    margin-bottom: 30px;
    float: left
}

input:checked~label:before {
    content: "";
    background: url(../images/icon_checkbox_form.png) center no-repeat;
    background-size: cover;
    float: left;
    margin-bottom: 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
    }

    .submit {
        font-size: 15px
    }
}

@media (max-width:340px) {

    .page-form-title {
        font-size: 20px
    }

    input:checked+label:before {
        margin-bottom: 38px
    }

    .checkbox-terms {
        font-size: 11px
    }
}

/* ============================================= */
/* ========== transition to three fields ======= */
.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
}

.input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 18px
}

label.error {
    position: absolute;
    left: 0;
    top: -16px;
    width: 100%;
    color: red;
    font-size: 12px
}

.input-wrap input,
.input-wrap select {
    width: 100%;
    color: #ffffff;
    border-radius: 5px;
    background-color: transparent;
    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-wrap .checkbox {
    width: 20px;
    height: 20px;
    float: left;
    vertical-align: middle;
    cursor: pointer;
    margin: 2px 10px 0 2px
}

.checkbox-terms {
    font-size: 14px;
    vertical-align: middle;
    color: #fff !important;
    opacity: .7
}

a:active,
a:hover,
button,
input,
select,
textarea {
    outline: 0
}

.checkbox-wrap {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center
}

.checkbox-terms a {
    text-decoration: underline
}

.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: 54px
}

.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: 115px
}

.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;
    margin-top: 5px;
}

.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: inherit;
    opacity: 0.7;
}

.popUp-form-register-phone-wrap.success.select-drop-menu-show .selected-country-code {
    color: inherit;
}

.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: #000
}

.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) {
    
    .bc-form-second .popUp-form-register-phone .popUp-form-register-phone-wrap {
        height: 56px;
    }

    .popUp-form-register-phone .selected-country {
      width: 90px;
    }
}

@media (max-width:359px) {
    .tooltip:after {
        font-size: 10px
    }
}

.sticky-header-img {
    height: auto;
    width: 40px !important;
    position: relative;
    bottom: 5px;
}

.tn-atom.logo {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
}

.tn-atom.logo span {
    color: rgb(120, 181, 255);
    font-family: inherit;
    text-align: center;
    display: inline-block;
    font-family: "Montserrat", Arial, sans-serif;
}

@media (max-width: 575px) {
    .tn-atom.logo .tn-atom__img.t-img.loaded {
        width: auto;
    }

    .tn-atom.logo .tn-atom__img.t-img.mobile.loaded {
        width: 40px;
    }
}