/* SLIDE */

/* Estilo básico para la imagen */
/* .responsive-image {
  height: 264px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
} */

/* .imagenAjustada {
    
    width: 100%;
    height: 150px;
    height: auto; 

    max-width: 100%;
    display: block; 
    object-fit: cover;
} */

.imagenAjustada {
  width: 100%;
  height: 265px; /* Altura fija inicial */
  height: 165px; /* Altura fija inicial */
  object-fit: cover; /* Asegura que las imágenes mantengan su relación de aspecto */
}


#slide{
	position:relative;
	margin:auto;
	width:100%;
	overflow: hidden;
	padding:0;
}

#slide ul{
	position:relative;
	left:-300%;
	left:0%;
	margin:auto;
	height:auto;
	width:400%;
	clear:both;
	display: table;
}

#slide ul li{
	position: relative;
	float:left;
	width:25%; 
}	

#slide ul li img{
	width:100%;
}


/*=============================================
FLECHAS
=============================================*/

#slide .flechas{
	background-color: white;
	border-radius: 50%;
	position:absolute;
	font-weight: normal;
	font-size:2em;
	color:#344488;
	cursor:pointer;
	z-index:2;
}

#slide .flechas:hover {
  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
}

#slide #retroceder{
	left:0;
	opacity: 0;
}

#slide #avanzar{
	right:0;
	opacity: 0;
}

#slide #retroceder:active, #slide #avanzar:active{
  color: #344488;
  /* font-size: x-large; */
}

/*=============================================
PAGINACIÓN
=============================================*/

#slide #paginacion{
	position: absolute;
	width:100%;
	margin:auto;
	text-align: center;
	line-height: 40px;
	font-size:12px;
	bottom:0px;
	left:0px;
	z-index:9999991;
	background:rgba(0,0,0,.05);
}

#slide #paginacion li{
	display:inline-block;
	margin:0px 5px;
	cursor:pointer;
	opacity:.5;
	color:white;
	text-shadow:0px 0px 5px #333;
}

#slide #paginacion li:first-child{
	opacity:1;
}

#slide {
  position: relative;
  overflow: hidden;
}

#slide ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
}

#slide ul li {
  width: 100%;
  flex-shrink: 0; /* Evita que los items se reduzcan más allá del 100% */
}

/* #paginacion {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

#paginacion li {
  margin: 0 5px;
}

#paginacion li span {
  font-size: 12px;
  color: #fff;
  z-index: 999999;
}
 */



.flechas {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

#retroceder {
  left: 10px;
}

#avanzar {
  right: 10px;
}

/* ESCRITORIO GRANDE (LG revisamos en 1366px en adelante) */

@media (min-width:1200px){

  #slide #retroceder {

    font-family: Arial, sans-serif;
    top: 42%;
    top: 48%;
    font-size: 16px;;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #slide #avanzar {
    font-family: Arial, sans-serif;
    top: 42%;
    top: 48%;
    font-size: 16px;;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .imagenAjustada {
    width: 100%;
    height: 265px;
    object-fit: cover;
  }

}
  
  /* ESCRITORIO MEDIANO O TABLET HORIZONTAL (MD revisamos en 1024px) */
  
  @media (max-width:1199px) and (min-width:992px){
  
    #slide #retroceder {
      font-family: Arial, sans-serif;
      top: 35%;
      font-size: 16px;;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      background-color: white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    #slide #avanzar {
      font-family: Arial, sans-serif;
      top: 35%;
      font-size: 16px;;
          border-radius: 50%;
          width: 40px;
          height: 40px;
          background-color: white;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
    }
  
    #slide .slideOpciones h1 {
      font-size: 35px;
      margin-top: 5px;
    }
  
    #slide .slideOpciones h2 {
      font-size: 30px;
    }
  
    #slide .slideOpciones h3 {
      font-size: 20px;
    }
  
    #slide .slideOpciones button {
      padding: 10px;
    }

    .imagenAjustada {
      width: 100%;
      height: 265px;
      object-fit: cover;
    }
  
  }
  
  /* ESCRITORIO PEQUEÑO O TABLET VERTICAL (SM revisamos en 768px) */
  
  @media (max-width:991px) and (min-width:768px){
  
    #slide #retroceder {
      font-family: Arial, sans-serif;
      top: 35%;
      font-size: 16px;;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      background-color: white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    #slide #avanzar {
      font-family: Arial, sans-serif;
      top: 35%;
      font-size: 16px;;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      background-color: white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
  }
  
  /* MOVIL (XS revisamos en 320px) */
  
  @media (max-width:767px){
  
    #slide #retroceder, #slide #avanzar {
      display: none;
    }

    #slide #paginacion {
      display: none;
    }

    .imagenAjustada {
      width: 100%;
      height: auto;
      max-width: 100%;
      display: block;
      object-fit: cover;
    }

     
  }












  
  /* Consultas de medios para diferentes resoluciones */

  /* Para tabletas */
  @media (min-width: 601px) and (max-width: 1024px) {
    .imagenAjustada1 {
      /* height: 264px; */
    }
  }
  
  /* Para pantallas grandes (PC) */
  @media (min-width: 1025px) {
    .imagenAjustada1 {
      /* height: 264px;  */
    }
  }
  
