/* ================================================================ 
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.
=================================================================== */
ul#menu {padding:0; list-style:none; background:url(../images/topnav_bg.gif); text-align:center; margin:0 auto; font-size:11px; font-family:arial, sans-serif; height:36px; width:960px; position:relative; left:-10px; top:-30px; z-index:100;}
ul#menu ul {padding:0; margin:0; list-style:none; position:absolute; left:-9999px;}
ul#menu table {border-collapse:collapse; font-size:1em; float:left; margin:-1px;}

ul#menu ul li {float:left; margin:0; text-align:left;}
ul#menu ul li a {display:block; line-height:20px; margin:0; padding:0 10px; background:transparent; width:150px;}

/* Level-1 menu items */
ul#menu li {display:inline; margin:0 -2px; text-align:left;}
ul#menu li a {display:inline-block; height:22px; margin: 7px 0 0 0;padding:0 20px 0 0; background:url(../images/topnav.gif) right top; line-height:23px; text-decoration:none; color:#000;}
ul#menu li a.sub {/*background:url(../images/topnav_rightside.gif) right top;*/}

html>/**/body ul#menu li {display:inline-block; padding:0;}

* html ul#menu li a.sub {margin-right:3px;}
* html ul#menu li a {margin-bottom:-4px;}

ul#menu li a b {display:block; height:30px; float:left; padding:0 0 0 20px; /*background:url(../images/topnav.gif) left top;*/ cursor:pointer;}

/* Ivan - these two don't seem to do anything? */
ul#menu li a:hover {position:relative; background-position:right bottom; color:#fff;}
ul#menu li a:hover b {background-position:left bottom;}

ul#menu li:hover {position:relative;}
/* Ivan - find out how to fix this so I can have a different hover color... for now just keep the same one like this!!!...*/
/* ul#menu li:hover > a {background-position:right bottom; color:#fff;} */	/* Original code using bottom color */
/* ul#menu li:hover > a b {background-position:left bottom;} */			/* Original code using bottom color */
ul#menu li:hover > a {/*height:23px;*/ background:url(../images/topnav_hover.gif) right top; color:#000000; text-decoration: underline;} /* My hack to keep same top color */
ul#menu li:hover > a b {background-position:left top;} /* My hack to keep same top color */

ul#menu :hover ul {left:1px; width:105px; top:36px;}
* html ul#menu :hover ul {top:30px;}

ul#menu :hover ul li {display:block; float:left; margin:0; border-bottom:1px solid #fff;}
ul#menu :hover ul li a {display:block; float:left; margin:0; height:25px; line-height:25px; width:165px; background:#dee6ec; color:#000;} /* 2nd level - width changes 2nd level submenu size (see 3rd level left property too)*/
ul#menu :hover ul li a.fly {background:#dee6ec url(../images/arrow.gif) no-repeat right center;} /* 2nd level with submenu */
ul#menu :hover ul li a:hover {background:#2f7daa; color:#fff;}
ul#menu :hover ul li:hover > a {background:#2f7daa; color:#fff;}

ul#menu :hover ul li a.fly:hover {background:#2f7daa url(../images/arrow-over.gif) no-repeat right center;}
ul#menu :hover ul li:hover > a.fly {background:#2f7daa url(../images/arrow-over.gif) no-repeat right center;}

ul#menu :hover ul ul {left:-9999px;}

ul#menu :hover ul :hover ul {left:177px; top:0; width:150px;} /* Note: Change left to shift 3rd level submenu left or right*/

ul#menu :hover ul :hover ul li {display:block; float:left; margin:0; border-bottom:1px solid #fff;}
ul#menu :hover ul :hover ul li a {display:block; float:left; margin:0; height:25px; line-height:25px; background:#9ab2c4; color:#000;} /* 3rd level */
ul#menu :hover ul :hover ul li a:hover {color:#fff; background:#206085;} /* Dark Blue of 3rd level hovered look */
