/* ================================================================
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/pro_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */
#multi-level {height:30px; position:relative; z-index:100;}
#multi-level .pad {float:left;}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family:Georgia,Time New Roman,Verdana; }

/* Set up the top level list items and float left to place inline */
.menu li.top {display:block; float:left; position:relative;}

/* Style and position the table so it takes no part in the menu function. The font size is necessary for IE5.5 */
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default top link link styling */
.menu li.top a.top_link {display:block; float:left; height:35px;}
.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:12px;} /* move the link text off screen */

/* UPDATE MENU CONTENT HERE */

/* pre-load the hover images into the lists */
.menu li.p1 {width:132px; background:url(../img/menu/programmation_.gif) no-repeat;}
.menu li.p2 {width:137px; background:url(../img/menu/legrandtheatre_.gif) no-repeat;}
.menu li.p3 {width:107px; background:url(../img/menu/reservations_.gif) no-repeat;}
.menu li.p4 {width:98px; background:url(../img/menu/partenaires_.gif) no-repeat;}
.menu li.p8 {width:83px; background:url(../img/menu/lesjeunes_.gif) no-repeat;}
.menu li.p10011 {width:51px; background:url(../img/menu/liens_.gif) no-repeat;}

/* set up the normal unhovered images in the links */
.menu li a#top1 {width:132px; background:url(../img/menu/programmation.gif) no-repeat;}
.menu li a#top2 {width:137px; background:url(../img/menu/legrandtheatre.gif) no-repeat;}
.menu li a#top3 {width:107px; background:url(../img/menu/reservations.gif) no-repeat;}
.menu li a#top4 {width:98px; background:url(../img/menu/partenaires.gif) no-repeat;}
.menu li a#top8 {width:83px; background:url(../img/menu/lesjeunes.gif) no-repeat;}
.menu li a#top10011 {width:51px; background:url(../img/menu/liens.gif) no-repeat;}

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu li a#top1:hover, .menu li:hover a#top1,
.menu li a#top2:hover, .menu li:hover a#top2,
.menu li a#top3:hover, .menu li:hover a#top3,
.menu li a#top4:hover, .menu li:hover a#top4,
.menu li a#top8:hover, .menu li:hover a#top8,
.menu li a#top10011:hover, .menu li:hover a#top10011
{background:transparent;}

/* END UPDATE MENU CONTENT */

/* Style the list OR link hover. Depends on which browser is used */
.menu a:hover {visibility:visible;} /* for IE6 */
.menu li:hover { position:relative; z-index:200;} /* for IE7 */

/* keep the 'next' level invisible by placing it off screen. */
.menu ul,
.menu :hover ul ul,
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}

/* set up the first drop down sub level */
.menu :hover ul.sub {left:0; top:35px; background: #f0f0f0; /*padding:3px 0;*/ /*border:1px solid #ff0000;*/ white-space:nowrap; width:240px; width:auto; height:auto; }
.menu :hover ul.sub li {display:block; height:30px; position:relative; float:left; text-align:left; width:100%; border-top:solid 1px #231f20; margin-right:10px;}
.menu :hover ul.sub li a {display:block; font-size:12px; height:30px; width:100%; line-height:30px; text-indent:5px; color:#000; text-decoration:none; /*border:3px solid #fff; border-width:0 0 0 3px;*/ }
.menu :hover ul.sub li a.fly {background:#f0f0f0 url(../img/menu/arrow.gif) 80px 7px no-repeat;}
.menu :hover ul.sub li a:hover {background:#bcbcbc; }
.menu :hover ul.sub li a.fly:hover {background:#bcbcbc url(../img/menu/arrow_over.gif) 80px 7px no-repeat; }
.menu :hover ul li:hover > a.fly {background:#bcbcbc url(../img/menu/arrow_over.gif) 80px 7px no-repeat; }

/* set up the flyout levels when hovering */
.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{left:190px; top:-4px; background: #f0f0f0; padding:3px 0; /*border:1px solid #888;*/ white-space:nowrap; width:193px; z-index:200; height:auto; z-index:300;}

