/* nav */
.nav {
	margin: 10px 0;
}
.nav ul {
	margin: 0;
	padding: 0;
}
.nav li {
	margin: 0 5px 5px 0;
	padding: 0;
	list-style: none;
	display: inline-block;
 *display:inline; /* ie7 */
}
.nav a {
	padding: 4px 8px;
	text-decoration: none;
	color: #aaa;
	line-height: 100%;
}
.nav a:hover {
	color: #000;
}
.nav .current a {
	background: #dedede;
	color: #fff;
}
/* right nav */
.nav.right ul {
	text-align: right;
}
/* center nav */
.nav.center ul {
	text-align: center;
}

@media screen and (min-width: 601px) {
.nav {
	padding: 5px 0 0;
	background: #f3f3f3;
	border: solid 1px #aaa;
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.nav a:hover {
	background: #dedede;
	color: #000;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}
nav li:first-child {
	padding-left: 4px;
}
.nav .current a:hover {
	color: #000;
}
}

@media screen and (max-width: 600px) {
.nav {
	position: relative;
	min-height: 40px;
}
.nav ul {
	width: 100%;
	padding: 5px 0;
	position: absolute;
	top: 0;
	left: 0;
	border: solid 1px #aaa;
	background: #fff url(../images/icon-menu.png) no-repeat 10px 9px;
	border-radius: 5px;
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.nav li {
	display: none; /* hide all <li> items */
	margin: 0;
}
.nav .current {
	display: block; /* show only current <li> item */
}
.nav a {
	display: block;
	padding: 5px 5px 5px 32px;
	text-align: left;
}
.nav .current a {
	background: none;
	color: #999;
}

/* on nav hover */
.nav ul:hover {
	background-image: none;
}
.nav ul:hover li {
	display: block;
	margin: 0 0 5px;
}
.nav ul li a:hover {
	color: #06e;
	background:#fbfbfb url(../images/menu-hover.png) no-repeat 10px 4px;
}

/* right nav */
.nav.right ul {
	left: auto;
	right: 0;
}
/* center nav */
.nav.center ul {
	left: 50%;
	margin-left: -90px;
}
}
