/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/skeleton.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.
=================================================================== */
#nav, 
#nav ul {margin:0; list-style:none; position:relative; z-index:200;}
#nav {height:25px; padding:0;}

#nav table {border-collapse:collapse;}
#nav li {float:left;}
#nav li li {float:none;}
/* a hack for IE5.x and IE6 */
#nav li a li {float:left; padding-right:7px;}

#nav li a {display:block; float:left; white-space:nowrap;}
#nav li li a {height:22px; line-height:22px; float:none; text-decoration:none; color:#fff;}

#nav li:hover {position:relative; z-index:300; background:#01bded;}
#nav a:hover {position:relative; z-index:300; text-decoration:none; color:#fff;}
#subnav a:hover {position:relative; z-index:300; text-decoration:none; color:#fff; background:#01c8fb;}

#nav :hover ul {left:0; top:40px; background:#01bded; padding:3px 7px 3px 7px; margin:0; list-style:none; font: 13px "Comic Sans MS", arial, verdana, sans-serif; border:1px solid #000; border-color:#01bded #708990 #708990 #01bded; border-width:1px 2px 2px 1px;}
/* another hack for IE5.5 and IE6 */
#nav a:hover ul {left:0;}

#nav ul {position:absolute; left:-9999px; top:-9999px;}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {left:0; margin-left:100%; top:-1px; border:1px solid #000; border-color:#fff #708990 #708990 #fff; border-width:1px 2px 2px 1px;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */
#nav li:hover > a {text-decoration:none; color:#fff;}
#subnav li:hover > a { text-decoration:none; color:#fff; background:#01c8fb;}


/* but IE5.x and IE6 need this lot to style the flyouts*/
/* show next level */
#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul
{left:100%; top:-1px; border:1px solid #000; border-color:#fff #708990 #708990 #fff; border-width:1px 2px 2px 1px;}

/* keep further levels hidden */
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul
{position:absolute; left:-9999px; top:-9999px;}

