.modal .modal-dialog {
    height: 90vh;
    /* overflow: hidden; */
    /* top: 15vh; */
}

.modal .modal-dialog .modal-content {
    /* height: calc(100%);
    padding-top: 50px;
    padding-bottom: 50px; */
    width: auto;
}

.modal .modal-dialog .modal-content img {
    height: auto;
    max-height: 90vh;
    width: auto;
    max-width: 100%;
}

.is-style-image-lightbox, .is-style-image-rotate {
    max-width: 50%;
}

.teaser-image.is-style-image-lightbox {
    max-width: 100%;
}

.is-style-image-lightbox {
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.is-style-image-lightbox:hover {
    /* filter: grayscale(50%); */
    transform: scale(1.1);
}

.size-medium-force img {
    /* max-width: 75%; */
    width: auto !important;
    max-width: 100% !important;
    max-height: 60vh !important;
    height: auto !important;
}

@media print {
    .size-medium-force img {
        /* max-width: 75%; */
        width: 100% !important;
        height: auto !important;
    }

    .is-style-image-lightbox, .is-style-image-rotate {
        max-width: 100%;
    }
}

.modal, .modal-content, .modal-dialog {
    background-color: transparent;
    border: none;
    z-index: 1000000003;
}

.modal-content > * {
    z-index: 9999999999999999;
}

.modal-backdrop {
    z-index: 1000002;
}

.modal-content {
    justify-content: center;
}

.modal-dialog-centered {
    min-height: auto;
}

.modal-lg, .modal-xl {
    --bs-modal-width: 920px;
}

.modal-dialog-centered {
    justify-content: center;
}