/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */

nav {
	height: 30px;
	width: 100%;
	font-size: 1em;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
	position: relative;

}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 400px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #006A00;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	}
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 {
      color:white!important;
	
}
nav a#pull {
	display: none;font-weight: bold; 
}





/*Styles for screen 515px and higher*/
@media screen and (min-width: 625px) {
	
	nav { display:none
  	}
}

/*Styles for screen 600px and lower*/
@media screen and (max-width:675px) {

   
	nav { 
  		height: auto;
		background:white;

  	}
  	nav ul {
  		width: 98%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 49%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
  	nav a {
	  	text-align: left;
	  	width: 98%;
	  	text-indent: 25px;
  	}
}


/*Styles for screen 515px and lower */
@media only screen and (max-width :715px) {

	

     nav {margin:0;
		border: none;

		}
	nav ul {
		display: none;
		height: auto;
		
	}
	nav a#pull {/*her sættes farverne på mobilbarren og menu*/
		display: block;
		width: 100%;
		position: relative;
		font-size:130%;
		color:#ffffff!important;
		background:#404040;

	}

	nav a#pull:hover {/*her sættes farverne på ordet menu*/
		color : #8080FF;
		text-decoration: none;

	}


	nav a#pull:after {
		content:"";
		background: url("nav-icon.png") no-repeat;background-position: left:70% 0%;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 25px;
		top: 8px; 
	}

}



/*Smartphone*/
@media only screen and (max-width : 480px) {



     nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		color:#000000; text-align:center;
		font-weight:bold;
		border-bottom: 1px solid #576979;
           
	}


}
