/* 
	Mise en forme du header
	
*/


navbar {
	display: none;
	position: fixed;
	width: 100%;
	height: 40px;
	top: 3px;
	left: 0px;
	text-align: justify;
	vertical-align: middle;
	background-color: #edeff0;
	box-shadow: 5px 0px 10px 5px rgba(35,31,32,.4);
	z-index: 2000;
}

i.menu {
	display:inline-block;
    font-size: 30px;
    line-height: 40px;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: bottom;
}

navbar .logo {
	width: 40px;
	left: 50%;
	margin-left: -20px;
	position: absolute;
}
	
navigation {
	width: 250px;
	height: 100%;
	position: fixed;
	display: block;
	top: 0px;
	left: 0px;
	text-align: justify;
	background-color: #edeff0;
	padding: 10px;
	z-index: 1000;
	box-shadow: 5px 0px 10px 5px rgba(35,31,32,.4);
	transition: left 0.3s linear;
	overflow-y: scroll;
}

navigation ul {
	margin: 0px;
	padding: 0px 1px;
}

navigation li  {
	width: 200px;
	line-height: 30px;
	font-size: 18px;
	text-decoration: none;
	vertical-align: middle;
	list-style-type: none;
}

navigation ul .sous-menu {
	width: 180px;
	vertical-align: middle;
	margin-top: 0px;
	margin-left: 20px;
	padding: 0px;
	
	max-height: 0;
	overflow: hidden;
	transition: max-height 1s;
}

navigation li:hover ul, navigation li:focus li {
  max-height: 50px;

}

navigation li.active li {
	max-height: 50px;
}

li:hover ul.sous-menu {
	display: block;
	position: relative;
}

navigation li .sous-liens {
	font-size: 16px;
	line-height: 18px;
	text-decoration: none;
}

navigation li a:link {
	color: #777777;
	text-decoration: none;
}

navigation li a:hover, navigation li a:focus, navigation li a:active {
	color: #555555;
	text-decoration: none;
}

	
@media only screen and (max-width:768px) {
	article {
		margin: 20px 0px 20px 0px;
	}

navbar {
		display: block;
	}
	
	navigation {
		left: -300px;
		top: 40px;
		padding-top: 10px;
	}
	
	navigation.visible {
		left: 0px;
		transition: left 0.3s linear;
	}
	
	navigation .menu {
		padding-bottom: 45px;
	}
	
	header {
		display: none;
	}
	
	article {
		top: 50px;
	}
	
	footer {
		top: 41px;
	}
	
	body {
		margin-left: 0px;
	}
	
	.fixed {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	

	
}