.loadable {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  /*height: 100vh;*/
  /*height: auto;*/
  min-height: 100%;
  /*z-index: 999;*/
  z-index: 1100;
  opacity: 0.65;
  background: #999;
}

.loadable .loading {
  border: 1rem solid #f3f3f3; /* Light grey */
  border-top: 1rem solid #3498db; /* Blue */
  border-radius: 50%;
  width: 7.5rem;
  height: 7.5rem;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.content-header {
	/*padding: 0.5rem 0.5rem;*/
}

.table-responsive table.encabezado-fijo thead tr th {
  background-color: #fff;
  border-bottom: 0;
  box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;
  position: sticky;
  top: 0;
  z-index: 10;
}

.table-responsive table.encabezado-fijo th.col-fixed-left {
  /*position: sticky;*/
  left: 0;
  z-index: 11;
}

.table-responsive table.encabezado-fijo td.col-fixed-left {
  position: sticky;
  left: 0;
  z-index: 10;
  background: white;
}

.dataTables_wrapper.dt-bootstrap4 > .row:nth-child(2) {
  min-height: 45vh;
  max-height: 45vh;
  overflow-x: auto;
  margin-left: 0;
  margin-right: 0;
}

/*.card.maximizado .dataTables_wrapper.dt-bootstrap4 > .row:nth-child(2) {*/
.card.maximized-card .dataTables_wrapper.dt-bootstrap4 > .row:nth-child(2) {
    /*min-height: 75vh;
    max-height: 75vh;*/
    min-height: 65vh;
    max-height: 65vh;
}

.dataTables_wrapper.dt-bootstrap4 > .row:nth-child(2) > div {
  padding-left: 0;
  padding-right: 0;
}

table.dataTable thead {
  /*background-color: #fff;*/
  /*border-bottom: 0;*/
  /*box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;*/
  position: sticky;
  top: 0;
  z-index: 11;
  background: white;
}

table.dataTable th.col-fixed-left {
  position: sticky;
  left: 0;
  z-index: 11;
  background: white;
}

table.dataTable td.col-fixed-left {
  position: sticky;
  left: 0;
  z-index: 10;
  background: white;
}

table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>td:first-child:before {
  top: 50%;
}

/*Cambiar letra a mayuscula en el elemento Select2*/
/*.select2-search__field, .select2-selection__rendered, .select2-results__option {
  text-transform: uppercase;
}*/

/*.select2-container--default .select2-selection--single {*/
/*.select2-container--bootstrap4 .select2-selection--single {
  height: calc(1.8125rem + 2px) !important;
  font-size: .875rem;
}*/

/*.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
}*/

/*.select2-container.select2-container--bootstrap4.select2-container--open {
  font-size: .875rem;
}*/

/*select.select2.is-invalid ~ .select2-selection.select2-selection--single {*/
/*select.select2.is-invalid + .select2-container--bootstrap4 .select2-selection {
  background-image: url('/images/is-invalid.svg');
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 1.0875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}*/

/*select.select2.is-invalid + .select2-container--bootstrap4.select2-container--focus.select2-container--open .select2-selection {
  border-bottom: 1px solid #dc3545;
}*/

/*Ajusta el checkbox*/
/*.form-check input.form-check-input, td input.form-check-input {*/
/*  width: 1.4125rem;
  height: 1.4125rem;*/
/*}*/

/*Ajusta el checkbox*/
.input-group-append .input-group-text{
  background-color: #fff;
  border-radius: 0;
  /*padding: 0.25rem 0.75rem;*/
  padding: 0.25rem 0.625rem;
}

.input-group-text input[type='checkbox'], .form-check input.form-check-input, td input[type='checkbox'] {
  width: 1.125rem;
  height: 1.125rem;
}

/*Ajusta margin y padding en un checkbox (Perfiles y Permisos)*/
.form-check {
  display: flex; 
  align-items: center;
}

.form-check input[type='checkbox'] {
  margin-top: 0;
}

.form-check label {
  padding-left: 0.25rem;
}

td input[type='checkbox'] {
  margin-top: 0.25rem;
}

@media (min-width: 600px) {
  .card.maximized-card .dataTables_wrapper.dt-bootstrap4 > .row:nth-child(2) {
    min-height: 70vh;
    max-height: 70vh;
  }
}

@media (min-width: 890px) {
  .card.maximized-card .dataTables_wrapper.dt-bootstrap4 > .row:nth-child(2) {
    min-height: 75vh;
    max-height: 75vh;
  }
}

/*.table-responsive {
    max-height: 10rem;
    height: auto;
}

@media (min-height: 400px) {
  .table-responsive {
    max-height: 15rem;
  }
}

@media (min-height: 600px) {
  .table-responsive {
    max-height: 23rem;
  }
}

@media (min-height: 653px) {
  .table-responsive {
    max-height: 22rem;
  }
}

@media (min-height: 667px) {
  .table-responsive {
    max-height: 24rem;
  }
}

@media (min-height: 720px) {
  .table-responsive {
    max-height: 27rem;
  }
}

@media (min-height: 800px) {
  .table-responsive {
    max-height: 35rem;
  }
}

@media (min-height: 896px) {
  .table-responsive {
    max-height: 38rem;
  }
}

@media (min-height: 1024px) {
  .table-responsive {
    max-height: 49rem;
  }
}

@media (min-height: 1180px) {
  .table-responsive {
    max-height: 59rem;
  }
}

@media (min-height: 1368px) {
  .table-responsive {
    max-height: 70rem;
  }
}
*/
