*{
	margin: 0;
	padding: 0;
	box-sizing: border-box; 
}		/* The width and height properties (and min/max properties) 
		includes content, padding and border, but not the margin */


div#wrapper{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
}

header{
	border-style: solid;
	flex-basis: 100%;
	padding: 10px;
}

footer{
	flex-basis: 100%;
	background-color: gray;
	color: #cccccc;
	padding: 10px;
}


.floating-box {
    width: 220px;
    height: 300px;
    border: 3px solid #73AD21; 
	margin-top: 8px;
	background-image: url("../bilder/landcruiser1.jpg");
	background-repeat: no-repeat;
}

nav div>a>img{
		position: absolute;
		right: 10px;
		z-index: 2;
		width: 30px;
		height: 30px;
}

#menyaapen{
	display: none;
}

#menyaapen:target{
		display:initial;
}

/* TOP MENU */

nav{
	flex-basis: 100%;
	background-color: #444444;
	padding-left: 10px;
}

nav ul {
	list-style:none;
	
}

nav ul li{
	display: block;
	
} 

nav ul li a{
	font-size:16pt;
	
	color: #cccccc;
	text-decoration: none;
	
}

/* DROP DOWN MENU */

nav ul li ul{
	display:none;
	position:absolute;
}

nav ul li:hover ul{
	display: block;
	background: #444444;
	border: 1px solid #cccccc;
	margin-left: 5px;
	
}

nav ul li ul li{
	display: block;
}

/*Visning ved 700px */

@media all and (min-width: 700px){
	div#wrapper{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		margin: 0 auto;
		max-width: 700px;
		justify-content: space-between;
	}
	
	#menylukket{
		display: none;
	}
	
	#menyaapen{
		display: initial;
	}
	
	nav{
		width: 100%;
		background-color: #444444;
		padding: 10px;
	}
	
	nav div>a>img{
		display: none;
	}
	
	nav ul li{
		display: inline-block;
		margin-right: 20px;
	}
}

	
