
/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: black;
  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 */
.next {
  display: inline-block;
    height: 100px;
    width: 100px;
    position: absolute;
    right: 200px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../images/next.svg);
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: .5;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -55px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  opacity: 3;
}

/* 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 */
.mySlides1, .mySlides2,.mySlides3 {display: none}
img {vertical-align: middle;}

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

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

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
@media only screen and  (min-width: 2400px) {

  .next {
      right: 450px;
  }
}
/* @media query start */
@media only screen and (max-width: 2400px) {
  .next {
      right: 390px;
  }
}
/* @media query start */
@media only screen and (max-width: 2100px) {
  .next {
      right: 294px;
  }
}
/* @media query start */
@media only screen and (max-width: 1630px) {
  .next {
      right: 200px;
  }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1300px) {
  .next {
        right: 83px !important;
    }
}
@media screen and (max-width: 820px) {
  .next {
      right: 39px !important;
  }
}
/* for under ipad */
@media screen and (max-width: 767px) {
  .next {
        right: 9px !important;
        height: 60px !important;
        width: 60px !important;
        top: 61% !important;
    }}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
