:root {
    --hover_blue: #3A8BFF;
    --scrollbar_gray: #DADFE5;
    --white: #fff;
    --text_gray: #ACB4BF;
}

.catalogActive {
    color: var(--hover_blue);
}

#catalogWrap {
    z-index: 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top:0;
    height: 100vh;
    width: calc(50% - 500px);
    left: -450px;
    min-width: 200px;
    max-width: 450px;
    background: var(--white);
    padding: 60px 18px 10px;
    cursor: default;
    transition: left 0.5s ease-in-out;
}

#catalogWrap:hover {
    z-index: 31;
}

#catalogWrap:hover .close {
    opacity: 1;
}

#catalogWrap:hover #catalogWrap_main::-webkit-scrollbar-thumb {
    background: var(--scrollbar_gray);
}

#catalogWrap_header {
    height: 30px;
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

#catalogWrap_header .close {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 18px;
    height: 30px;
    cursor: pointer;
    background: url("../images/doubleleftarrow.png") no-repeat;
    background-size: 100%;
}

#catalogWrap_header .close:hover {
    background: url("../images/doubleleftarrow-blue.png") no-repeat;
    background-size: 100%;
}

#catalogWrap_main {
    width: 100%;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    font-weight: 500;
    color: #474C59;
    font-size: 14px;
    cursor: pointer;
}

#catalogWrap_main::-webkit-scrollbar-thumb {
    background: transparent;
}

.catalog_item[data-level="2"]{
    padding-left: 18px;
}
.catalog_item[data-level="3"]{
    padding-left: 36px;
}
.catalog_item[data-level="4"]{
    padding-left: 54px;
}
.catalog_item[data-level="5"]{
    padding-left: 72px;
}
.catalog_item[data-level="6"]{
    padding-left: 90px;
}

.catalog_item[data-level="1"],
.catalog_item[data-level="2"],
.catalog_item[data-level="3"],
.catalog_item[data-level="4"],
.catalog_item[data-level="5"],
.catalog_item[data-level="6"] {
    margin-bottom: 10px;
    cursor: pointer;
}

.catalog_item[data-level="1"]:hover,
.catalog_item[data-level="2"]:hover,
.catalog_item[data-level="3"]:hover,
.catalog_item[data-level="4"]:hover,
.catalog_item[data-level="5"]:hover,
.catalog_item[data-level="6"]:hover {
    color: var(--hover_blue);
}

#catalogFolderWrap {
    position: fixed;
    top: calc(50vh - 20px);
    left: -40px;
    transition: left 0.5s ease-in-out;
    z-index: 31;
}

#catalogFolderWrap .catalog_fold {
    cursor: pointer;
    width: 40px;
    height: 32px;
    padding: 0 16px 0 10px;
    background: white url("../images/catalog_fold.png") center center / 14px 14px no-repeat;
    box-shadow: 0 1px 4px 0 rgba(1, 33, 79, 0.1);
    border-radius: 0 32px 32px 0;
    box-sizing: border-box;
}
