	nav ul li:hover > ul {
		/*display sub menues on hover*/
		display: block;
	}


/*Main menue */
nav ul {
	background:  #0000FF; /*blue*/
	padding: 0px; 
	list-style: none;
	margin: 3px;
	/*allows positioning of sub menues*/
	/*condense menue to fit*/
	display: inline-table;
	margin-left: 8px;
	position: relative;
	float: right;
	

	
}
nav ul:after {
	/*clear floats without hiding sub menues not overflow: hidden*/
	content: ""; 
	clear: both; 
	display: block;
	}
	
/*Style individual items*/
nav ul li {
	float: left;
	font-size: 16px;
	border-top: 0px;
	border-bottom: 0px;
	padding: 0px;
	
}
nav ul li:hover {
	background: #0000FF; /*blue*/
		
	}
nav ul li:hover a {
	/*main menue hover colour*/
	color: white;
		}
	
nav ul li a {
	display: block; 
	width: 183px;
	padding: 5px 0px;
	color: white;
	text-decoration: none;
	text-align:center;
  	border-left:1px solid #fff;
	}
	
/*Sub menu*/	
nav ul ul {	
	display: none; /*hide normally*/
	background:  #0000FF; /*blue*/
	margin-left: 0px;
	margin-top: 0px;
	padding: 0;
	/*make sure fly out under main items*/
	position: absolute; 
	top: 100%;
	
}
	nav ul ul li {
		float: none; 
		border-top: 1px solid white;
		border-bottom: 1px solid white;
		position: relative;
		
		
	}
		
	nav ul ul li a {	
			
		}	
	nav ul ul li a:hover {
			background: #9081ba;/*pinkish*/
			color: #000;
			}
			
	nav ul ul ul {
	position: absolute; 
	left: 100%; 
	top:0;
}
