body {
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 15px;
}

.container {
    max-width: 1370px;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
}
a {
    color: #387846;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    font-weight: 400;
}

a:hover {
    opacity: 0.9;
    color: inherit;
}

header {
    padding: 24px 0;
    background-color: #fff;
    -webkit-filter: drop-shadow(0px 4px 7px rgba(0, 0, 0, 0.02));
    filter: drop-shadow(0px 4px 7px rgba(0, 0, 0, 0.02));
}

.header_container .row {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.logo_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.phone_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.logo img {
    width: 206px;
}

header .logo {
    margin-right: 40px;
}

.back {
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    color: #000;
}

.back:hover {
    opacity: .8;
}

.back:hover svg {
    opacity: .8;
}

.back:hover {
    color: #000;
}

.back span {
    padding-left: 9px;
}

header .phone a {
    font-weight: 500;
    text-decoration: none;
    font-size: 24px;
    color: #000;
}

.callback {
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
}
.callback:hover {
    opacity: .8;
    color: #000;
}

.main {
    background: #F8F8F8;
    padding-top: 50px;
}

h1 {
    font-size: 32px;
    margin-bottom: 38px;
    text-align: center;
}

.open-account {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
    padding-bottom: 74px;
}

.steps_labels {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 20px;
}

.steps_labels .item {
    color: #6B6B6B;
}

.steps_labels .done {
    color: #000000;
    font-weight: 500;
}

.progress_line {
    position: relative;
}

.bg_line {
    background-color: #787878;
    width: 100%;
    height: 1px;
}

.active_line {
    position: absolute;
    top: -1px;
    height: 3px;
    background-color: #387846;
}

.steps_block {
    margin-bottom: 50px;
}

.form_group__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 25px;
}

.form_group__wrap .form-group:not(:last-of-type) {
    margin-bottom: 0;
}

.form_group__wrap .form-group:not(:first-child, :last-child):nth-child(2) {
    width: 30%;
    margin-right: 10px;
    margin-left: 10px;
}

.js-message:not(:empty) {
    margin-top: 12px;
}

.form_group__wrap .form-group.full {
    width: 100%;
}

.form_group__wrap .form-group.half {
    width: 50%;
}

.form_group__wrap .form-group.half:first-child {
    margin-right: 10px;
}

.esia_block {
    margin-top: 11px;
    cursor: pointer;
    padding: 27px 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #FFFFFF;
    -webkit-box-shadow: -2px -3px 12px rgba(0, 0, 0, 0.11), 2px 3px 11px rgba(0, 0, 0, 0.11);
    box-shadow: -2px -3px 12px rgba(0, 0, 0, 0.11), 2px 3px 11px rgba(0, 0, 0, 0.11);
    border-radius: 4px;
}

.esia_wrap {
    display: block;
    text-decoration: none;
    color: #000000;
}

.esia_wrap:hover {
    color: #000000;
}

.esia_wrap .img {
    margin-right: 30px;
}

.esia_wrap h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.esia_wrap p {
    margin-bottom: 0;
}

span.separator {
    display: block;
    text-align: center;
    font-size: 18px;
    margin-top: 18px;
    margin-bottom: 19px;
}

.manually_wrap.mini {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    max-width: 405px;
}

.fields_wrap {
    position: relative;
}

.manually_wrap h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 29px;
}

.input__item {
    position: relative;
}

.input__item textarea {
    min-height: 51px;
}

.input__label.textarea {
    top: 25px;
}

.input__input:focus~.input__label.textarea,
.input__input_fill~.input__label.textarea {
    top: 11px;
}

.input__label {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 15px;
    cursor: text;
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
    font-size: 18px;
    color: #4C4C4C;
}

.input__input {
    position: relative;
    outline: none;
    width: 100%;
    padding: 17px 15px 5px 15px;
    background: #FFFFFF;
    border: 1px solid #ACACAC;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 18px;
    color: #4C4C4C;
}

.input__input:focus~.input__label,
.input__input_fill~.input__label {
    top: 25%;
    left: 15px;
    font-size: 11px;
    color: rgba(76, 76, 76, 0.73);
    cursor: text;
}

form small {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.58);
    font-weight: 500;
}

form small a {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.58);
    box-shadow: 0 1px 0 currentColor;
}

form .back {
    margin-top: 38px;
}

form small a:hover {
    color: rgba(0, 0, 0, 0.3);
}

.form-group:not(:last-of-type) {
    margin-bottom: 12px;
}

.form_check {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 22px;
}

.form_check input {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    padding: 0;
    margin-right: 8px;
    margin-top: 4px;
    background: transparent;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form_check label {
    display: block;
    width: 90%;
    font-size: 14px;
}

.form_check input:checked {
    background-color: #000;
}

.form_check a {
    color: #000000;
}

.form_check input:checked::after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    position: absolute;
    left: 4px;
    top: 0;
}

.btn__block {
    margin-top: 19px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn {
    border-radius: 4px;
    font-size: 16px;
    padding: 11px 41px;
}

.btn_open {
    background: #FCAF03;
}

.btn_esia {
    padding: 8px 30px;
    background: #FFFFFF;
    -webkit-box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.31);
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.31);
}

.btn_esia:hover {
    -webkit-box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.31);
    box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.31);
}

.btn_esia img {
    max-width: 100px;
}

.btn_open:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn_open:hover {
    background: #FFC544;
}

footer {
    background: #ECECEC;
    padding: 60px 0 25px 0;
}

footer .container {
    max-width: 1130px;
}

.call-back_block {
    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;
    margin-bottom: 30px;
}

.call-back_block a {
    display: block;
    width: auto;
}

.call-back_block p {
    margin-bottom: 0;
    font-size: 18px;
    width: auto;
    margin-right: 15px;
}

.footer_menu_wrap {
    margin-top: 17px;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer_text {
    text-align: center;
    color: #000;
}

.footer_text p {
    font-size: 11px;
    margin-bottom: 0;
}

.footer_text a {
    color: #000;
}

.menu__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: auto;
}

.social_block {
    width: auto;
}

.menu__block a {
    display: block;
    font-size: 13px;
    color: #4C4C4C;
    text-decoration: none;
}

.menu__block a:not(:last-of-type) {
    margin-right: 29px;
}

.copyright_container {
    text-align: center;
}

.copyright_container p {
    font-size: 18px;
    margin-bottom: 10px;
}

.copyright_container span {
    display: block;
    font-size: 13px;
    color: #4C4C4C;
}

.btn_open_black {
    background-color: #000;
    color: #fff;
}

.btn_open_black:hover {
    background: #4C4C4C;
    color: #fff;
}

.social_block ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.social_block ul li {
    margin-right: 26px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.social_block ul li:last-of-type {
    margin-right: 0;
}

.social_block ul li a {
    font-size: 20px;
    color: #000000;
    -webkit-transition: color .3 ease;
    -o-transition: color .3 ease;
    transition: color .3 ease;
}

.vc-ru {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
}

.vc-ru::before {
    content: "";
    position: absolute;
    top: -1px;
    background: url(assets/img/vc-ico.svg) center center no-repeat;
    width: 18px;
    height: 18px;
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
}

.vc-ru:hover::before {
    background: url(assets/img/vc-ico-gray.svg) center center no-repeat;
}

.social_block ul li a:hover {
    color: #4c4c4c;
}

.form_item {
    position: relative;
}

.help_wrap {
    max-width: 210px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%) translateX(100%);
    -ms-transform: translateY(-50%) translateX(100%);
    transform: translateY(-50%) translateX(100%);
    right: -100px;
}

.help_wrap .img {
    margin-bottom: 13px;
}

.help_wrap .img img {
    max-width: 30px;
}

.help_wrap .help__block {
    border-top: 2px solid #387846;
    padding-top: 14px;
}

.ui-datepicker-trigger {
    cursor: pointer;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    right: 10px;
}

.modal-content h5 {
    font-size: 32px;
    margin-bottom: 0;
}

.modal_header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-content {
    border: none;
    padding: 45px 30px;
}

.modal-content .close {
    cursor: pointer;
    position: absolute;
    width: 18px;
    height: 18px;
    top: 20px;
    right: 25px;
}

.modal-content .close::before,
.modal-content .close::after {
    content: "";
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    border-radius: 2px;
}

.modal-content .close::before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.modal-content .close::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.modal-content .form-group:not(:last-of-type) {
    margin-bottom: 30px;
}

.modal-content .modal_body .separator {
    font-size: 16px;
}

.modal-content .modal_body p {
    text-align: center;
    font-size: 16px;
    margin-bottom: 0;
}

.modal-content.loader .modal_header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.modal_header .img {
    margin-right: 18px;
}

.modal_header .img img {
    margin-top: 5px;
}

.spinner {
    margin-right: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: conic-gradient(rgba(255, 255, 255, 255), #000000);
    position: relative;
    -webkit-animation: spin 1.4s linear infinite;
    animation: spin 1.4s linear infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.spinner::after {
    background: #fff;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.steps_labels.mobile {
    display: none;
}

.js-message-form:not(:empty) {
    margin-top: 10px;
    font-size: 13px;
}

.error {
    color: rgba(176, 1, 1, 0.58);
}

.wrap-open-account {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.form_check a,
.footer_text a {
    -webkit-box-shadow: 0 1px 0 currentColor;
            box-shadow: 0 1px 0 currentColor;
}

.text-left {
    text-align: left;
}


@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 1199px) {
    .help_wrap {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    body {
        font-size: 13px;
    }

    .logo img {
        max-width: 171px;
    }

    .back {
        font-size: 16px;
    }

    header .phone a {
        font-size: 22px;
    }

    header {
        padding: 21px 0;
    }

    h1 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .manually_wrap h2 {
        font-size: 22px;
    }

    .call-back_block p {
        text-align: center;
        margin-right: 0;
        width: 100%;
    }

    .call-back_block a {
        margin-top: 20px;
    }

    .open-account {
        padding-bottom: 46px;
    }

    .main {
        padding-top: 40px;
    }

    .steps_block {
        margin-bottom: 40px;
    }

    footer {
        background: #ECECEC;
        padding: 56px 0 21px 0;
    }

    .call-back_block {
        margin-bottom: 40px;
    }

    .menu__block a:not(:last-of-type) {
        margin-right: 20px;
    }

    .social_block ul li {
        margin-right: 16px;
    }

    .footer_menu_wrap {
        margin-top: 35px;
        margin-bottom: 40px;
    }

    .modal-content h5 {
        font-size: 28px;
    }
}



@media screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 495px;
    }
}

@media screen and (max-width: 576px) {
    header .back {
        display: none;
    }

    .m-text-center {
        text-align: center;
    }

    header {
        padding: 16px 0;
    }

    header .phone a {
        font-size: 16px;
    }

    .callback {
        font-size: 13px;
    }

    header .col-6 {
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }

    .logo img {
        max-width: 131px;
    }

    .main {
        padding-top: 24px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 19px;
    }

    .steps_labels {
        display: none;
        margin-bottom: 10px;
    }

    .steps_labels.mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .steps_labels .done {
        font-size: 15px;
    }

    .steps_block {
        margin-bottom: 20px;
    }

    .input__label {
        font-size: 16px;
    }

    .input__input {
        padding: 15px 10px 3px 10px;
        font-size: 16px;
    }

    .input__input:focus~.input__label,
    .input__input_fill~.input__label {
        left: 10px;
    }

    form small {
        margin-top: 4px;
        font-size: 12px;
    }

    .form-group:not(:last-of-type) {
        margin-bottom: 9px;
    }

    .form_check label {
        font-size: 13px;
    }

    .form_check {
        margin-top: 26px;
    }

    .btn {
        font-size: 14px;
        padding: 9px 25px;
    }

    .desctop {
        display: none;
    }

    .open-account {
        padding-bottom: 31px;
    }

    .call-back_block p {
        font-size: 13px;
    }

    footer {
        background: #ECECEC;
        padding: 38px 0 38px 0;
    }

    .call-back_block a {
        margin-top: 10px;
    }

    .footer_text p {
        text-align: left;
    }

    .call-back_block {
        margin-bottom: 30px;
    }

    .menu__block a {
        width: 100%;
        font-size: 12px;
    }

    .footer_menu_wrap {
        margin-top: 25px;
    }

    .menu__block {
        margin-bottom: 25px;
    }

    .social_block {
        width: 100%;
    }

    .social_block ul {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .menu__block a:not(:last-of-type) {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .modal-content h5 {
        font-size: 24px;
    }

    .modal-content {
        border: none;
        padding: 40px 20px;
    }

    .modal_header {
        margin-bottom: 29px;
    }

    .modal-content .form-group:not(:last-of-type) {
        margin-bottom: 15px;
    }

    .modal-content .form_check {
        margin-top: 17px;
    }

    .js-message:not(:empty) {
        margin-top: 8px;
        font-size: 12px;
    }

    .modal-content .close {
        width: 14px;
        height: 14px;
        top: 15px;
        right: 20px;
    }

    .esia_block {
        margin-top: 0;
        padding: 28px 25px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .esia_wrap h2 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .esia_wrap .img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .esia_wrap .img img {
        max-width: 98px;
    }

    .manually_wrap h2 {
        font-size: 20px;
    }

    span.separator {
        margin-top: 16px;
        margin-bottom: 17px;
    }

    .form_group__wrap {
        margin-bottom: 20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .form_group__wrap .form-group:not(:first-child, :last-child):nth-child(2) {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .form_group__wrap .form-group:not(:last-of-type) {
        margin-bottom: 20px;
    }

    .form_group__wrap .form-group.half {
        width: 100%;
    }

    .form_group__wrap .form-group.half:first-child {
        margin-right: 0;
    }

    form .back {
        margin-top: 28px;
    }

    .back {
        font-size: 13px;
    }

    .back span {
        padding-left: 6px;
    }

    .back svg {
        max-width: 15px;
    }

    .modal_header .img img {
        margin-top: 3px;
        max-width: 24px;
    }

    .modal_header .img {
        margin-right: 10px;
    }

    .modal-content .modal_body p {
        font-size: 13px;
    }

    .modal-content .modal_body .separator {
        font-size: 13px;
    }

    .btn_esia img {
        max-width: 87px;
    }

    .modal_body {
        margin-top: -10px;
    }
}