/* ================================================================ 
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.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#topnav {position:relative; z-index:100;}
/* hack to correct IE5.5 faulty box model */
* html #topnav {width:853px; w\idth:853px;}
/* remove all the bullets, borders and padding from the default list styling */
#topnav ul ul { }
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#topnav li {float:left; position:relative;}
/* style the links for the top level */

/* hide the sub levels and give them a positon absolute so that they take up no room */
#topnav ul ul {visibility:hidden; position:absolute; height:0; top:47px; left:-1px; width:169px; padding-top: 1px;}
/* another hack for IE5.5 */
* html #topnav ul ul {top:47px;t\op:47px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#topnav table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
#topnav ul ul li { padding: 0; width: 169px; height: auto; background: none;}

* html #topnav ul ul li { width: 169px; }

#topnav ul ul a { color: #6d6d6d; font-size: 1em;  border: 1px solid #b3b3b3; border-top: 0; text-transform: none; background: #e9e9e9 url(../../images/subnav_h.gif) no-repeat 0 100px; height: 25px; padding-top: 10px; width: 169px;}

/* yet another hack for IE5.5 */
* html #topnav ul ul a { }

#topnav a:hover { }
#topnav :hover > a { }

/* make the second level visible when hover on first level list OR link */
#topnav ul li:hover ul, #topnav ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
#topnav ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
#topnav ul :hover ul :hover ul{ visibility:visible;}
#topnav ul ul a:hover, #topnav ul ul :hover > a { background: #c5c5c5 url(../../images/subnav_h.gif) repeat-x top; color: #036098;  }
