#slideshow * {box-sizing:border-box}

#slideshow {
 display: none;
 max-width: 90%;
 position: fixed;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 z-index: 10;
 padding: 0;
 background:#fff;
 text-align:center;
 border: solid #ccc 1pt;
 border-radius: 3px 3px 3px 3px;
}

/* Slideshow container */
#slideshow-container {
 display: block;
 width: 100%;
 position: relative;
 margin: 0 auto;
 padding: 0;
}

/* Hide the images by default */
#slideshow-container .mySlides {
 display: none;
}

/* Next & previous buttons */
#slideshow-container .prev, #slideshow-container .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;
 user-select: none;
}

/* Position the "left button" to the left */
#slideshow-container .prev {
 left: 0;
 border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
#slideshow-container .next {
 right: 0;
 border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
#slideshow-container .prev:hover, #slideshow-container .next:hover, #slideshow-container .closetext:hover {
 background-color: rgba(0,0,0,0.8);
}

/* Caption text */
#slideshow-container .text {
 color: #f2f2f2;
 font-size: 15px;
 padding: 8px 12px;
 position: absolute;
 bottom: 8px;
 width: 100%;
 text-align: center;
 text-shadow: 1px 0px 2px black, 0px 1px 2px black, -1px 0px 2px black, 0px -1px 2px black;
}

/* Number text (1/3 etc) */
#slideshow-container .numbertext {
 color: #f2f2f2;
 font-size: 12px;
 padding: 8px 12px;
 position: absolute;
 top: 0;
 left: 0;
 text-align: center;
 text-shadow: 1px 0px 2px black, 0px 1px 2px black, -1px 0px 2px black, 0px -1px 2px black;
}

/* close text X */
#slideshow-container .closetext {
 color: #f2f2f2;
 font-size: 12px;
 padding: 8px 12px;
 position: absolute;
 top: 0;
 right: 0;
 cursor: pointer;
 color: white;
 font-weight: bold;
 font-size: 18px;
 transition: 0.6s ease;
 border-radius: 0;
 user-select: none;
}

/* Slideshow container */
#slideshow-dots {
 display: block;
 text-align:center;
 margin: 0.25ex auto 0;
 padding: 0 0 0.25ex 0;
}

/* The dots/bullets/indicators */
#slideshow-dots .dot {
 cursor: pointer;
 height: 15px;
 width: 15px;
 margin: 0 2px;
 padding: 0;
 background-color: #bbb;
 border-radius: 50%;
 display: inline-block;
 transition: background-color 0.6s ease;
}

#slideshow-dots .active, #slideshow-dots .dot:hover {
 background-color: #717171;
}

/* 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}
}