html{
    height: 100%;
}

body{
    overflow-y: hidden;
    height: 100%;
}

#contenido-layout{
    height: 100%;
}
.modal {
    width: 95% !important;
    max-width: 95% !important;
    height: 85% !important;
    max-height: 85% !important;
    top: 30px !important;

}
#login_background{
    background-image: url('/img/fondo_login.jfif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#login_background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ajusta el valor alfa (0.5) según tus necesidades */
    z-index: 1; /* Asegúrate de que el pseudo-elemento esté por encima de la imagen */
}
span.text_link {
    position: relative;
    bottom: 6px;
    left: 5px;
}
.login{
    position: relative;
    background-color: white;
    margin-top: 50px;
    border-radius: 3px;
    padding:50px !important;
    z-index: 2;
}
.columna{
    padding: 0px !important;
    background-color: #a3a3a3;
}
nav{
    background-color: rgb(231, 3, 3) !important;
    color: white !important;
}
.collection{
    background-color: #a3a3a3 !important;
    border: 0px !important;
}
.collection-item{
    background-color: #a3a3a3 !important;
    border: 0px !important;
}
.collection-item:hover{
    background-color: #054464 !important;
    color: white !important;
}
.active{
    color: #054464 !important;
    background-color: white !important;
}
.collection-item a{
    color: white !important;
}
a.btn-floating.btn-large.waves-effect.waves-light.red.modal-trigger {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid #054464;
    -webkit-box-shadow: 0 1px 0 0 #054464;
    box-shadow: 0 1px 0 0 #054464;
}
.active_menu{
    background-color: #d4220a !important;
    color: white !important;
}
hr{
    color: 1px solid #054464 !important;
    background: 1px solid #054464 !important;
    border: 1px solid #054464 !important;
}
.contenido{
    height: 90.5vh !important;
    overflow-y: scroll !important;
}
.columna{
    height: 90.5vh !important;
    overflow-y: hidden !important;
}
.white-background .collection-item{
    background-color: white !important;
}
.padding{
    padding: 10px !important;
}
#calendar {
    text-align: center;
}
.week {
    display: flex;
    justify-content: center;
}
.day {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 3px solid #ccc;
    margin: 2px;
    text-align: center;
}
.day:hover {
    background-color: #decd12;
}
.empty-day{
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 1px solid #ccc;
    margin: 2px;
    text-align: center;
    background:#ccc;
}
.today {
    background-color: rgba(121, 191, 185,0.9);
    border: 3px solid #054464;
}
span.badge {
    top: 45px;
    position: absolute;
    background-color: red;
    padding: 0px;
    border-radius: 5px;
    font-size: 10px;
    margin: 0px !important;
    line-height: 1 !important;
    height: 10px !important;
    width: 10px;
    color: white !important;
    font-weight: bold;
    max-width: 10px;
}
.alert_day{
    background-color: rgba(40, 126, 25,0.5);
}
.noscroll{
    overflow-x: hidden !important;
}
.padded{
    padding: 20px !important;
}
#stikyFotterRight{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.border-green{
    border: 1px solid #4CAF50 !important;
    background-color: #daffdb !important;
}
.border-grey{
    border: 1px solid #ccc !important;
    background-color: #f2f2f2 !important;
}
.border-red{
    border: 1px solid #f44336 !important;
    background-color: #ffe7e7 !important;
}
.etiqueta{
    border-radius: 30px !important;
    padding: 5px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}
.tabs .tab a:hover, .tabs .tab a.active {
    color: #054464;
}
.tabs .indicator {
    background-color: #054464;
}
.tabs .tab a {
    color: #054464;
}
.fixed{
    position: fixed !important;
    bottom: 10px !important;
    right: 10px !important;
}
#grafica_temporal{
    width: 100% !important;
    height: 300px;
}
.statusBox{
    height: 150px;
    text-align: center;
    display: block;
}
.breadcrums{
    background-color: #919191 !important;
    color: white !important;
}
a.breadcrumb {
    height: 40px;
    display: inline-block;
    padding-top: 5px;
    padding-right: 17px;
}
.breadcrumb:before {
    color: black;
    top: -4px;
    position: relative;
}

div#csvResult .input-field label {
  pointer-events: none;
}

input#file-path-toolCSV::placeholder{
    color: red !important;
}


/* MG desde oct25*/
@media only screen and (max-width: 850px) {
    /* primera cabecera horizontal*/
    nav .nav-wrapper {
        flex-direction: column;    /* apila logo y menú */
        align-items: center;       /* centra ambos */
        text-align: center;
        height: 15vh;
        line-height: 5%;
    }

    nav .brand-logo {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        -webkit-transform: none !important;
        margin: 5% 2% !important;
        font-size: 7vw;
    }

    #nav-mobile {
        height: 70%;
        width: 100vw;
        flex-direction: row;       /* iconos en línea */
        justify-content: center;   /* centrados debajo del logo */
    }

    #nav-mobile li {
        display: flex;
        align-items: center; /* centra verticalmente el contenido */
        padding: 8% 3%;
    }

    #nav-mobile li i {
        line-height: inherit;
    }

    /* menú lateral izquierdo*/
    #collection-layout {
        margin-top: 5vh;
        position: fixed !important;
        top: 64px;       /* debajo del nav */
        left: 0 !important;  /* fuerza a la izquierda */
        bottom: 0;
        width: 40% !important; /* igual que la columna original l2/s3 */
        overflow-y: auto !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
        background: inherit;
        z-index: 999;
    }

    #collection-layout::-webkit-scrollbar {
        display: none;
    }
    .hide-menu {
        display: none !important;
    }

    /*línea breadcrum*/
    .breadcrums {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .breadcrums .breadcrumb {
        flex-shrink: 0; /* evita que los elementos se contraigan */
    }

    a.breadcrumb{
        padding: 1.5% 0%;
    }
    .breadcrumb:before{
        margin: 0% 0%;
    }

    /* Evitar desbordamiento en títulos de tarjetas */
    .card-content .card-title {
        font-size: clamp(1.8rem, 4vw, 1.5rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* opcional, por si acaso */
    }

}
