/* Basis für Slider 2 */

.mySlides2 {
  display: none;
}

.slideshow-container-2 {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.slideshow-container-2 img {
  vertical-align: middle;
  width: 100%;
}

/* Vor/Zurück Buttons */

.slideshow-container-2 .prev, .slideshow-container-2 .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.slideshow-container-2 .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slideshow-container-2 .prev:hover, .slideshow-container-2 .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Bildnummer/Text falls du welche einbaust */

.slideshow-container-2 .numbertext2 {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Punkte (Dots) */

.dot2 {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot2:hover {
  background-color: #717171;
}

/* Animation */

.ml-fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

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

/* Mobile Anpassung */

@media only screen and (max-width: 300px) {
  .slideshow-container-2 .prev, .slideshow-container-2 .next {
    font-size: 11px;
  }
}

