nav { /*background behind menu*/
padding-top: 0px;
padding-left:0px;
	font-size:22px;
	font-family:"Times New Roman", Times, serif;
}

nav ul ul ul {
	display: none;
}

	nav ul ul li:hover > ul {
		display: block;
	}
nav ul {  /*controls the parent box*/
	z-index: 9000; 
	
	font-size:16px;
	color: white; /*border color*/
	border: 2px solid;
	border-bottom: 0px;
	background: #084D1E; /*Salem green*/
	background: linear-gradient(top, #009933 0%, #084D1E 100%);  
	background: -moz-linear-gradient(top, #009933 0%, #084D1E 100%); 
	background: -webkit-linear-gradient(top, #009933 0%, #084D1E 100%); 
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	padding: 0 20px;
	border-top-left-radius: 50px;  
	border-top-right-radius: 50px;
	list-style: none;
	position: absolute;
	display: inline-table;
}
	nav ul:after {
		content: ""; clear: both; display: block;
	}

nav ul li { /*controls each parent box*/
		height:18px;
	float: left;
}
	nav ul li:hover {
		background: white;
		background: linear-gradient(top, #ffffb2 0%, yellow 40%);
		background: -moz-linear-gradient(top, #ffffb2 0%, yellow 40%);
		background: -webkit-linear-gradient(top, #ffffb2 0%, yellow 40%);
	}
		nav ul li:hover a {
			color: #084D1E;
		}
	
	nav ul li a { /*controls the text*/
		display: block; padding: 0px 5px;
		color: white; text-decoration: none;
	}

nav ul ul {  /*controls each child box*/
	background: #5f6975; border-radius: 0px; padding: 0;
	position: absolute; top: 100%;
}
	nav ul ul li { /*Controls each parent box.  Change this when you change nav ul li*/
		height:18px;
		float: none; 
		border-top: 1px solid #6b727c;
		border-bottom: 1px solid #575f6a;
		position: relative;
	}
		nav ul ul li a { /*change this when you change nav ul li a*/
			padding: 0px 10px;
			color: #084D1E;
			background: white;
			background: linear-gradient(top, #ffffb2 0%, yellow 40%);
			background: -moz-linear-gradient(top, #ffffb2 0%, yellow 40%);
			background: -webkit-linear-gradient(top, #ffffb2 0%, yellow 40%);

			
		}	
			nav ul ul li a:hover {
				color: white;
				background: #084D1E; /*Salem green*/
				background: linear-gradient(top, #084D1E 0%, #bbbbbb 100%);  
				background: -moz-linear-gradient(top, #084D1E 0%, #bbbbbb 100%); 
				background: -webkit-linear-gradient(top, #084D1E 0%,#bbbbbb 100%);
			}

nav ul ul ul {
	position: absolute; left: 100%; top:0;
}

nav ul ul {
	display: none;
}

	nav ul li:hover > ul {
		display: block;
	}
