#menu, #menu ul {
	margin: 0;
	padding: 0;
	list-style: none;

}

#menu {

/*background-color: #465C71;
border: 1px #4E667D solid;
color: #DDE4EC;
display: block;
line-height: 1.75em;
padding: 4px 15px;
text-decoration: none;
white-space: nowrap;*/

/*text-shadow: 0px 1px 0px rgba(255,255,255,.5);*/

/*text-shadow: 0px -1px 0px rgba(0,255,0,1);*/

	width: 100%;
	margin: 0px;
	/*border: 1px solid #222;*/
	background-color: #465C71;
	/*background-image: linear-gradient(#465C71, #DDE4EC);*/
	border-radius: 1px;
	/*box-shadow: 0 1px 1px #777;*/
}


	#menu:before,
	#menu:after {
		content: "";
		display: table;
	}

	#menu:after {
		clear: both;
	}

#menu {
	zoom: 0;
}


	#menu li {
		float: left;

		border-right: 5px solid #3A4F63;

		/*border-right: 1px solid #222;*/
		/*box-shadow: 1px 0 0 #444;*/
		position: relative;
	}

	#menu a {
		float: left;
		padding: 7px 30px;

		color: #DDE4EC;  /*changed this*/
		
		/*text-transform: uppercase;*/
		/*font: bold 12px Arial, Helvetica;*/
		font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif; 
		text-decoration: none;
		/*text-shadow: 0 1px 0 #000;*/

		border: 1px #4E667D solid;
	}

	#menu li:hover > a {
		color:#3A4F63;
		background-color: #bfcbd6;


		text-shadow: 0px 1px 0px rgba(255,255,255,.8);

		text-decoration: none;
	}

	#menu ul {
		margin: 20px 0 0 0;
		_margin: 0; /*IE6 only*/
		opacity: 0;
		visibility: hidden;
		position: absolute;
		top: 32px;
		left: 0;
		z-index: 1;
		background: #444;
		background: linear-gradient(#444, #111);
		box-shadow: 0 -1px 0 rgba(255,255,255,.3);
		border-radius: 3px;
		transition: all .2s ease-in-out;
	}

	#menu li:hover > ul {
		opacity: 1;
		visibility: visible;
		margin: 0;
	}

	#menu ul ul {
		top: 0;
		left: 150px;
		margin: 0 0 0 20px;
		_margin: 0; /*IE6 only*/
		box-shadow: -1px 0 0 rgba(255,255,255,.3);


	}

	#menu ul li {

	/*This is for the child menus*/

/* old way background-color: #465C71;
border: 1px #4E667D solid;
color: #DDE4EC;
display: block;
line-height: 1.75em;
padding: 4px 15px;
text-decoration: none;
white-space: nowrap;*/

/* add this */
/*color: red;*/  /*#DDE4EC;*/
background-color: #465C71;

		float: none;
		display: block;
		border: 0;
		_line-height: 0; /*IE6 only*/
		box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	}

		#menu ul li:last-child {
			box-shadow: none;

		}

	#menu ul a {
		padding: 7px;
		min-width: 100px;
		width: auto; /*130px;*/
		_height: 10px; /*IE6 only*/
		display: block;
		white-space: nowrap;
		float: none;
		text-transform: none;
	}

		#menu ul a:hover {
				color:#3A4F63;
		background-color: #bfcbd6;

		/*background-color:white;
			background-image: linear-gradient(#465C71,white);*/
		/*background-image: linear-gradient(#04acec, #0186ba);*/
			/*background-color: #0186ba;*/
		}

	#menu ul li:first-child > a {
		border-radius: 3px 3px 0 0;
	}

		#menu ul li:first-child > a:after {
			content: '';
			position: absolute;
			left: 40px;
			top: -6px;
			border-left: 6px solid transparent;
			border-right: 6px solid transparent;
			border-bottom: 6px solid #444;
visibility: visible;
		}

	#menu ul ul li:first-child a:after {
		left: -6px;
		top: 50%;
		margin-top: -6px;
		border-left: 0;
		border-bottom: 6px solid transparent;
		border-top: 6px solid transparent;
		border-right: 6px solid #3b3b3b;
	}

	#menu ul li:first-child a:hover:after {
		border-bottom-color: #04acec;

	}

	#menu ul ul li:first-child a:hover:after {
		border-right-color: #0299d3;
		border-bottom-color: transparent;
	}

	#menu ul li:last-child > a {
		border-radius: 0 0 3px 3px;
	}
