@keyframes modal-video {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

.modal-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1000000;
	cursor: pointer;
	opacity: 1;
	background: top left url("../IMAGES/bg_movie.png") rgba(0, 0, 0, 0.85);
	animation-timing-function: cubic-bezier(0.14, 1.00, 0.34, 1.00);
	animation-duration: 1s;
	animation-name: modal-video;
	-webkit-transition: opacity 1s cubic-bezier(0.14, 1.00, 0.34, 1.00);
	-moz-transition: opacity 1s cubic-bezier(0.14, 1.00, 0.34, 1.00);
	-ms-transition: opacity 1s cubic-bezier(0.14, 1.00, 0.34, 1.00);
	-o-transition: opacity 1s cubic-bezier(0.14, 1.00, 0.34, 1.00);
	transition: opacity 1s cubic-bezier(0.14, 1.00, 0.34, 1.00);
}

.modal-video-close {
	opacity: 0
}

.modal-video-body {
	max-width: 1024px;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	display: table;
    box-sizing: border-box;
	padding: 0;
}

@media screen and (max-width: 1024px) {
	.modal-video-body {
		padding: 0 12%;
	}
}

@media screen and (max-width: 500px) {
	.modal-video-body {
		padding: 0;
	}
}

.modal-video-inner {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height: 100%
}

.modal-video-movie-wrap {
	width: 100%;
	height: 0;
	position: relative;
	padding-bottom: 56.25%;
	background-color: #000;
}

.modal-video-movie-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%
}

.modal-video-close-btn {
	position: absolute;
	z-index: 2;
	top: 20px;
	right: 20px;
	display: inline-block;
	width: 54px;
	height: 54px;
	overflow: hidden;
	border: none;
	background: transparent;
	cursor: pointer;
	background: url(../IMAGES/close.svg) top right no-repeat;
	opacity: 0.7;
	transition: opacity 0.2s
}

.modal-video-close-btn:hover {
	opacity: 1
}
