@import url("fonts.css");
 
/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
 	top: 0;
	right: 0;
	background: rgba(46,49,146,0.96);
	z-index:100;
}

/* Overlay closing cross */

.close-menu
{
/*
	position: relative;
	max-width: 1200px;
*/
}

.overlay .overlay-close {
	width: 100px;
	height: 60px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 11;
	position: absolute;
	right: 16%;
	top: 50px;
 }

/* Menu style */
.overlay nav {
	text-align: right;
	position: relative;
	margin-top: 90px;
 
}
  
.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
	margin-top:30px;
	margin-right: 20px;
}

.overlay ul li {
	display: block;
 	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.overlay ul li a {
	font-size: 26px;
	line-height:45px;
 	display: block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	font-family: 'ProximaNova-Regular';
 	text-transform:uppercase;
	text-decoration:none;
	padding-right: 20px;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #4cb848;
	font-family: 'ProximaNova-Bold';
	font-size: 30px;
}

.overlay ul .active a {color: #4cb848;
	font-family: 'ProximaNova-Bold'; font-size: 30px;}

/* Effects */
.overlay-slidedown {
	visibility: hidden;
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.6s ease-in-out, visibility 0s 0.6s;
	transition: transform 0.6s ease-in-out, visibility 0s 0.6s;
}

.overlay-slidedown.open {
	visibility: visible;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.6s ease-in-out;
	transition: transform 0.6s ease-in-out;
}

@media screen and (max-height: 30.5em) {
	.overlay nav { height: 70%; font-size: 34px; overflow:scroll; }
	.overlay ul li { min-height: 34px; }
}

