* {box-sizing: border-box}
.mySlides {display: none}

.carousel { padding:0; }

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

.slideshow-container img {
  vertical-align: middle;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.4s ease;
  border-radius: 25px;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  text-decoration: none;
}

.prev {
  background-position: top 25px left 25px;
  text-decoration: none;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-image: url('/img/hoverbg.png');
  color: white;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--bonesdale-yellow);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.4s ease;
}

.dots { text-align:center;padding: 15px 0 10px; }

.active, .dot:hover {
  background-color: var(--bonesdale-darkyellow);
}

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}