﻿﻿
/**
 * IMPORTANT :
 *  - Dès que la pseudo classe ":hover" intervient, il est nécessaire de 
 *    préciser le type d'élément correspondant à l'élément '#menu' = 'div#menu'
 *
 *  - Pensez à changer le path du .htc lors de la mise ne ligne
 *    LE REMPLACER PAR "./csshover.htc"
 */
body {
	behavior: url("./csshover.htc");
}

#menu {
	height : 27px;
	z-index: 5;
	position: absolute;
	bottom: 6px;
	left: 200px;
	width: 790px;
	text-align: center;
}

#menu a {
	color: #fff;
	display: block;
	text-decoration: none;
	font-family: Myriad Pro, Arial;
	font-weight: bold;
}


#menu ul {
	margin: 0;
	padding: 0;
}

div#menu li {
	height : auto;
	list-style: none;
	position: relative;
}

#menu ul {
	margin: 0;
	padding: 0;
}

/** Correction bug IE6 : marges sous li **/
#menu li	{ *font-size: 0;	*line-height: 0;	}
/*
#menu li a	{ *font-size: 11px;	*line-height: 22px;	}
#menu li a.niveau1{*font-size: 11px;	*line-height: 27px;	}*/


/** ===== MENU NIVEAU 1 ===== **/

#menu ul.niveau1 {
	height : 27px;
	display: block;
	float: left;
}

#menu li.niveau1 {
	height : 27px;
	display: block;
	float: left;
	width: 127px;
	padding: 0 0 0 3px;
	white-space: nowrap;
	background: transparent url(../../images/edstuaire/sprite.gif) left -145px no-repeat;
}
#menu li.niveau1_first{
	background: none;
}


#menu a.niveau1{
	display: inline-block;
	position: relative;
	width: 127px;
	white-space: nowrap;
	
	
	height : 27px;
	padding: 0;
	font-size: 11px;
	line-height: 27px;
	color: #d13471;
	
	-webkit-transition:	color 0.2s linear;
    -moz-transition:		color 0.2s linear;
    -o-transition:			color 0.2s linear;
    -ms-transition:			color 0.2s linear;
    transition:				color 0.2s linear;
}



div#menu li.niveau1:hover a.niveau1,
div#menu li.niveau1_on a.niveau1{
	color: #fff;
	background: transparent url(../../images/edstuaire/menu_niv1.gif) 10px 0 no-repeat;
}

/** ======= SOUS-MENUS ====== **/

#menu div.niveau2{
	position: absolute;
	z-index : 100;
	left: 13px;
	top: 27px;
	width: 117px;
	display: none;
	text-align: left;
}
div#menu li.niveau1:hover div.niveau2{
	display: block;
}

#menu div.niveau2_top,
#menu div.niveau2_bottom{
	width: 117px;
}
#menu div.niveau2_top{
	height: 9px;
	background: transparent url(../../images/edstuaire/smenu_top.png) 0 0 no-repeat;
	_background-image: url(../../images/edstuaire/smenu_top.gif);
}
#menu div.niveau2_bottom{
	height: 7px;
	background: transparent url(../../images/edstuaire/smenu_bottom.png) 0 0 no-repeat;
	_background: none;
}
#menu div.niveau2_middle{
	background: transparent url(../../images/edstuaire/smenu_ombre.png) 0 0 repeat-y;
	_background: none;
}

#menu ul.niveau2{
	width: 110px;
	background: #181519 url(../../images/edstuaire/smenu_degrade.png) 0 0 repeat-x;
	padding-bottom: 5px;
}
#menu li.niveau2 {
	min-height : 1px;
	margin: 0;
	text-align: center;
}



#menu a.niveau2 {
	line-height: 22px;
	height: 22px;
	color: #fff;
	font-size: 11px;
	width: 107px;
}


div#menu li.niveau1 li.niveau2 a.niveau2_on,
div#menu li.niveau1 li.niveau2:hover a.niveau2{
	background: transparent url(../../images/edstuaire/menu_niv2.png) 3px 0 no-repeat;
	_background-image: url(../../images/edstuaire/menu_niv2.gif);
	color: #060000;
}



/** ===== MENU NIVEAU 3 ===== **/


/** NE SURTOUT PAS VIRER LA DECLARATION DU HEIGHT PROPE A IE 6/7 **/
#menu li.niveau3 {
	min-height : 1px;
	_height : 1px;
	padding: 1px 0 0;
}

#menu a.niveau3 {
	color: #fff;
	font-size: 11px;
	line-height: 18px;
	background: transparent url(../../images/edstuaire/sprite.gif) no-repeat 15px -243px;
	-webkit-transition:	color 0.2s ease-in-out;
    -moz-transition:		color 0.2s ease-in-out;
    -o-transition:			color 0.2s ease-in-out;
    -ms-transition:		color 0.2s ease-in-out;
    transition:				color 0.2s ease-in-out;
}


@keyframes overNiveau3 {	
	0%		{background-position: -25px -318px;}
	100%	{background-position: 15px -318px;	}
}
@-webkit-keyframes overNiveau3 {	
	0%		{background-position: -25px -318px;}
	100%	{background-position: 15px -318px;	}
}
@-moz-keyframes overNiveau3 {	
	0%		{background-position: -25px -318px;}
	100%	{background-position: 15px -320px;	}
}
@-ms-keyframes overNiveau3 {	
	0%		{background-position: -15px -318px;}
	100%	{background-position:  15px -318px;}
}

div#menu a.niveau3_on,
div#menu a.niveau3:hover{
	animation-name: overNiveau3;
	animation-duration: 0.2s;
	animation-timing-function: linear;
	
	-webkit-animation-name: overNiveau3;
	-webkit-animation-duration: 0.2s;
	-webkit-animation-timing-function: linear;
	
	-moz-animation-name: overNiveau3;
	-moz-animation-duration: 0.2s;
	-moz-animation-timing-function: linear;
	
	-ms-animation-name: overNiveau3;
	-ms-animation-duration: 0.2s;
	-ms-animation-timing-function: linear;
	
	background: transparent url(../../images/edstuaire/sprite.gif) no-repeat 15px -318px;
	color: #d13471;
}




















