* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(0, 0, 0, 0.1); /* Black background with 0.5 opacity */
    max-width: 1000px;
    position: relative;
    margin: auto;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div.vertical-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hide the images by default */
.slideshow {
    display: none;
    margin-bottom: 1em;
}

/* Next & previous buttons */
.slideshow-prev,
.slideshow-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;
    user-select: none;
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
}

/* Position the "next button" to the right */
.slideshow-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.slideshow-prev:hover,
.slideshow-next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
    text-decoration: none;
}

/* Caption text */
.slideshow-caption {
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
    bottom: 0; /* At the bottom. Use top:0 to append it to the top */
    color: #f1f1f1; /* Grey text */
    /*padding: 8px 12px; !* Some padding *!*/
    position: absolute; /* Position the background text */
    text-align: center;
    width: 100%; /* Full width */
}

.slideshow-caption h3 {
    font-size: 1em;
    margin-bottom: 0;
}

.slideshow-caption p {
    margin-top: 0;
}

/* Slideshow picture number text (1/3) */
.slideshow-picture-number {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 2px 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: 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}
}