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

/* remove all the bullets, borders and padding from the default list styling */
.topnav ul { list-style: none; margin: 0; padding: 0; }

/* 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; bottom:40px; left: 0px; padding: 3px 0 0; z-index: 5; width: 99%; }

/* 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: #e2edf5 url(../images/p-bg.jpg) repeat-x; padding: 0; width: 100%; height: auto; border: 0; margin: 0; text-transform: uppercase;}

.topnav ul ul a, .topnav .topnav_last ul a {
 	color: #2373B7; text-align: left; 	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; height: auto; 
	padding: 4px 10px; width:100%; 
	font-size: 0.85em;
	border-bottom: 2px solid #fff; 
	font-weight: normal;}

	.topnav li {
		cursor: pointer;
	}

.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 { color: #0e76bc; background: none; }
.topnav :hover > a { color: #0e76bc; background: none; }

/* 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: #00AEEF; color: #FFFFFF;  }

.topnav ul ul :hover > a, .topnav .topnav_last ul :hover > a { background: #00AEEF; color: #FFFFFF; }

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