﻿/* ================================================================ 
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 {
	position: relative;
	background-color: #92A8C0;
	border-bottom-color: #665533;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	width: 100%;
}
/* remove all the bullets, borders and padding from the default list styling */
#menu ul {
	padding: 0 0px 0 20px;
	margin: 0;
	list-style-type: none;
}
#menu ul ul {
	width: 100px;
}
/* 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: 115px;
	position: relative;
}
/* style the links for the top level */
.menu a:visited {
	display: block;
	font-size: 12px;
	text-decoration: none;
	color: #fff;
	width: 115px;
	height: 20px;
	background: #92A8C0;
	padding-left: 5px;
	line-height: 20px;
	font-family: verdana;
}
#menu a {
	display: block;
	font-size: 12px;
	text-decoration: none;
	color: #fff;
	width: 115px;
	height: 20px;
	background: #92A8C0;
	padding-left: 5px;
	line-height: 20px;
	font-family: verdana;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a:visited {
	width:150px;
	width:139px;
}

* html .menu a {
	width:150px;
	width:139px;
}

/* style the second level background */
.menu ul ul a.drop:visited {
	background: #d4d8bd no-repeat right
bottom;
}
#menu ul ul a.drop {
	background: #d4d8bd no-repeat right
bottom;
}
/* style the second level hover */
/* style the third level background */
/* style the third level hover */

/* 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: 20px;
	left: 0;
	width: 120px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
	top:30px;
	top:31px;
}

/* position the third level flyout menu */
/* position the third level flyout menu for a left flyout */

/* 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;
}

/* style the second level links */
.menu ul ul a:visited {
	background: #d4d8bd;
	color: #000;
	height: auto;
	line-height: 1em;
	padding: 5px 10px;
	width: 110px /* yet another hack for IE5.5 */
}
#menu ul ul a {
	background: #d4d8bd;
	color: #000;
	height: auto;
	line-height: 1em;
	padding: 5px 10px;
	width: 110px /* yet another hack for IE5.5 */
}
* html .menu ul ul a{
	width:150px;
	width:129px;
}

/* style the top level hover */
.menu ul ul a:hover{
	color:#fff; 
	background:#949e7c;
}
#menu a:hover{
	color:#fff; 
	background:#949e7c;
}
.menu ul ul :hover > a {
	color:#fff;
	background:#949e7c;
}

#menu :hover > a {
	color:#fff;
	background:#949e7c;
}

/* make the second level visible when hover on first level list OR link */
#menu ul a:hover ul{
	visibility:visible; 
}
#menu ul li:hover ul{
	visibility:visible; 
}
