/* ------------------------------ Responsive ---------------------------------- */
@media (min-width: 1400px){
  .nav-tabs{
    padding-left: calc((100% - 1300px) / 2)!important;
  }
}
@media (min-width: 1200px) and (max-width: 1400px){
  .nav-tabs{
    padding-left: calc((100% - 1120px) / 2)!important;
  }
}
@media (max-width: 576px){
  .nav-tabs{
    padding-left: calc((100% - 500px) / 2)!important;
  }
  #main {
    display: none;
  }
  .celular {
    display: block!important;
  }
}

/* ------------------------------ Etiquetas ---------------------------------- */
#main {
  min-height: calc(100% - 100px);
  background-color: #eeeeee;
}

html {
  background-color: #eeeeee;
}

body {
  background:#eee!important;
  font-family: 'Arimo', sans-serif;
}

ul {
  background-color: white;
}

a {
  color: inherit!important;
  text-decoration: none!important;
}

html, body {
  height: 100%;
}  

.sinEstilo{
  background-color: transparent;
  border: none;
}

/* ------------------------------ Botones ---------------------------------- */
.botonIniciarJornadaManual {
  font-weight: 500;
  color: forestgreen;
  background-color: white;
  border: 1px solid forestgreen;
  border-radius: 8px;
}

.botonIniciarJornadaManual:hover{
  transition: 0.7s;
  background-color: forestgreen;
  color: white;
}

.botonIniciar, .botonPausar{
  font-size: 25px;
  font-weight: 400;
  color: forestgreen;
  background-color: white;
  border: 2px solid forestgreen;
  border-radius: 10px;
  min-width: 220px;
}

.botonIniciar:hover, .botonPausar:hover{
  transition: 0.7s;
  background-color: forestgreen;
  color: white;
}

.botonIniciar:not(:hover), .botonPausar:not(:hover){
  transition: 0.7s;
}

.botonFinalizar {
  font-weight: 400;
  color: rgb(229, 0, 0);
  background-color: white;
  border: 2px solid rgb(229, 0, 0);
  border-radius: 10px;
}

.botonFinalizar:hover, .botonFinalizarEnPresente:hover, .botonFinalizarEnPausa:hover, .botonFinalizarEnAusente:hover{
  transition: 0.7s;
  background-color: rgb(229, 0, 0);
  color: white;
  box-shadow: 0 0 2px 0 white;
}

.botonFinalizarEnPresente{
  font-weight: 500;
  color: rgb(255 255 255);
  background-color: #4d9f4d;
  border: 2px solid #2c7d2c;
  border-radius: 8px;
}

.botonFinalizarEnPausa{
  font-weight: 500;
  color: rgb(255 255 255);
  background-color: #ff9100;
  border: 2px solid rgb(255 101 30);
  border-radius: 8px;
}

.botonFinalizarEnAusente, .botonIniciarJornadaManual{
  font-weight: 500;
  color: rgb(255 255 255);
  background-color: #e83e3e;
  border: 2px solid #e30101;
  border-radius: 8px;
}


.botonIniciarJornadaManual:not(:hover), .botonFinalizar:not(:hover){
  transition: 0.7s;
}

.botonRojo {
  min-width: 200px;
  font-size: 26px;
  text-decoration: none;
  background-image: linear-gradient(#ef0010,#98000a); /* color de fondo */
  color: #fff; /* color de fuente */
  border: 1px solid #d90817; /* tamaño y color de borde */
  padding: 5px 10px;
  border-radius: 12px; /* redondear bordes */
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
}

.botonRojo:hover {
  color: #d90817; /* color de fuente hover */
}

.botonRojo::after {
  content: "";
  background: #fff; /* color de fondo hover */
  position: absolute;
  z-index: -1;
  padding: 5px 10px;
  display: block;
  top: 0;
  bottom: 0;
  left: -100%;
  right: 100%;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.botonRojo:hover::after {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.btnClasico {
  padding: 7px 10px;
  color: white;
  background-image: linear-gradient(#ef0010,#98000a);
  border: none;
  background-color: #d90817;
  font-size: 16px;
  border-radius: 5px;
}

.btnClasico:hover {
  transition: 0.1s;
  box-shadow: 0 0 4px 0 #d90817;
}

.btnClasico:not(:hover) {
  transition: 0.1s;
}

.btnChicoDescargarExcel {
  padding: 5px 8px; 
  color: white; 
  border: none; 
  font-size: 12px; 
  border-radius: 5px;
  background-image: linear-gradient(#3e863c,#2d572c);
}

.btnDescargarExcel {
  margin-left: 5px;
}

.btnChicoDescargarExcel:hover, .btnDescargarExcel:hover {
  transition: 0.1s;
  box-shadow: 0 0 4px 0 #2d572c;
}

.btnFiltrado:hover {
  transition: 0.1s;
  box-shadow: 0 0 4px 0 #3f3f3f;
}

.btnClasico:not(:hover) {
  transition: 0.1s;
}

.btnCerrar {
  padding: 7px 10px;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  background-color: #6c757d;
  color: #fff;
  border: 1px solid #6c757d;
}

.btnCerrar:hover {  
  box-shadow: 0 0 4px 0 #6c757d;
}

.botonTabla {
  background-color: transparent;
  border: none;
  color: #d90817;
  font-size: 16px;
}

.btnLink {
  cursor: pointer;
  display: block;
  padding-bottom: 5px;
  color: #cd0c1a!important;
}

.btnLink:hover {
  color: #63161b!important;
  text-decoration: underline!important;
  transition: 0.3s;
}

/* ------------------------------ Main ---------------------------------- */
#pantallaCarga {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: 0.8;
  background-color: #fff;
  z-index: 99;
  text-align: center;
}

#loading-image {
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  height: 100px;
  width: 100px;
}

.barraPestaniasMain {
  background-color: white;
  z-index: 2;
  font-size: 13px;
}

.informarAusencia {
    border-radius: 10px;
    border: 2px solid orange;
    color: orange;
    background-color: white;
    font-size: 25px;
    font-weight: 400;
    min-width: 220px;
}

.informarAusencia:hover {
    color: white;
    background-color: orange;
    transition: 0.5s;
}

.informarAusencia:not(:hover) {
  transition: 0.5s;
}

#adjuntarComprobante>.form-control {
  border-radius: 5px!important;
}

.swal2-confirm{
  margin-left: 1rem;
  margin-right: 1rem;
}

.swal2-cancel{
  margin-left: 1rem;
  margin-right: 1rem;
}

.pestaniaActivaBgGris > .active {
  border-left: 1px solid #dee2e6!important;
  border-right: 1px solid #dee2e6!important;
  color: #d90817!important;
  background-color: #eeeeee!important;
  border-top: 3px solid #d90817!important;
}

.pestana {
  margin-left: 3px;
  margin-right: 3px;
  padding: 0.3rem 0.8rem!important;
  color: white!important;
  border-top: 3px solid white!important;
  border-left: 1px solid white!important;
  border-right: 1px solid white!important;
  border-bottom: none!important;
  background-color: #d90817!important;
  box-shadow: none!important;
  font-weight: 500;
}

.containerPestaniasMain {
  padding-top: 1rem;
  height: 100%;
}

.containerPestanasDetalleLegajo {
  background-color: white;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
  box-shadow: 2px 1px 3px 0 gray;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.tab-pane {
  border-radius: 15px;
  padding: 1rem 0;
  min-height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.sesionTrabajo {
  width: 40%;
  background-color: white;
  padding: 1rem 2rem;
  height: min-content;
  max-height: 420px;
  overflow-y: auto;
}

.panel, .estadistica, .sesionTrabajo, .datosUsuario {
  box-shadow: 0 0 8px 0 rgb(209, 209, 209);
  border-radius: 10px;
}

.datosUsuario {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-color: white;
}

.panel {
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  padding: 1rem 1rem;
}

#main > div > .container {
  min-height: 75vh;
}

.bordeRedondeado10px {
  border-radius: 10px!important;
}

.bordeRedondeado50px {
  border-radius: 50px!important;
}

.modal-dialog {
  max-width: 800px!important;
}

table {
  overflow-y: scroll;
  max-height: 300px;
  font-size: 10px;
}

/* ------------------------------ Legajo ---------------------------------- */
thead > tr > th {
  text-align: center!important;
}

.modal-content {
  overflow: auto;
}

/* ------------------------------ ABM ---------------------------------- */
#tabPestanasPresentismo, #tabPestanasTiposLegajos, #tabPestanasTiposLicencias, #tabPestanasABM, #tabPestanasTiposAlertas {
  background-color: #eeeeee;
}

.pestaniaActivaBgBlanco > .active {
  border-left: 1px solid lightgray!important;
  border-right: 1px solid lightgray!important;
  color: #d90817!important;
  background-color: white!important;
  border-top: 3px solid #d90817!important;
}

.bordeTopGris {
  border-top: 3px solid #eeeeee!important;
  border-left: 1px solid #eeeeee!important;
  border-right: 1px solid #eeeeee!important;
}

.dataTables_wrapper .dataTables_filter {
  display: none;
}

.dtfh-floatingparent {
  display: none!important;
}

/* -------------------- BARRA LATERAL  -----------------------*/
.barraLateral, .barraLateralAlertas {
  position: fixed!important;
  top: 0px;
  right: 0px;
  display: block;
  transition: 0.3s;
  z-index: 3;
  background-color: white;
  height: 100%;
  width: 0%;
  box-shadow: 0 4px 3px 3px rgba(0,0,0,.14), 0 2px 2px 0 rgba(0,0,0,.098), 0 1px 5px 0 rgba(0,0,0,.084);
}

.barraLateral:hover, .barraLateralAlertas:hover {
  transition: 0.5s;
}

.barraLateral .btnClose:hover {
  color: #dd3d31 !important; 
}

.btnClose {
  border: none;
  background-color: transparent;
}

.botonesLicencia {
  border-radius: 10px;
  min-width: 80px;
  background-color: white;
}

.iconosLicencias {
  font-size: 30px!important;
}

.btnAprobar {
  border: 2px solid #4d9f4d;
}
.btnAprobar:hover {
  box-shadow: 0 0 5px 0 #4d9f4d;
  transition: 0.3s;  
}
.btnRechazar {
  border: 2px solid #dd3d31;
}
.btnRechazar:hover {
  box-shadow: 0 0 5px 0 #dd3d31;
  transition: 0.3s;  
}
.btnAprobar:not(:hover), .btnRechazar:not(:hover) {
 transition: 0.3s;
}

.botonDeshabilitado {
  color: #777777;
  background-color: #c1c1c1;
  border: 2px solid #777777;
}

.botonDeshabilitado:hover {
  transition: 0.7s;
  background-color: #c1c1c1;
  color: #777777;
}

/* -------------------- VALIDACION DE INPUTS ----------------------- */

.invalidForm {
  border-color: #e3342f !important;
  padding-right: calc(1.6em + 0.75rem);
  background-image: url('../img/icons8-cancelar-16.png');
  background-repeat: no-repeat;
  background-position: right calc(0.4em + 0.1875rem) center;
  background-size: calc(0.8em + 0.375rem) calc(0.8em + 0.375rem);
}

.invalidForm:focus {
  border-color: #e3342f !important;
  box-shadow: 0 0 0 0.25rem rgba(227, 52, 47, 0.25) !important;
}

.invalidForm::placeholder {
  color: #e3342f !important;
  font-style: italic;
}

.validForm {
  border-color: #28aa35 !important;
  padding-right: calc(1.6em + 0.75rem);
  background-image: url('../img/icons8-de-acuerdo-16.png');
  background-repeat: no-repeat;
  background-position: right calc(0.4em + 0.1875rem) center;
  background-size: calc(0.8em + 0.375rem) calc(0.8em + 0.375rem);
}

.validForm:focus {
  border-color: #28aa35 !important;
  box-shadow: 0 0 0 0.25rem rgba(19, 112, 32, 0.25) !important;
}

.botonAdjunto:hover {
  color: #a11620 !important;
  transition: 0.3s;
}

.desfiltrar {
  background-image: url('../img/clear-filter.png');
}

.botonAdjunto:not(:hover) {
  transition: 1s;
}

#pdf-container {
  overflow-y: scroll;
  height: 70vh;
  /* Altura deseada */
}

.pages-container {
  display: flex;
  flex-direction: column;
}


/* -------------------- BARRA ALERTAS ----------------------- */
.botonAlertas {
  display: flex;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 15px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 100;
  border-radius: 50%;
  color: #dd3d31 !important;
  background-color: white;
  border: 1px solid #cac7c7;
  font-family: 'Arimo', sans-serif;
}

.botonAlertas:hover {
  cursor: pointer;  
}

.botonAlertas:not(:hover) {
  transition: 0.5s;
}

.iconoAlertas:hover {
  transform: rotate(372deg);
  transition: 0.5s;
}

.iconoAlertas:not(:hover) {
  transition: 0.5s;
}


.notificacionAlerta {
  position: absolute;
  top: -15px;
  left: 30px;
  color: #dd3d31;
}

.contadorAlertas {
  position: absolute;
  margin-bottom: 0;
  color: white;
  top: 7px;
  left: 0;
  right: 0;
}

.dropdown-toggle::after {
  content: none!important;
}



/* -------------------- REPORTES ----------------------- */

.botonCuadrado {
  min-height: 200px;
  border-radius: 10px;
  border: 1px solid black;
}

.botonCuadrado:hover {
  box-shadow: 0 0 20px 1px rgb(225, 225, 225);
  transition: 0.4s;
}

.botonCuadrado:not(:hover) {
  transition: 0.4s;
}

.anotacionesLicencia {
  font-size: 0.75rem !important;
}

.btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}