* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Contenedor del fondo */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /*height: 100%;*/
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.3) center center fixed; /* Fondo negro con transparencia */
  z-index: 1; /* Se coloca detrás de todo */
}

/* Imagen superpuesta */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100vh;
  background: url('../images/wallpaperUAF.png') no-repeat center center fixed;
  background-size: cover;
  z-index: -1; /* Se coloca detrás del contenido */
}

.background-asistentes {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  /*height: 100%;*/
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.3) center center fixed; /* Fondo negro con transparencia */
  z-index: 1; /* Se coloca detrás de todo */
  padding-top: 50%;
}

/* Imagen superpuesta */
.overlay-asistentes {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100vh;
  background: url('../images/viewAsistentes2.png') no-repeat center center fixed;
  background-size: cover;
  z-index: -1; /* Se coloca detrás del contenido */
}

.form-register {
  position: relative;
  width: 35%;
  background: #24303c;
  padding: 30px;
  margin: auto;
  margin-top: 100px;
  border-radius: 4px;
  font-family: 'calibri';
  color: white;
  box-shadow: 7px 13px 37px #000;
  z-index: 1;
  overflow-y: auto;
}

.form-register h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.controls {
  width: 100%;
  background: #24303c;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid #1f53c5;
  font-family: 'calibri';
  font-size: 18px;
  color: white;
}

.form-register p {
  height: 40px;
  text-align: center;
  font-size: 18px;
  line-height: 40px;
}

.form-register a {
  color: white;
  text-decoration: none;
}

.form-register a:hover {
  color: white;
  text-decoration: underline;
}

.form-register .botons {
  width: 100%;
  background: #1f53c5;
  border: none;
  padding: 12px;
  color: white;
  margin: 16px 0;
  font-size: 16px;
}

.labels {
  display: block;
  text-align: left;
}

.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/*Estilos login*/
#divLoading{
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(254,254,255, .65);
  /*background: #d12018;*/
  z-index: 9999;
  display: none;
  font-weight: bold; 
}

#divLoading img{
  width: 200px;
  height: 200px;
}

/* Estilos de la ventana modal */
.modal {
  display: none; /* Ocultar por defecto */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  padding-right: 30%;
  padding-left: 30%;
  overflow-y: auto;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal:target {
  display: flex; /* Mostrar cuando se hace clic en el enlace */
  z-index: 1;
}

.modal-contenido {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow-x: auto;
  overflow-y: auto;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  text-decoration: none;
  font-size: 30px;
  color: black;
}

/* Estilos de la ventana modal Asistente*/
.modalAsistente {
  display: none; /* Ocultar por defecto */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  padding-top: 10%;
  padding-right: 30%;
  padding-left: 30%;
  overflow-y: auto;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modalAsistente:target {
  display: flex; /* Mostrar cuando se hace clic en el enlace */
  z-index: 1;
}

.modalAsistente-contenido {
  background: #24303c;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow-x: auto;
  overflow-y: auto;
  color:white;
  max-width: 600px;
}

.cerrarAsistente {
  position: absolute;
  top: 10px;
  right: 15px;
  text-decoration: none;
  font-size: 24px;
  color: white;
}

.container {
  min-width: 99%;
  max-height: 50%;
  overflow-x: auto;
  overflow-y: auto; /* Hace que la tabla sea desplazable en pantallas pequeñas */
}

.form-table {
  position: relative;
  width:75%;
  background: #24303c;
  padding: 30px;
  margin: auto;
  margin-top: 170px;
  margin-bottom: 10%;
  border-radius: 4px;
  font-family: 'calibri';
  color: white;
  box-shadow: 7px 13px 37px #000;
  z-index: 1;
}

.table-asistentes {
  width: auto;
  overflow-x: auto;
  overflow-y: auto;
}

.modal-contenido{
  position: absolute;
  width: 70%; /* Ajusta el ancho según necesidad */
  max-height: 80vh; /* Limita la altura máxima */
  padding: 20px;
  border-radius: 10px;
  overflow-y: auto; /* Permite el scroll */
  flex-direction: column;
}

.form-table h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.form-table p {
  height: 40px;
  text-align: center;
  font-size: 18px;
  line-height: 40px;
}

.form-table a {
  /*color: white;*/
  text-decoration: none;
}

.form-table a:hover {
  /*color: white;*/
  text-decoration: underline;
}

@media (max-width: 420px) {
  /* Imagen superpuesta */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100vh;
    background: url('../images/Login-V.png') no-repeat center center fixed;
    background-size: cover;
    z-index: -1; /* Se coloca detrás del contenido */
  }

  .form-table {
    position: relative;
    max-width: 350px;
    background: #24303c;
    padding: 30px;
    margin: auto;
    margin-top: 170px;
    margin-bottom: 10%;
    border-radius: 4px;
    font-family: 'calibri';
    color: white;
    box-shadow: 7px 13px 37px #000;
    z-index: 1;
  }

  .modalAsistente-contenido{
    position: absolute;
    width: 40vh; /* Ajusta el ancho según necesidad */
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: auto; /* Permite el scroll */
    flex-direction: column;
  }

}

@media (min-width: 420px) and (max-width: 500px) {
  .form-table {
    position: relative;
    max-width: 450px;
    background: #24303c;
    padding: 30px;
    margin: auto;
    margin-top: 170px;
    margin-bottom: 10%;
    border-radius: 4px;
    font-family: 'calibri';
    color: white;
    box-shadow: 7px 13px 37px #000;
    z-index: 1;
  }
    .form-register {
      width: 80%;
    }

}

@media (min-width: 501px) and (max-width: 600px) {
  .form-table {
    position: relative;
    max-width: 550px;
    background: #24303c;
    padding: 30px;
    margin: auto;
    margin-top: 170px;
    margin-bottom: 10%;
    border-radius: 4px;
    font-family: 'calibri';
    color: white;
    box-shadow: 7px 13px 37px #000;
    z-index: 1;
  }
  
  .form-register {
      width: 75%;
    }
}

@media (min-width: 601px) and (max-width: 700px) {
  .form-table {
    position: relative;
    max-width: 650px;
    background: #24303c;
    padding: 30px;
    margin: auto;
    margin-top: 170px;
    margin-bottom: 10%;
    border-radius: 4px;
    font-family: 'calibri';
    color: white;
    box-shadow: 7px 13px 37px #000;
    z-index: 1;
  }
  .form-register {
      width: 75%;
    }
}

@media (min-width: 701px) and (max-width: 800px) {
  .form-table {
    position: relative;
    max-width: 750px;
    background: #24303c;
    padding: 30px;
    margin: auto;
    margin-top: 170px;
    margin-bottom: 10%;
    border-radius: 4px;
    font-family: 'calibri';
    color: white;
    box-shadow: 7px 13px 37px #000;
    z-index: 1;
  }
  .form-register {
      width: 75%;
    }
}

@media (min-width: 801px) and (max-width: 900px) {
  .form-table {
    position: relative;
    max-width: 850px;
    background: #24303c;
    padding: 30px;
    margin: auto;
    margin-top: 170px;
    margin-bottom: 10%;
    border-radius: 4px;
    font-family: 'calibri';
    color: white;
    box-shadow: 7px 13px 37px #000;
    z-index: 1;
  }
  .form-register {
      width: 60%;
    }
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  color: white;
  background: ;
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

th, td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

th {
  background-color: #0073e6;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
    /*background-color: #f9f9f9;*/
}

tr:hover {
  background-color: #582216; /*Color al pasar el cursos sobre la fila*/
}

/*Estilos dataTable probados*/
table.dataTable {
  clear: both;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  max-width: none !important;
  overflow-y: auto;
}

table.dataTable.nowrap th,
table.dataTable.nowrap td {
  white-space: nowrap;
}

.tile div.dataTables_wrapper {
  padding: 5;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: right;
}

div.dataTables_wrapper div.dataTables_filter label {
  font-weight: normal;
  white-space: nowrap;
  text-align: left;
}

div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0.5em;
  display: inline-block;
  width: auto;
}

div.dataTables_wrapper div.dataTables_info {
  padding-top: 0.85em;
  white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_paginate {
  margin: 10;
  white-space: nowrap;
  text-align: right;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  display: inline-flex;
  margin: 2px 10px;
  white-space: nowrap;
  color: black;
}
  
div.dataTables_wrapper div.dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -26px;
  text-align: center;
  padding: 1em 0;
}

.btnView{
  width: 100%;
  background: #1f53c5;
  border: none;
  padding: 12px;
  color: white;
  margin: 16px 0;
  font-size: 16px;
}

/*Diseños de tablas responsivas*/
@media (max-width: 575.98px) {
  .table-responsive-sm {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-sm > .table-bordered {
    border: 0;
  }
}

@media (max-width: 767.98px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-md > .table-bordered {
    border: 0;
  }
}

@media (max-width: 991.98px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-lg > .table-bordered {
    border: 0;
  }
}

@media (max-width: 1199.98px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-responsive-xl > .table-bordered {
    border: 0;
  }
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive > .table-bordered {
  border: 0;
}

#imgAgenda{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.3) center center fixed; /* Fondo negro con transparencia */
  z-index: 1; /* Se coloca detrás de todo */
  /*height: 100%;*/
}

.select2-container--default .select2-selection--single {
  background-color: #24303c;
  border: 1px solid #1f53c5;
  height: 42px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #ffffff;
  line-height: 42px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}

.select2-dropdown {
  background-color: #24303c;
  color: #ffffff;
}

.select2-results__option {
  color: #ffffff;
}

.select2-results__option--highlighted {
  background-color: #1f53c5 !important;
}