/* ================================================================ 
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.
=================================================================== */


/* NAVIGATION 
============================================================================== */

/* minimum menu requirements for functionality */
#navigation {
	float: right;
	width: 550px;
	padding: 6px 0 0 0;
position:relative;
z-index:100;
}


/* remove all the bullets, borders and padding from the default list styling */
#navigation ul {
	padding:0;
	margin:0;
	list-style-type:none;
	font-family: Arial, Helvetica, sans-serif;
}
#navigation ul ul {
width:110px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#navigation li {
float:left;
width:110px;
position:relative;
}
/* style the links for the top level */
#navigation a, #navigation a:visited {
	display:block;
	font-size:12px;
	text-decoration:none;
	color:#333333;
	width:100px;
	height:27px;
	border:1px solid #fff;
	border-width:1px 1px 0 0;
	background:transparent;
	line-height:30px;
	font-weight: bold;
	padding: 31px 0px 0px 10px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html #navigation a, * html #navigation a:visited {
width:99px;
w\idth:99px;
}

/* style the second level background */
#navigation ul ul a.drop, #navigation ul ul a.drop:visited {
background:#808080;

}
/* style the second level hover */
#navigation ul ul a.drop:hover{
background:#808080;
}
#navigation ul ul :hover > a.drop {
background:#808080;
}
/* style the third level background */
#navigation ul ul ul a, .menu ul ul ul a:visited {
background:#e2dfa8;
}
/* style the third level hover */
#navigation ul ul ul a:hover {
background:#b2ab9b;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#navigation ul ul {
visibility:hidden;
position:absolute;
height:0;
top:59px;
left:0; 
width:110px;
}
/* another hack for IE5.5 */
* html #navigation ul ul {
top:60px;
t\op:60px;
}

/* position the third level flyout menu */
#navigation ul ul ul{
left:110px; 
top:0;
width:110px;
}
/* position the third level flyout menu for a left flyout */
#navigation ul ul ul.left {
left:-110px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#navigation table {position:absolute; top:0; left:0;}

/* style the second level links */
#navigation ul ul a, #navigation ul ul a:visited {
background:#999999; 
color:#FFFFFF; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px
/* yet another hack for IE5.5 */
}
* html #navigation ul ul a{
width:120px;
w\idth:120px;
}


/* style the top level hover */
#navigation a:hover, #navigation ul ul a:hover{
color:#fff; 
background:#1A347F;
}
#navigation :hover > a, #navigation ul ul :hover > a {
color:#fff;
background:#1A347F;
}

/* make the second level visible when hover on first level list OR link */
#navigation ul li:hover ul,
#navigation ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
#navigation ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
#navigation ul :hover ul :hover ul{ 
visibility:visible;
}
