div#page footer#footer.footer {
    position: relative;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 0;
    border-top: 1px solid #e0e7ee;
    border-bottom: 1px solid #e0e7ee;
    background-color: transparent;
}

div#page footer#footer div.region.region-footer {
    display: grid;
    padding: 0;
    padding-bottom: 40px;
    align-items: flex-start;
    grid-template-columns: repeat(4, auto);
    grid-template-rows: repeat(3, auto);
    column-gap: 75px;
    row-gap: 10px;
}

div#block-vesta-theme-logo-3 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

div#block-vesta-theme-kopirayt {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

div#block-vesta-theme-kopirayt .copyright .privacy-content {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

div#block-vesta-theme-kopirayt .copyright .privacy {
    display: block;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
}

div#block-vesta-theme-menedzher {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

div#block-vesta-theme-osnovnayanavigaciya-3 {
    grid-column: 2 / 3;
    grid-row: 1 / span 3;
}

div#block-vesta-theme-kontaktypodval {
    grid-column: 3 / 4;
    grid-row: 1 / span 3;
}

div#block-vesta-theme-knopkaostavitzayavku-2 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

div#block-vesta-theme-socialnyeseti-2 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

div#page footer#footer .region.region-footer div#block-vesta-theme-osnovnayanavigaciya-3 #superfish-main--2 li {
    background-color: transparent;
}

.region.region-footer #block-vesta-theme-osnovnayanavigaciya-3 #superfish-main--2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

div#page footer#footer .region.region-footer #block-vesta-theme-osnovnayanavigaciya-3 #superfish-main--2 li.sf-depth-1 a {
    padding: 0;
    font-family: 'Golos Text';
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    color: #000;
}

div#page footer#footer .region.region-footer #block-vesta-theme-osnovnayanavigaciya-3 #superfish-main--2 li.sf-depth-1 a:hover,
div#block-vesta-theme-kopirayt .copyright .privacy:hover,
div#block-vesta-theme-kontaktypodval .footer__contacts a.footer__contact:hover {
    text-decoration: underline;
}

div#page div#copyrights-block.copyrights-block {
    padding: 0;
    background-color: transparent;
}

div#page div#copyrights-block .region.region-copyrights div#block-vesta-theme-kopirayt div.copyright p.privacy-content {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    font-size: 16px;
    line-height: normal;
    font-weight: 500;
    color: #000;
}

div#page div#copyrights-block .region.region-copyrights div#block-vesta-theme-kopirayt .copyright a.privacy {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

div#block-vesta-theme-kontaktypodval .footer__contacts .footer__label {
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    color: #000;
}

div#block-vesta-theme-kontaktypodval .footer__contacts a.footer__contact {
    display: block;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
}

div#block-vesta-theme-kontaktypodval .footer__contacts .footer__contact {
    font-family: 'Golos Text';
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

div#page footer#footer.footer .vesta_backlink {
    padding-top: 10px;
    padding-bottom: 10px;
}

div#page footer#footer.footer .vesta_backlink::before {
    content: '';
    position: absolute;
    width: 100%;
    border-top: 1px solid #e0e7ee;
    bottom: 44px;
    left: 0;
}

div#page footer#footer.footer .vesta_backlink .vesta a {
    display: flex;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;

    font-family: 'Golos Text';
    font-size: 16px;
    font-weight: 500;
    color: #667685;
}

@media (max-width: 1024px) {
    div#page footer#footer div.region.region-footer {
        column-gap: 32px;
    }
}

@media (max-width: 992px) {
    div#page footer#footer div.region.region-footer {
        grid-template-columns: repeat(3, auto);
        grid-template-rows: repeat(4, auto);
        column-gap: 25px;
    }

    div#block-vesta-theme-osnovnayanavigaciya-3 {
        grid-column:  3 / 4;
        grid-row: 2 / span 2;
    }

    div#block-vesta-theme-knopkaostavitzayavku-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    div#block-vesta-theme-kontaktypodval {
        grid-column: 2 / 3;
        grid-row: 2 / span 2;
    }

    div#block-vesta-theme-socialnyeseti-2 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    div#block-vesta-theme-knopkaostavitzayavku-2 a.use-ajax.btn-form.btn.btn-default {
        padding: 15.5px 58px;
    } 

    div#block-vesta-theme-kopirayt .copyright .privacy-content {
        font-size: 15px;
    }

    div#block-vesta-theme-kontaktypodval .footer__contacts .footer__label {
        font-size: 18px;
    }

    div#block-vesta-theme-kontaktypodval .footer__contacts .footer__contact {
        font-size: 16px;
    }

    div#page footer#footer .region.region-footer #block-vesta-theme-osnovnayanavigaciya-3 #superfish-main--2 li.sf-depth-1 a {
        font-size: 16px;
    }
    
}

@media (max-width: 768px) {
    div#page footer#footer div.region.region-footer {
        padding-bottom: 20px;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(5, auto);
        align-items: center;
    }

    div#block-vesta-theme-knopkaostavitzayavku-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    div#block-vesta-theme-socialnyeseti-2 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    div#block-vesta-theme-kontaktypodval {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    div#block-vesta-theme-osnovnayanavigaciya-3 {
        grid-column:  1 / span 2;
        grid-row: 4 / 5;
    }

    div#block-vesta-theme-logo-3 img {
        max-width: 250px;
        height: auto;
    }
}

@media (max-width: 575px) {
    div#page footer#footer div.region.region-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    div#block-vesta-theme-logo-3 {
        grid-column: 1 / span 2;
    }

    div#block-vesta-theme-knopkaostavitzayavku-2 {
        grid-column: 1 / span 2;
        grid-row: 2 / 3;
    }

    div#block-vesta-theme-kopirayt {
        grid-column: 1 / span 2;
        grid-row: 3 / 4;
    }

    div#block-vesta-theme-menedzher {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    div#block-vesta-theme-osnovnayanavigaciya-3 {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    footer#footer .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item p {
        text-align: center;
    }

    div#block-vesta-theme-knopkaostavitzayavku-2 a.use-ajax.btn-form.btn.btn-default {
        width: 100%;
    }

    .region.region-footer #block-vesta-theme-osnovnayanavigaciya-3 #superfish-main--2::-webkit-scrollbar {
        display: none;
    }

    div#page footer#footer .region.region-footer #block-vesta-theme-osnovnayanavigaciya-3 #superfish-main--2 li.sf-depth-1 a {
        font-size: 14px;
    }

    div#block-vesta-theme-socialnyeseti-2,
    div#block-vesta-theme-kontaktypodval {
        display: none;
    }

    div#page footer#footer.footer .vesta_backlink .vesta a {
        font-size: 14px;
    }
}