﻿/* The Modal (background) */
.modal-gallery {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 2rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.modal-gallery-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.close-gallery {
    color: #e7608c;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    user-select: auto;
}

    .close-gallery:hover,
    .close-gallery:focus {
        color: #e7497c;
        text-decoration: none;
        cursor: pointer;
    }

.mySlides-gallery {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
}

.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev-gallery,
.next-gallery {
    cursor: pointer !important;
    position: absolute;
    top: 50vh;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white !important;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next-gallery {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev-gallery:hover,
    .next-gallery:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.mySlides-gallery img {
    margin-bottom: -4px;
}

.caption-gallery {
    text-align: center;
    padding: 2px 16px;
    color: white;
}

    .caption-gallery p {
        color: white;
    }

    .active {
        opacity: 1;
    }

.gallery-item-video {
    width: 100%;
    height: 80vh;
}