﻿/* ================================================================ 
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_drop2.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/* style the outer div to give it width */
#TopMenu {
	margin-left: 20px;
	width: 950px; 
	font-size: 1em;
    font-weight: bold;
	z-index: 100;
	font-family: Verdana, Tahoma, "Arial CE", Arial,  Helvetica, sans-serif;
}
/* remove all the bullets, borders and padding from the default list styling */
#TopMenu ul {
	padding:0;
	list-style-type:none;
	z-index: 100;
}
#TopMenu ul ul {
	width: auto;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#TopMenu li {
	float:left;
	width: auto;
	position:relative;
	z-index: 100;
}
#TopMenu .lineRed { background: url(../images/TopMenuLine.gif) no-repeat top center; height: 29px; width: 25px; }

/* style the links for the top level */
#TopMenu a, #TopMenu a:visited {
	display:block;
	font-size: 0.9em;
	text-decoration:none; 
	color:#85939c; 
	width:auto; 
	height: auto;
	padding: 0 20px 10px 20px;
	line-height: 20px;
	margin-top: 5px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html #TopMenu a, * html #TopMenu a:visited { width: auto; }

/* style the second level background */
#TopMenu ul ul a.drop, #TopMenu ul ul a.drop:visited {
	background:#2d3134;
}
/* style the second level hover */
#TopMenu ul ul a.drop:hover{
	background:#2d3134;
}
#TopMenu ul ul :hover > a.drop {
	background:#2d3134;
}
/* style the third level background */
#TopMenu ul ul ul a, #TopMenu ul ul ul a:visited {
	background:#2d3134;
}
/* style the third level hover */
#TopMenu ul ul ul a:hover {
	background:#2d3134;
}
#TopMenu ul ul ul :hover > a {
	background:#2d3134;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#TopMenu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:31px;
	left:0; 
	width:150px;
	font-weight: normal;
	font-family: "Arial CE", Arial, Verdana, Tahoma, Helvetica, sans-serif;
}
/* another hack for IE5.5 */
* html #TopMenu ul ul {
	top:30px;
	top:31px;
	font-weight: normal;
}

/* position the third level flyout menu */
#TopMenu ul ul ul{
	left:150px; 
	top:0;
	width: auto;
	font-weight: normal;
}
/* position the third level flyout menu for a left flyout */
#TopMenu ul ul ul.left {
	left:-150px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
#TopMenu table {position:absolute; top:0; left:0;}

/* style the second level links */
#TopMenu ul ul a, #TopMenu ul ul a:visited {
	background:#2d3134; 
	color:#ccc; 
	height:auto; 
	line-height:1em; 
	padding: 10px 10px 10px 10px; 
	width: 129px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
	margin-top: 0;
	/* yet another hack for IE5.5 */
}
* html #TopMenu ul ul a{
	width:150px;
	w\idth:129px;
}


/* style the top level hover */
#TopMenu a:hover, #TopMenu ul ul a:hover{
	color: #fff;
}
#TopMenu :hover > a, #TopMenu ul ul :hover > a {
	color: #fff;
}

/* make the second level visible when hover on first level list OR link */
	#TopMenu ul li:hover ul,
	#TopMenu ul a:hover ul{
	visibility: visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
	#TopMenu ul :hover ul ul{
	visibility: hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
	#TopMenu ul :hover ul :hover ul ul{
	visibility: hidden;
}
/* make the third level visible when you hover over second level list OR link */
	#TopMenu ul :hover ul :hover ul{ 
	visibility: visible;
}
/* make the fourth level visible when you hover over third level list OR link */
	#TopMenu ul :hover ul :hover ul :hover ul { 
	visibility: visible;
}


