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


#nav {
	width: 160px;
	font-weight:normal;
	position: absolute;
	top:30px;
	right:50px;
	font-size:18px;
	z-index:999;
}
#nav ul {
	padding: 0;
	margin: 0 auto;
	height: 40px;
}
#nav li {
	display: inline;
}
#nav a {
	color: #fff;
	display: inline-block;
	text-align: left;
	text-decoration: none;
	line-height: 40px;
	width:100%;
	padding:0px 0px 0 30px;
	text-shadow: 1px 1px 0px #283744;
}
#nav li a {
	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: #811a33;
	color:#FFF;
    -webkit-transition: background-color linear .3s;
    -moz-transition: background-color linear .3s;
    -o-transition: background-color linear .3s;
    -ms-transition: background-color linear .3s;
    transition: background-color linear .3s;
}
#nav a#pull {
	display: none;
}


.over {background-color: #811a33;}


@media screen and (max-width: 920px) {
	#nav { 
  		height: auto;
		background-color:#999;
  	}
  	#nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	#nav li {
  		width: 50%;
  		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: 25px;
		padding:0px !important;;
  	}
}


@media only screen and (max-width : 920px) {
	#nav {
		border-bottom: 0;
		top:0;
		left:0;
		width:100%;
	}
	#nav ul {
		display: none;
		height: auto;
	}
	#nav a#pull {
		display: block;
		background-color: #283744;
		width: 100%;
		position: relative;
	}
	#nav a#pull:after {
		content:"";
		background: url('nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}



@media only screen and (max-width : 320px) {
	#nav li {
		display: block;
		float: none;
		width: 100%;
	}
	#nav li a {
		border-bottom: 1px solid #576979;
	}
}