
nav ul ul {
	display: none;
}

nav ul li:hover > ul {
	display: block;
}



nav {
	display: block;
	position:relative;
	top: 10px;
	border: none;
	margin: 6px 120px 2px 120px;
	padding: 2px 4px 2px 4px;
}


@media only screen and (max-width: 1020px) {
	nav {
		margin: 6px 5px 2px 120px;
	}
}

nav ul {	
	padding: 0px;
	text-align: center;
	margin: 0 0 0 0;
	padding: 0px;
	min-width: 437px;
	list-style: none;
	position: relative;
	display: inline-table;
}
nav ul:after {
	content: ""; clear: both; display: block;
	}
	
nav ul li {
	/*float:left;	*/
	display:inline-block;
}



nav ul li:hover {
}

nav ul li:hover a {
	color: darkblue;
	padding: 4px 9px 4px 9px;
	/*background: #eeeeff;*/
	background: #bbbbff;
	z-index: 110;
}
nav ul ul li a:hover {
	background: #bbbbff;
	color: white;
	z-index:110;
}
nav ul li a:hover {
	color: white;
	z-index: 110;
}


nav ul li a {
	display: block;
	text-decoration: none;
	padding: 4px 9px 4px 9px;
	background: #eeeeff;
	color: darkblue;	
	box-shadow: 5px 5px 10px #333333;
	-moz-box-shadow: 5px 5px 10px #333333;
	-webkit-box-shadow: 5px 5px 10px #333333;
	margin: 6px 3px 0px 3px;
	border: none;
	font-size: 16px;
	list-style: none;
}

nav ul ul {
	padding: 0px;
	
	/* background bug */
	display: none;
    background: #eeeeff;
    background:rgba(255,255,255,0);
	
    list-style:none;

	float:none;
	min-width: 50px;
	
	position: absolute; 
	top: ;
	z-index:200;
	color: darkblue;
}

nav ul ul li {
	position: relative;
	/*float: left;*/
	display: block;
}

nav ul ul li a {
}	
nav ul ul ul {
	position: absolute; left: 100%; top:0;
}



/* the anchor has invisible padding (not a block) - it affects the hover-over range, but not eh visible padding.
	Use the nav ul li element for visible padding, and match it to the anchor's */





/* DROPDOWN MENU CODE */












/*
BACKGROUND BUG
--------------

IE7 doesn't work with the dropdown menus if there is no background colour set. So we set it to the same colour as the page - and then make it transparent for those borwsers that support transparency.
*/