/* Clearfix */
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}

/* Basic Styles */
nav {
	display: block;
	width: 100%;
	position: relative;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	height: 60px;
}
nav li {
	display: inline;
	float: left;
}
@media (min-width: 1024px) {
	nav a {
	display: inline-block;
	padding: 0 20px 0 20px;
	text-align: center;
	text-decoration: none;
	line-height: 60px;
	}
}
@media (max-width: 1023px) {
	nav a {
	display: inline-block;
	padding: 0 0 0 0;
	width: 160px;
	text-align: center;
	text-decoration: none;
	line-height: 60px;
	}
}

nav a:hover, nav a:active {
	background-color: #1D1D1D;
}
nav a#pull {
	display: none;
}

@media only screen and (max-width : 1024px) {
	nav { 
  		height: auto;
  	}
	nav ul {
		width: 100%;
		display: none;
		height: auto;
	}
	nav li {
  		width: 100%;
  		float: left;
  		display: block;
  	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
  	}
	nav a#pull {
		display: block;
		width: 100%;
		position: relative;
		background-color: #1D1D1D;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
}