.front footer#footer {
    position: relative;
    margin-bottom: -210px;
    top: -210px;
}

footer#footer {
    position: relative;
    /* top: -70px; */
    margin-bottom: -70px;
    padding-top: 38px;
    padding-bottom: 32px;
    border-radius: 70px 70px 0 0;
    background-color: #fff;
}

footer#footer .row:not(:last-child) {
    margin-bottom: 23px;
}

footer#footer .logo img {
    width: 100%;
}

footer#footer .nav {
    flex-direction: column;
    gap: 10px;
}

footer#footer .nav .nav-item > a,
footer#footer .view-display-id-block_2 .view-content .views-row .node--view-mode-teaser h4 a {
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
}

footer#footer .view-display-id-block_2 .view-content {
    flex-direction: column;
    max-height: 176px;
    gap: 10px;
}

footer#footer .view-display-id-block_2 .view-content .views-row {
    padding: 0;
    width: auto;
    background-color: transparent;
}

footer#footer .view-display-id-block_2 .view-content .views-row .node--view-mode-teaser h4 {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 120%;

}

footer#footer .contacts_content_right {
    gap: 15px;
}

footer#footer .contacts_content_right p,
footer#footer .contacts_content_right a,
footer#footer .contacts_content_right span {
    font-size: 14px;
}

footer#footer .contacts_footer,
footer#footer .social_block {
    flex-direction: column;
    gap: 15px;
}

footer#footer .address .address_item::before,
footer#footer .tel::before {
    width: 16px;
    height: 16px;
}

footer#footer .social_block {
    align-items: flex-start;
}

.row-copiryght {
    align-items: center;
}

.row-copiryght .copyright {
    font-family: 'Tektur', serif;
    font-size: 14px;
    font-weight: 400;
    color: #1E1E1E;
}

.row-copiryght a {
    color: #1E1E1E;
}

button#scrollToTop {
    width: 77px;
    height: 18px;
}

button#scrollToTop img {
    transition: all 0.3s ease-in-out;
}

button#scrollToTop:hover img {
    transform: scale(1.1);
}

/*MEDIA*/
@media(max-width: 1200px) {
    footer#footer .contacts_content_right p, footer#footer .contacts_content_right a, footer#footer .contacts_content_right span {
        font-size: 12px;
    }

    footer#footer .nav .nav-item > a, footer#footer .view-display-id-block_2 .view-content .views-row .node--view-mode-teaser h4 a {
        font-size: 14px;
    }

    footer#footer .row:not(:last-child) {
        margin-bottom: 0;
    }

    .row-copiryght .copyright,
    .row-copiryght a {
        font-size: 12px;
    }
}

@media(max-width: 992px) {
    footer#footer {
        border-radius: 40px 40px 0 0;
    }

    footer#footer .contacts_content_right {
        padding-top: 10px;
        padding-bottom: 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    footer#footer .contacts_content_right a,
    footer#footer .address .mail > div span {
        white-space: nowrap;
    }

    footer#footer .contacts .tel > div,
    footer#footer .address .mail > div {
        flex-direction: row;
    }

    footer#footer .contacts_content_right {
        align-items: center;
    }

    .contacts_footer .tel {
        gap: 10px;
    }
}

@media(max-width: 768px) {
    footer#footer .view-display-id-block_2 .view-content {
        max-height: 165px;
    }

    footer#footer .contacts_content_right {
        margin-bottom: 20px;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    footer#footer .col-nav {
        margin-bottom: 15px;
    }

    footer#footer .contacts_footer, 
    footer#footer .social_block {
        gap: 10px;
    }

    .row-copiryght > div:first-child {
        display: flex;
        justify-content: space-between;
    }
}

@media(max-width: 576px) {
    footer#footer .nav .nav-item > a, footer#footer .view-display-id-block_2 .view-content .views-row .node--view-mode-teaser h4 a {
        font-size: 12px;
    }
}

@media(max-width: 480px) {
    footer#footer .address .mail > div {
        flex-direction: column;
    }

    .row-copiryght > div:first-child {
        flex-direction: column;
    }

    footer#footer .view-display-id-block_2 .view-content {
        flex-wrap: nowrap;
        max-height: 125px;
        gap: 5px;
        overflow: hidden;
    }
}