
/* for the slideshow on main page */
.mySlides {
  display: none;
}

.hero-slideshow-img img {
  vertical-align: middle;
}

/* Slideshow container */
.hero-slideshow-container {
  width: 250px;
  height: 350px;
  position: relative;
  overflow: hidden;
  margin: auto;
  /*box-shadow: 5px 5px 10px rgba(0 0 0 / 0.7);*/
}

.hero-slideshow-container img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.hero-dot {
  height: 10px;
  width: 10px;
  margin: 2px 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 1.6s ease;
}

.hero-dot-active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 6.5s;
}

@keyframes fade {
  from {opacity: .7} 
  to {opacity: 1}
}

@media (max-width: 575px) {
  .hero-slideshow-container img {
    vertical-align: bottom;
    width: 90%;
    height: 90%;
    object-fit: contain;
  }
  .hero-slideshow-container {
    vertical-align: bottom;
    width: 175px;
    height: 250px;
    margin: auto;
  }
  
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

 