#pad {height:140px;}
/* ================================================================ 
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 {padding:0; padding-top:4px; margin:0; list-style:none; height:50px; position:relative; z-index:150; font-family:Arial, Helvetica, sans-serif; float:left;}
#menu li {float:left; margin-right:1px;}
#menu li a {display:block; float:left; height:50px; line-height:50px; color:#006699; text-decoration:none; font-size:12px; font-weight:bold; padding:0 30px 0 20px; background-image:url(../images/main_nav_btn_bg.gif); background-position:bottom right; background-repeat:no-repeat;}


#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:100; position:relative; color:#fff; background-position:top right;}
#menu li:hover {position:relative; z-index:100;}

#menu li:hover > a {color:#fff;}
#menu li:hover > a.sub {color:#fff; }

#menu li.current a {color:#fff; background:#840;}

#menu li a.sub {background-image:url(../images/main_nav_sub_btn_bg.gif);}
#menu li.current a.sub {color:#fff; background:#840 url(down-arrow.gif) no-repeat right center;}

#menu :hover ul {left:-2px; top:50px; width:200px; }

/* 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:120px; top:-1px; background:#222; white-space:nowrap; width:100px; z-index:100; height:auto;}

#menu :hover ul li {margin:0; border-top:1px solid #666;}
#menu :hover ul li a {width:200px; padding:0; text-indent:10px; background:#333; color:#ccc; height:30px; line-height:30px;}
#menu :hover ul li a.fly {background:#333 url(right-arrow.gif) no-repeat right center;}

#menu :hover ul :hover {background-color:#204055; color:#fbfaab;}
#menu :hover ul :hover a.fly {background-color:#204055; color:#fbfaab;}

#menu :hover ul li.currentsub a {background:#840; color:#fff;}
#menu :hover ul li.currentsub a.fly {background:#840 url(right-arrow.gif) no-repeat right center; color:#fff;}

#menu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background-color:#3366CC; color:#ccc;}
#menu :hover ul :hover ul :hover {background-color:#3366CC; color:#fff;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background-color:#3366CC; color:#fff;}
