/*========================= Footer ==========================================*/
.footer {
    min-height: 0;
    padding-top: 35px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
    color: #2b558c;
}

.footer-list {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.77;
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-list li {
    position: relative;
    padding: 0 0 0 13px;
    margin: 0;
}
.footer-list li:before {
    position: absolute;
    content: "";
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    background-color: #3d5689;
    border-radius: 50%;
}

.footer-list a, .footer-list a:visited {
    color: #4e4e4e;
}

.footer-top {
    padding-bottom: 27px;
    border-bottom: 1px solid #d3d3d3;
    display: flex;
    flex-wrap: wrap;
}
.footer-top .c-wrapper {
    justify-content: space-around;
}
.footer-top .row {
    width: 1200px;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    align-items: stretch;
    justify-content: space-between;
}

.footer-bot {
    padding-top: 16px;
    padding-bottom: 16px;
}
.footer-bot .row {
    width: 1200px;
    max-width: 1200px;
    justify-content: space-between;
}

.footer-column {
    position: relative;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
}
.footer-column:last-child {
    margin-right: 0;
}
.footer-column-info {
    left: 10px;
}
.footer-column-help {
    left: 18px;
}
.footer-column-contacts {
    left: 4px;
}
.footer-column-contacts .footer-title {
    margin-bottom: 12px;
}
.footer-column-buttons .footer-title {
    margin-bottom: 13px;
}

.footer-column-button {
    font-size: 14px;
    font-weight: 700;
    line-height: 34px;
    width: 200px;
    height: 34px;
    margin-bottom: 10px;
}
.footer-column-button:last-child {
    margin-bottom: 0;
}

.footer-txt {
    font-size: 13px;
    font-weight: 400;
    color: #3f3f3f;
}
.footer-txt a {
    color: #2b558c;
}

.footer .contacts__phone {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 9px;
    color: #4e4e4e;
}
.footer .contacts__phone:before {
    content: none;
}
.footer .contacts__email {
    font-size: 13px;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 13px;
    color: #2b558c;
}

.footer-block-contacts {
    margin: 10px 0px 10px 0px;
    display: none;
}
.footer-block-contacts p {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
}
.footer-block-contacts > p > a {
    color: #000;
}

.mobile .footer {
    position: relative;
    padding-bottom: 0;
}
.mobile .footer-column {
    position: static;
}
.mobile .footer-links-block {
    position: absolute;
    font-size: 13px;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: #dcdcdc;
    text-align: center;
    color: #929292;
}
.mobile .footer-links-block a {
    color: #929292;
}

.copyright {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (min-width:768px) and (max-width:1220px) {
    .footer-bot .row, .footer-top .row {
        width: 1000px;
    }
}
@media screen and (min-width:768px) and (max-width:1366px) {
    .tablet .footer-top {
        padding-bottom: 15px;
    }
    .tablet .footer-bot .row, .tablet .footer-top .row {
        width: 100%;
        max-width: 1200px;
    }
    .tablet .footer-list li:before {
        top: 5px;
    }
    .tablet .footer-column.footer-column--contacts {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}
@media screen and (max-width:1366px) {
    .tablet .footer-bot .row, .tablet .footer-top .row {
        max-width: 1200px;
    }
    .tablet .footer-column {
        left: 0;
    }
    .tablet .footer-top .footer-column {
        width: 150px;
        margin-right: 10px;
    }
    .tablet .footer-column-button {
        font-size: 13px;
        width: 150px;
    }
    .tablet .footer-list {
        line-height: 1.4;
    }
    .tablet .footer-list li {
        margin-bottom: 10px;
    }
    .tablet .footer-list li:last-child {
        margin-bottom: 0;
    }
    .tablet .footer .contacts__phone {
        font-size: 14px;
    }
}
@media screen and (min-width:1025px) and (max-width:1220px) {
    .tablet .footer-bot .row, .tablet .footer-top .row {
        max-width: 1000px;
    }
}
@media screen and (min-width:768px) and (max-width:1024px) {
    .tablet .footer-bot .row, .tablet .footer-top .row {
        max-width: 1000px;
    }
    .footer-list li:before {
        top: 5px;
    }
    .footer-top {
        padding-bottom: 15px;
    }
    .footer-column.footer-column--contacts {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}
@media screen and (max-width:1024px) {
    .footer-bot .row, .footer-top .row {
        max-width: 750px;
    }
    .footer-column {
        left: 0;
    }
    .footer-column-button {
        font-size: 13px;
        width: 150px;
    }
    .footer-top .footer-column {
        width: 150px;
        margin-right: 10px;
    }
    .footer-list {
        line-height: 1.4;
    }
    .footer-list li {
        margin-bottom: 10px;
    }
    .footer-list li:last-child {
        margin-bottom: 0;
    }
    .footer .contacts__phone {
        font-size: 14px;
    }
}
@media screen and (max-width:1000px) {
    .tablet .footer-bot .row, .tablet .footer-top .row {
        max-width: 750px;
    }
}
@media (max-width:767px) {
    .footer-top {
        border: none;
        padding-bottom: 10px;
    }
    .footer-bot .row, .footer-top .row {
        max-width: 290px;
    }
    .footer-top .row {
        flex-direction: column;
    }

    .footer-column {
        width: 140px;
    }
    .footer-top .footer-column {
        width: 100%;
        margin: 0;
    }
    .footer .footer-bot .footer-column {
        width: 100%;
        margin: 0;
        text-align: center;
        display: block;
    }
    .footer .footer-bot .footer-column:last-child {
        display: none;
    }
    .footer-column.footer-column--contacts {
        display: none;
    }
    .footer-column:not(.footer-column-contacts):not(.footer-column-buttons) {
        display: none;
    }

    .footer-column-contacts {
        margin: 0;
        order: 2;
    }
    .footer-column-buttons {
        margin: 0 0 40px;
        order: 1;
    }
    .footer-column-buttons [data-open="modal-message"] {
        background: #00286e;
    }
    .footer-column-buttons [data-open="modal-backcall"] {
        background: #f90013;
    }
    .footer-column-buttons [data-open="modal-message-dir"] {
        display: none;
    }
    .footer-column-button {
        width: 100%;
        max-width: 100%;
    }

    .footer-block-contacts {
        display: block;
    }

    .footer-title {
        display: none;
    }

    .footer .contacts__email, .footer .contacts__phone {
        display: none;
    }
    .footer .social-block {
        margin-top: 10px;
        justify-content: center;
    }
}
/*---------------------------------------------------------------------------*/
.scroll-to-top {
    position: fixed;
    font-size: 13px;
    line-height: 27px;
    bottom: 200px;
    right: 0;
    width: 90px;
    height: 27px;
    border-radius: 4px;
    background: #cccccc;
    transition: all .3s;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    color: #fff;
    z-index: 10;
}
.scroll-to-top:hover, .scroll-to-top:focus {
    color: #fff;
}
.scroll-to-top-active {
    opacity: 1;
    visibility: visible;
}


