/*стили главного меню и сайдбара*/
.top-menu li:hover {
    cursor: pointer;
}

.top-menu li:hover .catalog-button .left_menu{
    /*.top-menu li .catalog-button > ul {*/
    display: block;
    min-width: max-content;
}

.top-menu li .catalog-button > ul, .menu-catalog .left_menu:not(.ins_left_menu .left_menu) .depth_level_1:hover .parent_depth_level_2 {
    border-radius: 10px;
}

.menu-catalog .left_menu:not(.ins_left_menu .left_menu) .depth_level_1:hover .parent_depth_level_2 {
    display: flex;
    height: auto;
    max-height: 600px;
    overflow: auto;
    flex-direction: row;
    margin-left: 15px;
    padding: 20px !important;
}

.menu-custom .menufull .menu-catalog ul li.depth_level_2 a {
    align-items: flex-start;
}

.catalog-header.top-menu.menu-catalog .depth_level_2 {
    /*float: left;*/
    width: 25%;
}

.catalog-button {
    position: relative;
}

.top-menu.menu-catalog ul ul {
    top: 60px;
    background-color: initial;
}

.top-menu.menu-catalog .left_menu .depth_level_1:hover .parent_depth_level_2 {
    margin-top: 0 !important;
    top: 0;
}

.menu-catalog.top-menu .left_menu li.depth_level_1 {
    /*position: relative;*/
    background-color: #fff;
}

.menu-catalog.top-menu .left_menu li.depth_level_1:hover {
    background-color: #2F7696;
}

.menu-catalog.top-menu .left_menu li.depth_level_1:hover a {
    color: #fff;
}

.menu-catalog.top-menu .left_menu li.depth_level_1:first-child {
    border-radius: 5px 5px 0 0;
}

.menu-catalog.top-menu .left_menu li.depth_level_1:last-child {
    border-radius: 0 0 5px 5px;
}

.top-menu .left_menu li.depth_level_1:has(.accordion-content):hover:after {
    content: '';
    display: block;
    width: 15px;
    height: 100%;
    position: absolute;
    right: -15px;
    /*top: 0;*/
    background: url("/images/icons/rectangle.svg") center no-repeat;
}

.menu-catalog .top-menu .left_menu li.depth_level_1:first-child {
    border-radius: 10px 10px 0 0;
}

.menu-catalog .top-menu .left_menu li.depth_level_1:last-child {
    border-radius: 0 0 10px 10px;
}

.top-menu .left_menu li a {
    padding: 0;
}
.top-menu.menu-catalog li{
    padding: 0 0 10px 10px;
}

.menu-catalog .left_menu .depth_level_1 {
    padding: 15px;
}

.skel {
    overflow: hidden;
}

.top-menu.menu-catalog .left_menu li:not(.depth_level_1) {
    width: 22%;
    min-width: 220px;
}

.top-menu.menu-catalog .left_menu li:not(.depth_level_1):first-child {
    border-radius: 10px 0 0 0;
}

.menu-catalog.top-menu .left_menu .depth_level_1 .parent_depth_level_2 li:hover, .menu-catalog.top-menu .left_menu .depth_level_1 .parent_depth_level_2 li:hover a {
    background-color: initial;
    /*color: #fff;*/
}

.menu-catalog.top-menu .left_menu .depth_level_1 .parent_depth_level_2 li:hover ul {
    background-color: initial;
}

.menu-custom .menufull ul li a {
    text-decoration: none;
}

.menu-custom .menufull .menu-catalog ul li a, .left_menu:not(.ins_left_menu .left_menu) .depth_level_1:hover .parent_depth_level_2 a {
    color: initial;
}

.menu-custom .menufull .menu-catalog ul li a {
    justify-content: flex-start;
    align-items: flex-end;
}

.menu-custom .menufull .menu-catalog ul .depth_level_1 > a {
    justify-content: space-between !important;
}

.menu-catalog.top-menu .left_menu li:has(.parent_depth_level_2) > a::after {
    background-image: url(/images/icons/arrow-black-right.svg);
    background-position: center;
    background-size: contain;
    width: 4px;
    height: 8px;
    margin-top: 0;
    margin-left: 0;
}
td.ins_left_menu{
    max-width: 350px;
}
.left_sidebar{
    padding: 15px;
    background-color: #fff;
}
.left_sidebar li{
    list-style-type: none;
}
.left_sidebar a{
    display: flex;
    text-decoration: none;
    color: #000;
}
.left_sidebar .accordion-item{
    border-bottom: none;
}
.left_sidebar .depth_level_1{
    margin-bottom: 30px;
}

.left_sidebar .depth_level_1>a{
    margin-bottom: 20px;
}
.left_sidebar .depth_level_1>a{
    font-weight: bold;
}
.left_sidebar .parent_depth_level_2, .left_sidebar .accordion-item .accordion-body{
    padding-left: 0;
}
.left_sidebar .parent_depth_level_2 li{
    padding-bottom: 10px;
}
.left_sidebar .accordion-body{
    padding: 0;
}
.left_sidebar .accordion-item .accordion-body, .left_sidebar .show_more~li{
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
}
.left_sidebar .accordion-item .accordion-body{
    transition: max-height 0.3s ease;
}
.show_more.active{
    display: none;
}
.left_sidebar .accordion-item.active .accordion-body, .left_sidebar .show_more.active~li{
    max-height: 1000px;
}
.left_sidebar .show_more.active~li{
    padding-bottom: 10px;
}
.left_sidebar .accordion-item.active>a{
    color: #40627D;
    margin-bottom: 11px;
}
.left_sidebar .parent_depth_level_3{
    padding-left: 37px;
}
.left_sidebar .show_more a, .left_sidebar .hide_more a{
    color: #2F7696;
    font-size: 14px;
    text-decoration: underline;
}
.accordion-content .accordion-item {
    border-bottom: none;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 16px 20px;
    background: #f5f5f5;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #eaeaea;
}

.accordion-header.active {
    background: #e0e0e0;
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border: 1px solid #BFBFBF;
    border-radius: 2px;
    margin-right: 15px;
    color: #BFBFBF !important;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(-135deg);
}

.accordion-body {
    padding: 16px 20px;
    background: #fff;
    color: #555;
    line-height: 1.6;
}
/*стили главного меню и сайдбара*/