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

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

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

.gallery-container .prev {
    border-radius: 0 10px 10px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 10px 0 0 10px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    color:white!important;
    background-color: rgb(27, 189, 200, 0.8)
}

/* Hide the images by default */
.mySlides {
  display: none;
  max-height: 500px;
}

.mySlides img {
    max-width:100%;
    height:auto;
    max-height:500px;
    border-style:none;
    object-fit:cover;
    box-shadow: 0 0 25px #000;
}


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

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: white;
  padding: 2px 16px;
  color: black;
}
.caption-container p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.top-part {
    height: 75%;
}
.thumb-row {
    height:25%;
    max-height:150px;
}
.thumb-row:after {
  display: table;
  clear: both;
}

.thumb-column {
    float: left; 
    height: 100%;
    border-radius: 16px;
    padding: 10px;
}

.thumb-column img {
    display: block;
    width: auto;
    height: 100px!important;
    object-fit: contain;
    text-align: center;
    margin: auto;
}

@media (max-width: 768px) {
    .thumb-column img {
        height: 50px!important;
    }
}

/* Add a transparency effect for thumnbail images */
.thumb-trans {
  opacity: 0.6;
}

.thumb-trans:hover {
  opacity: 1;
}

.thumb-row > .active {
    background-color:#ddd;
}