.dci-modal,
body div.ilc_iim_ContentPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100svw;
    height: 100svh;
    z-index: 1000;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    animation: dci-modal-fadein 0.5s ease-in-out forwards;
}
.dci-modal.is-video,
body div.ilc_iim_ContentPopup {
    width: 80svw;
    height: 80svh;
    left: 10svw;
    top: 10svh;
}

@keyframes dci-modal-fadein {
    0% { opacity: 0 }
    100% { opacity: 1 }
}

.dci-modal .dci-modal_header {
    position: relative;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-light-grey);
    z-index: 100;
    background: var(--color-white);
}

.dci-modal .dci-modal_title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: var(--font-size-small);
    padding: 0.8em 1em;
    font-weight: bold;
    background: var(--color-white);
}

.dci-modal .dci-modal_close {
    font-size: var(--font-size-xlarge);
    padding: 0.2em;
    cursor: pointer;
    background: var(--color-red);
    color: var(--color-white);
}

.dci-modal .dci-modal_body {
    flex-grow: 2;
    position: relative;
    background: var(--color-black);
    color: var(--color-white);
    overflow: auto;
}
.dci-modal .dci-modal_body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dci-modal_bkg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100svw;
    height: 100svh;
    opacity: 1;
    backdrop-filter: blur(5px) grayscale();
    background: #000000A0;
    animation: dci-modal-fadein 0.5s ease-in-out forwards;
    cursor: pointer;
}


body div.ilc_iim_ContentPopup {
    display: none;
}
.dci-modal_body-inner {
    padding: 20px;
}
