 footer .footer-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

footer {
    width: 100%;
    border-radius: 0 0 64px 64px;
    margin-top: 102px;
    background: #41393E;
}

footer .footer-top {
    height: 52px;
    background: #4F454B;
}

footer .main-footer {
    border-radius: 0 0 64px 64px;
    background: #41393E;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 31px 0 80px;
}

footer .market1 {
    width: 190px;
}

footer .market2 {
    width: 194px;
}

footer .footer-logo {
    text-align: center;
    margin-right: 140px;
}

footer .footer-logo img {
    width: 153px;
}

footer .footer-logo .copyright {
    font-size: 12px;
    margin-top: 18px;
    letter-spacing: 0.04em;
    color: #9E8F98;
}

footer .footer-menu ul {
    margin-right: 70px;
}

footer .footer-menu ul li {
    margin-bottom: 24px;
}

footer .footer-menu ul a {
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    font-family: GHEAHelveticaGeoBold;
}

footer .footer-social {
    margin-left: 37px;
}

footer .footer-social .cards {
    text-align: right;
    margin-top: 14px;
}

footer .footer-social .social {
    margin-top: 13px;
}

footer .footer-social .social img {
    margin-right: 4px;
}

.other {
    display: none;
}

.branchPhoneBlock {
    position: fixed;
    bottom: 20vh;
    max-height: 512px;
    height: 50vh;
    width: 100%;
    z-index: 13;
    top: 80vh;
    right: 65px;
    max-width: 0;
}

.branchPhoneBlock.show {
    top: unset;
    max-width: 413px;
    right: 10px;
}

.branchPhoneBlock .branchList {
    display: none;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: auto;
    -webkit-box-shadow: 0 8px 8px rgb(164 74 63 / 14%);
    box-shadow: 0 8px 8px rgb(164 74 63 / 14%);
    border-radius: 16px;
    background: #FFFFFF;
    padding: 16px;
    height: 100%;
    width: 0;
}

.branchPhoneImage {
    width: 64px;
    margin: 15px auto 0;
}

.branchPhoneImage,
.branchPhoneImage img {
    width: 64px;
}

.branchPhoneBlock.show .branchList {
    display: block;
    width: 100%;
}

.branchList::-webkit-scrollbar {
    width: 10px;
}

.branchList::-webkit-scrollbar-track {
    background: #ffffff;
    margin-top: 10px;
    margin-bottom: 10px;
}

.branchList::-webkit-scrollbar-thumb {
    background: #D9CEAB;
    border-radius: 50px;
}

.branchList::-webkit-scrollbar-thumb:hover {
    background: #D9CEAB;
}

.branchList .branchListTitle {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #393E41;
}

.branchList .branchItem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 8px 0;
}

.branchList .branchItem div {
    max-width: 80%;
    letter-spacing: 0.3px;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

.branchList .branchItem div.branchItemTitle {
    color: #586065;
    padding-right: 30px;
}

.branchList .branchItem div.branchItemPhone {
    text-decoration: none;
    font-weight: 700;
    color: #393E41;
    max-width: 86px;
}

@media (max-width: 1270px) {
    .main-footer {
        max-width: 90%;
        margin: 0 auto;
    }

    footer .footer-logo {
        margin-right: 90px;
    }
}

@media (max-width: 1164px) {
    .main-footer {
        padding: 0 40px;
    }

    .main-footer {
        max-width: 100% !important;
    }

    footer .main-footer {
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -moz-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 31px 40px 52px;
    }

    footer .market1 {
        width: 161px;
    }

    footer .market2 {
        width: 164px;
    }

    footer .footer-logo {
        margin-right: 34px;
    }

    .footer-logo img {
        max-width: 100px;
    }

    footer .footer-menu ul {
        margin-right: 20px;
    }

}

@media (max-width: 985px) {

    footer .footer-social {
        margin-left: 0;
    }
}

@media (max-width: 780px) {
    .main-footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .main-footer {
        padding: 0 16px;
    }

    footer .main-footer {
        padding: 16px 16px 20px;
    }

    footer {
        margin-top: 88px;
    }

    .footer-logo img {
        max-width: 64px;
        margin-right: 7px;
    }

    footer .footer-logo .copyright {
        font-size: 12px;
        margin-top: 0;
    }

    footer .footer-logo {
        margin-right: 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-top: 32px;
    }

    footer {
        border-radius: 0 0 32px 32px;
    }

    .footer-menu {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }

    footer .footer-menu ul:first-child {
        margin-right: 0;
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

    footer .footer-menu ul a {
        font-size: 14px;
        letter-spacing: 0.04em;
        color: #FFFFFF;
        font-family: GHEAHelveticaGeo;
    }

    footer .footer-menu ul:last-child {
        width: 100%;
        margin-right: 0;
        border: 1px solid #655860;
        border-radius: 8px;
        padding: 8px 12px;
        color: #fff;
        margin-bottom: 20px;
        height: 40px;
        overflow: hidden;
    }

    .other {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -moz-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        color: #fff;
        position: relative;
        top: 3px;
    }

    .mob-hide {
        display: none;
    }

    footer .footer-social {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: unset;
        -ms-flex-align: unset;
        align-items: unset;
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .branchPhoneBlock {
        right: 65px;
        max-width: 0;
        max-height: 70vh;
        top: calc(100vh - 170px);
    }

    .branchPhoneBlock.show {
        max-width: 364px;
        width: 100%;
        right: 10px;
    }

    .branchPhoneImage,
    .branchPhoneImage img {
        width: 56px;
    }
}

@media (max-width: 660px) {

    footer {
        margin-bottom: 77px;
    }

}

@media (max-width: 400px) {
    .branchPhoneBlock.show {
        max-width: 95%;
        width: 100%;
        right: 10px;
    }
}


@media (max-width: 370px) {
    footer .market1 {
        width: 133px;
    }

    footer .market2 {
        width: 140px;
    }
}
