/* ================================================================ 
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-center-center.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.
=================================================================== */

#menu {width:100%; height:2.5em; text-align:center}

#menu ul {margin:0; padding:0; list-style:none; white-space:nowrap; text-align:left;}
#menu ul {display:inline-block;border-color: #7F9DB9; border-collapse:collapse} 

#menu li {display:inline-block; display:inline; border-color: #7F9DB9; border-collapse:collapse}
#menu ul.level1 div {position:absolute; left:-9999px;}

#menu ul.level1 {border:1px solid #7F9DB9; margin:0 auto; }
#menu ul.level1 li.level1-li {float:left; display:block; position:relative;}

#menu ul.level1 {background:#FFFFFF;}
#menu ul li div ul {background:#FFFFFF; padding:0 1px 1px 1px;}

#menu a {font-size:large; display:block; color:#000000; line-height:25px; text-decoration:none;padding:0 35px 0 10px ; text-align:center;}

#menu li li a {font-size:small}

#menu ul.level1 li.level1-li a.level1-a {float:left;}

#menu ul li:hover div {left:50%; top:25px;}
#menu ul li:hover div ul {display:block; position:relative; left:-50%;}
#menu ul li div ul li a {background:#FFFFFF;}

#menu a:hover div {left:0; top:23px;}

#menu a:hover div ul {position:relative; left:-50%;}

#menu li a.fly {background:url('downarrow.gif') no-repeat right center;}

#menu li a:hover,
#menu li a.fly:hover {background-color:#000000; color:#ffffff;} 
#menu li:hover > a,
#menu ul li:hover > a.fly {background-color:#000000; color:#ffffff;}

#menu table {position:absolute; height:0; width:0; left:50%; border-collapse:collapse; margin-top:-4px;}

#menu li li a {font-size:small}
#menu li li a:hover {font-weight:bold; background-color:#ffffff; color:#990000}

