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

/* Basic Styles */
 
nav {
	 
	height:40px;
	width: 96%;
	max-width:1008px;
	font-size: 18px;
    z-index:9999;
	font-family:Palatino Linotype;
	font-weight:normal;
	margin:0px auto;
	 
	 
}
nav ul {
	padding: 0;
	margin: 0 ;
	width: 1008px;
	height: 40px;
	border-radius:0px;
	z-index:9999;
}
nav li {
	display: inline;
	float: left;
	margin-right:0px;
	margin-left:5px;
	z-index:9999;
}
nav a {
	background:url(../images/buttonback.jpg) repeat-x;
	border:2px solid #FFF;
	font-family:"Century Gothic";
	font-weight:bold;
	border-radius: 10px;
	color: #144e6f;
	display: inline-block;
	width:auto;
	height:40px;
	padding:7px 15px 0px 15px;
	text-align: center;
	text-decoration: none;
	line-height: 20px;
	z-index:9999;
	 
	 
	 
	 
}

nav li a {
	margin-right:0px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	z-index:9999;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a.active {
	background:url(../images/button.jpg) repeat-x;
	color:#5a2929;
	border-radius: 10px;
}
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:30px;
  		float: left;
		background:url(../images/button.png) repeat-x;
		border-bottom:0px solid #000;
  		position: relative;
		margin-left:0px;
  	}
  	nav li a {
		border-bottom: 1px solid #fff;
		border-right: 0px solid #fff;
		 
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
		height:30px;
		border:none;
		font-size:16px;
		line-height:none;
		padding-top:4px;
	  	text-indent: 0px;
		font-weight:bold;
		 
  	}
	
}

/*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;
		color:#FFF;
		width:auto;
		height:30px;
		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;
	}
	
	 
}