/* Overlay style */
.overlay {
	position: fixed;
	margin: 0!important;
	width: 100vw;
	overflow: visible;
	overflow-x: hidden!important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
	display: flex;
    flex-direction: column;
    align-items: center;
	justify-content: flex-start;
	overflow: scroll;
	padding: 0;
	flex-wrap: nowrap;
}

/* Overlay closing cross */
.overlay .overlay-close {
	display: none;
	overflow: hidden;
	border: none;
	background: none;

	color: transparent;
	outline: none;
	z-index: 100;

}




/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 100vh;
	font-size: 54px;
	text-align: left;
	max-width: 90%;
	margin: 0 auto;
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;

    position: relative;
	text-align: left;

	text-transform: uppercase;
}

.overlay .icone-header{
    margin-top: 50px;
  }
  
.overlay .icone-header a.link-linkedin{
	margin-right: 0;
}


/*.overlay ul li a::after{
	content: '';
    width: 0%;
    border-bottom: solid 1px #7F6A54;
    position: absolute;
    left: 0;
    bottom: 10px;
    z-index: 1;
    -webkit-transition: width 0.5s;
    transition: width 0.5s;
}

.overlay ul li.current-menu-item a::after{
	width: 43px;
}
*/



.overlay ul li a {
	display: block;
	-webkit-transition: color 0.2s;
	text-decoration: none!important;
	 margin: 0 ;
}





.overlay ul li a:hover,
.overlay ul li a:focus {

}

/* 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: 1;
	visibility: visible;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

.overlay-hugeinc nav {
	-webkit-perspective: 1200px;
	perspective: 1200px;
}

.overlay-hugeinc nav ul {
	opacity: 0.4;

	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.overlay-hugeinc.open nav ul {
	opacity: 1;
}

.overlay-hugeinc.close nav ul {

}

.overlay-door {
	visibility: hidden;
	width: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition: width 0.5s 0.3s, visibility 0s 0.8s;
	transition: width 0.5s 0.3s, visibility 0s 0.8s;
}

.overlay-door.open {
	visibility: visible;
	width: 100%;
	-webkit-transition: width 0.5s;
	transition: width 0.5s;
}

.overlay-door nav {
	position: absolute;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
}

.overlay-door nav,
.overlay-door .overlay-close {
	opacity: 0;
	-webkit-transition: opacity 0.3s 0.5s;
	transition: opacity 0.3s 0.5s;
}

.overlay-door.open nav,
.overlay-door.open .overlay-close {
	opacity: 1;
	-webkit-transition-delay: 0.5s;
	transition-delay: 0.5s;
}

.overlay-door.close nav,
.overlay-door.close .overlay-close {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

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

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


.overlay-slideleft {
	visibility: hidden;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
	-webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
	transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
}

.overlay-slideleft.open {
	visibility: visible;
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	-webkit-transition: -webkit-transform 0.4s ease-in-out;
	transition: transform 0.4s ease-in-out;
}

.overlay-contentpush {
	
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	-webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
	transition: transform 0.5s, visibility 0s 0.5s;
}

.overlay-contentpush.open {
	visibility: visible;
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

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