/* --------------------------------------
General para todas las páginas
----------------------------------------- */
.spaceDivs{
    padding-bottom:10px;
}
#usermenu {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: center;
    height:100%;
}
#texto {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}
tfoot input {
    width: 100%;
    padding: 3px;
    box-sizing: border-box;
}
#sobre {
    height:40%;
    width:100%;
    text-align:center;
    line-height: 35px;
    font-size: 22px;
}
.badge {
    font-size:0.8rem;
    text-align: center;
}
#color{
    background:#36648b;
    color:#FDFEFE;
}
.btn_desactivo{
    opacity: 0.3;
}
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background:#36648b;
    color:#FDFEFE;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}
#myBtn:hover {
    background:#26749e;
}
/* ./general */
/* --------------------------------------
login.php
----------------------------------------- */
body.login-page {
    min-height: 466px;
}
html {
    height: auto;
}
/* ./login.php */
/* --------------------------------------
forgot.php
----------------------------------------- */
body.forgot-page {
    height: 100%;
}
/* ./forgot.php */
/* --------------------------------------
Contraseñas -- register.php
----------------------------------------- */
.input-group input.is-invalid {
    border-color: red;
}
.input-group input.is-valid {
    border-color: green;
}
.text-danger {
    color: red;
}
/* ./register.php */
/* --------------------------------------
Evitar ERRORES de SEGURIDAD - XSS-Protection
----------------------------------------- */
.dropdown-menu[aria-labelledby="navbarVersionDropdown"] {
    left: 0px;
    right: inherit;
}
/* Estilo para barras de progreso */
.progress-xxs {
    height: 5px;
}
/* Ancho del progreso al 70% */
.progress-70 {
    width: 70%;
}
/* select2bs4 de los  */
.select2bs4 {
    width: 100%;
}
/* ./XSS-Protection  */

/* MENU */
/* Oculta los submenús por defecto */
.nav-treeview {
    display: none;
}
/* Muestra el submenú si tiene la clase 'display-block' */
.nav-treeview.display-block {
    display: block !important;
}

/* Estilos para el canvas */
.chart-canvas {
    min-height: 250px;
    height: 250px;
    max-height: 250px;
    max-width: 100%;
    display: block;
    width: 347px;
}

/* --------------------------------------
Gráficas de Sensores
----------------------------------------- */
#sensorChartsContainer {
    display: flex;
    flex-direction: column; /* Apila los hijos verticalmente */
}

#sensorChartsContainer > div {
    width: 100%; /* Cada tarjeta ocupa toda la fila */
}

/* --------------------------------------
Estilo para el rango de fechas
----------------------------------------- */
.element-label {
    font-style: inherit;   /* O el estilo que desees */
    vertical-align: inherit;
}
/* ./Estilo para el rango de fechas */


.custom-badge {
    top: -4px !important;
    right: -6px !important;
}
  
/* --------------------------------------
Estilo para el rango de fechas
----------------------------------------- */
.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    padding: 10px 20px;
}