/* Responsive menu */
#menycontainer {min-height: 40px;}
#menycontainer a {padding: 10px 5px; font-size:1.0em;}

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


/* Basic Styles */

nav {
	height: 20px;
	width: 100%;
	position: relative;
	color:#000;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 800px;
	height: 20px;
}
nav li {
	display: inline;
	float: left;
	margin: 0;
}
nav a {
	color: #000;
	display: inline-block;
	min-width: 55px;
	text-align: center;
	text-decoration: none;
	line-height: 20px;
	font-size:1.1em;
	
}
nav li a {
}
nav li:last-child a {
	border-right: 0;
}

nav a#pull {
	display: none;
}

/*Stylefix for Portrait iPad*/
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) {
	#menycontainer ul {width: 98%;}
	#menycontainer a {padding: 10px 4px; font-size: .77em;}
	nav a {min-width:25px;}
}

/* Landscape Tablet */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) {
	#menycontainer ul {width: 98%;}
	nav a {min-width:45px;}
}



/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {
nav a:hover {border:none;}
	
	nav { 
  		height: auto;
		border-bottom: 0;
  	}
  	nav ul {
  		width: 100%;
  		display: none;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border:none;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
	nav a#pull {
		display: block;
		width: 100%;
		position: relative;
		font-family: 'Gill Sans MT','Gill Sans',Futura,Calibri,'Helvetica Neue',Arial,sans-serif;
		text-transform: uppercase;
		padding:10px 0;
		background: linear-gradient(to bottom,#fff 0%,#eaeaea 100%);
	}
	nav a#pull:after {
		content:"";
		background: url('/imgs/nav-icon-black.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;
	}
}