/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */
#top-menu nav {
	width: 100%;
	/*background: #455868;*/
	font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
	position: relative;
	/*border-bottom: 2px solid #283744;*/
}
#top-menu nav ul {
	padding: 0;
	width: 1000px;
	height: 40px;
}
#top-menu nav li {
	display: inline;
	float: left;
}
#top-menu nav a {
	color: #fff;
	display: inline-block;
	/*width: 100px;*/
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #white;
	padding:10px;
	margin:5px;
	color:black;
	margin-bottom:0px;
	background:white;
	background:url(/static/50percent.png);
}
#top-menu nav li a {
	/*border-right: 1px solid #576979;*/
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
#top-menu nav li:last-child a {
	border-right: 0;
}
#top-menu nav a:hover, nav a:active {
	background-color: black;
	color:white;
}
#top-menu nav a#pull {
	display: none;
}

/*Styles for screen 600px and lower*/
@media (-webkit-min-device-pixel-ratio: 2),screen and (max-width: 900px) {
	#top-menu nav { 
  		height: auto;
  	}
  	#top-menu nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	#top-menu nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	#top-menu nav li a {
		/*border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;*/
	}
  	#top-menu nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
	  	padding:0px;
	  	margin:0px;
  	}
}

/*Styles for screen 515px and lower*/
@media (-webkit-min-device-pixel-ratio: 2),only screen and (max-width : 480px) {
	#top-menu nav {
		border-bottom: 0;
	}
	#top-menu nav a {
		padding:0px;
		margin:0px;
	}
	#top-menu nav ul {
		display: none;
		height: auto;
	}
	#top-menu nav a#pull {
		display: block;
		width: 100%;
		position: relative;
		font-size:1.8cm;
		padding-top: 40px;
		padding-bottom: 40px;
	}
	#top-menu nav a#pull:after {
		content:"";
		height: 60px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}

/*Smartphone*/
@media (-webkit-min-device-pixel-ratio: 2),only screen and (max-width : 320px) {
	#top-menu nav a {
		padding:0px;
		margin:0px;
	}
	#top-menu nav li {
		display: block;
		float: none;
		width: 100%;
		padding-top: 40px;
		padding-bottom: 40px;
	}
	#top-menu nav li a {
		font-size:1.8cm;
	}
}