/* ================================================================ 
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:0; 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;}

#nav li a {display:block; float:left; white-space:nowrap;}
#nav li li a {float:none; text-decoration:none; color:#013165; width:170px; font-size:11px; font-weight:bold; padding:8px 6px 8px 6px;}

#nav li:hover {position:relative; z-index:300;}
#nav a:hover {position:relative; z-index:300; text-decoration:none; color:#013165;}
#subnav a:hover {position:relative; z-index:300; text-decoration:none; color:#325c8c; background:#fff;}

#nav :hover ul {left:0; top:41px; background:#fff1b7; padding:0px; margin:0; list-style:none; border:1px solid #000; border-color:#f2f2f2 #f8cc51 #f8cc51 #fff1b7; 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:#013165;}
#subnav li:hover > a { text-decoration:none; color:#325c8c; background:#fff; }


/* 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;}

