nav {
	position: fixed;
	z-index: 3;
	top: 0; left: 0;
	width: 100%; height: 83px;
}

nav .bg {
	position: absolute;
	width: 100%; height: 83px;
	background-color: #28292e;
}

nav .content{
	position: relative;
	max-width: 990px;
	margin: 0 auto;
	height: 100%;
}

nav #logoAlveos {
	position: absolute;
	left: 30px;
	top: 2px;
	z-index: 2;
}

nav #logoAlveos .logo{
	width: 78px; height: 78px;
	background: url('../img/logo-alveos.webp');
	background-size: 78px;
}

nav #logoAlveos .text{
	position: absolute;
	top: 16px; left: 90px;
	width: 125px; height: 50px;
	background: url('../img/logo-alveos-ev.webp');
	background-size: 125px 50px;
}

nav .items {
	position: absolute;
	right: 100px; bottom: 0;
}

nav .mobileMenu{
	display: none;
}

nav .items .item{
	display: inline-block;
	margin-right: 25px;
	height: 85px;
	padding-top: 40px
}

nav .items .item a{
	color: #bebebe;
	font-size: 11.5px;
	text-decoration: none;
	display: block;
	height: 100%; 
	letter-spacing: .2px;
}

nav .mobileMenuBtn,
nav .contact {
	position: absolute;
	right: 50px;
	top:50%; margin-top: -25px;
	border-radius:100%;
	width: 50px; height: 50px;	
}

nav .contact {
	background: url('../img/nav_email.png') center no-repeat #f03b46;
	background-size: 20px;
	cursor: pointer;
}

nav .mobileMenuBtn {
	display: none;
	background: #000;
	cursor: pointer;
}

nav .mobileMenuBtn .line{
	position: absolute;
	height: 2px;
	margin-top: -1px;
	width: 20px;
	left: 50%;
	margin-left: -10px;
	background-color: #FFF;
	-webkit-transition: all .7s;
	-o-transition: all .7s;
	transition: all .7s;
}

nav .mobileMenuBtn .line:nth-child(1){ top: 40%;}
nav .mobileMenuBtn .line:nth-child(2){ top: 50%;-webkit-transition-delay: .05s;
-o-transition-delay: .05s;
transition-delay: .05s;}
nav .mobileMenuBtn .line:nth-child(3){ top: 60%;-webkit-transition-delay: .1s;
-o-transition-delay: .1s;
transition-delay: .1s;}

nav .mobileMenuBtn.opened .line:nth-child(1){
	top:50%;
	-webkit-transform: rotate(315deg);
	-ms-transform: rotate(315deg);
	-o-transform: rotate(315deg);
	transform: rotate(315deg);
}

nav .mobileMenuBtn.opened .line:nth-child(2){
	top:50%;
	-webkit-transform: rotate(225deg);
	-ms-transform: rotate(225deg);
	-o-transform: rotate(225deg);
	transform: rotate(225deg);
}

nav .mobileMenuBtn.opened .line:nth-child(3){
	top:50%;
	opacity: 0;
	-webkit-transform: rotate(225deg);
	-ms-transform: rotate(225deg);
	-o-transform: rotate(225deg);
	transform: rotate(225deg);
}

nav .langs {
	position: absolute;
	width: 40px; height: 60px;
	right: 0; top: 10px;
	background-color: rgba(0,0,0,.2);
	padding-top: 10px;
}

nav .langs .lang {
	height: 20px;
	width: 100%;
	vertical-align: middle;
	text-align: center;
	color: #999;
	line-height: 30px;
	font-size: 12px;
	background: url(../img/flag_fr.webp) center no-repeat;
	background-size: 20px;
	opacity: .5;
}

nav .langs .lang.en {
	background-image: url(../img/flag_en.webp);
}

nav .langs .lang.active {
	color: #FFF;
	opacity: 1;
}



@media (min-width: 860px){
	nav .items .item.active a,
	nav .items .item:hover a{
		border-bottom: 2px solid #f03b46;
		color: #FFF;
	}
}

@media (max-width: 860px){

	body {
		padding-top: 70px;
	}

	nav .bg {
		height: 60px;
	}

	nav #logoAlveos .logo{
		width: 52px; height: 52px;
		background-size: 52px;
	}

	nav #logoAlveos .text{
		width: 93px; height: 37px;
		background-size: 93px;
		top: 8px;
    	left: 60px;
	}

	nav #logoAlveos{
		top:4px; left: 20px;
	}

	nav .menu {
		display: none;
	}

	nav .mobileMenu {
		display: block;
		position: absolute;
		width: 100%; height: 60px;
		background: #28292e;
		overflow-y: hidden;
		-webkit-transition: all .7s;
		-o-transition: all .7s;
		transition: all .7s;
	}

	nav .mobileMenu .items {
		position: absolute;
		width: 100%; 
		text-align: center;
		right: 0;
		height: 400px;
		top: 50%; margin-top: -170px;
	}

	nav .mobileMenu .items .item{
		display: block;
		height: 100px;
		line-height: 100px;

		padding-top: 0;
		margin-right: 0;
		border-bottom: 1px solid #222; 
		opacity: 0;
		background-color: #000;
		-webkit-transition: all .7s;
		-o-transition: all .7s;
		transition: all .7s;
	}

	nav .mobileMenu .items.visible .item{
		opacity: 1;
	}

	nav .mobileMenu .items .item:first-child{
		border-top: 1px solid #222; 
	}
	
	nav .mobileMenu .items .item.active a{
		color: #FFF;
		background-color: #28292e;
	}

	nav .mobileMenu .items .item a span{
		display: inline-block;
		vertical-align: middle;
		line-height: 22px;
		font-size: 16px;
		height: auto;
		border-bottom: 2px solid transparent;
	}
	
	nav .contact,
	nav .mobileMenuBtn{
		top:30px;
		margin-top: -20px;
	    width: 40px;
	    height: 40px;
	    display: block;
	}

	nav .contact{
		right: 100px;
	}

	nav .langs { top: 0; }
}

@media (max-width: 860px) and (min-height: 600px){
	
}

@media (max-width: 640px){
	
	nav #logoAlveos{
		left: 10px;
	}

}
