.left_menu {
    --lm-accent: var(--main_color, #0793D7);
    --lm-text: #243247;
    --lm-muted: #64748b;
    --lm-border: #e6ebf1;
    --lm-hover: #f2f8fc;
    --lm-bg: #ffffff;

    width: 100%;
    margin-bottom: 20px;
    background: var(--lm-bg);
    border: 1px solid var(--lm-border);
    border-bottom: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(25, 49, 76, .045);
    box-sizing: border-box;
}
.menu_slider .col-3 {
    position: relative;
}

.menu_slider .left_menu {
    position: absolute;
    width: 100%;
    height: 406px;
    margin-bottom: 0;
    overflow: hidden;
    z-index: 5;
}

.menu_slider .left_menu:hover {
    height: auto;
    overflow: visible;
    z-index: 20;
}

.left_menu_item {
    position: relative;
    border-bottom: 1px solid var(--lm-border);
    background: transparent;
    transition: background-color .2s ease;
}

.left_menu_item:hover {
    background: var(--lm-hover);
}

.left_menu_item::before {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    width: 3px;
    background: var(--lm-accent);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(.5);
    transition:
        opacity .2s ease,
        transform .2s ease;
    pointer-events: none;
}

.left_menu_item:hover::before,
.left_menu_item.left_menu_item_open::before {
    opacity: 1;
    transform: scaleY(1);
}

.left_menu_item > a {
    display: block;
    position: relative;
    padding: 17px 42px 17px 19px !important;
    font-size: 15px;
    line-height: 23px;
    font-weight: 600;
    color: var(--lm-text);
    text-decoration: none !important;
    transition:
        color .2s ease,
        background-color .2s ease,
        padding-left .2s ease;
}

.left_menu_item > a:hover {
    color: var(--lm-accent);
    padding-left: 23px !important;
}

.left_menu_item > a.root-item-selected {
    color: var(--lm-accent);
    font-weight: 700;
}

.left_menu_item.left_menu_item_open {
    background: #fff;
}

.left_menu_item.left_menu_item_open > a {
    margin-left: -1px;
    background: #008DD2;
    color: #fff;
    font-weight: 700;
}

.left_menu_item.left_menu_item_open > a:hover {
    color: #fff;
    padding-left: 19px !important;
}

/* 6. Подменю */
.left_sub_menu {
    display: none;
    padding: 12px 12px 14px 17px;
    background: #fff;
}

.left_menu_item_open > .left_sub_menu {
    display: block;
}

.left_sub_menu_item {
    position: relative;
}

.left_sub_menu_item a {
    display: block;
    position: relative;
    padding: 8px 10px 8px 17px !important;
    color: #435268;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 6px;
    transition:
        color .2s ease,
        background-color .2s ease;
}

.left_sub_menu_item a:hover {
    color: var(--lm-accent);
    background: #f1f8fc;
}

.left_sub_menu_item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    width: 5px;
    height: 5px;
    background: #b6c6d5;
    border-radius: 50%;
    transform: translateY(-50%);
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.left_sub_menu_item a:hover::before {
    background: var(--lm-accent);
    transform: translateY(-50%) scale(1.2);
}

.left_sub_menu_item.item_current > a {
    color: var(--lm-accent);
    background: #eef7fc;
    font-weight: 700;
}

.left_sub_menu_item.item_current > a::before {
    background: var(--lm-accent);
}

.left_sub_menu_item .left_sub_menu_item {
    padding-left: 10px;
}

.left_menu .menu_has_child > a > span {
    position: absolute;
    display: block;
    cursor: pointer;
    right: 20px;
    top: 28px;
    transform: translateY(-50%);
    padding: 10px;
}

.left_menu .menu_has_child > a > span::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border: 2px solid #64748b;
    border-right-width: 0;
    border-top-width: 0;
    transform: rotate(-45deg);
    transition:
        transform .25s ease,
        border-color .25s ease;
}

.left_menu .menu_has_child:not(.left_menu_item_open)
    > a:hover > span::after {
    border-color: var(--lm-accent);
}

.left_menu .menu_has_child.left_menu_item_open
    > a > span {
    top: 33px;
}

.left_menu .menu_has_child.left_menu_item_open
    > a > span::after {
    border-color: #fff;
    transform: rotate(135deg);
}

.left_menu_item a:focus-visible,
.left_sub_menu_item a:focus-visible {
    outline: 2px solid var(--lm-accent);
    outline-offset: -2px;
}

@media only screen and (max-width: 1023px) {
    .menu_slider .col-3 {
        display: none;
    }

    .menu_slider .col-9 {
        width: 100%;
    }

    .menu_slider.container {
        padding: 0;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .left_menu_item,
    .left_menu_item::before,
    .left_menu_item > a,
    .left_sub_menu_item a,
    .left_sub_menu_item a::before,
    .left_menu .menu_has_child > a > span::after {
        transition: none;
    }
}