/*  */

/* Scroll Bar */

@media only screen and (min-device-width: 768px) {
    #sidebar
    {
        position    :   fixed   ;
        height      :   45%     ;
        overflow-x  :   hidden  ;
    }

    #main_content_dashboard {

        margin-left: 275px;
    }
}

.scrollbar-deep-blue::-webkit-scrollbar-track {
    -webkit-box-shadow  : inset 0 0 6px rgba(0, 0, 0, 0.1)  !important;
    background-color    : #FFFFFF   !important;
    border-radius       : 10px        !important;
}

.scrollbar-deep-blue::-webkit-scrollbar {
    width   : 5px   !important;
    height  : 3px   !important;

    background-color: #FFFFFF   !important;
}

.scrollbar-deep-blue::-webkit-scrollbar-thumb {
    border-radius       : 10px                                  !important;
    -webkit-box-shadow  : inset 0 0 6px rgba(0, 0, 0, 0.1)    !important;
    background-image    : -webkit-linear-gradient(330deg, #FFFFFF 0%, #D7481F 100%) !important;
    background-image    : linear-gradient(120deg, #FFFFFF 0%, #D7481F 100%)         !important;
}

.scrollbar-deep-blue {
    scrollbar-color     : #D7481F #FFFFFF       !important;
    scrollbar-width     : thin                      !important;
}

/*  */

/* Items */

#sidebar .nav.sub-menu .nav-item .nav-link {
    padding             : 0.25rem 0.1rem 0.25rem 0.1rem       !important; 
}

#sidebar .nav.sub-menu .nav-item .nav-link {
    font-size           : 13px                              !important
}

/*  */

.sidebar .nav .nav-item .nav-link .menu-icon {
    font-size   : 1.125rem;
    line-height : 1;
    margin-left : auto;
    color       : rgba(187,168,191,.960784);
}

/*  */

.menu_icon_i {
    margin-left : 9px;
}

/*  */

.hide_submenu {
    display     : none;
}

.show_submenu {
    display     : block;
}

/*  */
/*  */
@media (max-width: 768px) {
    .menu {
      flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    }

    .menu-item {
      flex: 0 0 50%; /* Set the width of each item on smaller screens */
      max-width: 50%; /* Limit the maximum width to 50% */
    }

    .menu-indicator {
      width: 100px; /* Adjust the width of the slider on smaller screens */
    }
}

:root {
    --active-color: rgba(187,168,191,.960784) ;
    --link-text-color: inherit ;
    --menu-background-color: #FFFFFF  ;
    --active-background-color:  inset 0 0 6px rgba(187,168,191,.960784);
}
/* ul */
.menu {
    padding: 0;
    margin: 0;
    position: relative;
    background-color: var(--menu-background-color);
    /* display: inline-flex; */
    border-radius: 4px;
    list-style-type: none;
    overflow: hidden;
}
/* li */
.menu-item {
    display: inline-flex;
}

/* a */
.menu-link {
    padding: 0.4rem 1rem;
    display: inline-flex;
    align-items: center;
    color: var(--link-text-color);
    text-decoration: none;
}

.menu-link:hover,
.menu-link.active {
    color: var(--active-color);
    background-color: var(--active-background-color);
}

/* icon */
.menu-icon {
    height: 1.5rem;
    width: 1.5rem;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    margin-right: 0.2rem;
    color       : rgba(187,168,191,.960784);
}
/* slider */
.menu-indicator {
    position: absolute;
    height: 0.25rem;
    background-color: var(--active-color);
    bottom: 0;
    left: 0;
    margin: auto;
    width: 3rem;
    transition: all ease 0.5s;
}

/*  */

div::-webkit-scrollbar {
    width : 10em !important;
}