/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}



/* Basic Styles */

nav {
	height: 35px;
	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: 35px;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #006A00;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 35px;line-height: 32px;
	border-top:1px solid gray
	}
nav li a {
	border-right: 1px solid #576979;

}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	background-image: url(form-skygge.jpg);background-repeat: repeat;
}
nav a#pull {
	display: none;font-weight: bold; 
}





/*Styles for screen 515px and higher*/
@media screen and (min-width: 515px) {
	
	nav { display:none
  	}
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {

   
	nav { 
  		height: auto;
		background:white;

  	}
  	nav ul {
  		width: 85%;
  		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 - OK*/
@media only screen and (max-width : 515px) {

     nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {/*her sættes farverne på mobilbarren*/
		display: block;
		color:white!important;
	      background:#000000;
		width: 100%;
		position: relative;
		font-size:130%;
		text-decoration:none;
		border-bottom:7px solid black;
		border-top:3px solid black;
	}
	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: 10px;
	}


}



/*Smartphone*/
@media only screen and (max-width : 480px) {



     nav li {
		display: block;
		float: none;
		width: 96%;
	}
	nav li a {
		color:#000000; 
		font-weight:bold;
		border-bottom: 1px solid #576979;
            border-right:none;

	}
}












