/* ================================================================ 
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/skeleton2.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 {padding:0; margin:0; list-style:none; font: 11px arial; position:relative; z-index:100;}
#nav {height:65px; width:464px; 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.on a{background:#3da5dc url(../images/menu-bg.gif) repeat-x; color:#fff; font:bold 16px/20px arial;}

#nav li a {display:block; float:left; font:bold 16px/20px arial; background: url(../images/topnav-sep.gif) no-repeat right center; color:#3da5dc; text-decoration:none; text-transform:uppercase; padding:21px 13px 24px 13px;}
#nav li li a, #nav li.on li a {float:none; font:11px/16px arial; color:#FFFFFF; padding:4px 0; background:#3da5dc; width:134px; padding-left:6px;}

#nav li:hover {position:relative; z-index:100;}
#nav a:hover {position:relative; z-index:100; background:#3da5dc url(../images/menu-bg.gif) repeat-x; color:#fff; font:bold 16px/20px arial;}
#nav li:hover > a {background:#3da5dc url(../images/menu-bg.gif) repeat-x; color:#fff; font:bold 16px/20px arial;}

#nav :hover  ul {left:0; top:65px; border:05px solid #3da5dc; z-index:300; background:#3da5dc}
#nav a:hover ul {background:#3da5dc; top:66px;}

#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:0;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:100%;}
/* show path followed */
#nav li:hover li:hover > a {background:#57b5e3; font:11px/16px arial; color:#FFFFFF; padding:4px 4px 4px 6px; width:130px;}

#nav li a:hover ul li a:hover {background:#57b5e3; font:11px/16px arial; color:#FFFFFF; padding:4px 4px 4px 6px; width:130px; }

/* 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:0;}

/* 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;}