.object_target {
    flex-grow: 1;
    height: inherit;
    background-color: var(--tbl_bkgr);
}

iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 0 0 8px 8px;
}

.object_target img {
    width: 100%;
    max-height: calc(100% - 44px) !important;
    overflow: auto;
    object-fit: cover !important;
}


/* Chrome/Safari hack to try and force the internal image to shrink */
iframe {
    image-rendering: -webkit-optimize-contrast;
}

.object_target iframe img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.viewer {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 4px;
}

.image-viewer img {
    max-width: 100%;
    max-height: auto;
    border-radius: 4px;
}

.video-viewer,
.audio-viewer {
    text-align: center;
}

.video-viewer video,
.audio-viewer audio {
    max-width: 100%;
    border-radius: 4px;
}

/* --------------- checked --------------- */