/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: transparent;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    transition: 0.5s;
    display: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin: -75px 10px 0;
    color: rgb(72, 173, 156);
    font-weight: bold;
    font-size: 20px;
    user-select: none;
    -webkit-user-select: none;
}
.modal-content:hover .prev,
.modal-content:hover .next {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Position the "next button" to the right */
.next {
    right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(247, 247, 247, .5);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
#modalLighbox .modal-content .tumbnail{
    display: flex;
    gap: .5rem;
    margin: 1rem auto;
}
img.demo {
    opacity: 0.6;
    width: 5rem;
}

.active,
.demo:hover {
    opacity: 1;
}