/* ================================================================ 
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.
=================================================================== */
/*
#c60 -> #4775b3 mid blue
#840 -> #0f1539 deep blue
*/
#menu {padding:0 0 0 30px; margin:0; list-style:none; height:30px; position:relative; z-index:80; font-family:arial, verdana, sans-serif;}
#menu li {float:left; margin-right:0px; border-right:1px solid #d5d5d5; border-left:1px solid #d5d5d5; border:none;}
#menu li a {display:block; float:left; height:30px; line-height:30px; background:#fff; color:#0f1539; text-decoration:none; font-size:14px; font-weight:bold; padding:0 25px 0 25px;}


#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; background-color:#4775b3;}
#menu li:hover {position:relative; z-index:200; }

#menu li:hover > a {color:#fff; background:#4775b3;}
#menu li:hover > a.sub {color:#fff; background-color:#4775b3;}

/*#menu li.current a {color:#fff; background:#0f0;}*/

#menu li.current a {
  border-left: 1px solid #153c5b;
  border-right: 1px solid #153c5b;
  border-top: 1px solid #153c5b;
  background:#c0cbe1;
  height: 29px;
  color:#153c5b;
}
#menu li li a {
  border: 1px solid #153c5b;
  border-bottom: none;
  margin-bottom:0;
}

#menu li li.lastsub a { border-bottom: 1px solid #153c5b; }

/*#menu li li a { border: 1px solid #153c5b; border-bottom: none; }
*/
#menu li a.sub {background: #fff url(images/down-arrow.gif) no-repeat right center;}
#menu li.current a.sub {color:#fff; background:#153c5b url(images/down-arrow.gif) no-repeat right center;}

#menu :hover ul {left:0; top:30px; width:130px; background:#444;}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, 
#menu :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#menu :hover ul :hover ul
{left:130px; top:-1px; background:#222; white-space:nowrap; width:130px; z-index:200; height:auto;}

#menu :hover ul li {margin:0; border-top:1px solid #666;}
#menu :hover ul li a {width:130px; padding:0; text-indent:10px; background:#fff; color:#153c5b; height:30px; line-height:30px;}
#menu :hover ul li a.fly {background:#333 url(images/right-arrow.gif) no-repeat right center;}

#menu :hover ul :hover {background-color:#4775b3; color:#fff;}
#menu :hover ul :hover a.fly {background-color:#4775b3; color:#fff;}

#menu :hover ul li.currentsub a {background:#c0cbe1; color:#153c5b;}
#menu :hover ul li.currentsub a.fly {background:#0f1539 url(images/right-arrow.gif) no-repeat right center; color:#fff;}

#menu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background:#fff; color:#153c5b; border-top:1px solid yellow;}
#menu :hover ul :hover ul :hover {background-color:#4775b3; color:#fff;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:#0f1539; color:#fff;}
