  body {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
  }
  .navbar-header {
      margin-left: 35px;
    }
  .header-container-fluid{
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-top: -5px;
    margin-left: auto;
  }

  .safe-header{
    min-height: 110px;
    padding: 0px 35px;
  }
  .wrapper {
    display: flex;
    flex: 1;
  }

  .layout-sidebar {
    width: 250px;
    border-right: 1px solid #dee2e6;
    min-height: 100%;
    padding: 15px;
  }

  .content {
    flex: 1;
    padding: 15px;
  }

  .no-wrap{
    white-space: nowrap;
    display: inline-block;
  }

  .pointer-no-select, .pointer-no-select:hover {
    text-decoration: none;       /* Elimina el subrayado */
    cursor: pointer;             /* Cambia el cursor al puntero */
    user-select: none;
  }

  .orderable {
    padding-right: 10px !important;
    position: relative;
    /*background-color: var(--arg-azul) !important;*/
  }
  .asc::after {
    position: absolute;
    display: inline;
    content: "↑"; /* Unicode o símbolo de flecha */
  }

  .desc::after {
    display: inline;
    position: absolute;
    content: "↓"; /* Unicode o símbolo de flecha */
  }
  .btn i[class*="icono-arg"] {
    margin-right: 0px;
    width: 20px;
  }
  .nav-stacked > li + li {
    margin-top: 5px;
  }
  @media (max-width: 768px) {
    .layout-sidebar {
      display: none;
    }

    .layout-sidebar.active {
      display: block;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      z-index: 1000;
      padding: 15px;
    }

    .content {
      margin-left: 0;
    }
  }


  table.django-table th:nth-last-child(-n+2),
  table.django-table td:nth-last-child(-n+2) {
    width: 100px; /* Ajusta según lo necesario */
  }
  .layout-container {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-width: 0;
  }
  .layout-container.is-vertical {
    flex-direction: column;
  }

      .layout-container-content {
    min-height: 100vh;
  }

  .layout-header {
    color: #fff;
  }

  .header{
    height: 110px;
  }
  .layout-main {
    display: block;
    flex: 1;
    flex-basis: auto;
  }

  /* Select2 */
.select2 {
  border: solid 1px #555 !important;
}
fieldset:disabled .select2-container {
        background-color: #e9ecef;
        color: #6c757d;
        border: 1px solid #ced4da;
        pointer-events: none;

  }
fieldset:disabled .form-control {
        background-color: #e9ecef;
        color: #6c757d;
        border: 1px solid #ced4da;
        pointer-events: none;

  }



.alert p{
  margin-top: -20px !important;
}

fieldset[disabled] {
  background-color: #fff !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0px !important;
  padding-top: 5px !important;
}
select2 select2-container select2-container--default {
  width: 100% !important;
}
.select2{
width: 100% !important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #232d4f;
  color: white;
}

.btn-xs {
      border-radius: 30px;
    }

  /* Cusotmizaciones de labels */
label.control-label {
  font-weight: 600;
}
.requiredField:after {
    content: '(requerido)'; /* Quita el asterisco */
  font-weight: 500;
}

.asteriskField {
  display: none;
}

.aclaracion:after {
  content: '*'; /* Quita el asterisco */
  font-weight: 500;
}

.django-table{
font-size: 16px;
}

#main-content {
  width: 1700px;
}

@media (max-width: 1800px) {
#main-content {
  width: 100% !important;
  max-width: calc(100vw - (100vw/3)) !important;
  margin: 0 auto;
}
}

.select2-results {
  max-height: 150px; /* o lo que necesites */
  overflow-y: auto;
}

.spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
  font-size: 16px;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
