
.form_box {
    background-color: #E3EDF6;

    color: #192F3C;
    padding: 100px 0 !important;
    z-index: 111;


}

/*#form_box {*/
/*    display: none;*/
/*}*/


.close-btn {
    position: absolute;
    background-color: transparent;
    right: 30px;
    top: 30px;
}

.close-btn img {
    width: 32px;
    height: 32px;
}


.form_box_in {


    padding-bottom: 84px;
    position: relative;
}


.form_content_text .contact_box {
    color: #192F3C;
}

.form_box_in .logo {
    margin-top: 63px;
}


.form_content {
    width: 100%;
    display: flex;
    margin-top: 79px;
}


.form_content_box {
    width: 49.9%;
}

.form_content_text h5 {

    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 48px;
    margin-bottom: 184px;
    /* or 160% */
    text-align: center;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.form_content_text h1 {

    font-style: normal;


    margin-top: 160px;
    margin-bottom: 40px;
    /* or 125% */




    text-align: center;



    font-size: 36px;
    font-weight: 400;
    line-height: 40px; /* 111.111% */
    letter-spacing: 1.08px;


}

.contact_info_item {
    color: #282828;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 127.273% */
    letter-spacing: 0.66px;
    margin-bottom: 27px;
}

.form_content_stroke {
    width: 1px;
    background-color:  #B9CBDF;
}


.form_content_input {
    padding-top: 36px;
}

.group {
    position: relative;

}

.form_group {
    margin-bottom: 40px;
}

.ba_input {
    padding: 12px 0 12px 0px;
    border-radius: 0 !important;
    display: block;
    width: 100%;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #3E3E3E;

    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 100% */
    letter-spacing: 1.6px;
    text-transform: uppercase;


}

.ba_input:focus {
    outline: none;
}

/* LABEL ======================================= */
label {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    position: absolute;
    pointer-events: none;
    left: 0px;
    letter-spacing: 0.1em;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;




}

/* active state */
.ba_input:focus ~ label, .ba_input:valid ~ label {
    top: -20px;
    font-size: 12px;
    color: #5BA3F5;
}


/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: #5BA3F5;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

/* active state */
.ba_input:focus ~ .bar:before, .ba_input:focus ~ .bar:after {
    width: 50%;
}

.ba_input:focus {
    outline: none;
}


.comments-input textarea {
    height: 54px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #192F3C;
}

/* active state */
.comments-input .ba_input:focus ~ label, .comments-input .ba_input:valid ~ label {
    top: -5px;

}

/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100%;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
.ba_input:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #AA8D66;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #AA8D66;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #AA8D66;
    }
    to {
        width: 0;
        background: transparent;
    }
}

.contactForm {
    width: 474px;
    margin: auto;
    color: #192F3C;
}

.form_group {


}

.form_group .group {

}

.form_group_name .form_group.mr-l {
    margin-right: 40px;
}


.required-text {
    color: #000;

    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.w-50 {
    width: 50% !important;
}

.w-100 {
    width: 100% !important;
}

.form_group .form-control.form-control-select {
    height: 38px;
    border-radius: 0;
    padding-bottom: 12px;
    border: none;
    border-bottom: 1px solid #192F3C;

    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url(../img/up3.svg) right center no-repeat;
    background-size: 12px;
    font-size: 16px;
    line-height: 14px;

    color: #192F3C;
}

.form-control.form-control-select:focus {
    box-shadow: none !important;
    outline: none;
    background: none !important;
}

.form-group-submit {
    display: flex;
}

.form-group-submit .text {
    font-size: 14px;
    padding-top: 5px;
}

.form-group-submit .button {
    font-size: 14px;
}

.form-group-submit .button-box {

    text-align: right;
}

.submit-btn {
    border: solid 1px #AA8D66;
    width: 159px;
    height: 40px;

    border-radius: 2px;
    text-transform: uppercase;


    color: #ffffff;
    background-color: #AA8D66;

    cursor: pointer;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    /* identical to box height, or 100% */

    letter-spacing: 0.05em;
}

.submit-btn:hover {
    color: #AA8D66;
    background-color: transparent;
}

.form-content-text-thank h5 {
    font-size: 42px;
    line-height: 78px;
    letter-spacing: 1em;
    margin-bottom: 16px;
}

.form-content-text-thank p {
    margin-top: 0px;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    /* identical to box height */

    letter-spacing: 0.1em;

    color: #192F3C;
    margin-bottom: 252px;

}

.form-check-label {

    padding-left: 7px;

    margin-top: 0;
    position: static;
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 16px !important;
    /* identical to box height, or 100% */

    letter-spacing: 0.1em;


    color: #192F3C !important;


}

.tui-checkbox {
    display: inline;
    width: auto;
}

.form-check-title {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;
    /* identical to box height, or 100% */

    letter-spacing: 0.1em;

    color: #192F3C;
    margin-bottom: 31px;
}


.form_box input.tui-checkbox {
    width: 16px;
    height: 16px;
    background-color: #F5F4E7 !important;
    border: solid 1px #F5F4E7 !important;
    -webkit-border-radius: 50%;
    border-radius: 2px;
    font-size: 0.8rem;
    margin-top: 2px;
    padding: 0;
    position: relative;
    display: inline-block;
    vertical-align: top;
    cursor: default;
    -webkit-appearance: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-transition: background-color ease 0.1s;
    transition: background-color ease 0.1s;
}

.form-check-inline {
    margin-right: 40px;
    padding-left: 0;
}

.form_box_bg {
    background-color: #F3F1F0;
}

.form_box input.tui-checkbox:checked {
    background: #5BA3F5 !important;
    border: solid 1px #5BA3F5 !important;
}


.group-check {
    display: flex;
    margin-bottom: 20px;
}

.form-group-check-box {
    margin-bottom: 20px;
}

@media (max-width: 1025px) {
    .contactForm {
        width: 400px;

    }

    .form_content_text h5 {
        font-size: 25px;
    }

    .form_content_input {
        padding-top: 56px;
    }
}

@media (max-width: 880px) {


    .form_content {
        flex-direction: column;
    }


    .form_content_box {
        width: 100% !important;
    }

    .form_content_text h5 {
        font-style: normal;
        font-weight: 600;
        font-size: 16px;
        line-height: 28px;
        /* or 175% */
        margin: 0;


        color: #192F3C;
    }


    .form_box_in {
        margin: 10px;
        padding-bottom: 84px;
        border: solid 1px #192F3C;
    }

    .form_box_in .logo {
        margin-top: 33px;
    }

    .form_content {
        width: 100%;
        display: flex;
        margin-top: 49px;
    }

    .contactForm {
        max-width: 100%;
        padding: 20px;
        width: auto;
    }

    .form_content_text {
        padding-top: 0px;
        padding-bottom: 0;
    }

    .form-group-submit {
        justify-content: space-between;
        align-items: center;
    }


    .form-group-submit .button-box {
    }

    .submit-btn {
        width: 100%;
    }

    .form_content_input .contact_box.mb_cm {
        color: #192F3C;
    }

    .form_group_name .form_group.w-50 {
        margin-right: 0;
        width: 100% !important;
    }

    .form_group_name {
        flex-direction: column;
    }

    .close-btn {
        right: 15px;
        top: 15px;

    }

    .form-content-text-thank h5 {
        font-size: 24px;
        padding-left: 1em;
        line-height: 40px;
        margin-top: 127px;
        margin-bottom: 30px;
        /* or 167% */

        text-align: center;
        letter-spacing: 1em;
    }

    .form-content-text-thank p {
        font-style: normal;
        font-weight: 400;
        font-size: 13px;
        line-height: 15px;
        letter-spacing: 0.1em;
        padding-left: 0.1em;
        margin-bottom: 169px
    }


    .bar:before, .bar:after {
        bottom: 0;
    }

    .comments-input .bar:before, .comments-input .bar:after {
        bottom: -1px;
    }

    .mb_cm_find {
        padding-left: 0.25em;
        margin-top: 20px !important;
    }

}

.form_group_name {
    display: flex;
}

#thank_u_content {
    display: none;
}

.help-block.text-danger {
    margin: 0;
}

.help-block.text-danger ul {
    padding-left: 0;
    margin-bottom: 0;
}

.help-block.text-danger ul li {
    list-style: none;
    color: red;
}

.mr-l-0 {
    margin-right: 0;
}


@media (max-height: 835px ) {
    .form_box_in {
        padding-bottom: 0px;
    }

    .form_content {
        margin-top: 19px;
    }
}


@media (max-width: 992px) {
    .form_box_in {
        margin: 0px;
        padding-bottom: 0px;
        border: none;
    }

    .form_content_text h1 {
        margin-top: 0; color: #282828;
        text-align: center;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 25px; /* 125% */
        letter-spacing: 0.6px;
        margin-bottom: 65px;
    }

    .form_box {
        padding-top: 50px !important;
    }

    .form-group-submit {
        margin-bottom: 0;
    }

    .form_content {

        margin-top: 0px;
    }

    .contactForm {
        padding: 20px;
    }

    .form_content_input {
        padding-top: 0px;
    }

}