@import url("coloresITJM.css");


.pngboxshadow {
    filter: drop-shadow(0px -1px 2px 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: #2098D1;
    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%, #39b3e6);
  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);
  }
}

@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
}



/* input blotantes */
.form-control-google {
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 1rem 0.75rem 0.25rem 0.75rem;
        transition: all 0.3s;
        background-color: #f9f9f9;
    }
    .form-control-google:focus {
        border-color: #a7a7a7;
        box-shadow: 0 0 0 0.2rem rgba(121, 123, 126, 0.25);
        background-color: #fff;
    }
    .form-floating > label {
        padding-left: 1.5rem;
        font-size: 0.9rem;
        color: #666;
    }
    .form-check-input {
        width: 1.2em;
        height: 1.2em;
    }