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

/* Basic Styles */


nav {
	height: 40px;
	width: 100%;
	background-color: #010203;
	xbackground-image: url('../img/interface/black-structure.png');
	xbackground-repeat:repeat-x;
	font-size: 11pt;
	font-family: 'pt-sans', Arial, sans-serif;
	font-weight: bold;
	position: fixed;
	color: #134e84;
	top:0;
	z-index: 200;
	border-bottom: 1px solid black;
	}

nav ul {
	padding: 0;
	margin: 0 auto;
	width: 800px;
	height: 40px;
}

nav li {
	display: inline;
	float: left;
}
nav a {
	color: #8c73ea;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
}

nav li a {
	border-left: 1px solid #8c73ea;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 1px solid #8c73ea;
}
nav li:first-child a {
	border-left: 1;
}
nav a:hover, nav a:active {
	background-color: #6e55cd;
	color: white;
}
nav a#pull {
	display: none;
}

/*Styles for screen 800px and lower*/
@media screen and (max-width: 798px) {
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
		display: none;
		height: auto;
  	}
  	nav li {
  		width: 50%;
  		width: 25%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #8c73ea;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 15px;
  	}
	nav a#pull {
		display: block;
		background-color: #010203;
		width: 100%;
		position: relative;
		padding-left: 35px;
	}
	nav a#pull:after {
		content:"";
		background: url('../img/interface/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		left: 15px;
		top: 10px;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		xdisplay: block;
		xfloat: none;
		xwidth: 100%;
		width: 50%;
	}
	nav li a {
		xborder-bottom: 1px solid #8c73ea;
	}
}
