.ml10 {
  margin-left: 10px;
}

.mb16 {
  margin-bottom: 16px;
}

/* Mis Facturas */
.btn-misFacturas-tabla{
  border-radius: 10rem;
  height: 30px;
  width: 160px;
  margin:5px;
  padding-left:15px;
  padding-right:15px;
  font-size: 12px;
  font-weight: 100;
  background-color: white;
  line-height: 14px;
  border-color: #3c5587;
  border-width: 1px;
}

.cabecera-misFacturas-tabla-th-ini{
  background-color: #f1d96a !important;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.cabecera-misFacturas-tabla-th-mid{
  background-color: #f1d96a !important;
}
.cabecera-misFacturas-tabla-th-fin{
  background-color: #f1d96a !important;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* ______________ */

.select-option-text {
  overflow: hidden;
  overflow-wrap: break-word;
  width: 100%;
  display: inline-block;
  white-space: pre-line;
  font-size: 0.8em;
  padding: 0.5rem;
}

.select-option {
  /* Hacemos que el heigth sea ocupado dependiendo del tamaño de texto */
  height: auto!important;
}

body {
  background-color: #ebeded;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  appearance: none;
}

.myContainer {
  max-width: 95vw;
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

.main-tabla .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acciones {
  text-align: center;
}
.acciones i {
  font-size: 1.2em;
}
.toast-header {
  font-size: 20px;
}
.new_observacion {
  background-color: #f4f4f4;
  padding: 15px;
}
.col-perfil .dropdown-item {
  cursor: pointer;
}
.col-perfil .dropdown-toggle {
  color: white;
  /* background: #fff; */
  font-weight: 600;
}

/* Sidebar */
.list-group-item.active {
  z-index: 2;
  color: #fff !important;
  background-color: #002e5d;
  border-color: #002e5d;
}
#sidebarMenu .list-group-item-action {
  color: #002e5d;
}

.text-brand {
  color: #002e5d;
}
.btn-brand_outline {
  border: 1px solid #002e5d;
  color: #002e5d;
  background: #fff;
}
.btn-brand,
.bg-brand {
  color: #fff;
  background-color: #002e5d;
}
.btn-brand:hover {
  color: #fff;
}
.btn-pdf {
  background-color: #fd5950;
  color: #fff;
}
.btn-word {
  background-color: #2a5699;
  color: #fff;
}

.rounded-card{
  border-radius: 1.5rem;
  max-height:  100%;
  height:  100%;
}


#sidebarMenu .list-group-flush > .list-group-item {
  margin: 10px 0;
  border: none;
}
.link-login {
  text-decoration: underline;
  color: #002e5d;
  font-size: 0.9em;
}
.link-login_footer {
  color: #676767;
  font-size: 0.75rem;
}
.nav-bottom {
  background: #000;
  padding: 5px 0;
  margin-top: 12px;
  --bs-gutter-x: 0;
  width: 100%;
}

.check-privacy .form-check-input {
  width: 1.5rem !important;
}

/********** RESPONSIVE ************/
@media (min-width: 991.98px) {
  main {
    /*padding-left: 240px;*/
  }
  .navbar-brand img {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 58px 0 0; /* Height of navbar */
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
  width: 240px;
  z-index: 600;
}

@media (max-width: 991.98px) {
  .sidebar {
    width: 100%;
  }
}
.sidebar .active {
  border-radius: 5px;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.botoneraSuperior button {
  background: transparent;
  color: #fff;
  font-weight: 400 !important;
  text-transform: none;
  font-size: 14px;
  box-shadow: none !important;
}
.botoneraSuperior button:hover,
.botoneraSuperior button:focus {
  background: transparent;
  color: #fff;
  opacity: 0.8;
}
.btn-nav {
  box-shadow: none !important;
}

@media (min-width: 992px) {
  .col-icon {
    display: none;
  }
  
}

@media (max-width: 992px) {
  .col-icon {
    width: 20%;
  }
  .col-logotipo {
    width: 30%;
  }

  #administradoresTable,
  #gestoresTable,
  #personasTable,
  #expedientesTable {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
  main {
    margin-top: 60px !important;
  }
  .botoneraSuperior button {
    margin-left: 0px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .main-tabla .card-header {
    display: block;
  }
  .main-tabla .card-header .btn-brand {
    margin-top: 15px;
  }
  .main-tabla .card-header .year-expediente {
    margin-top: 15px;
  }
  #sidebarMenu .list-group-flush > .list-group-item {
    margin: 5px 0;
    border: none;
  }
  .col-logo {
    height: auto !important;
    margin-bottom: 50px;
  }
  .logo-login {
    width: 100%;
  }
  .col-form {
    padding-right: 0;
    margin-bottom: 50px;
  }
  .row-form {
    width: 90%;
  }
  .row-form #formularioLogin {
    padding: 1rem !important;
  }
}

@media (max-width: 768px) {
  .btn-nav {
    width: 48%;
    margin-left: 0px !important;
    margin-bottom: 5px;
  }
  .dataTables_length {
    margin-top: 10px;
  }
  .botoneraSuperior {
    margin-top: 5px;
  }
  .col-perfil {
    text-align: center !important;
  }
}

@media (max-width: 560px) {
  #form-registro {
    max-width: 100% !important;
    padding: 0 !important;
  }
}
