/* Overlay1 style */
	.overlay {
		position: fixed;
		width: 100%;
		height: 100%;
		padding: 0;
		z-index: 10200;
		top: 0;
		left: 0;
		background: rgba(1,84,111,1.0);
		overflow:auto;
	}
	
	
	/* Overlay1 closing cross */
	.overlay .overlay-close {
		width: 80px;
		height: 80px;
		position: absolute;
		right: 30px;
		top: 30px;
		overflow: hidden;
		border: none;
		background: url(../../../template/images/cross.png) no-repeat center center;
		text-indent: 200%;
		color: transparent;
		outline: none;
		z-index: 10201;
		background-color: none;
	}






/* Effects */
.overlay-hugeinc {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
	transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay-hugeinc.open {
	opacity: 0.95;
	visibility: visible;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

.overlay-hugeinc .key-desc {
	-webkit-perspective: 1200px;
	perspective: 1200px;
	opacity: 0.4;
	-webkit-transform: translateY(-25%) rotateX(35deg);
	transform: translateY(-25%) rotateX(35deg);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	text-align:center;
	font-size: 40px;
	line-height: 40px;
	color: #fff;
	padding: 10% 15% 6% 15%;
}

.overlay-hugeinc .key-desc p { font-size: 17px; line-height: 23px; color: #fff; font-weight:300; margin-top: 30px; letter-spacing: 0.5px; }

.overlay-hugeinc.open .key-desc {
	opacity: 1;
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}

.overlay-hugeinc.close .key-desc {
	-webkit-transform: translateY(25%) rotateX(-35deg);
	transform: translateY(25%) rotateX(-35deg);
}


		@media screen and (max-width: 768px) {
			.overlay-hugeinc .key-desc { font-size: 30px; line-height: 35px; }
			.overlay-hugeinc .key-desc p { font-size: 14px; line-height: 20px; }
		}
		
		@media screen and (max-width: 480px) {
			.overlay-hugeinc .key-desc { font-size: 22px; line-height: 27px; padding: 15% 15% 35% 15%; }
			.overlay-hugeinc .key-desc p { font-size: 12.5px; line-height: 18px; }
		}




/* Overlay style 2 */
	.overlay2 {
		position: fixed;
		width: 100%;
		height: 100%;
		padding: 0;
		z-index: 10200;
		top: 0;
		left: 0;
		background: rgba(1,84,111,1.0);
		overflow:auto;
	}
	
	/* Overlay2 closing cross */
	.overlay2 .overlay-close {
		width: 80px;
		height: 80px;
		position: absolute;
		right: 30px;
		top: 30px;
		overflow: hidden;
		border: none;
		background: url(../../../template/images/cross.png) no-repeat center center;
		text-indent: 200%;
		color: transparent;
		outline: none;
		z-index: 10201;
		background-color: none;
	}


/* Overlay style 3 */
	.overlay3 {
		position: fixed;
		width: 100%;
		height: 100%;
		padding: 0;
		z-index: 10200;
		top: 0;
		left: 0;
		background: rgba(1,84,111,1.0);
		overflow:auto;
	}
	
	/* Overlay3 closing cross */
	.overlay3 .overlay-close {
		width: 80px;
		height: 80px;
		position: absolute;
		right: 30px;
		top: 30px;
		overflow: hidden;
		border: none;
		background: url(../../../template/images/cross.png) no-repeat center center;
		text-indent: 200%;
		color: transparent;
		outline: none;
		z-index: 10201;
		background-color: none;
	}



/* Overlay style 4 */
	.overlay4 {
		position: fixed;
		width: 100%;
		height: 100%;
		padding: 0;
		z-index: 10200;
		top: 0;
		left: 0;
		background: rgba(1,84,111,1.0);
		overflow:auto;
	}
	
	/* Overlay4 closing cross */
	.overlay4 .overlay-close {
		width: 80px;
		height: 80px;
		position: absolute;
		right: 30px;
		top: 30px;
		overflow: hidden;
		border: none;
		background: url(../../../template/images/cross.png) no-repeat center center;
		text-indent: 200%;
		color: transparent;
		outline: none;
		z-index: 10201;
		background-color: none;
	}



@media screen and (max-width: 480px) {
	.overlay,
	.overlay2,
	.overlay3,
	.overlay4 {
		position: fixed;
		width: 100%;
		height: 100%;
		padding: 100px 0 0 0;
		z-index: 10000;
		top: 0;
		left: 0;
		background: rgba(1,84,111,1.0);
	}
	
	/* Overlay closing cross */
	.overlay .overlay-close,
	.overlay2 .overlay-close,
	.overlay3 .overlay-close,
	.overlay4 .overlay-close {
		width: 80px;
		height: 80px;
		position: absolute;
		right: 20px;
		top: 100px;
		overflow: hidden;
		border: none;
		background: url(../../../template/images/cross-s.png) no-repeat center center;
		text-indent: 200%;
		color: transparent;
		outline: none;
		z-index: 10001;
		background-color: none;
	}
}