/* foto show ----------------------------------------- */ 

.slideshow-container {
  max-width: 100hw;
  max-height: 100vw;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.ss-mySlides {
  display: none;
}

.ss-slideimg {
  height: 750px;  /* 800px; for dots */
  max-height:100dpv;
}

/* Next & previous buttons */
.ss-slide-prev, .ss-slide-next {
  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;
}

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

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

.ss-slide-text {
  color: #f2f2f2;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  /* top: 750px; */
  bottom: 10px;
  width: 100%;  
  text-align: center;
}

.ss-slide-numbertext {
  color: black; /* #f2f2f2; */
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.ss-slide-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;
}

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

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

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

/* ------- slide gallery --------- */
.ss-gallery-row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.ss-gallery-col {
  float: left;
  width: 16.66%;
  max-width: 33.34%;
}

.ss-gallery-smallpic {
  opacity: 0.6;
  height: 110px;
}

.ss-gallery-active,
.ss-gallery-smallpic:hover {
  opacity: 1;
}

.ss-cursor {
  cursor: pointer;
}

@media (max-width: 770px) {
  .ss-slide-text {
    font-size: 15px;
  }
   
  .ss-slideimg {
    height: 500px;
    max-height: 400px;
  } 
  
  .ss-gallery-smallpic {
    height: 80px;
  }
}

@media (min-width: 771px) and (max-width: 1050px) {
  .ss-slide-text {
    font-size: 18px;
  }
}

/* ------ Modal Image --------- */
.ss-mod-row > .ss-mod-column {
  padding: 0 8px;
}

.ss-mod-row:after {
  content: "";
  display: table;
  clear: both;
}

.ss-mod-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Create four equal columns that floats next to each other */
.ss-mod-column {
  float: left;
  width: 24%;
  min-width: 350px;
}

.ss-small-mod-column {
  float: left;
  width: 21%;
  max-width: 33.34%;
}

/* The Modal (background) */
.ss-modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 50px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.ss-modal-content {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1400px;
  height: 100%;
}

/* The Close Button */
.ss-modal-close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.ss-modal-caption-container {
  text-align: center;
  background-color: black;
  padding: 9px 16px;
  color: white;
}

.ss-modal-close:hover,
.ss-modal-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

img.ss-mod-hover-shadow {
  transition: 0.3s;
}

.ss-mod-hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
