/* Clearfix */

/*.clearfix2:before,
.clearfix2:after {
    content: " ";
    display: table;
}
.clearfix2:after {
    clear: both;
}
.clearfix2 {
    *zoom: 1;
}*/


/* Basic Styles */

nav {
	height: 40px;
	width: 100%;
	/*margin-top:20px;*/
	/*background: #455868;*/	
	background: #e7a900;
	font-size: 12px;
	/*font-family: 'PT Sans', Arial, sans-serif;*/
	font-weight: bold;
	position: relative;
	/*border-bottom: 2px solid #283744;*/
	border-bottom: 1px solid #83c0c0;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 960px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
	width:auto;
	
}
nav a {
	color: #fff;
	display: inline-block;
	/*width: 180px;*/
	
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	/*text-shadow: 1px 1px 0px #283744;*/
}
nav li a {
color: #fff;
padding: 0px 10px 0 10px;
	/*border-right: 1px solid #576979;*/
	/*border-right: 1px solid #83c0c0;*/
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

nav li a:active {
color: #fff;
background-color: #8c99a4;
}

nav li a:hover {
color: #fff;

}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	color: #fff;
	background-color: #8c99a4;
	/*background-color: #efc552;*/
}
nav a#pull {
	display: none;
}

/*Styles for screen 600px and lower*/ /*600px*/
@media screen and (max-width: 768px) {
	nav { 
  		height: auto;
		background: #455868;
		
  	}
  	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*/   /*480px*/
@media only screen and (max-width : 768px) {
	nav {
		border-bottom: 0;
		
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		color:#FFFFFF;
		/*background-color: #283744;*/
		background-color: #e7a900;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('../img/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}
}