/* HEADER */
header {
	background-color:#fff;
	font-size:0;
	padding:0;
	position:fixed;
	z-index:100;
	width:100%;
	box-shadow:10px 10px 10px rgba(0,0,0,0.1);
}
#headerSpace {
	height:0;
}


#topImageBox {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	display:flex;
	align-items: center;
	justify-content: center;
}

.topHeaderText {
	font-family: 'Roboto Condensed', sans-serif;
	margin:0 40px;
	padding:40px;
	text-align:center;
	max-width:800px;
	width:100%;
	background-color:rgba(255,255,255,0.8);
	line-height:48px;
	font-size:30pt;
	color:#016db5;
	text-transform: uppercase;
	border-left:10px solid #f5a22c;
}

#kapitelbild {
	position:relative;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	height:500px;
}

header .headerBox {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row nowrap;
	max-width:1760px;
	margin:0 auto;
}
header #logo {
	flex: 0 0 330px;
	padding:30px 0;
}

header #naviBox {
	display:flex;
	flex: 1 1 100%;
	align-items: center;
	justify-content: right;
}

header #logo img {
	display:inline-block;
	width:100%;
	height:auto;
}

#headerTopBox {
	position:relative;
	overflow:hidden;
}


/* RESPONSIVE */
@media  only screen and (max-width: 980px) {
	header #naviBox {
		display:flex;
		flex: 1 1 100%;
		align-items: end;
		justify-content: right;
	}
	header #logo {
		flex: 0 0 250px;
		padding:15px 0;
	}
	#kapitelbild {
		height:400px;
	}

}

@media  only screen and (max-width: 840px) {
	.topHeaderText {
		margin:0 40px;
		padding:40px;
		max-width:500px;
		width:100%;
		line-height:34px;
		font-size:22pt;
	}
}

@media  only screen and (max-width: 630px) {
	.topHeaderText {
		margin:0 40px;
		padding:30px 40px;
		max-width:500px;
		width:100%;
		line-height:28px;
		font-size:16pt;
	}
	#kapitelbild {
		height:240px;
	}
}
