/* hack to correct IE5.5 faulty box model */
* html .menu {
	width:768px;
	w\idth:770px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width:149px;
	w\idth:140px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
	top:30px;
	t\op:34px;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width:150px;
	w\idth:140px;
}
.menu {
	text-transform: uppercase;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	float: left;
	width: 770px;
	margin-top: 10px;
	padding: 0px;
	background-color: #D0D0D0;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0px;
	list-style-type:none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: left;
	margin: 0px;
}
/* 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;
	cursor:pointer;
	z-index: 1000;
	margin: 0px;
	padding: 0px;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	text-decoration:none;
	color:#666666;
	line-height: 34px;
	height:34px;
	display: block;
	padding-right: 24px;
	padding-left: 24px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.menu a:hover {
	color: #ae0002;
}
.menu .last-child {
	border-right-style: none;
}
/* 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:34px;
	left:0;
	width:140px;
	z-index: 1000;
	text-align: left;
}
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	color:#F8F5EB;
	line-height:1em;
	padding:8px 12px;
	width:140px;
	height: auto;
}
/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background: transparent url(../images/opaque-gry.png);
	color: #ae0002;
}
/* style the second level hover */
.menu ul ul a.drop:hover {
	background:transparent url(../images/opaque.png);
}
.menu ul ul :hover > a.drop {
	background:transparent url(../images/opaque.png);
	color: #f8f5eb;
}
/* 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;
	border-collapse:collapse;
}
/* 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;
}
