/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/anywidth.html
Copyright (c) 2005-2009 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#hmenu {width:100%; height:22px; float:left;}
#hmenu ul {display:inline-block;} 
#hmenu ul.top-level {margin-left:0;}
#hmenu ul {margin:0; padding:0; list-style:none; white-space:nowrap; text-align:left;} 
#hmenu li {margin:0; padding:0;}
#hmenu a {display:block; line-height:22px; text-decoration:none; padding:0 20px;} 
* html #hmenu ul.top-level {margin-left:0;} /* I don't know why, but this centers IE5.5 ?? */

#hmenu li:hover > ul {visibility:visible;z-index:10}
#hmenu a:hover ul,
#hmenu a:hover a:hover ul, 
#hmenu a:hover a:hover a:hover ul {visibility:visible;}
#hmenu a:hover ul ul, 
#hmenu a:hover a:hover ul ul {visibility:hidden;}

#hmenu ul.top-level {margin:0 auto;} 
#hmenu li.top-level-li {float:left; position:relative; margin-right:1px;}

#hmenu a.top-level-a {float:left; padding:0 0 0 20px; background:url(../../images/taba.gif) no-repeat left top;} 
#hmenu a.top-level-a b {float:left; padding:0 20px 0 0; background:url(../../images/tabb.gif) no-repeat right top; cursor:pointer; cursor:hand;}
#hmenu a.down b {float:left; padding:0 20px 0 0; background:url(../../images/tabc.gif) no-repeat right top; cursor:pointer;}

#hmenu a.top-level-a:hover {white-space:nowrap; background:url(../../images/taba.gif) no-repeat left -30px;}
#hmenu a.top-level-a:hover b, 
#hmenu a.top-level-a:focus b, 
#hmenu a.top-level-a:active b {background:url(../../images/tabb.gif) no-repeat right -30px; cursor:pointer;}
#hmenu a.down:hover b, 
#hmenu a.down:focus b, 
#hmenu a.down:active b {background:url(../../images/tabc.gif) no-repeat right -30px; cursor:pointer;}

#hmenu li.top-level-li:hover > a {white-space:nowrap; background:url(../../images/taba.gif) no-repeat left -30px;}
#hmenu li.top-level-li:hover > a b { background:url(../../images/tabb.gif) no-repeat right -30px;}
#hmenu li.top-level-li:hover > a.down b { background:url(../../images/tabc.gif) no-repeat right -30px;}

#hmenu li ul {display:block; position:absolute; visibility:hidden; background:#505060; padding:1px 1px 1px 1px; left:0;}
#hmenu li li {border-bottom:1px solid #505060;}
#hmenu li li a {background:#fff;} 
#hmenu li li a:hover {background:#e3e6ed;} 
#hmenu li li:hover > a {background:#e3e6ed;}
#hmenu li li a.fly {background:#fff url(../../images/fly.gif) no-repeat right top;}
#hmenu li li a.fly:hover {background:#e3e6ed url(../../images/fly.gif) no-repeat right top;} 
#hmenu li li:hover > a.fly {background:#e3e6ed url(../../images/fly.gif) no-repeat right top;}

#hmenu ul.drop-down {top:22px; opacity:0.85;} 
#hmenu li li ul {left:100%; margin-top:-23px; margin-left:-5px;}

#hmenu table {position:absolute;top:0;left:0;border-collapse:collapse;text-align:left;}
#hmenu table ul li a {padding-left:0; padd\ing-left:20px;}
#hmenu table table {top:auto; left:100%; margin-left:-1px; padding:0; margin:0;}
#hmenu table table ul {margin-top:-4px; marg\in-top:-7px;}
