/* ================================================================ 
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-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
	font-size:1em;
	position:relative;
	z-index:100;
	background-color: #0188A6;
	height: 20px;
	padding-left: 70px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #017087;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #017087;
	margin-bottom: 20px;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	list-style-type:none;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}
.menu ul ul {
	width:82px;
}
.menu ul li.wider ul {
	width:112px;
}
.menu ul li.widest ul {
	width:182px;
}
/* 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:82px;
	position:relative;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #017087;
}
.menu li.wider  {
	width:112px;
}
.menu li.widest {
	width:182px;
}
.menu li li  {
	width:132px;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:13px;
	text-decoration:none;
	color:#FFFFFF;
	width:82px;
	height:20px;
	padding-left:6px;
	line-height:19px;
	background-color: #0188A6;
	background-image: url(images/menudivider.gif);
	background-repeat: repeat-y;
	background-position: left top;
}
.menu .wider a, .menu .wider a:visited {
width:112px;
}
.menu .widest a, .menu .widest a:visited {
width:182px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:71px;
w\idth:71px;
}
* html .menu .wider a, * html .menu .wider a:visited {
width:101px;
w\idth:101px;
}
* html .menu .widest a, * html .menu .widest a:visited {
width:171px;
w\idth:171px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background-color: #0188A6;
	background-image: url(images/menudrop.gif);
	background-repeat: no-repeat;
	background-position: right bottom;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background-color: #FF9934;
	background-image: url(images/menudrop.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.menu ul ul :hover > a.drop {
	background-color: #FF9934;
	background-image: url(images/menudrop.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background-color: #0188A6;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background-color: #FF9934;
}


/* 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:21px;
left:0; 
width:82px;
}
.menu ul .wider ul {
width:112px;
}
.menu ul .widest ul {
width:182px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:20px;
t\op:20px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:161px; 
top:0;
width:112px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-162px;
}

/* 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 {
	color:#FFFFFF;
	height:auto;
	line-height:1em;
	padding:5px 10px;
	width:111px;
	background-color: #0188A6;
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:112px;
w\idth:111px;
}
* html .menu .wider ul a{
width:132px;
w\idth:131px;
}

/* style the top level hover */
.menu a:hover {
	color:#000000;
	background-color: #FF9934;
}
.menu :hover > a {
	color:#000000;
	background-color: #FF9934;
}
.menu ul ul a:hover{
	color:#000;
	background-color: #FF9934;
}
.menu ul ul :hover > a {
	color:#000;
	background-color: #FF9934;
}

/* 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;
}
