#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 https://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:40px; position:relative; z-index:500; font-family:arial, helvetica, sans-serif;}
#menu li {float:left; margin-right:1px;}
#menu li a {display:block; float:left; height:30px; line-height:30px; background:#1A68AB; color:#FFFFFF; text-decoration:none; font-size:9pt; font-weight:bold; 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:#029897;}
#menu li:hover {position:relative; z-index:200;}

#menu li:hover > a {color:#FFFFFF; background:#029897;}
#menu li:hover > a.sub {color:#FFFFFF; background-color:#029897;}

#menu li.current a {color:#FFFFFF; background:#029897;}

#menu li a.sub {background:#1A68AB url(https://www.ISQED.org/English/Images/Buttons/CSSMenu_down-arrow.gif) no-repeat right center;}
#menu li.current a.sub {color:#FFFFFF; background:#029897 url(https://www.ISQED.org/English/Images/Buttons/CSSMenu_down-arrow.gif) no-repeat right center;;}

#menu :hover ul {left:0; top:30px; width:120px; background:#444444;}

/* 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:180px; top:-1px; background:#222222; white-space:nowrap; width:100px; z-index:200; height:auto;}

#menu :hover ul li {margin:0; border-top:1px solid #666;}
#menu :hover ul li a {width:180px; padding:0; text-indent:10px; background:#333333; color:#EEEEEE; height:30px; line-height:30px;}
#menu :hover ul li a.fly {background:#333333 url(https://www.ISQED.org/English/Images/Buttons/CSSMenu_right-arrow.gif) no-repeat right center;}

#menu :hover ul :hover {background-color:#029897; color:#FFFFFF;}
#menu :hover ul :hover a.fly {background-color:#029897; color:#FFFFFF;}

#menu :hover ul li.currentsub a {background:#029897; color:#FFFFFF;}
#menu :hover ul li.currentsub a.fly {background:#029897 url(https://www.ISQED.org/English/Images/Buttons/CSSMenu_right-arrow.gif) no-repeat right center; color:#FFFFFF;}

#menu :hover ul :hover ul li a {width:300px; padding:0; text-indent:10px; background:#222222; color:#CCCCCC;}
#menu :hover ul :hover ul :hover {background-color:#029897; color:#FFFFFF;}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {background:#029897; color:#FFFFFF;}
