/*
--------------------
DROP DOWN MENU CSS
--------------------
Adapted by Cactusoft from CSS dropdown menu
system by Stu Nicholls [www.cssplay.co.uk]

©2004/5/6 Stu Nicholls ~ All rights reserved

Used with permission
*/


.menu {
	font-size: 0.85em;
	position: relative;
	z-index: 100;
	height: 24px;
	margin: 20px 0px 0px 10px;
}

.menu table { border: none; }
.menu table tr { background-image: none; }
.menu table td { background-image: none; }

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.menu ul ul {
	width: auto;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float: left;
	width: auto;
	position: relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	white-space: nowrap;
	display: block;
	font-size: 10px;
	text-decoration: none; 
	color: #fff; 
	height: 22px; 
	padding: 0 7px 0 7px; 
	line-height: 20px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width: 8px;
	w\idth: 7px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	white-space: normal;
	background: #97aae6;
}

/* style the second level hover */
.menu ul ul a.drop:hover{
	white-space: normal;
	background: #7582d5 url(../templateimages/left_arrow.gif) bottom right no-repeat;
}

.menu ul ul :hover > a.drop {
	white-space: normal;
	background: #7582d5 url(../templateimages/left_arrow.gif) bottom right no-repeat;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	white-space: normal;
	background: #7582d5;
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background: #97aae6;
	white-space: normal;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility: hidden;
	position: absolute;
	height:0;
	top: 22px;
	left: 0; 
	width: 80px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 21px;
	t\op: 22px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left: 149px; 
	top: 0;
	width: 149px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left: -149px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	white-space: normal;
	font-weight: normal;
	background: #97aae6;
	border-right: none; 
	color: #222222;
	height: auto; 
	line-height: 12px; 
	padding: 3px 6px 3px 14px; 
	width: 129px
	/* yet another hack for IE5.5 */
}

* html .menu ul ul a{
	white-space: normal;
	width: 80px;
	w\idth: 129px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color: #ffffff;
	background: #97aae6;
	font-weight: bold;
}

.menu :hover > a, .menu ul ul :hover > a {
	color: #ffffff;
	background: #7582d5;
	font-weight: bold;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{
	visibility: visible; 
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility: hidden;
}



/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
	visibility: visible;
}

.menu .borderbottom {
	border-bottom: none; 
}

.topmenulink {
	border-bottom: none;
	border-left: solid 1px #97aae6;
}

a:hover.topmenulink  {
	border-bottom: none;
	background: #7582d5;
}

.menu .borderright {
	border-right: solid 1px #97aae6; 
}