/* ================================================================
This copyright notice must be kept untouched in the stylesheet at
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/anywidth2.html
Copyright (c) 2005-2009 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */

#menu { text-align:left; z-index: 20;}

#menu ul {margin:0; padding:0; list-style:none; white-space:nowrap; text-align:left;}
#menu ul {display:inline-block;}

#menu li {margin:0; padding:0; list-style:none; z-index: 20;}
#menu li {display:inline-block; display:inline;}
#menu ul ul {position:absolute; left:-9999px;}
#menu ul.level1 {margin:0 auto;}
#menu ul.level1 li.level1-li {float:left; display:block; position:relative;}

#menu ul.level1 {background:url('../img/pix.gif') repeat;} /* bck premier niveau off */
#menu ul.level2 {background:url('../img/bck_menu_l2_off.png') repeat;} /* bck 2ieme niveau off */
#menu ul.level3 {background:url('../img/bck_menu_l2_off.png') repeat;} /* bck 3ieme niveau off */
#menu ul.level4 {background:url('../img/bck_menu_l2_off.png') repeat;} /* bck 4ieme niveau off */

#menu b {position:absolute;} /* -- for IE6 non-flyout dropdowns to stop flickering - who knows why --*/

#menu a {display:block; font:normal 11px Arial,Helvetica, sans-serif; color:#fff; font-weight: bold; line-height:38px; text-decoration:none; padding:0 20px 0 10px;} /* hauteur premier niveau et choix des fontes */
#menu ul.level1 li.level1-li a.level1-a {float:left;}

#menu ul li:hover > ul {visibility:visible; left:0; top:38px;}
#menu ul ul li:hover > ul {visibility:visible; left:100%; top:auto; margin-top:-38px;}
#menu li.left:hover > ul {visibility:visible; left:auto; right:0; top:38px;}
#menu li.left ul li:hover > ul {visibility:visible; left:auto; right:100%; top:auto; margin-top:-38px;}


#menu a:hover ul {left:0; top:23px;}
#menu li.left a:hover ul {left:auto; right:-1px; top:23px;}

#menu li.left ul a {text-align:right; padding:0 10px 0 20px;}


#menu a:hover a:hover ul,
#menu a:hover a:hover a:hover ul {left:100%; visibility:visible;}
#menu li.left a:hover a:hover ul,
#menu li.left a:hover a:hover a:hover ul {left:auto; right:0; visibility:visible;}

#menu a:hover ul ul,
#menu a:hover a:hover ul ul {left:-9999px;}
#menu li.left a:hover ul ul,
#menu li.left a:hover a:hover ul ul {left:-9999px;}


#menu li a.fly {background:transparent url('../img/arrow.gif') no-repeat right center;}
#menu li.left ul a.fly {background:transparent url('../img/arrow-left.gif') no-repeat left center;}

#menu li a:hover,
#menu li a.fly:hover {background:url('../img/bck_menu_on_l1.png') repeat;} /* bck hover 1er niveau */
#menu li:hover > a,
#menu ul li:hover > a.fly {background:url('../img/bck_menu_on_l1.png') repeat;} /* bck hover 1er niveau */

#menu table {position:absolute; height:0; width:0; left:0; border-collapse:collapse; margin-top:-4px;}
#menu table table {position:absolute; left:99%; height:0; width:0; border-collapse:collapse; margin-top:-29px;}

#menu li.left table {position:absolute; height:0; width:0; left:auto; right:0; border-collapse:collapse; margin-top:-4px;}
#menu li.left table table {position:absolute; left:auto; right:100%; height:0; width:0; border-collapse:collapse; margin-top:-29px;}
