
* {box-sizing: border-box;}
.mySlides {display: none;}
.mySlides img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  position: relative;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.5em;
  margin-top: -22px;
  color: #383BA8;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.6s ease;
  user-select: none;
  background: rgb(178, 181, 255);
  background: rgba(178, 181, 255, 0.4);
}

.prev {
  left: 0px;
  border-radius: 0 0.5em 0.5em 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 0.5em 0 0 0.5em;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background: rgb(94, 97, 189);
  background: rgba(94, 97, 189, 0.6);
}

/* Caption text */
.text {
  color: #383BA8;
  font-size: 1rem;
  font-Weight: light;
  padding: 0.5em;
  bottom: 0;
  position: absolute;
  width: 100%;
  text-align: center;
}

.headerCaptionText .text {
  position: absolute;
  bottom: 0;
  background: rgb(178, 181, 255); 
  background: rgba(178, 181, 255, 0.7); 
  color: #383BA8;
  border-radius: 0 0 0.5em 0.5em;
}

.headerimage {
  border-radius: 0.5em;
  opacity: 0.5;
  width: 100%;
}

.headeribwimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.7;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 1em;
  width: 1em;
  margin: 0 2px;
  background-color: #B2B5FF;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #5E61BD;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 0.7rem}
}