header {
	position: fixed;
	z-index: 2;
	top: 0;
	width: 100%;
	height: 50px;
	background: #eee;
}
@media (max-width:650px) {
	header {
		height: 50px;
	}
}

#g_nav {
	float: right;
}
@media (max-width:650px) {
	#g_nav {
		position: relative;
		display: block;
		top:0;
		left: 0;
		right: 0;
		width: 100%;
		height: 50px;
		overflow: hidden;
		z-index: 1;
	}
	
#g_nav:active, #g_nav:hover, #g_nav:focus {
		overflow: visible;
	}
}

header h1 {
	float: left;
	margin: 22px 0 0 10px;
}
@media (max-width:650px) {
	header h1 {
		float: none;
		position: absolute;
		top: 10px;
		left: 10px;
		margin: 0;
		z-index: 2;
	}
}

#g_nav > a {
	display: none;
}
@media (max-width:650px) {
	#g_nav > a {
		position: absolute;
		top:13px;
		right: 20px;
	}
	#g_nav:not( :target ) > a:first-of-type, 
	#g_nav:target > a:last-of-type {
            display: block;
            width: 23px;
            height: 24px;
            text-indent: -9999px;
            background-image: url(images/sp_nav.png);
            background-repeat: no-repeat;
            background-size: cover;
    }
}

@media (max-width:650px) {
	#g_nav > ul {
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 50px;
		background: rgba(240, 240, 240 ,0.9);
	}
	
	#g_nav:target > ul {
		display: block;
	}
}

#g_nav > ul > li {
	float: left;
	font-family: 'din_1451_stdmittelschrift';
	letter-spacing: 0.1em;
}
@media (max-width:650px) {
	#g_nav > ul > li {
		float: none;
		width: 100%;
	}
	
	#g_nav > ul > li:first-child {
		border-top: 2px solid rgba(255, 255, 255, 0.6);
	}
}

#g_nav ul li:hover {
	background-color: rgb(106, 215, 234);
}
@media (max-width:650px) {
	#g_nav ul li:hover {
		background-color: rgba(106, 215, 234, 0.5);
	}
}

#g_nav ul li a {
	display: block;
	padding: 0 24px;
	color: #222;
	height: 40px;
	line-height: 40px;
	font-size: 96%;
	text-decoration: none;
}
@media (max-width:650px) {
	#g_nav ul li a {
		height: 40px;
		line-height: 40px;
	}
}

#first_view {
	clear: both;
	text-align: center;
	position: fixed;
	top:50px;
	z-index: 0;
	height: 50px;
	width: 100%;
}
@media (max-width:650px) {
	#first_view {
		position: static;
		top:0;
	}
}