/* Menu style */

#multi-level {height:20px; 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:arial, sans-serif;}

/* 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:20px;}
.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.sp {width:10px; background:url(lib/menu_space.gif) no-repeat;;}
.menu li.p1 {width:120px; background:url(lib/but_home_1.gif) no-repeat;;}
.menu li.p2 {width:120px; background:url(lib/but_about_1.gif) no-repeat;;}
.menu li.p3 {width:120px; background:url(lib/but_auto_1.gif) no-repeat;;}
.menu li.p4 {width:120px; background:url(lib/but_marine_1.gif) no-repeat;;}
.menu li.p5 {width:120px; background:url(lib/but_enquiries_1.gif) no-repeat;;}
.menu li.p6 {width:120px; background:url(lib/but_links_1.gif) no-repeat;;}

/* set up the normal unhovered images in the links */
.menu li a#space {width:10px; background:url(lib/menu_space.gif) no-repeat;}
.menu li a#home {width:120px; background:url(lib/but_home_0.gif) no-repeat;}
.menu li a#about {width:120px; background:url(lib/but_about_0.gif) no-repeat;}
.menu li a#auto {width:120px; background:url(lib/but_auto_0.gif) no-repeat;}
.menu li a#marine {width:120px; background:url(lib/but_marine_0.gif) no-repeat;}
.menu li a#enquiries {width:120px; background:url(lib/but_enquiries_0.gif) no-repeat;}
.menu li a#links {width:120px; background:url(lib/but_links_0.gif) no-repeat;}

/* 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 */

/* make the links transparent on hover so that the hover images in the lists show through (no flicker) */
.menu li a#home:hover, .menu li:hover a#home,
.menu li a#about:hover, .menu li:hover a#about,
.menu li a#auto:hover, .menu li:hover a#auto,
.menu li a#marine:hover, .menu li:hover a#marine,
.menu li a#enquiries:hover, .menu li:hover a#enquiries,
.menu li a#links:hover, .menu li:hover a#links {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:15px; top:20px; background: #fff; padding:3px 0; border:1px solid #5397e0; white-space:nowrap; width:90px; height:auto;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:84px;}
.menu :hover ul.sub li a {display:block; font-size:12px; height:20px; width:84px; line-height:20px; 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:#fff url(multi_level-files/arrow.gif) 80px 7px no-repeat;}
.menu :hover ul.sub li a:hover {background:#5397e0; color:#fff;}
.menu :hover ul.sub li a.fly:hover {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly {background:#37a237 url(multi_level-files/arrow_over.gif) 80px 7px no-repeat; color:#fff;} 

/* 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:90px; top:-4px; background: #fff; padding:3px 0; border:1px solid #888; white-space:nowrap; width:93px; z-index:200; height:auto; z-index:300;}
