﻿/* ================================================================ 
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.
=================================================================== */
/* Header-Menu */
#mainMenuContainer {
	font-family: "Gill Sans","Times New Roman",Times,serif;
	float: right;
	clear: right;
	width: 600px;
}
#navbar{
	width: 600px;
	height: 40px;
}
.menu {
	height: 40px;
	position: relative;
	z-index: 9;
	line-height:40px;
	}
/* hack to correct IE5.5 faulty box model */
* html .menu {
	width: 600px;
	width: 600px;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin: 0;
	list-style-type: none;
	height:40px;
	line-height:40px;
}
.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;
	position: relative;
	z-index: 9;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display: block;
	height: 40px;
	padding-left: 17px;
	padding-right: 17px;
	line-height: 40px;
	color: #2c5172;
	font-size: 18px;
	font-weight:bold;
	font-family: "Orator Std","Arial";
	text-decoration: none;
	text-align: center;
	vertical-align:middle;
	z-index: 9;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width: 110px;
	padding-left: 0px;
	padding-right: 0px;
	color: #2c5172;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:hover {
	color: #2c5172;
}
/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background: #000000;
	font-size: 11px;
	color: #fff;
	z-index: 9;
}
/* style the second level hover */
.menu ul ul a.drop:hover {
	background: #fffddd;
	font-size: 11px;
	color: #fff;
	z-index: 9;
}
.menu ul ul :hover > a.drop {
	background: #fffddd;
	font-size: 11px;
	color: #fff;
	z-index: 9;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background: #000000;
	font-size: 11px;
	color: #fff;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background: #fffddd;
	font-size: 11px;
	color: #fff;
}
/* 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: 40px;
	left: 0;
	width: 90px;
	z-index: 9;
}
/* another hack for IE5.5 */
* html .menu ul ul {
	top: 40px;
}
/* position the third level flyout menu */
.menu ul ul ul {
	left: 120px;
	top: -1px;
	width: 120px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left: -100px;
}
/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	position: absolute;
	top: 0;
	left: 0;
	border-collapse: collapse;
}
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background: #d9e5ed;
	font-size: 14px;
	font-family:Arial;
	font-weight:normal;
	text-align: left;
	color: #2c5172;
	width: 180px;
	height:30px;
	line-height: 30px;
	padding-left: 20px;
	padding-right: 20px;
	z-index: 9;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width: 180px;
	width: 178px;
	z-index: 9;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:hover {
	width: 180px;
	width: 178px;
	color: #bc985e;
	z-index: 9;
}
/* style the top level hover */
.menu a:hover, .menu ul ul a:hover {
	color: #000000;
	background-color: #fffddd;
}
.menu :hover > a{
	color: #2c5172;
	background-color: #d9e5ed;
	font-weight:bold;
}
.menu ul ul :hover > a{
	color: #d9e5ed;
	background-color: #2c5172;
	font-weight:normal;
}
/* 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;
	z-index: 9;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul {
	visibility: hidden;
	z-index: 9;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul {
	visibility: visible;
	z-index: 9;
}
