@charset "UTF-8";
/* CSS Document */

.movieModal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
}

.movieModal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.movieModalOverlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.movieModalContent {
    position: relative;
    z-index: 1;
    width: min(90%, 1000px);
}

.movieModalContent video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    background: #000;
}

.movieModalClose {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.movieModalClose span {
    position: absolute;
    top: 19px;
    left: 4px;
    display: block;
    width: 32px;
    height: 2px;
    background: #fff;
}

.movieModalClose span:first-child {
    transform: rotate(45deg);
}

.movieModalClose span:last-child {
    transform: rotate(-45deg);
}

#jsMovieYoutube {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

@media screen and (max-width: 767px) {
    .movieModalContent {
        width: 92%;
    }

    .movieModalContent video {
        max-height: 70vh;
    }

        .movieModalClose {
        top: -45px;
        width: 35px;
        height: 35px;
    }

    .movieModalClose span {
        top: 17px;
        left: 3px;
        width: 29px;
    }
	#jsMovieYoutube {
    max-height: 70vh;
}
}

