html.noscroll, body.noscroll {
	overflow: hidden
}
#overlay {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1001;
	-webkit-transition: visibility 0.5s, opacity 0.5s;
	transition: visibility 0.5s, opacity 0.5s;
}
#overlay > .inner {
	position: fixed;
	width: 750px;
	max-width: 750px;
	max-height: 75vh;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	padding: 20px;
	background-color: #fff;
	overflow-y: scroll;
	box-shadow: 0 25px 35px 0 rgba(0, 0, 0, 0.35)
}

#overlay .inner h3 { padding-right: 25px; }

#overlay .inner .close {
	position: absolute;
	right: 20px;
	top: 10px;
	width: 25px;
	height: 50px;
	color: #666;
	text-align: center;
	font-size: 50px;
	line-height: 50px;
	cursor: pointer
}
#overlay .images .image {
	float: left
}
#overlay .images .image img {
	width: 100%;
	height: auto;
	aspect-ratio:  240 / 150;
	object-fit: cover;
}
#overlay .images .pro100 {
	width: 100%;
	margin: 0px 0px 2% 0px;
	height: auto
}
#overlay .images .pro50 {
	width: 49%;
	height: auto;
	margin: 0px 2% 2% 0px
}
#overlay .images .pro50.mod1 {
	margin-right: 0
}
#overlay .images .pro33 {
	width: 32%;
	height: auto;
	margin: 0px 2% 2% 0px
}
#overlay .images .pro33.mod2 {
	margin-right: 0
}
#overlay .inner a.button {
	display: block;
	padding: 5px 20px;
	margin: 10px 0px 15px 0px;
	float: right;
	text-decoration: none
}
#overlay .inner a.button:hover {
	background-color: rgba(0, 0, 0, 0.6) !important;
}
#overlay .text table {
	margin: 10px 0px;
	border-collapse: collapse;
	border: 1px solid #ededed;
}
#overlay .text table th {
	border: 1px solid #ededed;
	padding: 5px 10px;
	font-weight: normal;
	background-color: #DADADA;
}
#overlay .text table td {
	border: 1px solid #ededed;
	padding: 5px 10px;
}



#overlay .outer .video .inner {

	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 100%;
	width: 100%;
	aspect-ratio: 16/9;
	position: relative;
}



#overlay .outer .video .inner i{

	font-size: 120px;
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#overlay .videoinfo { padding: 10px 90px 0 90px; font-size: 10px; }
@media all and (min-width: 768px) and (max-width:1023px) {
	#overlay .inner { width: 60%; max-width: 600px; }
}

@media all and (min-width: 568px) and (max-width: 767px) {
	#overlay .inner { width: 70%; }
}

@media all and (min-width: 401px) and (max-width: 567px) {
	#overlay .inner { width: 80%; }
}

@media all and (min-width: 360px) and (max-width: 400px) {
	#overlay .inner { width: 90%; }
	#overlay .inner .close {
		width: 14px;
		right: 20px;
		font-size: 40px;
	}
}

@media all and (max-width: 359px) {
	#overlay .inner { width: 94%; }
	#overlay .inner .close {
		right: 10px;
		font-size: 34px;
		line-height: 15px;
	}

	#overlay .inner h3 { padding: 0; }
}