html, body {
  overflow: auto;
}

:root{
    --primary: #111b54;
    --light: #ffff;
    --grey: #efefef;
}
.custom-color-blue{
    background: linear-gradient(to bottom, #1572d5, #29292afa);
    color: #ffffff;
}
[class*=custom-color-blue] .nav-legacy.nav-sidebar>.nav-item>.nav-link.active {
    color: #fff;
}
.custom-color-blue .nav-sidebar.nav-legacy>.nav-item>.nav-link.active, .sidebar-light-lime .nav-sidebar.nav-legacy>.nav-item>.nav-link.active {
    border-color: #01ff70;
}
.login{
    background-image: url('../images/login/Ruvid-bg.png');
    background-size: 100% 100%;
}
.table .thead-blue th {
    color: #fff;
    background-color: #084ed1;
    border-color: #767676;
    text-transform: uppercase;
}
.table td, .table th {
    padding: .50rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
.layout-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar {
    margin-top: calc(0.0rem + 1px);
}
.rounded-image{
    border-radius: 50%;
}
.hide{
    display: none;
}
.height-box-login{
    height: 430px;
    width: 250px;
    border-radius: 1.5em;
}
.cut-img-login{
    -ms-flex-align: center;
    background: #e9ecef;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
}
.custom-input{
   border-radius: 3em;
    box-shadow: 0 3px 7px 0 rgba(0,0,0,0.24), 0 3px 19px 0 rgba(0,0,0,0.19);
}
.custom-input::placeholder{
   color: #3ab0c3;
    opacity: revert;
}
.user-icon{
    padding-left: 2.25em;
    background: url('../images/login/RuvidUser.png') no-repeat 10px 6px;
    background-size: 10% 61%;
}
.lock-icon{
    padding-left: 2.25em;
    background: url('../images/login/RuvidPass.png') no-repeat 9px 6px;
    background-size: 11% 65%;
}
.header-background{
    background: url('../images/login/fondo.png')  no-repeat -1px -42px;
    border-bottom: none;
}
.ruvid-logo-header{
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: -50px;
    margin-bottom: -30px;

}
.my-success-btn{
    border-radius: 3em;
    background-color: #28a744;
    color: #ffffff;
}
.alert-float{
    position: relative;
}
.my-success-btn:hover {
  color: white;
  box-shadow: 0 3px 7px 0 rgba(0,0,0,0.24), 0 3px 19px 0 rgba(0,0,0,0.19);
}

html{
    height: 100%;
}
.date{
    font-size: 1.2em;
}

/*--------------------------------------------------------------------------------------------*/
/*===== VARIABLES CSS =====*/
:root{
  --nav-width: 49px;

  /*===== Colores =====*/
  --first-color: #0C5DF4;
  --bg-color: #084ed1;
  --sub-color: #B6CEFC;
  --white-color: #FFF;

  /*===== Fuente y tipografia =====*/
  --body-font: 'Poppins', sans-serif;
  --normal-font-size: 1rem;
  --small-font-size: .875rem;

  /*===== z index =====*/
  --z-fixed: 100;
}


/*===== BASE =====*/

h1{
  margin: 0;
}
ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
a{
  text-decoration: none;
}

/*===== l NAV =====*/
.l-navbar{
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  max-height: 100vh;
  background-color: var(--bg-color);
  color: var(--white-color);
  transition: .5s;
  z-index: var(--z-fixed);
}
.nav__list{
    background: linear-gradient(to bottom, #74b9f3,#084ed1);
    height: 81vh;
    padding-top: 29px;
    border-top: solid #598ec3;
}
.logo-out{
    background:#084ed1;
    border-top: solid #6aa6d0;
}

/*===== NAV =====*/
.my-nav{
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav__brand{
  display: grid;
  grid-template-columns: max-content max-content;
     column-gap: .75rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-left: 1rem;
  background: #084ed1;
}
.nav__toggle{
  font-size: 1.25rem;
  padding: .75rem;
  cursor: pointer;
}
.nav__logo{
  color: var(--white-color);
  font-weight: 600;
}
.my-content {
    overflow-y: auto;
    height: 100vh;
    padding-bottom: 5rem;
}
.nav__link{
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  column-gap: .75rem;
  padding: .75rem;
  color: var(--white-color);
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
  margin-bottom: 1rem;
  transition: .3s;
  cursor: pointer;
        text-transform: uppercase;
}
.nav__link:hover{
  background-color: var(--first-color);
}
.nav__icon{
  font-size: 1.25rem;
}
.nav__name{
  font-size: var(--small-font-size);
}

/*Expander menu*/
.expander{
  width: calc(var(--nav-width) + 11.25rem);
}

/*Add padding body*/
.body-pd{
  padding: 2rem 0 0 16rem;
}

/*Active links menu*/
.active{
  background-color: var(--first-color);
}

/*===== COLLAPSE =====*/
.my-collapse{
  grid-template-columns: 20px max-content 1fr;
    position: relative;
    z-index: 1;
}
.nav__link:hover{
    color: var(--white-color);
}
.collapse__link{
  justify-self: flex-end;

  transition: .5s;
}
.collapse__menu{
  display: none;
  padding: .10rem .25rem;
}
.item__collapse{
    display: grid;
    align-items: center;
    column-gap: .75rem;
    padding: .30rem;
    grid-template-columns: max-content max-content;
}
.collapse__sublink{
  color: var(--sub-color);
  font-size: var(--small-font-size);
}
.collapse__sublink:hover{
  color: var(--white-color);
}

/*Show collapse*/
.showCollapse{
  display: block;
  transition: .5s;
}

/*Rotate icon*/
.rotate{
  transform: rotate(180deg);
}
/*-----------------------------------*/
:root {
    --primary: #111B54;
    --light: #ffffff;
    --grey: #efefef;
}

body {
    overflow: hidden;
    font-family: 'Monserrat', sans-serif;
    font-weight: 300;
    color: var(--primary);
}

a:hover {
    text-decoration: none;
}

.my-bg-primary {
    /*background-color: var(--primary) !important; */
    background: linear-gradient(to bottom, #74b9f3,#084ed1);
}

.bg-light { background-color: var(--light) !important; }

.bg-grey { background-color: var(--grey) !important; }

.bg-mix { background: linear-gradient(180deg, var(--light) 50%, var(--grey) 0); }


#sidebar-container {
    min-height: 100vh;
    min-width: 39.5vh;
}

#sidebar-container .logo{
    padding: 0.875rem 1.25rem;
    height: 12vh;
    background: #084ed1;
}

#sidebar-container .menu {
    padding-top: 2rem;
    padding-left: 1rem;
}

#content {
    overflow-y: auto;
    height: 200vh;
}

.avatar {
    max-width: 35px;
}

.btn-search {
    right: 0;
}

.stat {
    border-right: 1px solid var(--grey);
}


@media (max-width: 768px) {
    #sidebar-container {
      display: none;
    }
    .stat {
        border: 0;
    }
  }

.my-box{
    background: #FFFFFF;
    color: #084ed1;
    border-left: 3px solid #084ed1;
    border-radius: 12px;
    text-transform: uppercase;
}

.bgSizeContain {
  background-image: url('../images/layout/RuvidBgHome.png');
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
}

.my-user-panel img {
    position: relative;
    top:-2px;
    width: 4.1rem;

}

.move-top{
 top: -35px;
}
.sidebar-footer{
    height: 50px;
    position: absolute;
    bottom: 0;
    min-width: 39.1vh;
    list-style-type: none;
    padding-left: 1rem;
    padding-bottom:5.5em;
}
.border-up{
    border-top: #80b2e8 solid;
}
.my-btn-primary{
    border-radius: 10px;
    background: #084ed1;
    padding: 5px;
    color: #FFFFFF;
    border: none;

}
.my-btn-success{
    border-radius: 10px;
    background: #084ed1;
    padding: 5px;
    color: #FFFFFF;
    border: none;

}
.my-btn-primary:hover{
     color: #FFFFFF;
}

.my-close{
    padding: 0.5rem;
    position: relative;
    border-radius: 50%;
    background: #ffffff;
    top: -30px;
    right: -26px;
}
.cursor{
    cursor: pointer;
}
.orderable a{
    color: white;
}

table.table thead th.orderable ::after {
    font-family: "Font Awesome 5 Free", sans-serif;
    content: "\f0dc";
}
table.table thead th.asc ::after{
     font-family: "Font Awesome 5 Free", sans-serif;
    content: "\f0de";
}
table.table thead th.desc ::after {
    font-family: "Font Awesome 5 Free", sans-serif;
    content: "\f0dd";
}


.box {
  box-shadow: 0 1px 22px -12px #607D8B;
  background-color: #fff;
  padding: 25px 35px 25px 30px;
    border-radius: .5em;
}

.my-avatar {
    position: relative;
    left: 1rem;
}
.height{
    height: 80%
}

/* Aplica a un contenedor con clase .sidebar */
.sidebar {
  overflow-y: auto; /* Asegura que la barra aparezca si es necesario */
}

/* Scrollbar general */
.sidebar::-webkit-scrollbar {
  width: 6px; /* Cambia el grosor */
}

/* Track (fondo de la barra) */
.sidebar::-webkit-scrollbar-track {
  background: transparent; /* o usa un color si quieres */
}

/* Thumb (la parte que se mueve) */
.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.4); /* color del thumb */
  border-radius: 10px; /* bordes redondeados */
  border: 1px solid transparent;
  background-clip: padding-box;
}

/* Al pasar el mouse por encima */
.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(100, 100, 100, 0.6);
}
/* Estilos solo para Firefox */
.sidebar {
  scrollbar-width: thin; /* "auto" | "thin" | "none" */
  scrollbar-color: rgba(100, 100, 100, 0.4) transparent;
}
