/*====================*/
/*     SLIDESHOW      */
/*====================*/

#slideshow{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 65%);
    display: flex;
    justify-content: center;
    justify-items: center;
}

/* Slideshow container */
.slideshow-container {
    position: absolute;
    top: 49%;
    transform: translateY(-50%);
    margin-left: 10%;
    margin-right: 10%;
    display: grid;
}

.mySlides {
    display: flex;

    outline: 1px;
    outline-style: solid;
    outline-color: #ffffff;
    
    border: 1px;
    border-style: solid;
    border-color: #000;
    min-width: 300px;
    min-height: 200px;
    background-image: url("../imgs/Loading.gif");
    background-size:30px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: black;
}

.closeSlideButton {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    padding: 2px;
    padding-bottom: 5px;
    border-width: 1px;
    border-color: #000000;
    cursor: pointer;
}

/* 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;
    user-select: none;
    background: rgba(0, 0, 0, 40%);
}

/* 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);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 40%);
    font-size: 12px;
    padding-left: 3px;
    padding-right: 3px;
    position: absolute;
    top: 0;
    left: -5%;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .1}
    to {opacity: 1}
}