#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; margin:0; list-style:none; height:42px; position:relative; z-index:99; font-family:'Open Sans' ,arial,sans-serif;}
#menu li {float:left; margin-right:1px;
	height: 20px;
}
#menu li a {border-top:solid 0px black;display:block; float:left; height:40px; line-height:40px; color:#ffffff; text-decoration:none; font-size:12px; padding:1px 20px 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:#fff; background-color:#558fcb;border:solid 1px #ffffff;border-bottom:solid 1px #ffffff;padding:0 19px 0 19px;}/*this for ie6*/
#menu li a.sub:hover{border-bottom:solid 0px #ffffff;padding:0 29px 0px 19px;}/** on submenu hover for ie 6 **/
#menu li:hover {position:relative; z-index:200;}

#menu li:hover > a {color:#fff; background:#558fcb;border:solid 1px #ffffff;}
#menu li:hover > a.sub {color:#fff; background-color:#558fcb;border:solid 1px #ffffff;border-bottom:solid 0px #ffffff;padding:0 19px 0px 19px;}/*this change the selected tab background color*/


#menu li.current a {}

#menu li a.sub {border:solid 0px black;border-bottom:solid 0px black;border-top:solid 0px black;}
#menu li.current a.sub {color:#ffc000;}


#menu :hover ul {left:0px; top:40px; width:120px; background:#444;} /* the drop down menu */
#menu li a.sub:hover ul {left:-1px; top:35px; width:120px; background:#444;border-top:solid 0px #000;} /* the drop down menu */

/* 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:200; height:auto;}


/*this manuplate the submenu on mouse over*/
#menu :hover ul li {margin:0; height:30px}
#menu :hover ul li a {border-left:solid 1px #ffffff;border-right:solid 1px #ffffff;border-bottom:solid 0px #ffffff;border-top:solid 0px #ffffff; width:240px; padding:0; text-indent:10px; background:#558fcb; color:#fff; 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:#dbebfc; color:#053566;}
#menu :hover ul :hover a.fly {background-color:#c60; color:#fff;}



#menu :hover ul li.currentsub a {background:#840; color:#fff;}
#menu :hover ul li.currentsub a.fly {background:#ffffff 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:#3e3e3e; color:#ccc;}
#menu :hover ul :hover ul :hover {background-color:#d70; color:#fff;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:#840; color:#fff;}

