/*------------------------

video-modal

-------------------------*/

.video-modal-wrap{
	position: fixed;
	top:0; left: 0;
	width:100%; height:100%;
	z-index: 10000;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s ease-out 0s;
}

.video-modal-wrap .video-modal-bg{
	position: absolute;
	top:0; left: 0;
	width:100%; height: 100%;
	background-color: rgba(255,255,255,0.9);
}

.video-modal-wrap .video-modal-inner{
	width:120svh;
}

.video-modal-wrap .video-modal-inview{
	position: relative;
	width:100%;
	padding-bottom: calc(9 / 16 * 100%);
}

.video-modal-wrap .video-modal-close{
	position: absolute;
	top:0; right: 0;
	/*transform: translateX(100%);*/
	width:50px; height:50px;
	background-color: #333;
	color:#fff;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	cursor: pointer;
}
.video-modal-wrap .video-modal-close::before,
.video-modal-wrap .video-modal-close::after{
	content:"";
	width:80%; height: 2px;
	background-color: #fff;
	display: block;
	position: absolute;
	top:50%; left: 10%;
}
.video-modal-wrap .video-modal-close::before{ transform: rotate(45deg);  }
.video-modal-wrap .video-modal-close::after { transform: rotate(-45deg); }


.video-modal-wrap.modal-active{
	pointer-events: auto;
	opacity: 1;
}

@media screen and (max-width: 640px){
	.video-modal-wrap .video-modal-close{
		transform: translateX(0%);
	}
}
