/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(62,188,238,1);
	z-index: 10;
}
/* Overlay closing cross */
.overlay .overlay-close {
	width: 80px;
	height: 80px;
	position: absolute;
	right: 4.5rem;
	top: 4.5rem;
	overflow: hidden;
	border: none;
	background: url(../../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 999;
}
/* Menu style */
.overlay nav {
	text-align: left;
	position: relative;
	top: 50%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	width: 100%;
	position: relative;
}
.overlay ul li {
	display: block;
	min-height: 54px;
}
.overlay ul li a {
	font-size: 2rem;
	font-weight: 300;
	display: block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	padding-left: 2rem !important;
}
.overlay ul li a:hover,
.overlay ul li a:focus,
.current-menu-item a {
	color: #f0f0f0;
	background: rgba(0,0,0,.1);
}
/* 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;
	-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;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}
h2#overlay-title{
	padding: 4rem 0 0 2rem;
	font-size: 2rem;
	font-weight: bold;
}
h2#overlay-title a{
	color: #fff;
}