input[type="checkbox"]::after,
.checkbox input[type="checkbox"]::after,
.checkbox-inline input[type="checkbox"]::after {
    border: 1px solid #99B5C2 !important;
    background: #F4F9FA !important;
    border-radius: 4px;
}

input[type="checkbox"]:checked::before,
.checkbox input[type="checkbox"]:checked::before,
.checkbox-inline input[type="checkbox"]:checked::before {
    border-color: #565151;
}

.btn-success,
#regbtn {
    height: 50px;
    border-radius: 4px;
    width: 100%;
}

.btn-success {
    font-size: 20px;
}

#regbtn {
    color: #99B5C2 !important;
    font-size: 16px;
    border: 0.75px solid #D0E1EA;
    border-radius: 4px;
    line-height: 35px;
    white-space: normal;
}

.p05 {
    padding: 0px 5px;
}

.error-message {
    font-weight: 200;
    font-size: 14px;
    line-height: 17px;
    color: #CE5347;
    margin: 25px 0;
    padding-top: 5px;
    text-align: center;
}

#regresponse {
    margin-top: 0;
    padding-top: 0;
}

.panel-heading {
    margin-bottom: 30px;
}

#lockimg {
    width: 54px;
    margin: 20px 0 15px;
}

.step-1-reg-text {
    color: rgb(0, 0, 0);
    font-size: 20px;
    text-align: center;
    margin-bottom: 45px;
}

.step-1-school-name {
    margin-top: 10px;
    display: block;
    color: #007DDA;
    font-size: 20px;
}

.reg-check {
    font-size: 18px;
    padding-bottom: 30px;
}

.form-group-custom.has-error input {
    color: #f5543f !important;
}

.form-group-custom.has-error .bar {
    border-color: #f5543f;
}

.form-validation {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 11;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0;
    color: #f5543f;
    transition: .3s;
    text-align: right;
}

#sjselectcont {
    overflow-y: auto;
    padding-left: 10px;
    padding-right: 10px;
    max-height: calc(100vh - 523px);
    padding-top: 10px;
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

#BindCont::-webkit-scrollbar,
#sjselectcont::-webkit-scrollbar {
     width: 4px;
}
#BindCont::-webkit-scrollbar-thumb,
#sjselectcont::-webkit-scrollbar-thumb {
     background-color: #F5BD4F;
}

#sjselectcont .checkbox.checkbox-primary {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5px 0 8px;
}

#sjselectcont .checkbox.checkbox-primary label {
    line-height: 15px !important;
    padding-left: 5px;
    cursor: pointer;
}

#bsjcont label {
    font-size: 16px;
    display: inline-block;
    width: calc(100% - 34px);
}

#bsjcont>div {
    padding-left: 15px;
}

#BindCont {
    height: calc(100vh - 520px);
    overflow-y: auto;
    margin-bottom: 40px;
}

@media all and (max-width: 990px) {
    #sjselectcont {
        max-height: calc(100vh - 520px);
    }
}

@media all and (max-height: 570px) {
    #BindCont {
        height: 100%;
    }
    #sjselectcont {
        max-height: 100% !important;
    }
}

#pregmodal {
    position: fixed;
    top: 0px;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    z-index: 99999;
    padding: 25px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 30px;
    padding-top: 35vh;
    text-align: center;
}

#infoPanel_root {
    text-align: right;
    font-size: 40px;
    cursor: pointer;
    color: #8e8e8e;
    padding-top: 10px;
    padding-bottom: 15px;
    position: absolute;
    top: 20px;
    right: 30px;
}

#gscont .grselectbtn {
    display: block !important;
    height: 50px;
    width: 100%;
    text-align: left;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
}

#gscont {
    padding: 10px 10px 20px;
    overflow-x: hidden;
}

#gscont .LineItem {
    height: auto;
    line-height: 20px;
    padding: 0;
}

#gscont .LineItem .grselectbtn {
    height: auto;
    white-space: normal;
    padding: 14px 15px 14px 18px;
    position: relative;
}

#form-regSchool .title-separate {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #273240;
    margin-bottom: 26px;
}
#form-regSchool .title-separate:not(:first-child) {
    margin-top: 30px;
}

#form-regSchool .input-group-addon {
    position: absolute;
    top: 8px;
    left: 10px;
    border: 0;
    background: #fff;
    pointer-events: none;
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    color: #F7CA6A;
}

#form-regSchool .has-error .input-group-addon {
    color: #f5543f;
}

#warning-text {
    text-align: center;
    color: #5244b3;
    font-weight: bold;
    margin: -25px 0 32px;
}

#content-wrapper {
    padding-top: 150px;
    padding-bottom: 40px;
}
@media all and (max-height: 670px) {
    #content-wrapper {
        padding-top: 80px;
    }
}

.title-form {
    font-weight: 500;
    font-size: 30px;
    line-height: 24px;
    color: #273240;
    text-align: center;
    margin-bottom: 80px;
}
.block-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

.form-security {
    max-width: 580px;
    margin: 0 auto;
}
.form-security .t {
    font-weight: normal;
    font-size: 64px;
    line-height: 77px;
    margin-bottom: 94px;
}

.form-security .form-content {
    width: 880px;
    max-width: 100%;
}

.form-wrap {
    position: relative;
}

.form-validation {
    position: absolute;
    right: 0;
    top: 50px;
    z-index: 11;
    font-size: 9px;
    line-height: 12px;
    letter-spacing: 0;
    color: #CE5347;
    transition: .3s;
}

.form-security .arrow {
    position: absolute;
    top: 12px;
    right: 0;
    font-size: 27px;
    color: #5E718A;
}

.form-security input,
.form-security select,
.form-security textarea {
    height: 44px;
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    background: transparent;
    color: #273240;
    width: 100%;
    border-bottom: 1px solid #273240;
    resize: none;
    padding: 10px 0;
}

.form-security select option {
    color: #273240;
}
.form-security select option,
.form-security select {
    text-transform: capitalize;
}

.form-security select,
.form-security input {
    margin-bottom: 36px;
}

.form-security input:-webkit-autofill,
.form-security textarea:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px #fff!important;
    -webkit-text-fill-color: #273240;
}

.form-security input::placeholder,
.form-security textarea::placeholder {
    font-weight: 200;
    opacity: 1;
    color: #5E718A;
    letter-spacing: 0;
}

.form-security .has-error input,
.form-security .has-error select,
.form-security .has-error textarea {
    color: #CE5347;
    border-color: #CE5347;
}

.checkbox_button label {
    padding-left: 34px;
}
.checkbox_button label::before {
    top: -1px;
}

.radio_buttons {
    display: flex;
    align-items: center;
    margin: 30px 0 50px;
}

.radio_buttons .radio_button:first-child {
    margin-right: 150px;
}

.pimg {
    position: absolute;
    right: 0;
    top: 16px;
    cursor: pointer;
}
.pimg.visibility .eye-crossed {
    display: none;
}

.form-security .buttons {
    text-align: center;
}
.full-width {
    width: 100%;
}
.flex {
    display: flex;
}
.flex-inline {
    display: inline-flex;
}
.justify-between {
    justify-content: space-between;
}
.justify-center {
    justify-content: center;
}
.items-center {
    align-items: center;
}
.text-center {
    text-align: center;
}

.buttons .forgot-password {
    font-weight: 200;
    width: 160px;
}
.buttons .forgot-password span {
    white-space: nowrap;
}
.buttons .forgot-password svg {
    margin-right: 10px;
    flex-shrink: 0;
}
.buttons .registration {
    font-weight: 700;
    width: 160px;
}
.buttons .nextsteplink svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-right: 10px;
    fill: #F7CA6A;
}
.buttons a {
    color: #5E718A;
    text-decoration: none;
    font-size: 14px;
    line-height: 17px;
    margin: 0 15px;
}
.buttons a.width-auto {
    width: auto;
}
.buttons a:hover {
    text-decoration: underline;
}
.buttons a b {
    margin-left: 5px;
}

.choose-class__subject-name {
    margin-bottom: 20px;
    font-size: 18px;
}
.choose-class__subject-name:not(:first-child) {
    margin-top: 30px;
}

.nextstepbtn__student {
    margin: 30px 0 14px;
}
.buttons .backsteplink__student {
    margin-bottom: 30px;
}

.pregmodal_btn {
    margin-top: 30px;
}

#loginbtn {
    margin-bottom: 68px;
}

#invite_registration_form_send {
    margin-bottom: 30px;
}

#invite_registration_school_form_send {
    margin: 40px 0 30px;
}

#success-info-block {
    max-width: 846px;
    text-align: center;
    margin: 0 auto;
}
#success-info-block p {
    font-weight: 500;
    font-size: 30px;
    line-height: 130%;
    color: #273240;
    margin-bottom: 58px;
}

#invite_registration_form_code {
    text-align: center;
    font-weight: 200;
    font-size: 24px;
    letter-spacing: 0.3em;
}
#invite_registration_form_code::placeholder {
    font-weight: 200;
    font-size: 18px;
    line-height: 22px;
    color: #5E718A;
    text-align: left;
}

.teacher-reg,
.school-reg {
    margin: 0 0 30px;
}

.choose-class .colormark {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    height: 100%;
    width: 4px;
    background: #F7CA6A;
}

#CenterModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 1000;
}
#CenterModal.show {
    display: flex!important;
}
#CenterModal .modal-dialog {
    margin: auto;
    background: #fff;
    padding: 20px 40px;
}
#CenterModal .modal-body {
    padding-top: 20px;
}
#CenterModal .modal-footer {
    padding-top: 30px;
    display: flex;
}

@media all and (max-width: 1024px) {
    .checkbox_button label {
        line-height: 17px;
    }
    .radio_button label, .checkbox_button label {
        font-size: 14px;
    }

    .form-security input,
    .form-security select,
    .form-security textarea {
        font-size: 16px;
    }
}
@media all and (max-width: 450px) {
    #content-wrapper {
        padding-top: 88px;
    }
    .title-form {
        margin-bottom: 50px;
        font-size: 24px;
    }
    .buttons:not(.one-link) div {
        justify-content: space-between;
    }
    .buttons a {
        width: auto;
        margin: 0;
    }
    #success-info-block p {
        font-size: 24px;
        line-height: 30px;
        text-align: left;
    }
    #success-info-block svg {
        width: 60px;
        height: 60px;
    }
    #BindCont {
        height: calc(100vh - 410px);
    }
    #sjselectcont {
        max-height: calc(100vh - 410px);
    }
}
@media all and (max-width: 380px) {
    .buttons div {
        flex-direction: column;
    }
    .buttons a {
        display: flex;
        justify-content: center;
        width: auto;
        margin: 0;
    }
    #loginbtn {
        margin-bottom: 20px;
    }
    .buttons .forgot-password {
        order: 1;
    }
    .buttons .registration {
        order: 0;
        margin: 0 0 40px;
    }
}