tr.rojo{
    background: #c33333c9;
    color: white;
    font-weight: bold;
}
.rojo table tr td{ 
   background: #c33333c9;
    color: white;
    font-weight: bold;
}
.boton1.verde{background: var(--verde_oscuro);border-color: var(--blanco) !important;color:white;}
.altura{height: 100px;}
.margen60{margin-top: 60px;}
.botongrande{height: 150px !important;font-size: 2.8rem !important;padding-top: 20px !important;font-weight: bold !important;}
.btn-sm {height: 24px;padding-top: 2px !important;padding-bottom: 2px !important;}
@keyframes rotate {from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}}
@-webkit-keyframes rotate {from {-webkit-transform: rotate(0deg);}
  to {-webkit-transform: rotate(360deg);}} 
#porubaimagen{
    -webkit-animation: 4s rotate linear infinite;
    animation: 4s rotate linear infinite;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
#imgr2 {
     -webkit-animation-direction: reverse;
     animation-direction: reverse;
}
 
@media screen and (min-width: 359px) { 
    #liparaelnombre{
        position: absolute;
        top: 18px;
        left: 30px;overflow:hidden;
    }
}
@media screen and (max-width: 359px) { 
    #liparaelnombre{
        position: absolute;
        top: 0px;
        left: 30px;overflow:hidden;
    }
}
  @media screen and (max-width: 422px) { 
    #libuscar{display: none}
        #titulocentrodecostos{
            display: none;
        }
        #nombrecompleto{
            width: 0;
            display: ruby;
            }
      
    }
    .trrojo{
        background: #aba2a2;
    color: white
    }
.trseleccionado{
  border-style: solid;
    border-left: none;
    border-right: none;
    border-width: 1.2px;
    border-color: #2e4383;
}
tr.error{background: red;color:white;font-weight: bold;}
.mt-1{margin-top:1rem;}
.mt-2{margin-top:2rem;}
.mt-3{margin-top:3rem;}
.mt-6{margin-top:6rem;}
.mt-7{margin-top:7rem;}
.mt-8{margin-top:8rem;}
.mt-9{margin-top:9rem;}
.mt-10{margin-top:10rem;}
#myModal{background-color: var(--azul_negro);}
.modal.fade{background-color: var(--azul_negro);}


/* modal-left es para el modal que ocupa toda la pantalla */
.modal-left .modal-dialog {
    position: fixed;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    will-change: transform;
}
.modal-left {
    padding-right: 0 !important;
}
.modal-left.show .modal-dialog {
    transform: translateX(0);
}

/* El contenido del modal ocupa toda la altura */
.modal-left .modal-content {
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
    border: none;
}

/* Mejora visual para el encabezado */
.modal-left .modal-header {
    border-radius: 0;
}

/* Mejora visual para el pie de página */
.modal-left .modal-footer {
    border-radius: 0;
    margin-top: auto; /* Empuja el footer hacia abajo */
}

/* Estilo para el cuerpo del modal */
.modal-left .modal-body {
    overflow-y: auto; /* Permite scroll si el contenido es largo */
    height: calc(100% - 62px);

}
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5c636a;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #565e64;
    --bs-btn-active-border-color: #51585e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
}
