/* Principal */
#menu{
	height:25px;
	margin: 80px 0 0 0;
	padding: 0;
	list-style: none;
	float: right;
}

#menu li{
	float: left;
	padding: 0 0 10px 0;
	position: relative;
	z-index:999;
}

#menu li a.home{
	background: url("../images/home_icon.png") no-repeat scroll 0 0 transparent;
	height: 24px;
	width: 27px;
	padding-right: 25px;
}

#header ul#menu li a.home:hover {
	background: url("../images/home_icon.png") no-repeat scroll 0 -23px transparent;
	opacity: 1;
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}

#menu a{
	float: left;
	height: 25px;
	padding: 0 15px;
	text-decoration: none;
	color: #333333;
	font-size: 16px;
}

#menu a:hover {
	background: url("../images/footer_hover.jpg") repeat-x scroll 0 0 transparent;
	color: #fff;
	text-shadow: 0px 0px 0px #ffffff;
	filter: dropshadow(color=#ffffff, offx=0, offy=0);
	opacity: 1;
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}

#menu li:hover > a{
	color: #e7e7e7;
}

*html #menu li a:hover{ /* IE6 */
	color: #e7e7e7;
}

#menu li:hover > ul{
	display: block;
}

/* Sous-menu */

#menu ul{
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
	position: absolute;
	top: 35px;
	left: 0;
	z-index: 999;
	background: #444;
	background: -moz-linear-gradient(#444, #111);
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
	background: -webkit-linear-gradient(#444, #111);
	background: -o-linear-gradient(#444, #111);
	background: -ms-linear-gradient(#444, #111);
	background: linear-gradient(#444, #111);
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#menu ul li{
	float: none;
	margin: 0;
	padding: 0;
	display: block;
	-moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
	-webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
	box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child{
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#menu ul a{
	color: #ffffff;
	padding: 10px;
	height: auto;
	line-height: 1;
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
	background-image: none;
}

*html #menu ul a{ /* IE6 */
	height: 10px;
	width: 150px;
}

*:first-child+html #menu ul a{ /* IE7 */
	height: 10px;
	width: 150px;
}

#menu ul a:hover{
	background: #fd014c;
	background: -moz-linear-gradient(#FD014C,  #A80234);
	background: -webkit-gradient(linear, left top, left bottom, from(#FD014C), to(#A80234));
	background: -webkit-linear-gradient(#FD014C,  #A80234);
	background: -o-linear-gradient(#FD014C,  #A80234);
	background: -ms-linear-gradient(#FD014C,  #A80234);
	background: linear-gradient(#FD014C,  #A80234);
}

#menu ul li:first-child a{
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after{
	content: '';
	position: absolute;
	left: 30px;
	top: -8px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 8px solid #444;
	z-index:999;
}

#menu ul li:first-child a:hover:after{
	border-bottom-color: #fd014c;
}

#menu ul li:last-child a{
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

/* Rétablissement du flottement */
#menu:after{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	z-index:999;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */