/* ================================================================ 
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.
=================================================================== */

div#top_menu { z-index:3;}

/* remove all the bullets, borders and padding from the default list styling */
div#top_menu ul ul.drop {width:170px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
div#top_menu li { position:relative; float:left;}
/* style the links for the top level */

/* hide the sub levels and give them a positon absolute so that they take up no room */
div#top_menu ul ul.drop {visibility:hidden; position:absolute; height:0; top:23px; left:-20px; width:160px; padding: 5px 0 0; background: #6F2876; }

/* style the table so that it takes no ppart in the layout - required for IE to work */
div#top_menu table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
div#top_menu ul ul.drop li { background-color:#6F28764!important; padding: 0 0px; width: 170px; height: auto; border: 0; background-image:none;}

div#top_menu ul ul.drop a, div#top_menu div#top_menu_last ul a { color: #fff; text-align: left; height: auto; padding: 8px 10px; width:140px; font-size: 0.9em; border-top: 0; border-right: 0; border-left: 0; border-bottom: 1px solid #fff; text-transform: none; background-color: #6F2876!important; background-image:none!important;}

div#top_menu ul ul.drop .topsub_last a, div#top_menu div#top_menu_last ul .topsub_last a { border: none; padding: 8px 10px 10px }

div#top_menu ul ul.drop .topsub_last, div#top_menu div#top_menu_last ul .topsub_last { padding-bottom: 5px; }

div#top_menu a:hover { color: #AE237C; }
div#top_menu :hover > a { color: #AE237C; }

/* make the second level visible when hover on first level list OR link */
div#top_menu ul li:hover ul, div#top_menu ul a:hover ul {visibility:visible; }

div#top_menu ul ul.drop a:hover, div#top_menu div#top_menu_last ul a:hover  { background: #FFFFFF; color: #f47d53; width:140px; }

div#top_menu ul ul.drop :hover > a, div#top_menu div#top_menu_last ul :hover > a { background: #FFFFFF; color: #f47d53; width:140px; }

div#top_menu ul ul.drop .topsub_last a:hover, div#top_menu div#top_menu_last ul .topsub_last a:hover { border-bottom: 0; }