#navShell {
	display: table;
	margin-left: auto;
	margin-right: auto;
}
/* remove the list style */
#nav {
	margin: 8px 0 -2px 0;
	margin: 0.8rem 0 -0.2rem 0;
	padding: 0;
	list-style: none;
}
/* this is the parent menu */
#nav li {
	display: inline;
	margin: 0 1px;
}
#nav li a {
	padding: 8px 16px;
	padding: 0.8rem 1.6rem;
	height: 16px;
	height: 1.6rem;
	text-decoration: none;
	/*color:#fff;*/
	text-align: left;
}
#nav li a:hover {
	background: none;
	text-decoration: none;
	/*background-color: #fff;*/
}
#nav li .clear {
	display: none;
}
/* you can make a different style for default selected value */
#nav a.selected {
	/*color:#f00;*/
}
/* submenu, it's hidden by default */
#nav ul {
	position: absolute;
	left: 0;
	display: none;
	margin: 0 0 0 -1px;
	padding: 12px 0 12px 0;
	padding: 1.2rem 0 1.2rem 0;
	list-style: none;
	background: transparent;
	background-image: -webkit-linear-gradient(to bottom, rgba(40,41,43,0) 0%, rgba(40,41,43,1) 40px, rgba(40,41,43,1) 100%);
    background-image: -o-linear-gradient(to bottom, rgba(40,41,43,0) 0%, rgba(40,41,43,1) 40px, rgba(40,41,43,1) 100%);
    background-image: -moz-linear-gradient(to bottom, rgba(40,41,43,0) 0%, rgba(40,41,43,1) 40px, rgba(40,41,43,1) 100%);
    background-image: linear-gradient(to bottom, rgba(40,41,43,0) 0%, rgba(40,41,43,1) 40px, rgba(40,41,43,1) 100%);
	border-bottom: 2px solid #525254;
}
#nav ul li {
	/*font-family: 'Lato', sans-serif;
	letter-spacing: 0;
	text-transform: none;*/
	font-size: 14px;
	font-size: 1.4rem;
	width: 180px;
	width: 18rem;
	float: left;
	line-height: 1.2;
	/*border-top:1px solid #fff;*/
}
/* display block will make the link fill the whole area of LI */
#nav ul a {
	display: block;
	height: auto;
	padding: 8px 20px;
	padding: 0.8rem 2rem;
	/*color:#666;*/
}
#nav ul a:hover {
	/*text-decoration:underline;*/
}
/* fix ie6 small issue */
/* we should always avoid using hack like this */
/* should put it into separate file : ) */
*html #nav ul {
	margin:0 0 0 -2px;
}

#nav ul {
	visibility: hidden;
}
@media screen and (min-width: 1024px) {
	#nav {
		margin: 0;
	}
	#nav ul {
		visibility: visible;
	}
	/* make the LI display inline */
	/* it's position relative so that position absolute */
	/* can be used in submenu */
	#nav li {
		float: left;
		display: block;
		background: none;
		position: relative;
		z-index: 5000;
	}
	#nav li a {
		display: block;
	}
	#nav li .clear {
		display: block;
	}
}