html {
    font-size: 14px;
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    height: 100%;
}

body {
    margin-bottom: 60px;
    background: linear-gradient(to right, #f9fcff, #e8f0ff);
    font-family: 'Arial', sans-serif;
    height: 100%;
    background-size: cover;
/*    background-attachment: fixed;*/
    margin: 0;
}
.rol-verde {
    color: green;
}

.nav-item {
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.nav-link {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
}

.nav-item.active {
    background-color: #6495ED; /* Color de la pestaña activa */
    color: white;
}

.nav-link.active {
    color: white; /* Color del texto en pestaña activa */
}

/* Efecto hover de las pestañas */
.nav-item:hover {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    background-color: lightskyblue;
}

/* Botón Cerrar Sesión */
.nav-item-close {
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.nav-link-close {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
    align-items: center; /* Centra verticalmente el texto e ícono */
}

.nav-item-close:hover {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    background-color: crimson; /* Color rojo al hacer hover */
    color: #ffffff;
}

/* Efecto para mantener activo el color */
.nav-item-close.active {
    background-color: #6495ED;
    color: #fff;
}
.nav-item.active .nav-link,
.nav-link.active {
    color: white !important;
    background-color: #6495ED; /* Color de la pestaña activa */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.nav-item.close .nav-link,
.nav-link.close {
    color: white !important;
    background-color: crimson; /* Color rojo al hacer hover */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}