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

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

/* 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 {z-index:2; visibility:hidden; position:absolute; height:0; top:40px; left:0; width:210px; padding: 5px 0 0; background: #4E555B }

/* 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: #4E555B; padding: 0 10px; width: 190px; height: auto; border: 0;}

#topnav ul ul a, #topnav #topnav_last ul a { color: #cfd7dd; text-align: left; height: auto; padding: 8px 10px; width:170px; font-size: 0.9em; border-top: 0; border-right: 0; border-left: 0; border-bottom: 1px solid #6F787F; text-transform: none; background: none;}

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

#topnav ul ul .topsub_last, #topnav #topnav_last ul .topsub_last { padding-bottom: 5px; }

#topnav a:hover { background: url(../../images/topnav_h.gif) repeat-x top; }
#topnav :hover > a { background: url(../../images/topnav_h.gif) repeat-x top; }

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

#topnav ul ul a:hover, #topnav #topnav_last ul a:hover  { background: #315480; color: #FFFFFF; border: 0; width:170px; border-bottom: 1px solid #6F787F;}

#topnav ul ul :hover > a, #topnav #topnav_last ul :hover > a { background: #315480; color: #FFFFFF; border: 0; width:170px; border-bottom: 1px solid #6F787F; text-decoration: none;}

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