﻿/* !боковое меню */
::-webkit-scrollbar {
    width: 3px;
    background-color: #F8F8F8;
}

::-webkit-scrollbar-thumb { 
    border-radius: 2px;
    background-color: #CFCFCF;
}

.aside-menu {
    min-width: 250px;
    height: 550px;
    background-color: #F8F8F8;
    border: 1px solid #EAEFF4;
    -webkit-box-shadow: 2px 2px 2px rgb(93 114 133 / 7%);
    -moz-box-shadow: 2px 2px 2px rgb(93 114 133 / 7%);
    box-shadow: 2px 2px 2px rgb(93 114 133 / 7%);
    line-height: 19px;
    position: relative;
    z-index: 400;
    margin-right: 25px;
}

.aside-menu .menu_list.level_1 .menu_list.level_2 {
    display: none;
}

.menu_list.level_1 {
    width: 250px;
    position: absolute;
    height: 550px;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-color: #006AC5 #F8F8F8;
    scrollbar-width: auto;
    z-index: 400;
}

.aside-menu-list{
    display: block;
    position: relative;
    height: auto;
}

.aside-menu-list__item,
.menu_item_class.level_1 {
    width: 250px;
    display: block;
    height: auto;
    padding: 10px 25px 0px;
    color: #3B455C;
    position: relative;
}

.menu_item_class.level_1:hover,
.menu_item_class.level_1.opened {
    background-color: #006AC5;
    color: #DEE7EF;
}

.menu_item_class.level_1 > a,
.menu_item_class.level_1 > b {
    display: block;
    padding-bottom: 5px;
    font-weight: 400;
    background: url('/images/reboot/arrow-right-blue.svg') center right no-repeat;
}

.aside-pull-out-block {
    position: absolute;
    width: 1110px;
    height: 550px;
    top: -1px;
    left: 250px;
    background-color: #F8F8F8;
    z-index: 1000;
    padding: 10px 20px;
    display: none;
    overflow-y: scroll;
    z-index: 400;
    border: 1px solid #EAEFF4;
    -webkit-box-shadow: 2px 2px 2px rgb(93 114 133 / 7%);
    -moz-box-shadow: 2px 2px 2px rgb(93 114 133 / 7%);
    box-shadow: 2px 2px 2px rgb(93 114 133 / 7%);
}

.aside-pull-out-block .menu_list.level_2 {
    display: none;
}

.aside-pull-out-block .menu_list.level_2.open {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 700px;
    -webkit-box-shadow: 0px 0px 2px 2px rgba(248,248,248,1);
    -moz-box-shadow: 0px 0px 2px 2px rgba(248,248,248,1);
    box-shadow: 0px 0px 2px 2px rgba(248,248,248,1);
}

.menu_item_class.level_2 {
    margin-bottom: 25px;
}

.menu_item_class.level_2 > a:hover {
    color: #006AC5;
}

.menu_item_class.level_2 > a {
    font-family: "Open Sans";
    font-weight: 700;
    color: #3B455C;
    font-size: 14px;
    line-height: 24px;
}

.aside-menu:hover .aside-pull-out-block {
    display: block;
}

.menu_item_class.level_3 > a {
    font-family: "Roboto";
    font-weight: 400;
    color: #3B455C;
}

.aside-pull-out-block .menu_item_class.level_2 > a,
.aside-pull-out-block .menu_item_class.level_3 > a {
    max-width: 250px;
    display: block;
    white-space: normal;
}

.menu_item_class.level_3 > a:hover {
    text-decoration: underline;
}

.second-menu__close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
}

/* !popup бокового меню */
.catalog-popup {
    opacity: 0;
    display: none;
    position: relative;
    z-index: 1001;
}

.filter-popup {
    display: none;
}

.catalog-fixed {
    position: absolute;
    z-index: 1002;
}


.menu-tablet-popup {
    display: none;
    /* -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%); */
}

.filter-fixed {
    position: fixed;
    display: none;
    bottom: 0;
    padding: 20px;
    right: 0;
    width: 100%;
    max-height: 700px;
    background-color: #fff;
    z-index: 200;
    overflow-y: auto;
    border-radius: 25px 25px 0 0;
}

.menu-tablet-fixed {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background-color: #fff;
    z-index: 350;
    display: flex;
    flex-direction: column;
    bottom: 0;
    overflow: hidden;
    overflow-y: scroll;
    min-height: 100vh;
    min-width: 390px;
    height: 100%;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.menu-tablet-fixed.slided-menu {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.menu-tablet-top {
    display: flex;
    justify-content: space-between;
    background-color: #F8F8F8;
    padding: 25px 40px 25px;
}

.menu-tablet-top img {
    width: 20px;
    height: 20px;
}

.menu-tablet-close {
    border: none;
    padding: 0;
    background-color: transparent;
}

.menu-tablet-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #004178;
}

.filter-popup-bg,
.menu-tablet-bg {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    z-index: 199;
    background-color: rgba(0, 0, 0, 0.3);
}

.menu-tablet-list {
    padding: 20px 20px 60px;
    width: 100%;
    flex: 1;
    overflow-y: auto;
    height: calc(100% - 90px);
}

.filter-top-block {
    display: flex;
    justify-content: space-between;
    padding: 30px 10px;
    background-image: url('/images/reboot/tablet-line.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 150px 8px;
}

.filter-tablet-clear,
.filter-tablet-close {
    border: none;
    font-size: 18px;
    line-height: 24px;
    color: #006AC5;
    background-color: transparent;
    width: 130px;
}

.filter-tablet-clear {
    text-align: start;
}

.filter-tablet-close {
    text-align: end;
}

.filter-tablet-title {
    color: #3B455C;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}

.filter-fixed #search_form .articul,
.filter-fixed #search_form .cena,
.filter-fixed #search_form .proizvoditeli,
.filter-fixed #search_form .range-group,
.filter-fixed #search_form .checkbox-group {
    background-color: #F8F8F8;
    padding: 20px;
    margin-bottom: 10px;
}

.filter-fixed #search_form .range-group,
.filter-fixed #search_form .checkbox-group {
    position: relative;
    padding-top: 30px;
}

.filter-fixed #search_form .range-group legend,
.filter-fixed #search_form .checkbox-group legend,
#search_form .range-group legend {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: #3B455C;
    position: absolute;
    top: 10px;
}

#search_form .range-group legend {
    top: 5px;
}

#search_form .range-group .range-block {
    margin-bottom: 35px;
}

.filter fieldset.checkbox-group div::-webkit-scrollbar {
    background-color: transparent;
    width: 0;
}

.filter-fixed #search_form #in_but button {
    max-width: 230px;
    margin: 0 auto;
    display: block;
    margin-top: 20px;
}

#search_form .cena .price-flex-block,
#search_form .range-group .range-block {
    display: flex;
    max-width: 230px;
    width: 100%;
    justify-content: space-between;
}

#search_form .cena .price-flex-block label input,
#search_form .range-group .range-block label input {
    width: 90px;
}

#search_form .cena .price-flex-block .filter-line,
#search_form .range-group .range-block .filter-line {
    width: 16px;
    border-bottom: 1px solid #505D68;
    margin-bottom: 15px;
}

.filter-fixed::-webkit-scrollbar,
.filter-fixed::-webkit-scrollbar-thumb,
.checkbox-group div::-webkit-scrollbar,
.checkbox-group div::-webkit-scrollbar {
    width: 0;
    background-color: transparent;
}

.filter-fixed .articul fieldset label input,
.filter-fixed .proizvoditeli fieldset label input {
    display: block;
}

@media screen and (max-width: 1440px) {
    .aside-pull-out-block {
        width: calc(100vw - 335px);
    }    
}

/* !tablet-aside-menu */
.menu-tablet-list .menu_list.level_1 {
    width: 100%;
    /* max-width: 420px; */
    height: 100%;
    overflow-y: auto;
    overflow-x: visible;
    position: relative;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1,
.menu-tablet-list .menu_list.level_2 .menu_item_class.level_2,
.menu-tablet-list .menu_list.level_3 .menu_item_class.level_3 {
    width: auto;
    padding: 0;
    margin-bottom: 5px;
    position: relative;
}

.menu-tablet-list .tablet-menu-arrow {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 10px;
    right: 0;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1 > a,
.menu-tablet-list .menu_list.level_2 .menu_item_class.level_2 > a, 
.menu-tablet-list .menu_list.level_3 .menu_item_class.level_3 > a{
    background-image: none;
    width: 100%;
    display: block;
    padding: 10px;
    font-weight: 400;
    line-height: 18px;
    border-bottom: 1px solid #DDDDDD;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1.has-child > a::after,
.menu-tablet-list .menu_list.level_2 .menu_item_class.level_2.has-child > a::after,
.menu-tablet-list .menu_list.level_3 .menu_item_class.level_3.has-child > a::after {
    content: '';
    background-image: url('/images/reboot/arrow-right-blue.svg');
    position: absolute;
    display: block;
    right: 0;
    top: 40%;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1.open > a,
.menu-tablet-list .menu_list.level_1 .menu_item_class.level_2.open > a {
    display: inline;
    font-size: 16px;
    color: #006AC5;
    font-weight: 700;
    margin-left: 30px;
    border-bottom: none;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1.open > a::after,
.menu-tablet-list .menu_list.level_1 .menu_item_class.level_2.open > a::after,
.menu-tablet-list .menu_list.level_1 .menu_item_class.level_3.open > a::after {
    display: none;
}

.menu-tablet-list .menu_list.level_2,
.menu-tablet-list .menu_list.level_3 {
    display: none;
}

.menu_item_class.level_1.open .menu_list.level_2,
.menu_item_class.level_2.open .menu_list.level_3 {
    display: block;
    margin-top: 20px;
}

.menu_item_class.level_1.open > a {
    padding-left: 25px;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1.open,
.menu-tablet-list .menu_list.level_2 .menu_item_class.level_2.open,
.menu-tablet-list .menu_list.level_2 .menu_item_class.level_3.open {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: 1;
    display: block !important;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1.open .tablet-menu-arrow,
.menu-tablet-list .menu_list.level_1 .menu_item_class.level_2.open .tablet-menu-arrow {
    display: none;
}

.menu-tablet-list .tablet-menu-arrow-back {
    position: absolute;
    transform: rotate(-180deg);
    width: 15px;
    height: 15px;
}

.menu-tablet-list .menu_list.level_1 .menu_item_class.level_1.opened {
    padding: 10px;
}