/* Clearfix */

@import url(http://fonts.googleapis.com/css?family=Open+Sans);

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */
body {

}
nav {
	height: auto;
	width: 100%;
	background: /*#43A6D5*/;
	font-size: 10pt;
	font-family: 'Open Sans', sans-serif;
/*	font-weight: bold;*/
	position: relative;
	border-bottom: 0px solid #283744;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	height: auto;
	float: right;
}
nav li {
	display: inline;
	
}
nav a {
	color: #FFF;
	display: inline-block;
	width:auto;
	text-align: center;
	text-decoration: none;
	line-height: 30px;
	padding:0px 14px;
	text-shadow: 0px 0px 0px #283744;
	background: #990000;
	border-radius:5px 5px 0 0 ;
	margin-left:2px;
	transition:all 0.5s ease;
}
nav li a {
	border-right: 1px solid #576979;
	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-color: #43A6D5;
	color:#FFFFFF;
}
nav a#pull {
	display: none;
}
.active {
	background-color: #43A6D5;
	color:#FFFFFF;
	line-height: 30px;
	padding:0px 10px;
	text-shadow: 0px 0px 0px #283744;
	border-radius:5px 5px 0 0 ;
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 100%;
  		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: 10px;
  	}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #990000;
		width: 100%;
		position: relative;
		float: left;
		padding:2px;
	}
	nav a#pull:after {
		content:"";
		background:url(nav-icon.png) no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		bottom:5px;
		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;
	}
}