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

/* Basic Styles */
 
nav {
	background:#f25714;
	height: 42px;
	width: 100%;
	border-radius: 5px; 
	max-width:1008;
	font-size: 18px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:normal;
	margin:5px auto;
	 
}
nav ul {
	padding: 0;
	margin: 0 ;
	width: 936px;
	height: 43px;
	
	border-radius:0px;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	 
	color: #000;
	display: inline-block;
	width:auto;
	height:42px;
	padding:10px 30px 0px 30px;
	text-align: center;
	text-decoration: none;
	line-height: 20px;
	 
	-webkit-transition:all ease-in-out 300ms;
	-khtml-transition:all ease-in-out 300ms;
	-moz-transition:all ease-in-out 300ms;
	-ms-transition:all ease-in-out 300ms;
	-o-transition:all ease-in-out 300ms;
	transition:all ease-in-out 300ms;
	 
	 
	 
}
nav li a {
	margin-right:0px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a.active {
	background:#0381d8;
	color:#fff;
	border-radius: 5px;
}
nav a#pull {
	display: none;
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 800px) {
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 100%;
		height:40px;
  		float: left;
		background:url(../images/button.png) repeat-x;
		border-bottom:0px solid #000;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #fff;
		border-right: 0px solid #fff;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
		height:40px;
		border:none;
		font-size:26px;
		line-height:none;
		padding-top:8px;
	  	text-indent: 0px;
  	}
}

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

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