/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
  width: 100%;
  height: 80vh;
  box-sizing:border-box;
}

/* Hide the images by default */
.mySlides {
  display: none;
  height: 100%;
  box-sizing:border-box;
}

.img-slide {
    min-height: 0%;
    max-height: 100%;
    width: auto;
    max-width: 100%;
}

/* Next & previous buttons */
.prev-slide-button, .next-slide-button {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  box-sizing:border-box;
  background-color: rgba(0,0,0,0.5);
}

/* Position the "next button" to the right */
.next-slide-button {
  right: 0;
  border-radius: 3px 0 0 3px;
  box-sizing:border-box;
}

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

/* Caption text */
.slide-caption {
  padding: 8px 12px;
  /*position: absolute;
  bottom: 8px;*/
  width: 100%;
  text-align: center;
  box-sizing:border-box;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  box-sizing:border-box;
}

/* 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;
  box-sizing:border-box;
}

.active, .dot:hover {
  background-color: #009667;
  box-sizing:border-box;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 2.0s;
  animation-name: fade;
  animation-duration: 2.0s;
  box-sizing:border-box;
}

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

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


/*///////////////// MOBILE-SPECIFIC STYLES ///////////////////////*/
@media screen and (max-width: 769px) {
    .slideshow-container {
        position: relative;
        margin: auto;
        width: 100%;
        height: 40vh;
        box-sizing:border-box;
      }

    .img-slide {
        min-height: 0%;
        max-height: 100%;
        width: auto;
        max-width: 100%;
    }
}