/* https://www.w3schools.com/howto/howto_js_slideshow_gallery.asp */

* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.image-container {
  position: relative;
}

/* Hide the images by default */
.slides-24to25 {
  display: none;
}

.slides-25to26 {
  display: none;
}

.slides-26to27 {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position:absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  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(238, 184, 133,0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: rgb(146, 72, 3);
  background-color: rgb(238, 184, 133);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: rgb(86, 57, 30);
  padding: 5px;
  color: white;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
}

.image-column {
  flex: 0 0 calc(15% - 10px);
  box-sizing: border-box;
}

.image-column img {
  width: 100%;
  height: auto;
  display: block;
}

/* Add a transparency effect for thumnbail images */
.demo-24to25 {
  opacity: 0.6;
}

.active,
.demo-24to25:hover {
  opacity: 1;
}

.demo-25to26 {
  opacity: 0.6;
}

.active,
.demo-25to26:hover {
  opacity: 1;
}

.demo-26to27 {
  opacity: 0.6;
}

.active,
.demo-26to27:hover {
  opacity: 1;
}