html{
  scroll-behavior: smooth;
}

.alinear{
    background-color: rgba(0,0,150,0.1); text-align:right; font-weight:bold; font-size:20px;
}
.div_order{
  transform: scale(1,1);
  transition: ease 1s;
}
.div_order:hover{
  transform: scale(1.02,1.02);
  transition: ease 1s;
  filter: drop-shadow(10px 10px 5px #153d6f);
}
/* Se comenta para permitir que la altura del modal se ajuste al contenido. 
.modal-body{
    height: calc(100vh);
    width: 100%;
    overflow-y: auto;
}*/

.modal-body {
    position: relative;
    padding: 15px;
    overflow-y: auto;
    height: auto; /* Ajusta la altura al contenido */
    max-height: calc(100vh - 210px); /* Previene que sea más alto que la pantalla */
}
.encabezado-modal{
    background-color: lightsteelblue; 
    background-image: url('../dist/img/ModalDesign.png');
    background-size:80%;
    /*overflow: scroll;*/
}
.encabezado-modal2{
    background-image: url('../dist/img/ModalDesign2.png');
    background-size:80%;
    /*overflow: scroll;*/
}
.splash{
    background-image: url('../dist/img/LogoSiimsa.png');
    width: 300px;
    height: 250px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
#ipdf{
    transform: scale(1);
    transition: ease 1s;
}
#ipdf:hover{
    transform: scale(1.3);
    transition: ease 1s;
}
#ifirmado{
    transform: scale(1);
    transition: ease 1s;
}
#ifirmado:hover{
    transform: scale(1.3);
    transition: ease 1s;
}
#irespuesta{
    transform: scale(1);
    transition: ease 1s;
}
#irespuesta:hover{
    transform: scale(1.3);
    transition: ease 1s;
}
.centrar{
  margin-left:auto; 
  margin-right:auto;
}
.btn-redon{
  border-radius: 15px;
}
.mov-sal-enc { 
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(0, 100, 255, 1);
  /*background-image: linear-gradient(to right, #4640da, #0078fd, #00a1ff, #00c4f9, #12e2eb);*/
  color: white;
}
.mov-sal-pie { 
  position: sticky;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0, 100, 255, 1);
  /*background-image: linear-gradient(to right, #4640da, #0078fd, #00a1ff, #00c4f9, #12e2eb);*/
  color: white;
}
/*
thead tr th { 
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(0, 100, 255, 1);
  color: white;
}
tfoot tr { 
  position: sticky;
  bottom: 0;
  z-index: 10;
  background-color:rgba(0, 100, 255, 1);
  color: white;
}
*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 37px;
    height: 20px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
  }
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .aparecer{
    display: none;
  }
/* Switch Cuadrado
  <label class="switch">
  <input type="checkbox">
  <span class="slider"></span>
  </label>
*/
/* End switch - the box around the slider */
@media only screen and (max-width: 1100px ) {
  body {
    background-color: lightblue;
  }
  .ocultar{
      display: none;
  }
  .modal-body{
    width: 100%;
    height: calc(100vh);
  }
  .aparecer{
    display: inline-block;
  }
}

/*
Full screen Modal  height: calc(100vh);
*/
/* .fullscreen-modal .modal-dialog {
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  bottom: 0;
}
@media (min-width: 768px) {
  .fullscreen-modal .modal-dialog {
    width: 750px;
    height: calc(100vh);
  }
}
@media (min-width: 992px) {
  .fullscreen-modal .modal-dialog {
    width: 970px;
    height: calc(100vh);
  }
}
@media (min-width: 1200px) {
  .fullscreen-modal .modal-dialog {
     width: 1170px;
     height: calc(100vh);
  }
} */

/* CSS de notifiaciones Toast */
#toasts{
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index:999999;
}

.toast{
  width: 300px;
  height: 70px;
  border-radius: 5px;
  margin: 0.5rem;
  color: #ffffff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  margin-left: 2px;
}

.infoToast{
  background-color: #2196f3;
}

.successToast{
  background-color: #4caf50;
}

.errorToast{
  background-color: #ff5252;
}

.warningToast{
  background-color: #ffc107;
}

.spanToast{
  color: #ffffff;
  margin: 0 20px 0 0;
  font-size: 1.5rem;
}

.bw-div{
  width:100%;
  height:100;
  transition:0.5s;
  object-fit: cover;
}

.bw-div:hover{
  background-color: #153d6f;
  transform: scale(1.05);
  opacity: 0.5;
}

#sparto{
  transition: ease 1s;
  transform:scale(0.5);
}

/* Responsive fix for AdminLTE box-header on mobile (Bootstrap 3.3.7) */
@media (max-width: 767px) {
  .box-header {
    padding-bottom: 10px;
  }
  .box-header .box-title {
    display: block;
    float: none;
    text-align: left;
  }
  .box-header .box-tools {
    float: none;
    display: block;
    text-align: left;
    margin-top: 10px;
  }
  .box-header .box-tools .btn {
    margin-bottom: 5px;
  }
}

/* Aumentar tamaño de fuente para legibilidad */
.box-body, .panel-body, .modal-body {
    font-size: 1.1em;
}
