/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */

nav {
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	margin: 0 auto;
	height:25px;
}
nav ul {
	padding: 0;
	margin: 0 auto;
}
nav li {
	display: inline;
}
nav a {
	color: #000;
	display: inline-block;
	width: 120px;
	text-align: center;
	text-decoration: none;
}

nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	border-bottom: 3px solid #56256b;
}
nav a#pull {
	display: none;
}
.nav_selected {
	border-bottom: 3px solid #56256b;
}
.nav_selected a {
	border-bottom: 3px solid #56256b;
    text-decoration:none;
}
/*Styles for screen 600px and lower*/
@media screen and (max-width: 800px) {
	nav {
		border-bottom: 0;
		margin-top:15px;
	}
	nav ul {
		display: none;
		height: auto;
	}
  	nav li {
  		width: 100%;
  		float: left;
  		position: relative;
		border-bottom: 1px solid #fff;
		background-color:#ebebeb;
		padding:5px 0;
  	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
          border-bottom:none
  	}
	nav a:hover, nav a:active {
	border-bottom: none;
}
    .nav_selected {
	background-color: #56256b;
    color: #fff;
    border:none;
}
/*}

Styles for screen 515px and lower
@media only screen and (max-width : 480px) {*/
	nav {
		border-bottom: 0;
		margin-top:15px;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('../imgs/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	/*nav li a {
		border-bottom: 1px solid #56256b;
	}*/
}