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

/* Basic Styles */

nav {
	height: 40px;
	width: 100%;
	font-size: 16px;
	font-family: 'museo_sans_rounded300';
	position: relative;
	text-transform:uppercase;
	
}
nav ul {
	padding: 0;
	margin: 0 auto;
	float:right;
	height: 40px;
	
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #979797;
	display: inline-block;
	padding-left:20px;
	padding-right:20px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	
	
}
nav li a {
	
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	
}
nav a:hover, nav a:active {
	background-image:url(images/menuborder.jpg);
	background-repeat:no-repeat;
}
nav a#pull {
	display: none;
	height:38px;
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 768px) {
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 599px) {
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #283744;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background:url(images/nav-icon.png) no-repeat;
		
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}

/*Smartphone*/
@media only screen and (max-width : 599px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
		border-right:none;
	}
	nav a{
			padding-left:0px;
			padding-right:0px;
	}
}