.footer {
    background-color: #ffffff;
    padding: 30px 12px 30px;
}

.footer .footer_photo {
    background: url("/public/images/footer.jpg") center no-repeat;
    background-size: cover;
    display: none;
    height: 650px;
    width: 685px;
}

@media (min-width: 992px) {
    .footer .footer_photo {
        display: block;
    }
}

.footer .footer_form {
    padding: 30px !important;
    max-width: none;
    background: #F2F1F1;
    display: flex;
    flex-direction: column;
    height: auto;
}

.footer .checkbox-label-text {
    width: 100%;
}

.modal-body .footer_form form {
    margin-top: 0;
}

@media (max-width: 767px) {
    .footer .footer_form {
        padding-left: 15px;
    }

    .footer .footer_form .main_title {
        font-size: 1.71429rem;
        margin-top: 30px;
    }
}

.footer .footer_form_info--min {
    font-size: 0.85714rem;
}

.footer h3 {
    margin-top: 50px;
    margin-bottom: 25px;
}

.footer_law_list {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.footer_law_list li {
    margin-bottom: 10px;
}

.checkbox-label-footer .checkbox {
    margin-bottom: 0;
}

.checkbox-label-footer .help-block {
    margin: 0;
}

.footer.container-fluid {
    padding-left: 0;
    padding-right: 0;
    background: #dedede;
}

.footer > .row {
    margin: 0 auto;
    padding: 10px 18px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
    align-items: stretch;
    gap: 10px;
}

.footer > .row:before,
.footer > .row:after {
    display: none;
}

.footer .footer_photo {
    display: block;
    width: 100%;
    height: auto;
    min-height: 560px;
    background-position: center;
    background-size: cover;
}

.footer > .row > .footer_photo,
.footer > .row > .footer_form {
    float: none;
    width: 100%;
}

.footer .footer_form .main_title {
    margin: 0 0 30px;
}

.footer #footer-form {
    margin-top: 0;
    min-height: 100%;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.footer_fields--contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 13px;
}

.footer_fields--contacts > div,
.footer_fields--contacts .form-group {
    min-width: 0;
    margin-bottom: 0;
}

.footer #footer-form .form-group {
    position: relative;
}

.footer #footer-form .form-control {
    height: 30px;
    padding: 6px 10px;
    background: #ffffff;
    border: none;
    color: #202020;
    font-size: 13px;
    box-shadow: none;
}

.footer #footer-form textarea.form-control {
    height: 70px;
    margin-bottom: 30px;
}

.footer #footer-form .form-group label.control-label {
    position: absolute;
    left: 13px;
    top: 10px;
    z-index: 1;
    margin: 0;
    color: #8a8a8a;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    pointer-events: none;
    transform: none;
}

.footer #footer-form .form-group label.control-label.active {
    opacity: 0;
}

.footer #footer-form .text-muted,
.footer #footer-form .help-block {
    display: none;
}

.footer #footer-form h3 {
    margin: 24px 0 14px;
    color: #212121;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.footer_fields--interests {
    margin-left: -8px;
    margin-right: -8px;
}

.footer_fields--interests > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.footer #footer-form .checkbox {
    margin-top: 0;
    margin-bottom: 10px;
}

.footer #footer-form .checkbox label {
    display: flex;
    align-items: flex-start;
    color: #212121;
    font-size: 15px;
}

.footer #footer-form .checkbox-label-footer .checkbox label {
    width: auto;
    max-width: 100%;
    align-items: flex-start;
}

.footer #footer-form .checkbox-label-text,
.footer #footer-form .checkbox-label-text-politic {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    width: 100%;
}

.footer #footer-form .icheckbox_square-blue {
    width: 30px;
    height: 30px;
    min-width: 30px;
    max-width: 30px;
    flex: 0 0 30px;
    box-sizing: border-box;
    margin: 0 9px 0 0;
    background: #ffffff !important;
    border: 1px solid #d4d4d4;
}

.footer #footer-form .icheckbox_square-blue.checked:after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 8px;
    height: 14px;
    border: solid #436eb3;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.footer_question {
    margin-top: 14px;
}

.footer .footer_question + .h30,
.footer .footer_submit_area + .h30 {
    display: none;
}

.footer_form_notes {
    margin-top: 14px;
}

.footer .footer_form_info--min, .checkbox-label-text-politic {
    margin-bottom: 8px;
    color: #727272;
    font-size: 12px;
}

.footer .footer_form_info--min a {
    color: #727272;
    text-decoration: underline;
}

.footer_submit_area {
    margin-top: 10px;
    padding-left: 15px;
}

.footer_submit_area .h30 {
    height: 12px;
}

.footer #captcha-container {
    width: 100%;
}

.footer_submit_area .col-md-8,
.footer_submit_area .col-md-5 {
    width: 100%;
    float: none;
    padding-left: 15px;
    padding-right: 15px;
}

.footer .checkbox-label-footer {
    text-align: left;
}

.footer .checkbox-label-footer .checkbox {
    display: inline-block;
    margin-right: 4px;
    vertical-align: top;
}

.footer .checkbox-label-footer .checkbox label {
    display: inline-flex;
}

.footer .checkbox-label-footer .footer_form_info {
    display: inline;
}

.footer #footer-form .footer_law_list,
.footer #footer-form .footer_law_list ~ .footer_form_info {
    width: calc(200% + 36px);
    margin-left: calc(-100% - 18px);
    margin-right: -18px;
    background: #202020;
    color: #b9b9b9;
}

.footer #footer-form .footer_law_list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: auto;
    margin-bottom: 0;
    padding: 24px 34px 8px;
}

.footer #footer-form .footer_law_list li {
    margin-bottom: 0;
}

.footer #footer-form .footer_law_list a,
.footer #footer-form .footer_law_list ~ .footer_form_info a {
    color: #cfcfcf;
    text-decoration: none;
}

.footer #footer-form .footer_law_list a:hover,
.footer #footer-form .footer_law_list ~ .footer_form_info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer #footer-form .footer_law_list ~ .footer_form_info {
    margin-top: 0;
    margin-bottom: 0;
    padding: 4px 34px;
}

.footer #footer-form .footer_law_list ~ .footer_form_info:last-of-type {
    padding-bottom: 24px;
}

.under-footer {
    background-color: #212121;
    padding: 30px;
    width: 100%;
    min-height: 125px;
}

.under-footer-inner {
    display: flex;
    justify-content: space-between;
}

.under-footer-link, .under-footer-text {
    text-decoration: none !important;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 1145px) {
    .under-footer-inner {
        display: block;
        text-align: center;
    }

    .under-footer-link, .under-footer-text {
        margin-top: 16px;
    }

    .under-footer {
        padding-top: 14px;
    }

    .footer {
        padding-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .footer > .row {
        display: block;
        padding: 16px 16px 0;
    }

    .footer .footer_photo {
        display: none;
    }

    .footer #footer-form .footer_law_list,
    .footer #footer-form .footer_law_list ~ .footer_form_info {
        width: auto;
        margin-left: -30px;
        margin-right: -30px;
    }

    .footer #footer-form .footer_law_list {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer #footer-form .footer_law_list ~ .footer_form_info {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 767px) {
    .footer > .row {
        padding: 10px 10px 0;
    }

    .footer .footer_photo {
        min-height: 240px;
    }

    .footer .footer_form .main_title {
        margin-top: 0;
        font-size: 28px;
        line-height: 1.15;
    }

    .footer_fields--contacts {
        grid-template-columns: 1fr;
    }

    .footer #footer-form .footer_law_list,
    .footer #footer-form .footer_law_list ~ .footer_form_info {
        margin-left: -30px;
        margin-right: -30px;
    }

    .footer #footer-form .footer_law_list {
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer #footer-form .footer_law_list ~ .footer_form_info {
        padding-left: 30px;
        padding-right: 30px;
    }
}
