
.sidebar {
    height: 100%;
    width: calc(50% - (var(--cont) / 2 * 1px - var(--sb-width)));
    min-width: var(--sb-width);
    background-color: var(--c-white);
}

.sidebar .sb_h_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar .sb_h_logo:hover {
    opacity: 1;
}

.sidebar .sb_hl_imgs {
    --s: 60px;
    height: var(--s);
    align-items: center;
    display: flex;
/*    animation: sb_hl_imgs_anim 1.2s;*/
}

.sidebar .sb_hl_img {
    width: var(--s);
    height: var(--s);
    overflow: hidden;
    border-radius: 100%;
    border: 4px solid var(--c-white);
    box-sizing: unset;
    position: relative;
    z-index: 1;
/*    transition: transform .3s;*/
}

.sidebar .sb_hl_img:hover {
    transform: scale(1.1);
}

.sidebar .sb_hl_img img {
    width: 100%;
    height: 100%;
}

.sidebar .sb_hl_img + .sb_hl_img {
    margin-left: -31px;
/*    animation: sb_hl_img_anim 1.2s;*/
}

@keyframes sb_hl_imgs_anim {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes sb_hl_img_anim {
    0% {
        margin-left: -68px;
    }
    50% {
        margin-left: -68px;
    }
    100% {
        margin-left: -31px;
    }
}

.sidebar .sb_hl_name {
    margin-top: 16px;
    font-size: 37px;
    color: var(--c-red);
    line-height: 105%;
/*    animation: sb_hl_name_anim 1.2s ease-out;*/
}

@keyframes sb_hl_name_anim {
    0% {
        transform: translateY(-10px) scale(.7);
        opacity: 0;
    }
    50% {
        transform: translateY(0) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.sidebar .sb_h_searcher {
    background-color: var(--c-red-light);
    border-radius: 12px;
    overflow: hidden;
    height: 60px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.sidebar .sb_h_searcher_inp {
    padding: 0;
    width: calc(100% - 34px);
    height: 100%;
    font-size: 20px;
}

.sidebar .sb_hs_icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    cursor: pointer;
}

.sidebar .sb_hs_icon svg {
    width: 100%;
    height: 100%;
}

.sidebar .sb_h_scheme {
    margin-top: 40px;
    height: 46px;
    display: flex;
    justify-content: center;
    color: var(--c-white);
    align-items: center;
    background-color: var(--c-red);
    border-radius: 12px;
    font-size: 20px;
    line-height: 105%;
}

.sidebar .sb_h_scheme svg {
    width: 18px;
    height: 18px;
}

.sidebar .sb_h_scheme span {
    margin-top: 2px;
    margin-left: 24px;
}

.sidebar .sb_b_metro_points {
    margin-top: 40px;
}

.sidebar .sb_bm_point {
    display: flex;
    align-items: center;
    height: 58px;
    padding: 0 16px 0 14px;
    border-radius: 12px;
    border: 1px solid var(--c-gray-border);
    font-size: 20px;
    background-color: var(--c-white);
    transition: .3s;
    cursor: pointer;
}

.sidebar .sb_bm_point:hover {
    background-color: var(--c-red-light);
    border-color: var(--c-red);
    color: var(--c-red);
}

.sidebar .sb_bmp_color {
    border: 2px solid var(--c-white);
    box-sizing: unset;
    width: 24px;
    height: 24px;
    border-radius: 100%;
}

.sidebar .sb_bmp_name {
    padding-top: 2px;
    margin-left: 24px;
    max-width: 157px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar .sb_bmp_count {
    padding-top: 2px;
    margin-left: auto;
}

.sidebar .sb_bm_point + .sb_bm_point {
    margin-top: 20px;
}

.sidebar .sb_b_view_all {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--c-red);
    transition: .3s;
}

.sidebar .sb_b_view_all:hover {
    opacity: 1;
    background-color: var(--c-red);
    color: var(--c-white);
}

@media screen and (max-width: 1728px) {
    .sidebar .sb_hl_name {
        font-size: 30px;
    }

    @keyframes sb_hl_name_anim {
        0% {
            transform: translateY(-10px) scale(.7);
            opacity: 0;
        }
        50% {
            transform: translateY(0) scale(1.12);
            opacity: 1;
        }
        100% {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
    .sidebar .sb_h_searcher {
        height: 48px;
        margin-top: 34px;
        padding: 0 24px;
    }

    .sidebar .sb_h_searcher_inp {
        font-size: 16px;
    }

    .sidebar .sb_hs_icon {
        width: 20px;
        height: 20px;
    }

    .sidebar .sb_b_metro_points,
    .sidebar .sb_h_scheme {
        margin-top: 30px;
    }

    .sidebar .sb_h_scheme {
        font-size: 16px;
    }

    .sidebar .sb_h_scheme span {
        margin-left: 16px;
    }

    .sidebar .sb_h_scheme svg {
        width: 16px;
        height: 16px;
    }

    .sidebar .sb_bm_point + .sb_bm_point {
        margin-top: 16px;
    }

    .sidebar .sb_bmp_color {
        width: 20px;
        height: 20px;
    }

    .sidebar .sb_bmp_name {
        margin-left: 12px;
        max-width: 176px;
    }

    .sidebar .sb_bm_point {
        font-size: 16px;
        height: 48px;
    }

    .sidebar .sb_b_view_all {
        font-size: 16px;
        margin-top: 30px;
    }
}

@media screen and (max-width: 1440px) {
    .sidebar .sb_bmp_name {
        max-width: 126px;
    }
}

@media screen and (max-width: 1240px) {
    .sidebar .sb_h_searcher {
        margin-top: 30px;
    }

    .sidebar .sb_bm_point {
        font-size: 14px;
    }

    .sidebar .sb_bmp_name {
        max-width: 116px;
    }

    .sidebar .sb_b_view_all,
    .sidebar .sb_b_metro_points,
    .sidebar .sb_h_scheme {
        margin-top: 20px;
    }

    .sidebar .sb_bm_point + .sb_bm_point {
        margin-top: 12px;
    }

    .sidebar .sb_hl_imgs {
        --s: 48px;
    }

    .sidebar .sb_hl_img + .sb_hl_img {
        margin-left: -25px;
        animation: sb_hl_img_anim 1.2s;
    }

    @keyframes sb_hl_img_anim {
        0% {
            margin-left: -56px;
        }
        50% {
            margin-left: -56px;
        }
        100% {
            margin-left: -25px;
        }
    }
}

@media screen and (max-width: 1140px) {
    .sidebar {
        display: none;
    }
}