/* Hide every slide until slideshow.js initializes its group. */
.mySlides,
.mySlides1,
.mySlides2,
.mySlides3,
.mySlides4,
.mySlides5,
.mySlides6,
.mySlides7,
.mySlides8,
.mySlides9 {
    display: none;
    margin: 15px 0;
    font-family: Verdana, sans-serif;
}

/* Position each slideshow and its navigation controls. */
.slideshow-container {
    position: relative;
    margin: 15px auto;
}

/* Keep slideshow images aligned cleanly inside their containers. */
.slideshow-container img {
    vertical-align: middle;
}

/* Style the previous and next slideshow controls. */
.prevImg,
.nextImg {
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    cursor: pointer;
    color: #fbb450;
    border: 1px solid rgba(38, 39, 40, 0.5);
    border-radius: 0 3px 3px 0;
    background-color: rgba(38, 39, 40, 0.5);
    font-size: 30px;
    font-weight: bold;
    transition: 0.6s ease;
}

/* Position and shape the next-slide control on the right. */
.nextImg {
    right: -2px;
    border-radius: 3px 0 0 3px;
}

/* Highlight slideshow controls when the pointer is over them. */
.prevImg:hover,
.nextImg:hover {
    color: #ddd6d6 !important;
    border-color: cornflowerblue;
    background-color: rgba(39, 129, 231, 0.8);
}

/* Style the slide-number label displayed over the image. */
.numbertext {
    position: absolute;
    top: 0;
    z-index: 200;
    padding: 8px 12px;
    color: #f2f2f2;
    background-color: rgba(19, 19, 20, 0.5);
    font-size: 14px;
    font-weight: bold;
}

/* Retain compatibility with the existing dot navigation styles. */
.activeNow,
.dot:hover {
    background-color: #717171;
}

/* Apply the existing fade effect when a slide becomes visible. */
.fadeImg {
    animation-name: fadeImg;
    animation-duration: 1.5s;
}

/* Animate a slide from partly transparent to fully visible. */
@keyframes fadeImg {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* Reduce the navigation control size on extremely narrow screens. */
@media only screen and (max-width: 300px) {
    .prevImg,
    .nextImg {
        font-size: 11px;
    }
}
