/* ================================================================ 
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.cssmenus.co.uk
Copyright (c) 2009- Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#menu { height: 26px; padding: 0 6px; margin:0 0 6px 0; list-style:none; position:relative; z-index:500; background-color: #3399CC; border-radius: 5px; }
#menu li {float:left; margin-right:1px;}
#menu li a {display:block; float:left; height:26px; line-height:26px; color: white; text-decoration:none; padding: 0 10px;}

#menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */
#menu li a:hover {z-index:200; position:relative;color:#fff; }
#menu li:hover {position:relative; z-index:200;}

#menu li:hover > a { color: black; background: #ADD6EB; }
#menu li:hover > a.sub { color: black; background: #ADD6EB url(../images/down-arrow.gif) no-repeat right center; }

#menu li.current a { color: #AD0040; }

#menu li a.sub { display: block; background: #3399CC url(../images/down-arrow.gif) no-repeat right center; padding-right: 20px;}
#menu li.current a.sub { color: #AD0040; background: #ADD6EB url(../images/down-arrow.gif) no-repeat right center; color: black;}

#menu :hover ul {left:0; top:26px; background:#ADD6EB;}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, 
#menu :hover ul ul { background-color: #ADD6EB; position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#menu :hover ul :hover ul { left: 230px; top:-1px; white-space:nowrap; z-index:200; height:auto;}

#menu :hover ul li {margin:0; border-top:1px solid #666;}
#menu :hover ul li a {  width: 230px; padding:0; text-indent:10px; background:#ADD6EB; color:black; height:30px; line-height:30px;}
#menu :hover ul li a.fly { width: 210px; background: #ADD6EB url(../images/right-arrow.gif) no-repeat right center; padding-right: 20px; }

#menu :hover ul :hover { color: #AD0040; }
#menu :hover ul :hover a.fly {color: #AD0040;}

#menu :hover ul li.currentsub a {color: #AD0040;}
#menu :hover ul li.currentsub a.fly { color: #AD0040; background: #ADD6EB url(../images/right-arrow.gif) no-repeat right center;}

#menu :hover ul :hover ul li a {width:310px; padding:0; text-indent:10px; background:#ADD6EB; color:black;}
#menu :hover ul :hover ul :hover {color: #AD0040;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover { color: #AD0040; }
