dialog {
    border: 0px;
    border-radius: 1em;
    max-height: 95vh;
    max-width: 95vw;
    padding: 1em;
    box-shadow: 1em 1em 1em rgba(0, 0, 0, 0.5);
}
dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
.galleryContainer {
    max-height: 100%;
    max-width: 100%;
    padding: 0.5em;
}
.galleryHeader {
    margin: 0.5em;
    text-align: right;
}
.galleryFooter {
    display: flex;
    margin: 0.5em;
}
.stretch {
    width: 100%;
}
.galleryContent {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0.5em;
    margin-right: 0.5em;
    overflow: auto;
}
.galleryImage {
    max-height: 85vh;
    max-width: 85vw;
}
.galleryContentLarge {
    cursor: zoom-out;
    max-height: 85vh;
    max-width: 85vw;
}
.galleryContentSmall {
    cursor: zoom-in;
    max-height: 100%;
    max-width: 100%;
}