* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
    height: 100vh;
    background-image: url(/images/public-v2/static-screen.gif);
    background-size: cover;
    background-attachment: fixed;
}

.mySlides:before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0,0,0,0.3);
    background: -webkit-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7));
    background: -o-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7));
    background: -moz-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7));
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7));
    z-index: 1;
}

    /* Hide the images by default */
.mySlides {
    display: none;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50%;
    height: 100%;
    position:relative;
    z-index:1;
}

.mySlides img {
    opacity:0;
    width:100%;
}
/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    display:none;  
    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 */
.dot {
  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, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 10s;
  animation-name: fade;
  animation-duration: 10s;
}

.slide_caption_container,
.static_caption_container {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    z-index: 2;
}

.slide_caption,
.static_caption {
    height: 340px;
    max-width: 1280px;
    margin: 0 auto;
    color: #FFFFFF;
    text-align: center;
    padding: 0 20px;
}


.slide_caption h1,
.static_caption h1 {
    letter-spacing: 2px;
    font-size: 48px;
}

@-webkit-keyframes fade {
    0% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

@keyframes fade {
    0% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}
@media all and (max-width: 640px) {

    .slideshow-container {
        height: 60vh;
        min-height: 440px;
    }

    .slide_caption h1, .static_caption h1 {
        font-size: 36px;
    }

    .slide_caption_container, .static_caption_container {
        top:unset;
        bottom:90px;
    }

    .slide_caption, .static_caption {
        height:auto;
    }
}

@media all and (max-width: 440px) {

    .slideshow-container {
        height: 60vh;
        min-height: 440px;
    }

    .slide_caption h1, .static_caption h1 {
        font-size: 30px;
    }
}
