/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 58px;
	left: 0;
	background: #FFFF;
	overflow: auto;
}
/* Overlay closing cross */
.overlay .overlay-close {
	font-size: 28px;
	color:#3497DD;
	position: absolute;
	right: 45px;
	top: 20px;
	border: none;
	outline: none;
	z-index: 100;
	background-color: #FFFF;
}
.overlay .overlay-close:hover{
	color: red;
}
/* Effects */
.container {
	background: #fff;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}
.container.overlay-open {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
}
.overlay-contentscale {
	visibility: hidden !important;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
	transition: transform 0.5s, visibility 0s 0.5s;
}
.overlay-contentscale.open {
	visibility: visible !important;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}
@media screen and (max-height: 30.5em) {
	.overlay1 nav {
		height: 100%%;
	}
}