body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  color: black !important;
}

*, ::after, ::before {
  box-sizing: border-box;
  max-width: 100%;
}

/* Estilos para el formulario */

thead, tbody, tfoot, tr, td, th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  width: initial;
  max-width: 100%;
}

.form-group {
  margin-bottom: -0.5rem;
  padding: 10px;
  text-align: inherit;
  margin-left: -40px;
  }

  .form-groupr {
    margin-bottom: 0.5rem;
    padding: 10px;
    text-align: inherit;
    margin-left: auto;
  }

  .form-group1 {
    margin-bottom: -0.5rem;
    padding: 3px;
    text-align: inherit;
    margin-left: inherit;
  }
  .form-groupfc {
    margin-bottom: -0.5rem;
    padding: 5px;
    text-align: inherit;
    margin-left: -35%;
}

.form-groupec {
  margin-bottom: -0.5rem;
  padding: 5px;
  text-align: inherit;
  margin-left: -31%;
  margin-right: -31%;
}

  /* Estilos para los botones */
  .btn {
    margin-right: 0;
    align-content: center;
  }

.rounded-form-container {
  border: 0px solid #ccc; /* Borde del contenedor */
  border-radius: 10px; /* Borde redondeado */
  padding: 118px; /* Espaciado interno */
  margin: 0 auto; /* Centrar el contenedor horizontalmente */
}

.rounded-row {
  border: 1px solid #ccc; /* Borde del contenedor */
  margin: 5px; /* Puedes ajustar el valor según tu diseño */
  border-radius: 10px; /* Puedes ajustar el valor según tu diseño */
  background-color: #f8f9fa; /* Puedes ajustar el color de fondo según tu diseño */
  padding: 5px; /* Puedes ajustar el valor según tu diseño */
}
  /* Estilos para el contenedor */
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
    background: linear-gradient(to bottom, silver, rgb(65, 65, 65));
  }

  .col-sm-6 {
    flex: 0 0 auto;
    width: 41%;
  }

  .form-rowec {
    display: flex;
    flex-wrap: wrap;
    margin-right: 25px;
    margin-left: 50px;
    padding: 60px;
  }

  .form-rowec1 {
    display: flex;
    flex-wrap: wrap;
    margin-right: auto;
    margin-left: Auto;
    padding: 5%;
  }
/* Estilos para el cuerpo */
  
  /* Estilos para los campos de entrada */
  .form-control .table {
    border-radius: 30px;
    display: table;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 150;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color:rgb(249, 249, 249);
    background-clip: padding-box;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  }

  .form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 25px;
    margin-left: 0;
    padding: 5px;
}

.form-row1 {
  width: 35%;
  display: flex;
  flex-wrap: wrap;
  margin-left: initial;
  padding: 6px;
  border-radius: 10px;
  font-size: 12px;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: -0.5rem;
  font-size: calc(1.275rem + 0.3vw);
  line-height: inherit;
}

  /* Estilos para los botones */
    .btn-group-sm > .btn, .btn-sm {
      --bs-btn-padding-y: 4px;
      --bs-btn-padding-x: 20%;
      --bs-btn-font-size: 12px;
      --bs-btn-border-radius: var(--bs-border-radius-sm);
    }
 
  .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    width: 80px;
    padding: 5px;
  }

  .btn-primarya {
    background-color: #007bff;
    border-color: #007bff;
    width: 74px;
    padding: 5px;
  }
  
  .btn-primary:hover {
    background-color: #545557;
    border-color: #007bff;
  }

  .btn-primarya:hover {
    background-color: #545557;
    border-color: #fcfcfc;
  }
  
  .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    padding: 5px;
  }
  
  .btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    background-color: #545557;
    border-color: #fcfcfc;
  }
  
  .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    padding: 5px;
  }
  
  .btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    background-color: #545557;
    border-color: #fcfcfc;
  }
  
  .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    width: 80px;
    padding: 5px;
  }

  .btn-dangera {
    background-color: #dc3545;
    border-color: #dc3545;
    width: 49%;
    padding: 5px;
  }
  
  .btn-danger:hover {
    background-color: #545557;
    border-color: #fcfcfc;
  }

  .btn-dangera:hover {
    background-color: #545557;
    border-color: #fcfcfc;
  }

  .fcc-btn {
    background-color: #70adbb87;
    color: #1111117d;
    padding: 3% 8%;
    text-decoration: none;
    border-radius: 15%;
    font-weight: bold;
  }

  .fcc-btn:hover {
    background-color: #f2f3f3b7;
    color: #1111117d;
    border-radius: 15%;
  }
  
  .contenedor-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.contenedor-modal.mostrar {
    background-color: black;
    z-index: 1;
    opacity: 0.9;
}

.contenedor-modal .modal {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 500px;
    padding: 50px;
    background-color: #fff;
    opacity: 1;
}

.formulariocaja
{
    width: 100%;
    height: 100%;
    position: inherit;
    margin: auto;
    padding: 2px;
    overflow: hidden;  
    border: 0 solid rgb(0, 0, 0);
    border-radius: 5%px;
    background: url('/images/fondo.png') no-repeat center center;
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.6); /* Color blanco semi-transparente */
    background-blend-mode: lighten; /* Mezcla la imagen con el color de fondo */
    color: black;
    max-width: 100%;
}

.fs-1 {
  font-size: calc(1.05rem + 1.5vw) !important;
}

.modal .modal-body{
  --bs-modal-margin: 3.75rem;
  --bs-modal-box-shadow: var(--bs-box-shadow);
  --bs-modal-zindex: 1095;
  --bs-modal-padding: 1rem;
  margin: auto auto;
  padding: 1rem;
  width: auto;
  border-radius: 10px;
  height: auto;
  position: inherit;
  flex: 1 1 auto;
  padding: var(--bs-modal-padding);
  overflow-y: auto; /* Habilitamos el desplazamiento vertical si es necesario */
  max-height: calc(120vh - 220px); /* Altura máxima del modal-body */
  --bs-modal-width: 750px;
  text-align: inherit;
}

/* Estilo para el texto dentro del modal-body */
.modal-body p,
.modal-body ul,
.modal-body b,
.modal-body ol{
  margin-bottom: 15px; /* Espacio entre párrafos y listas */
  line-height: 1.6; /* Espaciado entre líneas */
  word-wrap: break-word; /* Envolver palabras largas */
}

.modal-body ul li {
  margin-bottom: 5px; /* Espacio entre elementos de la lista */
}

/* Estilo para hacer el fondo del modal semi-transparente */
.modal-content {
  background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente blanco */
  border: none; /* Quitamos el borde del modal */
  box-shadow: 2px 2px 10px rgba(173, 144, 12, 0.3); /* Sombra ligera */
  left: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%; /* Ancho máximo del modal */
}

.form-control1 {
  display: block;
  width: 75%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: var(--bs-modal-width);
    margin-right: auto;
    margin-left: auto;
  }
  .modal-contents {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    box-shadow: 2px 2px 10px rgba(173, 144, 12, 0.3);
    left: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .modal-dialog {
      max-width: 90%;
      margin: auto;
    }

  .modal-content {
      background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente blanco */
      border: none; /* Quitamos el borde del modal */
      box-shadow: 2px 2px 10px rgba(173, 144, 12, 0.3); /* Sombra ligera */
      left: 15%;
      position: relative;
      display: inherit;
      flex-direction: column;
      width: 85%;
      max-width: 100%; /* Ancho máximo del modal */
    }
  }

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: var(--bs-modal-header-padding);
  border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
  border-top-left-radius: var(--bs-modal-inner-border-radius);
  border-top-right-radius: var(--bs-modal-inner-border-radius);
  align-self: center;
}

.legend {
  float: left;
  width: 100%;
  padding: 15px;
  margin-bottom: 5.5rem;
  font-size: calc(1.275rem + 0.3vw);
  line-height: inherit;
}
.legend {
  float: none;
  width: 100%;
  padding: 10px;
  margin-bottom: 0.5rem;
  font-size: calc(1.275rem + 0.3vw);
  line-height: inherit;
}
  /* Estilos para el contenedor */
  .containerFrm {
    max-width: inherit;
    margin: 17px -30px;
    background-color: rgb(255, 255, 255);
    color: black;
    width: 100%;
  }

  .containerFrm {
    max-width: inherit;
    margin: 10px;
    font-size: 100%;
    background-color: rgb(255, 255, 255);
    color: black;
    border-radius: 30px;
    line-height: 1.5;
    text-align: center;
  }
  
  .containerFrmr {
    margin: 1.5%  auto;
    padding: 2rem;
    width: 50%;
    border: 5px solid #e9ecef;
    border-radius: 30px;
    height: 100%;
    max-width: 60%;
    max-height: 95%;
	  overflow: auto;
	  overflow-x: hidden;
  }

  .fieldset {
    min-width: auto;
    padding: 20px;
    margin: 5px;
    border-radius: 30px;
  }

  .formulariocajas
  {
      width: 100%;
      height: 100%;
      position: inherit;
      margin: auto;
      padding: 2px;
      overflow: hidden;  
      border: 0 solid rgb(0, 0, 0);
      border-radius: 30px;
      background-color: rgb(255, 255, 255);
      color: black;
      max-width: 100%;
  }

  .scrollable-div {
    width:60%; /* Ancho del div */
    height: 100%; /* Alto del div */
    overflow-y: auto; /* Scroll vertical automático */
    overflow: auto;
    overflow-x: hidden; /* Oculta el scroll horizontal */
    border: 1px solid #ccc; /* Borde opcional */
    padding: 0%; /* Espaciado interno opcional */
    margin-left: auto;
  }

  .scrollable-activefec {
    width: 100%;
    height: auto;
    overflow-y: auto;
    overflow: auto;
    overflow-x: auto;
    border: 1px solid #ccc;
    padding: 0;
    margin-left: 0;
    background: url('/images/fondo.png') no-repeat center center;
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.6); /* Color blanco semi-transparente */
    background-blend-mode: lighten; /* Mezcla la imagen con el color de fondo */
}

  .scrollable-active {
    width:100%; /* Ancho del div */
    height: 100%; /* Alto del div */
    overflow-y: auto; /* Scroll vertical automático */
    /*overflow: auto;*/
    overflow-x: auto; /* Oculta el scroll horizontal */
    border: 1px solid #ccc; /* Borde opcional */
    padding: 0%; /* Espaciado interno opcional */
    margin-left: auto;
    background: url('/images/fondo.png') no-repeat center center;
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.6); /* Color blanco semi-transparente */
    background-blend-mode: lighten; /* Mezcla la imagen con el color de fondo */
  }

  .search{
    margin-left: 36%;
    width: 70%;
    text-align: inherit;
    min-width: 0;
    padding: 10px;
    border: 0;
    line-height: 35%;
  }

  .fieldsetreg {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    line-height: 1em;
  }

  .fieldsetregdata {
    min-width: 0;
    padding: inherit;
    margin: 15px;
    border: 0;
    line-height: 0;
  }

  .login-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.form-check-label {
    cursor: pointer;
  }

  .form-check-label:hover {
    background-color: #beceee;
    font-weight: bold;
  }