nav{
	display: inline-block;
	overflow: hidden;
}

nav ul{
	background: #444;
	background: rgba(0,0,0,.2);
	-moz-border-radius: .5em;
	-webkit-border-radius: .5em;
	border-radius: .5em;
	-moz-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;
	-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;
	box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;
	display: inline-block;
	margin: 0;
	margin-bottom: 22px;
	margin-left: 15px;
	margin-top: 50px;
	padding: .7em;
}

nav li{
	float: left;
	list-style: none;
}

nav a{
	background: #c1c1c1;
	background: -moz-linear-gradient(#f5f5f5, #c1c1c1);
	background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#c1c1c1));
	background: -webkit-linear-gradient(#f5f5f5, #c1c1c1);
	background: -o-linear-gradient(#f5f5f5, #c1c1c1);
	background: -ms-linear-gradient(#f5f5f5, #c1c1c1);
	background: linear-gradient(#f5f5f5, #c1c1c1);
	border-color: #fff #ccc #999 #eee;
	border-style: solid;
	border-width: 1px;
	color: #555;
	display: inline-block;
	font: bold 1.1em/1 'trebuchet MS', Arial, Helvetica, Sans-Serif;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
	text-transform: uppercase;
	padding: .3em .8em;
}

nav a:hover, nav a:focus, nav a.current{
	background: #fac754;
	background: -moz-linear-gradient(#fac754, #f8ac00);
	background: -webkit-gradient(linear, left top, left bottom, from(#fac754), to(#f8ac00));
	background: -webkit-linear-gradient(#fac754, #f8ac00);
	background: -o-linear-gradient(#fac754, #f8ac00);
	background: -ms-linear-gradient(#fac754, #f8ac00);
	background: linear-gradient(#fac754, #f8ac00);
	color: #fff;
	outline: 0;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
}


nav a:active {
	box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
	-moz-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
	-webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
}
 
nav li:first-child a {
	border-left: 0;
	border-radius: 4px 0 0 4px;
	-moz-border-radius: 4px 0 0 4px;
	-webkit-border-radius: 4px 0 0 4px;         
}

nav li:last-child a {
	border-right: 0;
	border-radius: 0 4px 4px 0;
	-moz-border-radius: 0 4px 4px 0;
	-webkit-border-radius: 0 4px 4px 0;
}
