
.js-slideshow {
  height: 30vw;					/* ex 400px or 300px; */
  width: 100%;
  overflow: hidden;
  position: relative;
}

.js-slideshow img {
  width: 100%;					/* query */
  height: 100%;					/* query */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 1;
  transition: none;
}


.js-slideshow img.is-shown {
  opacity: 1;
  z-index: 10;
  animation-name: fadeIn;
  animation-duration: 5000ms;
  animation-timing-function: ease-in-out;
}

.js-slideshow img.fading-out {
  z-index: 9;
  animation-name: fadeOut;
  animation-duration: 5000ms;
  animation-timing-function: ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.js-slideshow img.previous {
  opacity: 1;
  z-index: -10;
}
