:root {
    --tabs-border-color: #cbd92e3d;
    --tabs-border-size: 2px;
    --tabs-text-color: white;
    --tabs-dark-color: #dddddd;
    --tabs-lite-color: #fcfcfc;
    --tabs-width: 120px;
    --tabs-height: 40px;
}

.btn-lima {
    background-color: #ccdb2c;
    color: white;
    border-color: #ccdb2c;
    text-align: center;
    border-radius: 5px;
    text-transform: uppercase; /* Para que el texto esté en mayúsculas */
    transition: background-color 0.3s, border-color 0.3s;
    display: inline-block; /* Asegura que el ancho se ajuste al contenido */
}

.btn-padding{
    font-size: 1.25rem;
    padding: 1rem 5rem;
    width: auto; /* El ancho se ajustará al contenido, pero con padding será más amplio */
}

.btn-lima:hover {
    background-color: #a8c120;
    border-color: #a8c120;
}

/* styles.css */

/* Estilo para los botones */
.btn-alternating {
    font-size: 1rem;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-alternating:nth-child(odd) {
    background-color: #741474; /* Color morado */
    border-color: #741474;
    color: white;
}

.btn-alternating:nth-child(even) {
    background-color: #ccdb2c; /* Color verde lima */
    border-color: #ccdb2c;
    color: white;
}

/* Hover effect */
.btn-alternating:hover {
    opacity: 0.7;
}

body{
    background:
    linear-gradient(227deg,rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0) 70.71%), 
    linear-gradient(114deg, #CAD92E, rgba(255, 255, 255, 0) 70.71%),
    linear-gradient(337deg, #701373, rgba(255, 255, 255, 0) 70.71%);
    color: whitesmoke;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-size: contain;
    background-attachment: fixed;
    align-items: center;
    overflow-x: hidden;
}

label {
    color:black;
}

div {
    color: black;
}

.fondocaja{
    background-color: white;
    border-radius: 50px;
    margin: 2.5% 10%;
    color: whitesmoke;
    align-items: center;
}

.fondo {
    background:
        linear-gradient(227deg,rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0) 70.71%), 
        linear-gradient(114deg, #CAD92E, rgba(255, 255, 255, 0) 70.71%),
        linear-gradient(337deg, #701373, rgba(255, 255, 255, 0) 70.71%);
}

.imagen{
    display: flex !important;
    justify-content: center !important;
}

.container{
    max-width: 1200px;
    margin: auto;
    padding: 20px 0px;
    display: block;
    justify-content: center;
}

.container2{
    max-width: 90%;
    display: block;
    justify-content: space-between;
    margin: auto;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.casilla {
    background-color: #CAD92E;
}

.botoningresar {
    background: #701373!important;
}

.cabecera{
    max-width: 1200px;
    margin: auto;
    padding: 20px 0px;
    border-bottom-color: gray;   

}

.cabecera ul{
    display: flex;
    justify-content: space-evenly;
    min-height: 80px;
    padding: 0px 50px;
    margin: 25px 50px;
    background:
        linear-gradient(227deg,rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0) 70.71%), 
        linear-gradient(114deg, #cbd92e3d, rgba(255, 255, 255, 0) 70.71%),
        linear-gradient(337deg, #7013733d, rgba(255, 255, 255, 0) 70.71%);
    border-radius: 50px;
}

.cabecera ul li {
    list-style: none;
    vertical-align: middle;
    margin: auto;
    display: flex;
    width: 10em;
    transition: all 0.33s ease-in-out;
    color: black;
}

.cabecera ul li:hover{
    transform: scale(1.2);
    background: #ffffff80;
    border-radius: 50%;
    box-shadow: 0px 0px 20px 10px #ffffffa1;
    color:  #701373;
}

.cabecera ul li form{
    background: none;
    vertical-align: middle;
    margin: auto;
    display: flex;
}

.cabecera ul li a, .cabecera ul li form button{
    color: black;
    background: none;
    margin: auto;
    text-decoration: none;  
    text-transform: uppercase;
    padding: 0px 8px;
    font-weight: 600;
    border: none;
}

.cabecera ul li a:hover, .cabecera ul li form button:hover{
    color: #701373;
    cursor: pointer;
}

#datatable-tabla {
    color: black;
}

.table {
    caption-side: top;
}

.centrao{
    text-align: center !important;
    vertical-align: middle !important;
}

.arreglobotones {
    padding: 0px 10px!important;
}

.formulario{
    max-width: 50%;
    padding: 5px;
    margin: 50px auto;
    border-radius: 50px;
    text-align: center !important;
    vertical-align: middle !important;
    /*background-color: rgb(252, 252, 252);*/
    background:
        linear-gradient(227deg,rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0) 70.71%), 
        linear-gradient(114deg, #cbd92e3d, rgba(255, 255, 255, 0) 70.71%),
        linear-gradient(337deg, #7013733d, rgba(255, 255, 255, 0) 70.71%);
    box-shadow: 0px 0px 15px rgb(128, 128, 128);
}

.formulario form{
    background-color: rgba(255, 255, 255, 0.8);
    vertical-align: middle;
    padding: 45px;
    border-radius: 45px;
}

.formulario form p {
    text-align: left !important;
    display: flex;

}

.formulario form p label{
    min-width: 120px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.formulario form p input{
    margin: 4px 0px;
    width: 100% !important;
    justify-content: left;
    border-width: 0px;
    border-radius: 5px;
    min-height: 40px;
    padding: 0px 10px;
    box-shadow: 0px 0px 3px rgb(180, 180, 180);
}

#id_Activo{
    width: auto !important;
    box-shadow: none;
}

.errorlist{
    display: none;
}

.errormsg{
    width: 100%;
    color: red;
    justify-content: center;
}

.succesfull{
    margin: 15px auto;
    width: 100%;
    color: black;
    justify-content: center;
}

.titulo{
    color: rgb(90, 90, 90);
    text-decoration: solid;
    text-align: center;
}

.introtabla{
    margin: 0px 5%;
    display: flex;
    vertical-align: middle;
    margin-bottom: 20px;
}

.mediovertical{
    display: flex;
    vertical-align: middle !important;
    align-items: center;
    flex: 0 0 auto;
    width: 50%;
}

.izq{
    justify-content: left;
}

.der{
    justify-content: right;
}

.boton{
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle !important;
    text-decoration: none;
    padding: 10px 20px;
    width: 33%;
    color: black;
    background:
        linear-gradient(227deg,rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0) 70.71%), 
        linear-gradient(114deg, #cbd92e3d, rgba(255, 255, 255, 0) 70.71%),
        linear-gradient(337deg, #7013733d, rgba(255, 255, 255, 0) 70.71%);
    border-radius: 5px;
    border-style: hidden;
    cursor: pointer;
}

.botones {
    display: flex;
    justify-content: space-evenly;
}

.iconoboton {
    color: white;
}

.cajapopup {
    width: 30%;
    height: 25%;
    min-height: 250px;
    padding: 20px;
    margin: auto;
    background: #fff;
    box-shadow: 0px 0px 10px 20000px rgba(180, 180, 180, 0.33);
    position: fixed;
    top: 40%;
    left: 33%;
    z-index: 1000;
    vertical-align: middle;
    text-align: center;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 500;
}

.inferiorpopup {
    display: flex;
    justify-content: space-evenly;
}

.botoneliminar{
    font-weight: 500;
    font-size: large;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle !important;
    text-decoration: none;
    padding: 15px 30px;
    width: 35%;
    min-width: 90px;
    color: white;
    background: #dc3545;
    border-radius: 15px;
    border-style: solid;
    border-width: 3px;
    border-color: #dc3545;
    cursor: pointer;
}

.botoncancelar{
    font-weight: 500;
    font-size: large;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle !important;
    text-decoration: none;
    padding: 15px 30px;
    width: 35%;
    min-width: 90px;
    color: black;
    background: white;
    border-radius: 15px;
    border-style: solid;
    border-width: 3px;
    border-color: rgb(128, 128, 128);
    cursor: pointer;
}

.botoneliminar:hover {
    background: #bb2d3b;
    border-color: #bb2d3b;
}

.botoncancelar:hover {
    background: rgb(252, 252, 252);
}

.popup {
    visibility: hidden;
}

.open-popup {
    visibility: visible;
}

#followmouse {
    position: absolute;
    background: black;
    color: yellow;
    width: 200px;
    height: 200px;
    display: none;
}

/* pestañas */
.tab-content {
    display: none;
}

.tab:target .tab-content, .tab:last-of-type .tab-content {
    display: block;
}

.tab:target ~ .tab:last-of-type .tab-content {
    display: none;
}

.tabs *{
    max-width: 1200px;
}

.tab-container {
    position: relative;
    padding-top: var(--tabs-height);
}
#puerta3>a { --tabs-position: 0; }
#puerta6>a { --tabs-position: 1; }
#puerta8>a { --tabs-position: 2; }
#puerta10>a { --tabs-position: 3; }

.tab>a {
    color: #701373;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    position: absolute;
    width: calc(var(--tabs-width));
/*  height: calc(var(--tabs-height)); */
    top: 0;
    left: calc(var(--tabs-width) * var(--tabs-position));
} 
.tabs { 
    padding: 20px 5%;
    color: var(--tabs-text-color);
}
.tab-content {
    background-color: var(--tabs-lite-color); 
    padding: 20px;
    border: var(--tabs-border-size) solid var(--tabs-border-color);
    border-radius: 0 10px 10px 10px;
    position: relative;
    z-index: 100;
}
.tab>a {
    background-color: var(--tabs-dark-color); 
    padding: 8px;
    border: var(--tabs-border-size) solid var(--tabs-border-color);
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
}
.tab:target>a, .tab:last-of-type>a {
    background-color: var(--tabs-lite-color); 
    z-index: 200;
}
.tab:target ~ .tab:last-of-type>a {
    background-color: var(--tabs-dark-color); 
    z-index: 0; 
}

.introtabla2{
    display: flex;
    vertical-align: middle;
    margin-bottom: 20px;
}
/* pato */

#pato {
    display: none;
    z-index: 9999999;
    position: absolute;
    width: 50px;
    max-width: 50px;
    margin: -25px 0px 0px -25px;
    pointer-events: none !important;
}

.exito-mens {
    color: green;
}

.horas-totales {
    font-size: 2.5rem; /* Ajusta el tamaño de la fuente */
    font-weight: bold;
    color: #2c3e50; /* Cambia el color si lo deseas */
}
