/* Overlay style */
.overlay {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background: rgba(14, 87, 116, 0.9);

	display: flex;

	justify-content: center;
	align-items: center;
	z-index: 10000000;
}

/* Overlay closing cross */
.overlay .overlay-close {
	align-self: flex-start;

	width: 50px;
  height: 50px;
  position: absolute;
  right: 30px;
  top: 30px !important;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
	cursor: pointer;
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	/*background-color: yellow;*/

}

.overlay ul {
	/*background-color: red;*/
	margin-left: -50px;

}

.overlay ul li {
	display: block;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	/*background-color: green;;*/
	padding-top: 15px;
	padding-bottom: 15px;
}

.overlay ul li a {
	font-size: 2.4em;
	font-weight: normal;
	display: block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	text-decoration: none;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color:rgba(48, 185, 252, 1);
}

/* Effects */
.overlay-simplegenie {
	visibility: hidden;
	-webkit-transform: translateY(60%) scale(0);
	transform: translateY(60%) scale(0);
	-webkit-transition: -webkit-transform 0.4s, visibility 0s 0.4s;
	transition: transform 0.4s, visibility 0s 0.4s;
}

.overlay-simplegenie.open {
	visibility: visible;
	-webkit-transform: translateY(0%) scale(1);
	transform: translateY(0%) scale(1);
	-webkit-transition: -webkit-transform 0.4s;
	transition: transform 0.4s;
}

/*@screen-xs dispositivos moviles*/
@media only screen and (min-width : 320px) {
	.overlay ul {
		/*background-color: red;*/
		margin-left: -50px;
	}

	.overlay ul li a {
    font-size: 1.5em;
    font-weight: normal;
    display: block;
    color: #fff;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    text-decoration: none;
}

}

/* Small devices (tablets, up to 768px) */
@media (min-width: 768px) {
	.overlay ul {
		/*background-color: red;*/
		margin-left: 0px;
	}
	.overlay ul li a {
    font-size: 2.4em;
    font-weight: normal;
    display: block;
    color: #fff;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    text-decoration: none;
	}

}
