﻿#collapse_button {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 250px;
    height: 35px;
    background-color: #FAFAFA;
    border: solid 1px #dddddd;
    border-bottom: none;
    line-height: 35px;
    padding-left: 20px;
    cursor: pointer;
    z-index: 400;
}

#collapse_button span {
    font-size: 0.92rem;
    margin-left: 20px;
    color: #555555;
}

#menu_left {
    position: fixed;
    top: 50px;
    left: 0;
    height: calc(100vh - 50px);
    width: 250px;
    overflow-x: visible;
    /* Add vertical scrollbar */
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-left: none;
    background-color: #fafafa;
    color: #555;
    z-index: 300;
    overflow-y: auto;
    direction: rtl;
    font-size: 14px;
}

#menu_left a {
    all: unset;
}

#menu_left input {
    all: unset;
}

#search {
    display: grid;
    align-items: center;
    padding: 9px 30px 9px 13px;
    border-bottom: solid;
    border-bottom-width: 1px;
    border-bottom-color: #ddd;
}

#search input {
    background: transparent;
    border: none !important;
    outline: none;
    font-size: 0.85em;
}

    #search input::placeholder {
        color: #999;
        font-size: 1em;
    }

#search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

#search i.fa-magnifying-glass {
    position: absolute;
    right: 10px;
    color: #999;
}

#menu_left .tests {
    color: unset;
    text-decoration: unset;
    width: 100%;
}

#menu_left .theme {
    position: relative;
    border-bottom: solid;
    border-bottom-width: 1px;
    border-bottom-color: #ddd;
}

#menu_left .theme .theme_title {
    font-size: 0.92em;
}

#menu_left .theme .theme_title .theme_title_outer_label {
    padding: 11px 0 11px 15px;
}
#menu_left .theme .theme_title .theme_title_outer_label.collapsed_theme_title {
    padding: 10px 0 10px 15px;
}
#menu_left .theme .theme_title .theme_title_outer_label i:first-child {
    font-size: 1.2em;
    vertical-align: middle;
}

#menu_left .theme .theme_title .theme_title_label {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
}

#menu_left .theme .theme_title .icon_selected {
    color: var(--couleur-theme);
}

#menu_left .theme .theme_title .chevron {
    margin-right: 8px;
    margin-top: 8px;
    float: right;
    --fa-secondary-opacity: 1;
    --fa-secondary-color: #393939;
}

#menu_left .sub_menu_item .icon {
    width: auto;
    margin-right: 10px;
}

#menu_left .theme .theme_title:hover .theme_sub_menu {
    display: inline-grid;
}

#menu_left .theme .sub_item {
display: flex;
flex-wrap: wrap;
font-size: 0.92em;
cursor: pointer;
}

#menu_left .theme .sub_item a {
    color: unset;
    text-decoration: unset;
}

#menu_left .theme .sub_item:hover {
    background-color: #eeeeef;
}

#menu_left .theme .sub_item:hover .sub_sub_menu {
    display: block;
}

#menu_left .theme .sub_item_selected {
background-color: #eeeeef;
}

#menu_left .theme .sub_item_label {
    font-weight: 500;
    display: flex;
    align-items: center;
    min-height: 32px;
}

#menu_left .theme .sub_menu_item .sub_item_label {
    font-weight: 600;
}

#menu_left .theme .sub_item_label span {
    display: inline-block;
    word-break: break-all;
    width: calc(100% - 5px);
    min-height: 18px;
    padding: 4px 0 4px 0;
}

#menu_left .fa-xs {
    font-size: 0.6em;
}


#menu_left .theme .sub_sub_item {
display: flex;
flex-direction: row;
align-items: center;
height: 32px;
font-size: 0.92em;
cursor: pointer;
}

#menu_left .theme .sub_sub_item a {
    padding: 4px 0 4px 0;
}

#menu_left .theme .sub_sub_item:hover {
    background-color: #e2e2e2;
}

#menu_left .theme .sub_sub_item_selected {
background-color: #e2e2e2;
}

.theme_selected {
border-left: solid;
border-left-width: 4px;
border-left-color: var(--couleur-theme);
}

.theme_selected .sub_sub_menu {
left: 249px;
}

.theme_selected .theme_sub_menu {
    left: 249px;
}

.theme_sub_menu_collapsed {
    left: 59px !important;
}

.theme_home {
    column-gap: 0px !important;
}

.theme_sub_menu {
    display: none;
    grid-template-columns: repeat(3, auto);
    column-gap: 30px;
    max-width: 900px;
    background-color: #fafafa;
    position: fixed;
    left: 249px;
    z-index: -1;
    padding: 15px 5px 0px 20px;
    box-shadow: 2px 1px 5px #ddd;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.theme_sub_menu .sub_menu_item {
    padding: 0 35px 30px 0;
    word-break: break-word;
}

.theme_sub_menu .sub_menu_item .sub_sub_item_hover {
    cursor: pointer;
}

#menu_left .theme .sub_menu_item .sub_item_label {
    margin-bottom: 4px;
}

.theme_sub_menu .sub_menu_item .sub_sub_item_hover span {
    display: inline-block;
    height: 24px;
    padding-top: 2px;
}

.theme_sub_menu .sub_menu_item .sub_sub_item_hover a {
    display: inline-block !important;
    width: 100% !important;
}

.theme_sub_menu .sub_menu_item .sub_sub_item_hover:hover {
    text-shadow: 0px 0px 0.5px #555555;
    letter-spacing: 0.027em;
}

.theme_sub_menu .sub_menu_item .sub-icon {
    width: auto;
    margin-right: 10px;
}

.sub_sub_menu {
    display: none;
    background-color: #fafafa;
    position: fixed;
    left: 249px;
    box-shadow: 2px 1px 5px #ddd;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.hidden_border {
    position: absolute;
    top: -20px;
    bottom: -20px;
    width: calc(100% + 20px);
    background: transparent;
    z-index: -1;
}

.sub_sub_menu .sub_menu_item > div a {
    padding: 0px 20px !important;
}

.sub_sub_menu .sub_menu_item:hover {
    background-color: #e2e2e2;
}
/* width */
#menu_left::-webkit-scrollbar {
    width: 10px;
}
/* Track */
#menu_left::-webkit-scrollbar-track {
    background: transparent;
    border: 2.5px solid transparent;
    border-right: 3px solid transparent;
    background-clip: padding-box;
}
/* Handle */
#menu_left::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
    border: 2.5px solid transparent;
    border-right: 3px solid transparent;
    background-clip: padding-box;
}
