﻿
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

#lightbox {
    margin: auto;
    border: none;
    padding: 0;
    /*width: 80%;*/
    /*background-color: rgba(0, 0, 0, 0.8);*/
    background-color: transparent;
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    /*position: relative;*/
}

#lightbox svg {
    border: 0px !important;
    box-shadow: none !important;
}

@media screen and (max-width: 1000px) {
    #lightbox {
        width: 100%;
    }
}

.lightbox-content {
    padding: 20px;
    text-align: center;
    position: relative;
}

#lightbox-image-wrapper {
    width: 100%;
    height: 80vh;
    position: relative;
}

#lightbox-image-wrapper svg {
    width: 100%;
    height: 100%;
}

.lightbox-content img {
    max-width: 1000px;
    max-height: 550px;
    object-fit: contain;
}

.lightbox-title {
    text-align: center;
}

.lightbox-caret {
    font-size: 3rem;
    text-decoration: none;
    color: white;
    opacity: 0.7;
}

.close-button {
    position: absolute;
    top: 0px;
    right: 10px;
    top: -2%;
    font-size: 40px;
    cursor: pointer;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

.close-button:hover {
    color: #ff0000;
}

.nav-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background-color: rgba(0, 0, 0, 0.0);
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 1000px) {
    .nav-panel {
        opacity: 1;
    }
}

.lightbox-left-panel {
    left: 0;
    justify-content: flex-start;
}

.lightbox-right-panel {
    right: 0;
    justify-content: flex-end;
}

.nav-panel:hover {
    opacity: 1;
}

.lightbox-loading {
    position: fixed;
    top: 48%;
    left: 48%;
    display: none;
}
