.clearfix {
	clear: both;
}

.wrap {
	width: 100%;
	margin: 0em auto;
}

nav {
	background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#ccc));
	background-image: linear-gradient(#fff, #ccc);
	border-radius: 60px;
	padding: 0 10px;
	position: relative;
	z-index:10000;
}

.menu{
	margin:0px;padding:0px;list-style:none;
}

.menu li {
	float: left;
	position: relative;
	min-width:12%;
	text-align: center;
}

.menu li a {
	color: #444;
	display: block;
	font-size: 14px;
	line-height: 20px;
	padding: 6px 12px;
	margin: 8px 8px;
	vertical-align: middle;
	text-decoration: none;
	z-index:10000;
}

.menu li a:hover {
	background: -webkit-gradient(linear, center top, center bottom, from(#ededed), to(#fff));
	background-image: linear-gradient(#ededed, #fff);
	border-radius: 12px;
	box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.1);
	color: #222;
	z-index:10000;
}

/* Dropdown styles */

.menu ul {
	position: absolute;
	left: -9999px;
	opacity: 0;
	transition: opacity 1s ease;
	margin:0px;padding:0px;list-style:none;
}

.menu ul li {
	float: none;
}

.menu ul a {
	white-space: nowrap;
}

/* Displays the dropdown on hover and moves back into position */
.menu li:hover ul {
	background: rgba(255,255,255,0.7);
	border-radius: 0 0 6px 6px;
	box-shadow: inset 0px 2px 4px rgba(0,0,0,0.4);
	left: 5px;
	opacity: 1;
	width:100%;
	min-width:120px;
}

/* Persistant Hover State */
.menu li:hover a {
	background: -webkit-gradient(linear, center top, center bottom, from(#ccc), to(#ededed));
	background-image: linear-gradient(#ccc, #ededed);
	border-radius: 12px;
	box-shadow: inset 0px 0px 1px 1px grba(0,0,0.5,1);
	color: #222;
}

.menu li:hover ul a {
	background: none;
	border-radius: 0;
	box-shadow: none;
}

.menu li:hover ul li a:hover {
	background: -webkit-gradient(linear, center top, center bottom, from(#eee), to(#fff));
	background-image: linear-gradient(#eee, #fff);
	border-radius: 12px;
	box-shadow: inset 0px 0px 1px 1px grba(0,0,0.5,1);
}


