#multi-level {height:30px; position: relative; z-index:100;}

/* The menu styling */
/* Remove the padding, margins and bullets from the lists */
.menu, .menu ul {list-style-type:none; padding:0px; margin:0px; font-family:Arial, Helvetica, sans-serif;}

/* Set up the top level list items and float left to place inline */
.menu li.top {
	float:left;
	display: block;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 {float:left; height:40px;display:block;}
.menu li.top a span {position:absolute; left:-9999px; top:0; z-index:0; font-size:10px;} /* move the link text off screen */

/* pre-load the hover images into the lists */
.menu li.p1 {height:30px; width:147px; background:url(../images/nav_aboutfair_1.gif) no-repeat;}
.menu li.p2 {height:30px; width:147px; background:url(../images/nav_admission_1.gif) no-repeat;}
.menu li.p3 {height:30px; width:147px; background:url(../images/nav_entertainment_1.gif) no-repeat;}
.menu li.p4 {height:30px; width:147px; background:url(../images/nav_photo_1.gif) no-repeat;}
.menu li.p5 {height:30px; width:147px; background:url(../images/nav_competitiveexhibits_1.gif) no-repeat;}
.menu li.p6 {height:30px; width:148px; background:url(../images/nav_vendorinfo_1.gif) no-repeat;}

/* set up the normal unhovered images in the links */
.menu li a#about {height:30px; width:147px; background:url(../images/nav_aboutfair.gif) no-repeat;}
.menu li a#admission {height:30px; width:147px; background:url(../images/nav_admission.gif) no-repeat;}
.menu li a#entertainment {height:30px; width:147px; background:url(../images/nav_entertainment.gif) no-repeat;}
.menu li a#photogallery {height:30px; width:147px; background:url(../images/nav_photo.gif) no-repeat;}
.menu li a#competitive {height:30px; width:147px; background:url(../images/nav_competitiveexhibits.gif) no-repeat;}
.menu li a#vendorinfo {height:30px; width:148px; background:url(../images/nav_vendorinfo.gif) no-repeat;}

/* selected images */
.menu li a#aboutselected {height:30px; width:147px; background:url(../images/nav_aboutfair_1.gif) no-repeat;}
.menu li a#admissionselected {height:30px; width:147px; background:url(../images/nav_admission_1.gif) no-repeat;}
.menu li a#entertainmentselected {height:30px; width:147px; background:url(../images/nav_entertainment_1.gif) no-repeat;}
.menu li a#photogalleryselected {height:30px; width:147px; background:url(../images/nav_photo_1.gif) no-repeat;}
.menu li a#competitiveselected {height:30px; width:147px; background:url(../images/nav_competitiveexhibits_1.gif) no-repeat;}
.menu li a#vendorinfoselected {height:30px; width:148px; background:url(../images/nav_vendorinfo_1.gif) no-repeat;}

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

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu li a#about:hover, .menu li:hover a#about,
.menu li a#admission:hover, .menu li:hover a#admission,
.menu li a#entertainment:hover, .menu li:hover a#entertainment,
.menu li a#photogallery:hover, .menu li:hover a#photogallery,
.menu li a#competitive:hover, .menu li:hover a#competitive,
.menu li a#vendorinfo:hover, .menu li:hover a#vendorinfo {
	background:transparent;
}

/* 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:0px; top:30px; background: #ff9933; padding:0px 0px; white-space:nowrap;
width:176px; height:auto;}
.menu :hover ul.sub li {display:block; height:23px; position:relative; float:left; width:90px;}

.menu :hover ul.sub li a {display:block; font-size:11px; height:22px; width:175px; line-height:23px; text-indent:10px; color:#ffffff; text-decoration:none; border-color:#f6eee0; border-style:solid; border-width:1px;}

.menu :hover ul.sub li a.fly {background:#993333;}
.menu :hover ul.sub li a:hover {background:#993333; color:#ffffff;}
.menu :hover ul.sub li a.fly:hover {background:#993333; color:#ffffff;}
.menu :hover ul li:hover > a.fly {background:#993333; color:#ffffff;} 

/* 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
{top:-4px; background:#ffffff; padding:0px 0px; border:1px solid #f6eee0; width:255px; z-index:200; height:auto; z-index:300;}
