#pad {height:155px;}
/* ================================================================ 
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 0 0 30px; margin:0; list-style:none; height:25px; position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
#menu li {float:left; margin-right:1px;}
#menu li a {display:block; float:left; height:25px; line-height:25px; background:#cccc99; color:#000000; text-decoration:none; font-size:13px; font-weight:none; padding:0 30px 0 20px;}


#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:#ffffff; background-color:#999966;}
#menu li:hover {position:relative; z-index:200;}

#menu li:hover > a {color:#ffffff; background:#999966;}
#menu li:hover > a.sub {color:#ffffff; background-color:#999966;}

#menu li.current a {color:#ffffff; background:#ffffff;}

#menu li a.sub {background: #cccc99 url(up-arrow.gif) no-repeat right center;}
#menu li.current a.sub {color:#000000; background:#cccc99 url(up-arrow.gif) no-repeat right center;;}

#menu li:hover ul {left:0; top:auto; bottom:25px; width:120px; background:#ffffff;}
#menu a:hover ul {left:0; top:auto; bottom:0; width:120px; background:#ffffff;}

/* 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:auto; margin:0; padding:0; list-style:none;}

#menu :hover ul :hover ul
{left:120px; top:auto; background:#ffffff; white-space:nowrap; width:100px; z-index:200; height:auto;}
#menu :hover ul :hover ul.fly3 {bottom:auto; top:-53px;}
#menu :hover ul :hover ul.fly2 {bottom:auto; top:-27px;}
#menu :hover ul :hover ul.fly1 {bottom:auto; top:-27px;}

#menu :hover ul li {margin:0; border-top:1px solid #ffffff;}
#menu :hover ul li a {width:120px; padding:0; text-indent:10px; background:#cccc99; color:#000000; height:25px; line-height:25px;}
#menu :hover ul li a.fly {background:#cccc99 url(right-arrow.gif) no-repeat right center;}

#menu :hover ul :hover {background-color:#999966; color:#ffffff;}
#menu :hover ul :hover a.fly {background-color:#999966; color:#ffffff;}

#menu :hover ul li.currentsub a {background:#ffffff; color:#ffffff;}
#menu :hover ul li.currentsub a.fly {background:#cccc99 url(right-arrow.gif) no-repeat right center; color:#000000;}

#menu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background:#cccc99; color:#000000;}
#menu :hover ul :hover ul :hover {background-color:#999966; color:#ffffff;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:#cccc99; color:#000000;}
