* {
    font-family: 'Montserrat', sans-serif;
}

.container{
    width: 1280px;
    margin: 0 auto;
}

.how_choise{
    position: relative;
    margin-top: 20px;
}

.check_rect{
    border-radius: 2px;
    padding: 1px;
    border: 1px solid #4A7F92;
    height: 16px;
    width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    margin: 0 auto;
}

.choise_list{
    border-radius: 6px;
    border: 1px solid #4A7F92;
    padding: 10px;
    font-size: 14px;
    line-height: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.choise_row_title{
    text-align: left;
}

.how_choise_btn{
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
    margin-bottom: 10px;
}

.row_choise{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.row_choise > div{
    width: 33%;
}

.reg_form {

    display: flex;
    justify-content: space-between;
}

.title_reg {
    color: #4A7F92;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 40px;
    line-height: 49px;
    margin-bottom: 10px;
    text-align: center;
}

.und_title_reg {
    color: #4A7F92;
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.half_part_form {
    width: 400px;
}

.form{
    display: flex;
    justify-content: space-between;
}

.form input{
    border: 1px solid rgba(31, 32, 65, 0.25);
    box-sizing: border-box;
    border-radius: 4px;
    padding: 10px 0 10px 15px;
    font-size: 16px;
    line-height: 24px;
    outline: none;
    margin-bottom: 18px;
    display: inline-block;
    width: 100%;
    width: 400px;
}

.inp_title, .form label {
    color: #1F2041;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

#online_registration{
    padding-top: 100px;
    padding-bottom: 100px;
}

.half_part_form{
    width: 400px;
}

input[type="radio"],
.d-inline-block {
    display: none !important;
}

input[type="radio"] + label span {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: -2px 10px 0 0;
    vertical-align: middle;
    background: #fff;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid rgba(31, 32, 65, 0.25);
    position: relative;
}

input[type="radio"]:checked + label span{
    border: 1px solid #1A56A2;
}

input[type="radio"]:checked + label span:before{
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    background: #1A56A2;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.master_choise label{
    color: rgba(31, 32, 65, 0.5);
}

.master_choise{
    margin-bottom: 18px;
}

.form input[type=submit]{
    background: #3D8945;
    border-radius: 22px;
    width: 220px;
    cursor: pointer;
    padding: 12px 16px 11px 16px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    border: none;
    outline: none;
}

.partner_dog {
    color: #1F2041;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    position: relative;
    /* padding-left: 34px; */
    margin-bottom: 30px;
}

.cr_txt{
    color: #4A7F92;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 60px;
    text-align: center;
}

.form_title{
    color: #4A7F92;
    font-size: 40px;
    margin-bottom: 60px;
    top: unset;
    text-align: center;
}

.choise_registration{
    display: flex;
    margin-top: 15px;
    justify-content: center;
}

.choise_registration div{
    cursor: pointer;
    margin-right: 20px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #4A7F92;
}

.choise_registration div:last-child{
    margin-right: 0;
}

.choise_registration div:hover{
    text-decoration: underline;
}

.form_div{
    transition: 1s ease;
    opacity: 0;
    position: absolute;
    left: 0px;
    width: 100%;
}

.form_div.opn{
    opacity: 1;
    position: relative;
}

.class_forms_foranimate{
    position: relative;
    overflow: hidden;
}

.center{
    text-align: center;
}

.header_form{
    text-align: center;
    margin-bottom: 52px;
    font-size: 22px;
}

.header_form img{
    margin-bottom: 15px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.alert{
    color: red;
    font-weight: 700;
}


#preloader{
    transition: 0.5s ease;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #4a7f92fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    opacity: 0;
    z-index: -100;
}

#preloader.opn{
    opacity: 1;
    z-index: 100;
}

#preloader .title_reg{
    color: #fff;
    width: 100%;
    margin-bottom: 30px;
}

.loading {
    display: flex;
}

.loading .dot {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0.8em;
    border-radius: 50%;
}

.loading .dot::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: wave 2s ease-out infinite;
}
.loading .dot:nth-child(1) {
    background: #fff;
}
.loading .dot:nth-child(1)::before {
    animation-delay: 0.2s;
}
.loading .dot:nth-child(2) {
    background: #fff;
}
.loading .dot:nth-child(2)::before {
    animation-delay: 0.4s;
}
.loading .dot:nth-child(3) {
    background: #fff;
}
.loading .dot:nth-child(3)::before {
    animation-delay: 0.6s;
}
.loading .dot:nth-child(4) {
    background: #fff;
}
.loading .dot:nth-child(4)::before {
    animation-delay: 0.8s;
}
.loading .dot:nth-child(5) {
    background: #fff;
}
.loading .dot:nth-child(5)::before {
    animation-delay: 1s;
}

@keyframes wave {
    50%, 75% {
        transform: scale(2.5);
    }
    80%, 100% {
        opacity: 0;
    }
}

@media (max-width: 1300px){
    .form{
        flex-wrap: wrap;
    }

    .container{
        width: 860px;
    }
}

@media (max-width: 900px){
    .form{
        justify-content: center
    }

    #online_registration{
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .container{
        width: 560px
    }
}

@media (max-width: 600px){
    .container{
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .choise_list{
        width: 90%;
        font-size: 12px;
    }

    .header_form{
        font-size: 16px;
        margin-bottom: 35px;
    }

    #online_registration{
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .title_reg{
        font-size: 26px;
        line-height: 120%;
    }

    .und_title_reg{
        font-size: 14px;
        line-height: 120%;
        margin-bottom: 35px;
    }

    .cr_txt{
        font-size: 16px;
        line-height: 120%;
        margin-bottom: 35px;
    }

    .choise_registration div{
        font-size: 13px;
        line-height: 110%;
        padding: 7px 8px;
    }

    .form_title{
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form input{
        width: 100%
    }

    .inp_title, .form label{
        font-size: 13px;
    }

    .loading .dot {
        width: 20px;
        height: 20px;
        margin: 10px;
    }
}

/* ERROR BORDER */
.form input.my_error {
    border-color: #dc3545;
}