.ris-title-decor {
    padding-bottom: 16px;
    margin-bottom: 36px;
    text-align: center;
    background: url(../img/title-bullit_black.jpg) no-repeat center bottom;
}
.container-auth {
    max-width: 1650px;
    width: 100%;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}
header {
    margin-bottom: 60px;
}
.header {
    min-height: 98px;
    background: url('../img/bg_header.svg') repeat top center !important;
    background-size: auto;
}
.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}
.header__logo-link {
    line-height: 0;
}
.header__logo-img {
    transition: opacity 0.25s;
}
.header__mobile {
    display: none;
}
a .header__logo-img:hover {
    opacity: 0.75;
}
a .header__logo-img:active {
    opacity: 1;
}
.main {
    margin-bottom: 60px;
}
.footer {
    background: url('../img/bg_footer.svg') no-repeat center center !important;
    background-size: cover;
    margin-bottom: 30px;
}
.footer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid #474747;
}
.footer__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.footer__logo-img {
    transition: opacity 0.25s;
}
.footer__logo-img:hover {
    opacity: 0.75;
}
.footer__logo-img:active {
    opacity: 0.5;
}
.footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
}
.footer__telegram {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    transition: color 0.25s;
    color: #474747;
    font-size: 1.15em;
}
.footer__telegram:hover {
    color: #E32329;
}
.footer__telegram:active {
    color: #fc5f5f;
}
.footer__telegram svg {
    min-height: 28px;
    min-width: 28px;
    margin-right: 6px;
    padding: 3px;
    border: 1px solid #474747;
    border-radius: 50%;
    stroke: #474747;
    transition: stroke 0.25s;
}
.footer__telegram:hover svg {
    stroke: #E32329;
    border-color: #E32329;
}
.footer__telegram:active svg {
    stroke: #fc5f5f;
    border-color: #fc5f5f;
}
.copyright {
    margin-bottom: 30px;
}
.copyright__flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.copyright p {
    font-size: .85em;
    line-height: 1.5em;
}
.copyright a {
    color: #E32329;
    transition: color 0.25s;
}
.copyright a:hover {
    color: #474747;
}
.copyright a:active {
    color: #ff9a9a;
}
@media (max-width: 1200px) {
    .header__logo {
        height: 64px;
    }
    .header__logo-img {
        max-width: 240px;
    }
}
@media (max-width: 992px) {
    .header {
        min-height: 0;
        margin-bottom: 30px;
        background: #f3f7fa;
    }
    .header__row {
        display: none;
    }
    .header__mobile {
        display: block;
    }
    .header__mobile.container {
        padding: 0;
    }
    .header__mobile-row {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 65px;
        padding: 0;
        width: 100%;
    }
    .header__logo-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .header__logo-img {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .ris-box {
        padding: 24px;
    }
    .footer {
        background: #f3f7fa;
    }
    .footer__row {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px 0;
    }
    .footer__logo-img {
        max-width: 200px;
    }
    .footer__menu-list {
        display: none;
    }
    .footer__phone {
        font-size: 1.5em;
    }
}
@media (max-width: 580px) {
    .ris-box {
        padding: 16px;
    }
    .ris-title-decor {
        font-size: 1.75em;
    }
    .footer__row {
        flex-direction: column;
        border-bottom: none;
    }
    .footer__logo-link {
        margin-bottom: 0;
    }
    .copyright__flex {
        flex-direction: column;
    }
}