[data-video-modal],
[data-image-modal] {
    cursor: pointer;
}

[data-image-modal="self"] {
    cursor: zoom-in;
}

#npc-modal {
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

#npc-modal-container {
    background-color: #fefefe;
    padding: 5px;
    border: 1px solid #888;
    position: relative;
}

.video #npc-modal-container {
    width: 75%;
    max-width: 1050px;
}

#npc-image {
    width: 100%;
    display: block;
}

.video #npc-modal-content {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.image #npc-modal-content {
    max-width: 75vw;
    max-height: 75vh;
}

#npc-modal-content iframe {
    min-height: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

#npc-modal-close {
    position: absolute;
    right: -7px;
    top: -7px;
    width: 22px;
    z-index: 10;
    cursor: pointer;
}

#npc-modal-close:hover,
#npc-modal-close:focus {
    text-decoration: none;
    cursor: pointer;
}