.class_li_a {
    color: #ffffff !important;
  }

  .hover_class {
    position: relative;
  }

  .hover_class h6 {
    color: #808080;
    font-size: small;
    transition: color 0.3s ease;
  }

  .hover_class:hover {
    background-color: #d5a104;
    color: #808080;
    /* Cambiar el color de fondo al hacer hover */
    cursor: pointer;
  }

  .more-info {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: small;

  }

  .hover_class:hover .more-info {
    display: block;
  }

  /**---servicio---- */
  .class_servicio {
    border: 2px solid #103c64 !important;
    color: #103c64 !important;
    background-color: aliceblue !important;
  }

  .head_exman {
    font-size: medium;
  }

  .boby_examen {
    font-size: medium;
    text-align: justify;
  }

  .footer_exmen {
    padding-bottom: 7px !important;
    padding-top: 0px !important;
  }

  /* Estilos específicos de la paginación */
  .pagination {
    justify-content: center;
    margin-top: 20px;
  }

  .pagination .page-link {
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    margin-right: 5px;
  }

  .pagination .page-link:hover {
    z-index: 2;
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
  }

  .pagination .page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }

  .pagination .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
  }

  .textarea_datatable {
    width: 100%;
    background: rgb(243 246 248 / 0%) !important;
    border-block-color: inherit;
    border-bottom: aliceblue;
    border-left: aliceblue;
    border-right: aliceblue;
    border-top: hidden;
  }

  .list-card_:hover {

    -webkit-box-shadow: -2px 10px 37px 0px rgba(138, 138, 138, 0.63);
    -moz-box-shadow: -2px 10px 37px 0px rgba(138, 138, 138, 0.63);
    box-shadow: -2px 10px 37px 0px rgba(138, 138, 138, 0.63);
  }



/*-------------estilos paera los card de las unidades y servicios-----------------------*/

/* Estilo de la tarjeta (cambiado de card a cardd) */
.cardd { 
  position: relative;
  display: flex;
 /* justify-content: center;*/
  cursor: pointer;
  max-width: 100%;
  padding: 2em 0;
  background: #FFF;
  box-shadow: 0 0 6px 0 rgba(32, 32, 36, 0.12);
  transition: all 0.35s ease;
  border-width: 2px;
  border-style: solid;
  border-color: #e0e4e7;
  border-radius: 10px;
}

.cardd::before, .cardd::after { 
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #103c64;
  height: 4px;
}

.cardd::before { 
  width: 0;
  opacity: 0;
  transition: opacity 0 ease, width 0 ease;
  transition-delay: 0.5s;
}

.cardd::after { 
  width: 100%;
  background: white;
  transition: width 0.5s ease;
}

.cardd .content { 
  padding: 17px;
  max-width: 100%;
  min-width: 100%;
}

.cardd .hover_content { 
  overflow: hidden;
  max-height: 0;
  transform: translateY(1em);
  transition: all 0.55s ease;
  overflow-x: hidden; 
  overflow-y: scroll; /*width: 100%;*/
}

.cardd .hover_content p { 
  margin: 1.5em 0 0;
  color: #6E6E70;
  line-height: 1.4em;
}

.cardd:hover { 
  width: 100%;
  box-shadow: 0 10px 20px 0 rgba(32, 32, 36, 0.12);
}

.cardd:hover::before { 
  width: 100%;
  opacity: 1;
  transition: opacity 0.5s ease, width 0.5s ease;
  transition-delay: 0;
}

.cardd:hover::after { 
  width: 0;
  opacity: 0;
  transition: width 0 ease;
}

.cardd:hover .logo { 
  margin-bottom: 0.5em;
}

.cardd:hover .hover_content { 
  max-height: 10em;
  transform: none;
}
