/*HORIZONTAL POP OUT MENU*/
#nav {
	padding: 0px 0px 0px 0px;
	margin: 75px 0px 0px 0px;
	float: left;
	width: 780px;
	height: 34px;
	z-index: 999;}
#nav ul { /* remove bullets and list indents */
	list-style:none;
	margin: 0px 0px 0px 4px;
	padding:0px;
	z-index: 999;
}
#nav li{/* make the list elements a containing block for the nested lists */
	position: relative;
	z-index: 999;
	width: auto;
	float: left;
	margin: 5px 0px 0px 0px;
	background: url(../images/menu-left.jpg) top left no-repeat;}
#nav li.selected {
	background: url(../images/menu-left-selected.jpg) top left no-repeat;}

#nav li li{/* make the list elements a containing block for the nested lists */
	position: relative;
	float: left;
	margin-top: 0px;
	width: 145px;
	background: #7a7879;
	border-top: solid 1px #a4a4a4;
}

/*STYLE COLOUR AND SIZE LEVEL 1 LINKS*/
#nav ul li a:link, #nav ul li a:visited { 
	color: #ffffff;  
	font: normal 15px Arial,Calibri,sans-serif;
	text-decoration: none; 
	background: url(../images/nav_pattern.jpg) 0px 0px repeat-x;	 
	display: block; 
	margin: 0px 1px 0px 4px; 
	padding: 5px 31px 7px 27px;
	background: url(../images/menu-right.jpg) top right no-repeat;}
#nav ul li.selected a:link, #nav ul li.selected a:visited { 
	color: #000;
	background: url(../images/menu-right-selected.jpg) top right no-repeat;}
#nav ul li a:hover, #nav ul li a:active {
	color: #c6c6c6;
}

/*STYLE COLOUR AND SIZE LEVEL 2 LINKS*/
#nav ul ul li a:link, #nav ul ul li a:visited { 
	color: #fff;
	font: bold 10px Arial,Calibri,sans-serif;
	text-decoration: none; 
	display: block; 
	margin: 2px 2px 0px 2px;
	padding: 5px 0px 5px 10px; 
	width: 136px;
	background: url(../images/menu-submenu.jpg) top left repeat-x;
	z-index: 999;}

#nav ul li.selected ul li a:link, #nav ul li.selected ul li a:visited {
	background: url(../images/menu-submenu.jpg) top left repeat-x;}

#nav ul li.selected ul li a:hover, #nav ul li.selected ul li a:active {  
	background: url(../images/menu-submenu-hover.jpg) top left repeat-x;
}
#nav ul ul li a:hover, #nav ul ul li a:active {  
	background: url(../images/menu-submenu-hover.jpg) top left repeat-x;
	color: #c6c6c6;
}

/*POSITIONING THE POP OUTS*/
#nav ul ul {
	position: absolute;
	z-index: 999;
	width: 150px;
	background: none;
}
#nav ul ul ul {
	position: absolute;
	top: 0px;
	margin-bottom: 2px;
	left: 145px; /* to position them to the right of their containing block */
	width: 150px; /* width is based on the containing block */
	background-color: #116798;
}
/*HIDING & REVEALING 2 LEVEL USING :hover*/
div#nav ul ul, div#nav ul li:hover ul {
	display: none;
}

div#nav ul li:hover ul, div#nav ul ul li:hover ul { 
	display: block; 
}

/*HIDING & REVEALING 3 LEVEL USING :hover*/
div#nav ul ul ul, div#nav ul ul li:hover ul ul {
	display: none !important;
}

div#nav ul ul li:hover ul, div#nav ul ul ul li:hover ul {
	display: block !important;
	width: 150px;
}

