@charset "UTF-8";

/* Access movie only. No images or icon fonts are required. */
.remodal.access-movie-modal {
    display: none;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    margin: 0 0 10px;
    padding: 60px 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    overflow: visible;
    text-align: left;
}

.remodal.access-movie-modal.remodal-is-initialized {
    display: inline-block;
}

/* The modifier class limits these styles to this modal. */
.remodal-overlay.access-movie {
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.access-movie-modal .access-movie-frame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
}

.access-movie-modal .access-movie-frame iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.access-movie-modal .access-movie-close {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 4px;
    right: 0;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
}

.access-movie-modal .access-movie-close::before,
.access-movie-modal .access-movie-close::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 5px;
    width: 38px;
    height: 2px;
    background: currentColor;
}

.access-movie-modal .access-movie-close::before {
    transform: rotate(45deg);
}

.access-movie-modal .access-movie-close::after {
    transform: rotate(-45deg);
}

.access-movie-modal .access-movie-close:hover {
    opacity: 0.7;
}

.access-movie-modal .access-movie-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Keep the video and close button within a short landscape viewport. */
@media (orientation: landscape) and (max-height: 660px) {
    .remodal.access-movie-modal {
        max-width: min(900px, calc((100vh - 150px) * 1.777778));
    }
}
