/* 
    Created on : 26-sep-2018, 14:48:43
    Author     : antonio
*/

body, html {
    width: 100%;
    height:100%;
    overflow: hidden;
}

#contenedor{
    overflow:hidden;
}

.botones{
    width: 150px;
    height:110px;
    margin: 5px;
    font-size: 3.5em;
    opacity: 0.8;
    touch-action: manipulation;
    /*background-color: rgba(255,255,255,0.4);
    color: #F2F2F2;
    -webkit-transition: background .2s ease-in-out, border .2s ease-in-out;
    -moz-transition: background .2s ease-in-out, border .2s ease-in-out;
    -o-transition: background .2s ease-in-out, border .2s ease-in-out;
    transition: background .2s ease-in-out, border .2s ease-in-out;*/

}

#usernombre{
    pointer-events: none;
    position: absolute;
    top: 20%;
    width: 100%;
    font-size: 2.5em;
    color: white;
    opacity: 0.8;
}

.botonesuser{
    position: absolute;
    width: 250px;
    height:110px;
    font-size: 3.5em;
    opacity: 0.8;
    touch-action: manipulation;
    top: 43%;
    left: 50%;
    margin-left: -125px;
    /*background-color: rgba(255,255,255,0.4);
    color: #F2F2F2;
    -webkit-transition: background .2s ease-in-out, border .2s ease-in-out;
    -moz-transition: background .2s ease-in-out, border .2s ease-in-out;
    -o-transition: background .2s ease-in-out, border .2s ease-in-out;
    transition: background .2s ease-in-out, border .2s ease-in-out;*/

}
.botonesveract{
    position: absolute;
    width: 320px;
    height:110px;
    font-size: 3.5em;
    opacity: 0.8;
    touch-action: manipulation;
    top: 43%;
    left: 50%;
    margin-left: -160px;
    /*background-color: rgba(255,255,255,0.4);
    color: #F2F2F2;
    -webkit-transition: background .2s ease-in-out, border .2s ease-in-out;
    -moz-transition: background .2s ease-in-out, border .2s ease-in-out;
    -o-transition: background .2s ease-in-out, border .2s ease-in-out;
    transition: background .2s ease-in-out, border .2s ease-in-out;*/

}

#fechahorauser{
    pointer-events: none;
    text-align: center;
    position: absolute;
    top: 10%;
    width: 100%;
    font-size: 2.5em;
    z-index: 1000;
    color: lime;
}

#nombreempresauser{
    pointer-events: none;
    text-align: center;
    position: absolute;
    float: left;
    font-size: 2.5em;
    color: white;
    margin-left: 10px;
    bottom: 0;
    z-index: 100;
    opacity: 0.5;
}

#divuser{
    width: 100%;
}

/*.botones:hover {
    color: white;
    background-color: rgba(255,255,255,0.2);
}*/

#keypad{
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

#inputnumero{
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    opacity: 0.8;
    border-radius: 0.5em;
}

#idtrabajador{
    width: 300px;
    height: 70px;
    text-align: center;
    border-radius: 0.2em;
}

#fechahora{
    float: right;
    font-size: 2.5em;
    margin: 15px;
    z-index: 10000;
    color: lime;
}

#nombreempresa{
    position: absolute;
    float: left;
    font-size: 2.5em;
    color: white;
    margin-left: 10px;
    bottom: 0;
    z-index: 10000;
    opacity: 0.5;
}

#avisos{
    display: none;
    position: absolute;
    margin-left: 10%;
    width: 80%;
    border-radius: 0.2em;
    text-align: center;
    font-size: 2.5em;
    background-color: white;
    bottom: 10%;
    z-index: 10000;
}

#fondoindex{
    position: absolute;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -10;
    text-align: center;
    overflow:hidden;
    background-image: linear-gradient(to bottom, rgba(255,0,0,0), rgba(96,96,96,1));
}

#imgfondoindex{
    max-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: -10;
}

#grafica{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}

.mismoalto {
    height: 46px;
}
.bar-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 10px 0;
}

.bar {
    position: relative;
    height: 30px; /* Altura de cada barra */
    margin: 5px 0;
    color: lightgray;
    display: flex;
    align-items: center;
    padding-left: 0px;
    border: 1px solid lightgray; /* Gris muy claro */
    border-radius: 4px; /* Opcional, para esquinas suaves */
}

.bar span {
    position: absolute;
    left: 10px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Estilos del Modal */
.modal {
    display: none; /* Ocultamos el modal por defecto */
    position: fixed; /* Fijamos la posición */
    z-index: 10001; /* Aseguramos que el modal esté encima */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Altura completa */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro y semitransparente */
    justify-content: center;
    align-items: center;
}

/* Estilos para el contenido del modal */
.modal-content {
    background-color: white;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Puedes ajustar el ancho del modal */
    max-width: 500px;
    box-sizing: border-box; /* Incluye el padding y border en el ancho total */
}

/* Estilos para el botón de cerrar */
.close {
    color: black;
    float: right;
    font-size: 32px;
    font-weight: bold;
    margin-top: -20px;
    margin-right: -10px;
}

.close:hover,
.close:focus {
    color: black;
    font-size: 32px;
    text-decoration: none;
    cursor: pointer;
}

#cerrargrafica{
    font-size: 25px;
    margin-bottom: 10px;
}
button#graph{
    position: absolute;
    right: 55px;
    font-size: 25px;
    margin: 8px;
    color: black;
}
button#logout{
    position: absolute;
    right: 0px;
    font-size: 25px;
    margin: 8px;
    color: black;
}
