body, html {
  /*height: 100%;*/
  background-color: #f8f9fa;
}

.misdatos-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  /* height: 100%;*/
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-box {
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.main-box {
  width: 100%;
  padding: 1rem;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.btn-group-vertical > .btn {
  margin-bottom: 10px;
}

.cuadro {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  background-color: #fff;
}
.logo {
  max-width: 150px;
}

@media (max-width: 575.98px) {
  .logo-xs {
    max-height: 25px; 
  }
  .menu-compacto {
    min-height: 40px;
    padding-top: 2px;
    padding-bottom: 2px;
  }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: inherit !important;
  font-size: 13px !important;
  padding: 4px !important;
  top: 26px !important;
  }
  .select2-results__options li {
  line-height: inherit !important;
  font-size: 13px !important;
  padding: 4px !important;
  }


 .navbar-crimson {
    background-color: crimson;
    padding: 0.2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .navbar-crimson .navbar-brand,
  .navbar-crimson .nav-link,
  .navbar-crimson .dropdown-toggle {
    color: #fff;
  }

  .navbar-crimson .nav-link:hover,
  .navbar-crimson .dropdown-item:hover {
    color: #ffdada;
    background-color: crimson;
  }

  /* Subítems con fondo crimson por defecto */
  .navbar-crimson .dropdown-menu {
    background-color: crimson;
  }
  .navbar-crimson .dropdown-item {
    color: #fff;
  }

  /* Corrección en hover del submenú anidado */
  .navbar-crimson .dropdown-submenu:hover > .dropdown-menu,
  .navbar-crimson .dropdown-submenu .dropdown-item:hover {
    background-color: crimson;
    color: #ffdada;
  }

  /* Posicionamiento del submenú */
  .dropdown-submenu {
    position: relative;
  }
  .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    background-color: crimson;
  }
  /* Subítems en crimson siempre */
  .navbar-crimson .dropdown-menu {
    background-color: crimson;
  }
  .navbar-crimson .dropdown-item {
    color: #fff;
  }

  /* Hover y focus manteniendo crimson */
  .navbar-crimson .dropdown-item:hover,
  .navbar-crimson .dropdown-item:focus,
  .navbar-crimson .dropdown-submenu .dropdown-item:hover {
    background-color: crimson;
    color: #ffdada;
  }
  .navbar-crimson .navbar-toggler {
    border-color: #fff;
  }

.navbar-crimson .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.table td, .table th {
  padding: 0.5rem;
  margin-top:  -1px;
  vertical-align: middle;
}


.modal-header {
  padding: 0.2rem 1rem;
  background-color : crimson;
  color: white;
}

.modal-header .close {
  padding: 1.3rem 1rem;
  color: white;
}

.modal-footer {
  padding: .25rem;
}

.modal-body{
  padding: 0.5rem;
  padding-top: 0.1rem;
}

@media (max-width: 767px) {
  .row-con-margen-10{
  
  }

  .form-group{
    margin-bottom: 2%;
  }
  .main-box {
    padding: 0;
    padding-top: 10px;
  }
  /*.modal {
    top: 25vh;
  }*/
  .modal-40 {
      width:90% !important;
      max-width: unset;
    }

  .modal-50 {
    width:90% !important;
    max-width: unset;
  } 

  .modal-55 {
    width:90% !important;
    max-width: unset;
  } 

  .modal-60 {
    width:90% !important;
    max-width: unset;
  } 
 
  .modal-70 {
    width:90% !important;
    max-width: unset;
  } 

  .modal-75 {
    width:90% !important;
    max-width: unset;
  } 

  .modal-80 {
    width:90% !important;
    max-width: unset;
  }

  .modal-90 {
    width:90% !important;
    max-width: unset;
  }

  .ancho-var {
    width: 2%
  }
}

@media (min-width: 768px) {
  .row-con-margen-10{
    margin-left: 10px;
  }

  .form-group{
    margin-bottom: 0;
  }

  /*.modal {
    top: 30vh;
  }*/
  .modal-40 {
    width:40% !important;
    max-width: unset;
  }


  .modal-50 {
    width:50% !important;
    max-width: unset;
  } 

  .modal-55 {
    width:55% !important;
    max-width: unset;
  } 

  .modal-60 {
    width:60% !important;
    max-width: unset;
  } 
 
  .modal-70 {
    width:70% !important;
    max-width: unset;
  } 

  .modal-75 {
    width:75% !important;
    max-width: unset;
  } 

  .modal-80 {
    width:80% !important;
    max-width: unset;
  }
 
  .modal-90 {
    width:90% !important;
    max-width: unset;
  }

  .ancho-var {
    width: 80%
  }
}


.btn-darkGreen {
  background-color:  DarkGreen;
  color: white;
  margin-left: 15px;
}


.nav-tabs-custom .nav-link {
    background-color: #17a2b8; /* teal */
    color: lightgray;
    border: none;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
  }

  .nav-tabs-custom .nav-link.active {
    background-color: cadetblue;
    font-weight: bold;
    color: white;
  }

  .tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 5px;
  }

  .card-header {
    padding: .25rem 1rem;
  }


  