/* ================================================================ 
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;}

/* remove all the bullets, borders and padding from the default list styling */
#topnav ul ul {width:206px;}

/* 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:43px; left:0; width:206px; padding-top: 5px; }

/* 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 { background: url(../../images/dropdown_bg.png) repeat-y; padding: 0 11px 0 05px; width: 190px; height: auto;}

* html #topnav ul ul li { background: #FFFFFF; }

#topnav ul ul a, #topnav ul .topnav_current ul a, #topnav #topnav_last ul a { color:#858585; text-align: left; height: auto; padding: 8px 10px; width:170px; font-size: 1.1em; border-top: 0; border-right: 0; border-left: 0; border-bottom: 1px solid #d9d9d9; text-transform: none; background: none; line-height: normal;}

#topnav ul ul .topsub_last a { border: none; padding: 8px 10px 10px;}

#topnav ul ul .topsub_last { background: url(../../images/dropdown_bott.png) no-repeat bottom; padding-bottom: 7px; }

* html #topnav ul ul .topsub_last { background: #FFFFFF; }

#topnav #topnav_last ul :hover > a { width: 170px; }

#topnav #topnav_last :hover > a, #topnav #topnav_last a:hover { width: 112px; }

#topnav ul li:hover ul, #topnav ul a:hover ul {visibility:visible; }

#topnav ul ul a:hover { background: #E6FAD7; color: #539d21; border: 0; width:170px; border-bottom: 1px solid #d9d9d9;}

#topnav ul ul :hover > a { background: #E6FAD7; color: #539d21; border: 0; width:170px; border-bottom: 1px solid #d9d9d9; text-decoration: none;}

#topnav ul ul .topsub_last a:hover { border-bottom: 0; }