@import url("colores.css");

.pngboxshadow {
  filter: drop-shadow(0px -1px 20px var(--colorITJM--blanco));
}

/* estilos hr*/
.hr2 {
  border: none;
  height: 5px;
  margin: 4px 0;
  background-image: linear-gradient(to right, rgb(0, 0, 0), #BFE2FF, rgb(0, 0, 0));
}

.hr2:before,
.hr2:after {
  content: '';
  display: inline-block;
  border-radius: 100%;
  width: 5px;
  height: 5px;
  border: 1px solid #000000;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FFF;
}

.hr2:after {
  animation: anim-hr 2s linear infinite;
}

@keyframes anim-hr {
  0% {
    width: 10px;
    height: 10px;
  }

  100% {
    width: 0;
    height: 0;
  }
}

/* alerta en la parte de abajo */
/*MOVER LINEA A ISQUIERDA*/
.move-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}

.move-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  top: 0;
  background: #118320;
  height: 4px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.move-left:hover:before,
.move-left:focus:before,
.move-left:active:before {
  right: 0;
}

.doc-img {
  border-radius: 10px;
  height: fit-content;
  border: var(--colorITJM--segundario) 2px solid;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  height: 18.75em;
  width: 400px;
  object-fit: cover;
}



/** calendario */


.fechaDes::-webkit-calendar-picker-indicator {
  display: block;
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.fechaDes:hover::-webkit-datetime-edit {
  display: block;
  background: transparent;

}

tool-tip {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  background: #0f0f0f;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  /* padding: .5rem 1rem; */

  border-radius: 2px;
  top: 100%;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

:has(> tool-tip) {
  position: relative;
}

:has(> tool-tip):hover tool-tip {
  opacity: 1;
}

/****tabla */
.mitabla {
  border-radius: 0 0 0.9rem 0.9rem;
  /* border: 2px solid rgb(165, 164, 164); */
  box-shadow: 0 0 5px rgb(61, 61, 61);
}

/***paginacion */
.pagination li {
  margin-left: .25rem;
  margin-right: .25rem;
}

.pagination li .page-link {
  border-radius: .25rem;
  border: none;
  min-width: 2.25rem;
  text-align: center;
  color: var(--colorITJM--segundario);
}

.pagination li.active .page-link,
.pagination li .page-link:hover {
  background-color: var(--colorITJM--segundario);
  color: #fff;
  font-weight: bold;
}

/* input con iconos*/

.inner-addon .icon-isq {
  position: absolute;
  padding: 12px;
  pointer-events: none;
}

.left-addon input {
  padding-left: 30px;
}

/* asterisco en rojo para input requerido */
input:required:invalid,
textarea:required:invalid {
  border: 1px solid red;
}

select:required:invalid {
  border: 1px solid red;
}

.field:has(input:required) label:after {
  content: "*";
  color: red;
  margin-left: 5px;
}

.field:has(select:required) label:after {
  content: "*";
  color: red;
  margin-left: 5px;
}

/*WAVES*/
.header {
  position: relative;
  text-align: center;
  background: linear-gradient(60deg, rgb(255, 255, 255) 0%, #2c3c84);
  color: white;
}

.inner-header {
  height: 65vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}

/* Animation */
.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.logoUnidad {
  margin-top: -45px;
  width: 60%;
  position: fixed;
  opacity: 0.2;
  z-index: -1;
  object-fit: cover;
}

@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .logoUnidad {
    width: 100%;
  }

  .alerta {
    width: 70%;
    margin: 40% 0 0 0;
  }
}

/* si o no  */
.bg-si {
  background-color: #088C37;
  color: white;
}

.bg-no {
  background-color: rgb(61, 61, 61);
  color: white;
}


.cssSelect {
  /* quitar icono de select dejar solo texto */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* quitar icono de select dejar solo texto */
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
  background-size: 8px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 5px;
  font-size: 11px;
  line-height: 1.3;
  color: #444;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease-in-out;

}

.card-consultas {
  width: 80%;
  z-index: 1;
}

/* mobile */
@media (max-width: 768px) {

  .card-consultas {
      width: 100%;
      z-index: 1;
    }
}

/* checkbox  */
.switchBtn {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 20px;
}

.switchBtn input {
  display: none;
}

.slide {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aa2c2c;
  border-radius: 20px;
  -webkit-transition: .4s;
  transition: .4s;
}

.slide:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slide {
  background-color: #159724;
}

input:focus+.slide {
  box-shadow: 0 0 1px #e40b0b;
}

input:checked+.slide:before {
  -webkit-transform: translateX(40px);
  -ms-transform: translateX(40px);
  transform: translateX(30px);
}

.slide:after {
  position: absolute;
  content: "No";
  top: 2px;
  left: 25px;
  color: #fff;
  font-size: 10px;
}

input:checked+.slide:after {
  content: "Si";
  right: 25px;
  left: auto;
}
/* ojologin */
.form-floating {
  position: relative;
}

#iconEye {
  position: absolute;
  top: 35%;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
}

/* --- */
/* MODAL CENTRAR */
.modal_centrar{
  display:inline-block;
  margin-top:4%;
  width: 30%;
}
/*para mobile */
@media (max-width: 768px) {
  .modal_centrar{
    width: 80%;
    margin: 20% ;
    /* padding-top: 40%; */
  }
}
/* *** FILE****  subir*/
.spinner-oculto {
  display: none;
  width: 15px;
  height: 15px
}
/* TOOL TIP */
.tooltip .tooltip-inner {
  background-color: var(--colorITJM--primario);
  color: #FFFFFF;
  opacity: 1;
  font-size: 12px;
  /* bold */

}
.tooltip .tooltip-arrow::before {
  border-top-color: var(--colorITJM--primario);
}
/* modal inicio */
.mo_dal {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 30px;
  background-color: rgb(75, 75, 75);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.mo_dal-content {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.mo_dal-button {
  margin-top: 10px;
  padding: 15px 10px;
  background-color: #969997;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  font-size: 14px;
}
@media screen and (max-width: 600px) {
  .mo_dal {
      width: 60%;
      right: 10px;
  }
}