.footer .row1 {
    border-top: 1px solid #F1F1F1;
    border-bottom: 1px solid #F1F1F1;
    align-items: center;
    justify-content: space-between;
    padding: 1.5em 0;
    display: block;
}
.footer .row1 .desc {
    line-height: 1.3;
    font-size: 1.25em;
    text-align: center;
    margin: 0 0 1.25em;
}
.footer .row1 .form {
    display: flex;
    align-items: center;
    position: relative;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
}
.footer .row1 .form .form_message {
    position: absolute;
    top: calc(100% + 0.5em);
    background-color: #F3F7FE;
    padding: 0.75em 1.25em;
    border-radius: 1.5em;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transform: translateY(1em);
    box-shadow: 0 0.375em 0.625em rgba(0, 0, 0, 0.05);
    font-weight: 600;
    max-width: 100%;
    box-sizing: border-box;
    left: 0;
}
.footer .row1 .form .form_message.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: 0.3s;
}
.footer .row1 .form .form_message.error {
    color: #EB5757;
}
.footer .row1 .form .form_message.success {
    color: #317EE5;
}
.footer .row1 .form .form_message_text {
    font-size: 0.875em;
}
.footer .row1 .form .butt {
    margin-left: 0.75em;
    width: 18em;
}
.footer .row1 .form .text_input {
    width: 18em;
}
.footer .row2 {
    padding: 1.5em 0;
    display: block;
    margin: 0;
}
.footer .row2 .col {
    box-sizing: border-box;
    padding: 0;
    width: 100%;
}
.footer .row2 .col:nth-child(2) {
    flex-grow: 1;
}
.footer .row2 .logo_link {
    display: inline-block;
    max-width: 100%;
}
.footer .row2 .logo {
    display: block;
    max-height: 2.75em;
    max-width: 10.5em;
}
.footer .row2 .line1 {
    margin: 0 0 1.5em;
    text-align: center;
}
.footer .row2 .line2 {
    margin: 0 0 2.75em;
    text-align: center;
}
.footer .row2 .line2 a {
    font-size: 1.125em;
}
.footer .row2 .line3 .item {
    height: 4.5em;
    box-sizing: border-box;
    border: 1px solid #F1F1F1;
    border-radius: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 12em;
    width: 12em;
    margin: 1em;
}
.footer .row2 .line3 .item:last-child {
    margin-bottom: 0;
}
.footer .row2 .line3 .item .soc_wrap {
    margin: -0.125em;
    display: flex;
    flex-wrap: wrap;
}
.footer .row2 .line3 .item .soc {
    margin: 0.125em;
    border-radius: 50%;
}
.footer .row2 .line3 .item .soc_icon {
    max-width: 1.75em;
    max-height: 1.75em;
    display: block;
}
.footer .row2 .line3 .item .item_img {
    display: block;
    max-width: calc(100% - 2em);
    max-height: calc(100% - 1.5em);
}
.footer .row2 .menu {
    list-style-type: none;
    display: flex;
    padding: 0;
    flex-wrap: wrap;
    margin: 0 -1em 2em;
}
.footer .row2 .menu-item {
    padding: 0 1em;
    width: 25%;
    box-sizing: border-box;
}
.footer .row2 .menu-item-label {
    color: inherit;
    font-size: 1.125em;
}
.footer .row2 a.menu-item-label:hover {
    color: #317EE5;
}
.footer .row2 .sub-menu {
    list-style-type: none;
    padding: 0;
    margin: 2.25em 0 0;
}
.footer .row2 .sub-menu .menu-item {
    padding: 0;
    width: 100%;
    margin: 0 0 1.25em;
}
.footer .row2 .sub-menu .menu-item:last-child {
    margin-bottom: 0;
}
.footer .row2 .sub-menu .menu-item-label {
    font-weight: 300;
    font-size: 1em;
}
.footer .row2 .line4 {
    font-size: 1.125em;
    margin: 0 0 1em;
}
.footer .row2 .line5 .item:not(:last-child) {
    margin-bottom: 2em;
}
.footer .row2 .line5 .item .item_link {
    display: inline-flex;
    align-items: center;
    color: inherit;
}
.footer .row2 .line5 .item .item_icon {
    max-width: 1.25em;
    margin-right: 0.5em;
}
.footer .row2 .line6 {
    margin-top: 1.5em;
}
.footer .row2 .line6 a {
    display: inline-block;
    max-width: 100%;
}
.footer .row2 .line6 img {
    display: block;
    max-width: 100%;
}
.footer .row3 {
    padding: 1.75em 0;
    border-top: 1px solid #F1F1F1;
}
.footer .row3 .menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style-type: none;
    margin: -0.25em;
    padding: 0;
}
.footer .row3 .menu-item {
    margin: 0.25em;
}
.footer .row3 .menu-item a {
    font-size: 0.75em;
    font-weight: 300;
    color: inherit;
    text-decoration: underline;
}
.footer .row3 .menu-item a:hover {
    text-decoration: none;
}
.footer .row2 .line3 {
    display: flex;
    flex-wrap: wrap;
    margin: -1em -1em 1em;
    justify-content: center;
}
.footer .row2 .line5 {
    display: flex;
    margin: -0.25em -0.75em;
    flex-wrap: wrap;
}
.footer .row2 .line5 .item {
    margin: 0.25em 0.75em !important;
}
@media(max-width: 767px) {
    .footer .row1 .desc {
        font-size: 1em;
        margin: 0 0 1.25em;
    }
    .footer .row1 .form {
        margin: 0 auto;
        max-width: 15em;
        display: block;
    }
    .footer .row1 .form .text_input,
    .footer .row1 .form .butt {
        width: 100%;
        margin: 0;
        height: 2.5em;
        border-radius: 1.25em;
    }
    .footer .row1 .form .text_input {
        margin-bottom: 0.625em;
    }
    .footer .row2 .line1 {
        margin: 0 0 1.25em;
    }
    .footer .row2 .line2 {
        margin: 0 0 1.5em;
    }
    .footer .row2 .line3 {
        margin: -0.25em -0.25em 2.25em;
    }
    .footer .row2 .line3 .item {
        width: 20em;
        max-width: calc(100% - 0.5em);
        margin: 0.25em;
    }
    .footer .row2 .menu {
        margin: 0 -1em;
    }
    .footer .row2 .menu > .menu-item {
        width: 50%;
        margin: 0 0 1.5em;
    }
    .footer .row2 .sub-menu {
        margin: 1em 0 0;
    }
    .footer .row3 .menu {
        margin: 0;
        display: block;
    }
    .footer .row3 .menu-item {
        margin: 0 0 1em;
    }
    .footer .row3 .menu-item:last-child {
        margin-bottom: 0;
    }
}