body {
    font-size: 0.8rem !important;
  }
  
  .h1,
  h1 {
    font-size: 1.35rem !important;
  }
  
  .h2,
  h2 {
    font-size: 1.29rem !important;
  }
  
  .h3,
  h3 {
    font-size: 1.27rem !important;
  }
  
  .h4,
  h4 {
    font-size: 1.25rem !important;
  }
  
  .h5,
  h5 {
    font-size: 1.2rem !important;
  }
  
  .h6,
  h6 {
    font-size: 1rem !important;
  }
  
  .form-control {
    height: calc(1.9rem + 2px);
    padding: 0.3rem 1rem 0.3rem 0.5rem;
  }
  
  .custom-select,
  .btn,
  .dropdown-menu,
  .form-control,
  .input-group-text {
    font-size: 90% !important;
  }
  
  .custom-select-sm {
    height: calc(1.8125rem + 2px);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 1.5rem;
    font-size: 75%;
  }
  
  .table th,
  .table td {
    padding: 0.3rem;
  }
  
  .table thead th {
    background-color: #183e61;
    color: white;
  }
  
  .dt-body-center {
    text-align: center;
    vertical-align: middle !important;
  }
  
  .dt-body-right {
    text-align: right;
    vertical-align: middle !important;
  }
  
  .dt-body-left {
    text-align: left;
    vertical-align: middle !important;
  }
  
  .login-page,
  .register-page {
    height: 90vh !important;
  }

  .login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-border {
      padding: 10px; /* Espacio entre el borde y la imagen */
      background: rgba(27,24,46,0.8); /* Color de fondo con transparencia */
      border-radius: 12px; /* Bordes redondeados */
      display: inline-block;
  }

  .logo-border img {
      display: block;
      border-radius: 8px; /* Redondear los bordes de la imagen (opcional) */
  }

  
  .layout-fixed .brand-link {
    max-width: 200px !important;
  }
  
  .main-sidebar {
    width: 200px;
  }
  
  .tab {
    padding-left: 15px;
  }
  
  .sidebar-mini .main-sidebar .nav-link,
  .sidebar-mini-md .main-sidebar .nav-link,
  .sidebar-mini-xs .main-sidebar .nav-link {
    width: calc(200px - 0.5rem * 2);
    transition: width ease-in-out 0.3s;
  }
  
  .dropdown-item:focus,
  .dropdown-item:hover {
    cursor: pointer;
  }
  
  .nav-link-menu {
    color: rgba(0, 0, 0, 0.9);
    font-size: 1.15rem !important;
    margin-right: 1rem;
  }
  
  a.nav-link-menu:hover {
    color: rgba(0, 0, 0, 0.5);
  }
  
  .nav-link-title {
    padding-top: 0.1rem;
  }
  
  .dropdown-item.active,
  .dropdown-item:active {
    background-color: #004d9a;
  }
  
  .btn-primary {
    color: #fff;
    background-color: #004d9a;
    border-color: #183e61;
    box-shadow: none;
  }
  
  .btn-primary:hover {
    color: #fff;
    background-color: #183e61;
    border-color: #004d9a;
}

  .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #004d9a;
    border-color: #004d9a;
  }

  .btn-primary.focus, .btn-primary:focus {
      color: #fff;
      background-color: #004d9a;
      border-color: #004d9a;
      box-shadow: 0 0 0 0 rgba(38, 143, 255, .5);
  }
  .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #4175aa;
    border-color: #004d9a;
}
  .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
  .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #004d9a;
    color: #fff;
  }
  
  .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #004d9a;
    border-color: #004d9ad8;
  }
  
  .subsubmenu.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
  }
  
  .page-link {
    color: #0d427b;
  }
  
  .btn-secondary {
    color: #fff;
    background-color: #004d9a;
    border-color: #004d9a;
    box-shadow: none;
  }
  .btn-secondary:hover {
    background-color: #eceaf4;
    color: #2e2665;
    border-color: #004d9a;
  }
  
  .select2-hidden-accessible {
    position: fixed !important;
  }
  
  .inline-block-form {
    width: 155px;
    display: inline-block;
    margin: 2px
  }
  
  .content-single {
    height: 100%;
    background-color: #f4f6f9;
    padding-right: 1em;
    padding-left: 1em;
  }
  
  .badge-ambar {
    background-color: #ff7b00;
    color: #ffffff;
  }
  
  .badge-revisado {
    background-color: #e3893e;
    color: #ffffff;
  }
  
  /* librería de Datapicker */
  .ui-widget-header {
    border: 0px solid #dddddd;
    background: #ffffff;
    color: #13264e;
  }

  [class*=sidebar-dark-] {
      background-color: #343a40;
  }



  .custom-file-input {
    display: none;
  }
  
  .custom-file-label {
    position: relative;
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.8;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  
  .custom-file-label::after {
    content: 'Seleccionar archivo';
    padding-left: 0.75rem;
  }
  
  .custom-file-input:focus + .custom-file-label,
  .custom-file-input:valid + .custom-file-label {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(38, 143, 255, 0.25);
  }
  
  .custom-file-input:active + .custom-file-label {
    background-color: #e9ecef;
  }
  
  .custom-file-input:disabled + .custom-file-label {
    background-color: #e9ecef;
    cursor: not-allowed;
  }
  
  
  @media (min-width: 768px) {
  
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
      transition: margin-left 0.3s ease-in-out;
      margin-left: 200px;
    }
  }
  
  @media (max-width: 991.99px) {
  
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
      margin-left: 0;
    }
  }

