footer.footer{
    overflow: hidden;    
}
.footer__inner{
    padding-top: 19px;
    background: #B01027;
}
.footer__top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__top-group{
    display: flex;
   /*  align-items: center; */
    justify-content: space-between;
}
.footer__top-wrap{
    transform: translateY(8px);
}
.footer__logo{
    margin-right: 35px;
}
.footer__nav{
    margin-top: 14px;
}
@media (max-width: 1050px){
    .footer__top{
        align-items: unset;
        flex-direction: column;
    }
    .footer__top-wrap{
        transform: unset;
    }
    .footer__top-wrap {
        display: flex;
        justify-content: flex-end;
    }
    
}
@media (max-width: 1023px){
   
    .footer__nav{
        width: 100%;
    }
    
}
@media (max-width: 820px){
    .footer__top{
        position: relative;
    }
    .footer__top-wrap{
        position: absolute;
        right: 0;
    }
    .footer__top-group{
        flex-wrap: wrap;
        flex-direction: column;
        align-items: unset;
    }
    .footer__nav{
        order: 2;
        padding-bottom: 25px;
    }
    .footer__top-wrap{
        order: 1;
        align-self: flex-end;
    }
}
@media (max-width: 767px){
    .footer__nav{
        display: none;
    }
    .footer__top{
        flex-direction: row;
        padding-bottom: 25px;
    }
}
.footer__center{
    padding: 24px 0 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__logo img path{
    fill: #B01027;
}
.footer__nav-link{
    padding-right: 22px;
    font-family: 'Open Sans',sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 20px;
    color: #FFFFFF;
}
.footer__social{
    display: flex;
    align-items: center;
}
.footer__social-item + .footer__social-item{
    padding-left: 18px;
}
.footer__social-item{
    width: 30px;
    height: 30px;
    margin-left: -1px;
}
.footer__social-item svg{
    fill: #ffffff;
    width: 30px;
    height: 30px;
}
.footer__contacts{
    display: flex;
    justify-content: space-between;
    max-width: 920px;
    width: 100%;
}
.footer__contacts-item{
    position: relative;
    padding-left: 30px;
}
.footer__contacts-item:last-child{
    margin-right: 5px;
}
.footer__contacts-item a, .footer__contacts-item{
    font-size: 15px;
    line-height: 20px;
    color: #ffffff;
}
.footer-phones::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background-image: url('/assets/images/icons/icon-phone-white.svg'); 
}
.footer-address::before{
    position: absolute;
    content: '';
    top: -3px;
    left: 0;
    width: 17px;
    height: 22px;
    background-image: url('/assets/images/icons/icon-address-white.svg'); 
}
.footer-message::before{
    position: absolute;
    content: '';
    bottom: 2px;
    left: 0;
    width: 18px;
    height: 13px;
    background-image: url('/assets/images/icons/icon-message-white.svg'); 
}
/* .footer__contacts-item{
    margin-bottom: 15px;
} */
.footer__top-btn{
    cursor: pointer;
    width: 43px;
    height: 42px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #CDCDCD;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.35);
}
@media (max-width: 1050px){
    .footer__center{
        flex-direction: column;
        align-items: unset;
        padding: 0 0 25px;
    }
    .footer__social{
        order:2;
    }
    .footer__contacts{
        order: 1;
        padding-bottom: 25px;
    }
}
@media (max-width: 820px){
    .footer__contacts{
        flex-direction: column;
    }
    .footer__social-item:first-child img{
        width: 14px;
        height: 28px;
    }
    .footer__social-item:nth-child(2) img{
        width: 32px;
        height: 17px;
    }
    .footer__contacts-item:not(:first-child){
        margin-top: 15px;
    }
       
}
.footer__bottom{ 
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 13px 0;
}
.footer__bottom::before{
    position: absolute;
    content: '';
    top: 0;
    left: -150vw;
    width: 500vw;
    height: 1px;
    background-color: #CDCDCD;
}
.footer__bottom p{
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
}
.footer__developer, .footer__developer a{
    cursor: pointer;
    width: 137px;
    height: 32px;
}
.footer__developer{
    background-image: url('/assets/images/icons/icon-award.svg');
    filter: grayscale(100%) brightness(0) invert(1);
}
.footer__developer:hover{
    /* background-image: url('/assets/images/icons/icon-award.svg'); */
    filter: none;
}


#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 45px; 
    width: 59px;
    z-index: 99; 
}


@media screen and (max-width: 767px ) { 
    #scroll-to-top { 
        position: fixed;
        bottom: 0vh; 
        left: 3vw;
    }
}

@media screen and (max-width: 440px ) { 
    #scroll-to-top { 
        position: fixed;
        bottom: 5vh; 
        left: 3vw;
    }
}
