﻿/* remove the bullets, padding and margins from the lists */
.menu ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 11px;
	background-color: #FECB01;
}
/* make the top level links horizontal and position relative so that we can position the sub level */
.menu li{
	float: right;
	position: relative;
	z-index: 100;
	width: 100px;
	background-color: #FFFF00;
}

/* use the table to position the dropdown list */
.menu table{
	position: absolute;
	border-collapse: collapse;
	z-index: 80;
	left: -1px; 				/* displacement of drop down default -1*/;
	top: 25px; 					/* gap between red box and first drop down */
}

/* style all the links */
.menu a {
	border: thin solid #000000;
/* box border - default thin black */	display: block; /* sideways menu */;
	color: #000000; /* text colour - default black  */;
	background: url('nav98-30.gif') no-repeat;
/* red background */	text-decoration: none;
	margin-right: 1px; /* sideways separation between second and others*/;
	text-align: center;
	padding-top: 5px; /* text spacing top and bottom between second and others*/;
	padding-bottom: 5px;
	background-color: #66FF33;
}
.menu :hover{
	color: #000000;
	text-decoration: none;
	background-image: url('hover.gif');
	background-repeat: no-repeat;
	background-color: #0000FF;
}
.menu :visited {
	display: block;				/* sideways menu */
	padding: 5px 0 5px 0; 		/* text spacing top and bottom first and last */
	color: #000;				/* text colour - default black  */	
	background: url('nav98-30.gif') no-repeat;  /* red background */
	text-decoration: none;
	margin-right: 1px;			/* sideways separation between first and second*/
	text-align: center;
}
/* style the links hover */

/* hide the sub level links */
.menu ul ul {
visibility:hidden;
position:absolute;

height:0;
}
/* make the sub level visible on hover list or link */
.menu ul a:hover ul{
visibility:visible;
}
.menu ul li:hover ul{
visibility:visible;
}