/* Slideshow container */
.slideshow-container {
  max-width: 1000px; 
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%; /* altura a la que aparece el boton */
  width: auto;
  margin-top:0px; 
  color: #114c2A;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: -6%;  
  padding-right: 2%; 
  border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.prev{
  left: -6%; 
  padding-left: 2%;  
  border-radius: 3px 0 0 3px;
 }

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color:#033016;
  font-size: 1em;
  padding: 8px 12px;
  position: absolute;
  bottom: -55px; /* -30px altura a la que aparece el pie de foto */
  width: 100%;
  text-align: left;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #033016;
  font-size: 1em; 
  margin-left: 2%;
  padding-top: -3%; 
  position: absolute;
  top:-7%; 
  background-color: white;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size:  0.8em;  line-height: 0.4em; }
  .prev {top: 25%; left: -6%;  font-size: 10px;}
  .next {top: 25%; right: -6%;  font-size: 10px;}
  .text {bottom: -40px;} 

  /* Number text (1/n etc) */
  .numbertext {
    font-size: 0.8em; 
    top:-7%; 
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 400px) {
  .prev, .next,.text {font-size:  0.8em;  line-height: 1em; }
  .prev {top: 40%; left: -6%;   font-size: 15px;}
  .next {top: 40%; right: -6%;  font-size: 15px;}
  .text {bottom:-40px;}

  /* Number text (1/n etc) */
  .numbertext {
    font-size: 0.8em;
    top:2%; 
  }  
}

