@font-face {
    font-family: Roboto-Regular;
    src: url(../fonts/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto-Medium;
    src: url(../fonts/Roboto-Medium.ttf);
}
/* ---------------------------------------------------
    GENERALES
----------------------------------------------------- */
body{
    font-family: Roboto-Regular;
    font-size: 14px;
    background-color: #ffffff; 
    background: #ffffff;
    color: #32323c;
}
/* Para navegadores basados en WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 16px; /* Cambia este valor para ajustar el ancho del scroll */
}

/* Estilo para el "track" de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color del fondo del scroll */
}

/* Estilo para la "thumb" (la barra desplazable) */
::-webkit-scrollbar-thumb {
    background-color: #888; /* Color de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados */
}

/* Cambia el color de la barra al hacer hover sobre ella */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Para navegadores Firefox */
html {
    scrollbar-width: thin; /* Establece un ancho más fino */
    scrollbar-color: #888 #f1f1f1; /* Color de la barra de desplazamiento y del track */
}

a{
    text-decoration:none !important;
    color: #74aa51;
}
a:hover{
    color: #201915;
}
.badge{
    line-height: normal;
}

.elemt_web{
    display:block;
}
.elemt_movil{
    display:none;
}

/* ---------------------------------------------------
    SIDEBAR
----------------------------------------------------- */
#sidebar {
    width: 210px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    color: #c3c3c3;
    transition: all 0.3s;
    border-right: 1px solid #ededed;
    overflow: scroll;
}

#sidebar.active {
    /*margin-left: -170px;*/
    width: 60px;
}

#sidebar::-webkit-scrollbar {
    width: 0px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
}
        
/* Ponemos un color de fondo y redondeamos las esquinas del thumb */
#sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
}

/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
#sidebar::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Cambiamos el fondo cuando esté en active */
#sidebar::-webkit-scrollbar-thumb:active {
    background-color: #999999;
}

.sidebar-top{
    width: 210px;
    position: fixed;
    border-bottom: 1px solid #f3f3f3;
    margin-bottom: 15px;
    color: #ffffff;
    padding: 6px;
    font-size: 30px;
    font-weight: bold;
    z-index: 3;
    background-color: #00698b;
    border-right: 1px solid #ededed;
}

.sidebar-top.active{
    width: 60px;
}

/* ---------------------------------------------------
    BTNS SIDEBAR
----------------------------------------------------- */
.list-group {
    padding-left: 10px;
}

.list-group-item{
    padding: 5px;
    color: #8d95b1;
    border-radius: 30px 0 0 30px;
    border: 0px;
    border-bottom: 2px solid rgba(0,0,0,.0);
    background-color: rgba(0,0,0,0);
    transition: 0.2s all;
} 

.list-group-item:hover{
    color: #74aa51;
}

.list-group-item:hover .sidemenu-label{
    margin-left: 5px;
    transition: margin-left 0.45s ease;
}

.bt_select{
    background-color: #ebebea;
    border-radius: 30px 0px 0px 30px !important;
}
        
.sidemenu-label {
    transition: margin-left 0.45s ease;
}
      
.base_icons_menu{
    background-color: #8bc34a;
    padding: 10px;
    color: #ffffff;
    border-radius: 40px;
    text-align: center;
}
    
.icons_menu{
    text-align: center;
    padding: 5px;
    font-size: 18px;
    display: inline-block;
    margin-right: 5px;   
}
.ti_menus{
    padding: 10px;
    font-size: 12px;
    color: #201915;
    font-family: Roboto-Medium;
    font-weight: bold;
}

/* ---------------------------------------------------
    CONTENIDO
----------------------------------------------------- */
#content {
    width: calc(100% - 210px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    overflow: auto;
    height: 100vh;
}

#content.active {
    width: calc(100% - 60px);
}

#content::-webkit-scrollbar {
    width: 3px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
}
        
/* Ponemos un color de fondo y redondeamos las esquinas del thumb */
#content::-webkit-scrollbar-thumb {
    background: #ccc;
}

/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
#content::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Cambiamos el fondo cuando esté en active */
#content::-webkit-scrollbar-thumb:active {
     background-color: #999999;
}

.menu_top{
    padding-top: 10px;
    padding-bottom: 10px;
    border-left: 1px solid #2b2b3e;
    position: fixed;
    background-color: #0e0e23;
    width: calc(100% - 230px);
    z-index: 3;
    border-bottom: 1px solid #2b2b3e;
}

.menu_top.active{
    width: calc(100% - 80px);
}

.sidemenu-label.hide{
    display: none;
}
.ti_menus.hide{
   display: none; 
}

.view_page{
    margin-right: 0;
    margin-left: 0;
}

.ico_horizontal{   
}

.ico_horizontal.hide{
    display: none; 
}

.ico_lateral{
    display: none; 
}

.ico_lateral.hide{
   display: block;
}

/* ---------------------------------------------------
    MEDIA QUERYS
----------------------------------------------------- */

@media (max-width: 768px) {
    
    .elemt_web{
        display:none;
    }
    .elemt_movil{
        display:block;
    }
    
    #sidebar {
        margin-left: -210px;
        z-index: 1;
    }
    #sidebar.active {
        margin-left: 0px;
        width: 210px;
    }
    
    .sidebar-top{
        width: 60px;
    }
    .sidebar-top.active{
        width: 210px;
    }
    
    #content {
        width: 100%;
        position: relative;
    }
    #content.active {
        width: 100%;
        margin-left: 210px;
    }
    
    .sidemenu-label.hide{
        display: inline-table;
    }
    .ti_menus.hide {
        display: block;
    }
    
    /*
    #sidebarCollapse span {
        display: none;
    }
    
    
    
    
    
    
    
    .menu_top{
        width: 100% !important;
    }
    */
}
