@font-face {
	font-family: helveticaNeueLight;
	src: url(../font/HelveticaNeue-Light.otf);
}

html {
	height: 100%;
}

body {
	margin: 0;
	font-family: helveticaNeueLight;
	font-size: 16px;
}

/*
#blocker {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	background: #fff;
	display: flex;
}

#blocker .blocker_content {
	margin: auto;
	text-align: center;
}

#spinner {
	color: #555;
	-webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-moz-keyframes spin {
	100% {
		-moz-transform: rotate(360deg);
	}
}
@-webkit-keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
	}
}
@keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
		transform:rotate(360deg);
	}
}
*/

#header {
	position: fixed;
	width: 100%;
	height: 100%; /*- start height */
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #000;
}

#headerImage {
	flex: 1;
	background: url(../resources/header.jpg);
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center 7%;
}

#navigation {
	border-bottom: 1px solid #000;
	background: #fff;
	box-shadow: 0px 10px 20px #777;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

#navigation li {
	display: inline;
}

#navigation li a {
	display: inline-block;
	font-size: 1.2em;
	text-decoration: none;
	color: black;
	padding: 10px 20px;
	vertical-align: bottom;
}

#smallmenu {
	display: none;
	float: right;
	margin-top: 40px;
}

#smallmenu i {
	font-size: 1.3em;
}

#menuitems_blocker {
	position: fixed;
	z-index: -1;
	top: 85px;
	left: 0;
	right: 0;
	bottom: 0;
}

#menuitems {
	display: none;
	position: fixed;
	z-index: 2;
	background: rgba(0, 0, 0, .8);
	top: 85px;
	left: 0;
	right: 0;
	padding: 10px 20px;
	text-align: right;
}

#menuitems li {
	display: block;
}

#menuitems li a {
	padding: 5px !important;
	color: white;
}

@media (max-width: 850px) {
	#navigation li a {
		padding: 10px !important;
	}
}

@media (max-width: 700px) {
	#bigmenu {
		display: none;
	}
	
	#smallmenu {
		display: inline;
	}
}

.logo {
	display: inline-block;
	width: 150px;
	height: 84px;
	background-image: url('../resources/kb_logo.jpg');
	background-repeat: no-repeat;
	background-size: 150px;
	padding: 0 10px;
	vertical-align: middle;
}

#down {
	width: 100%;
	position: absolute;
	bottom: 0px;
	text-align: center;
	color: #fff;
}

#nextElementFix {
	width: 100%;
	padding-top: 100%; /*- set same as "start height" */
}

#content {
	padding: 0 30px;
}

@media (max-width: 700px) {
	#content {
		padding: 0px 10px !important;
	}
}

#content a.anchor {
    display: block;
    position: relative;
    visibility: hidden;
}

h1 {
	margin: 0;
}

h2 {
	font-size: 1.1em;
}

section {
	padding: 30px;
	border-bottom: 1px solid #aaa;
}

@media (max-width: 700px) {
	section {
		padding: 20px !important;
	}
}

section:last-child {
	border-bottom: 0;
}

div.columns {
	display: -webkit-flex;		/* Safari */
    -webkit-flex-wrap: wrap;	/* Safari 6.1+ */
	display: flex;
	flex-wrap: wrap;
}

div.columns div:nth-child(1) {
	flex: 2 1 300px;
	padding-right: 40px;
}

div.columns div:nth-child(2) {
	flex: 3 0 500px;
}

@media (max-width: 700px) {
	div.columns div:nth-child(2) {
		flex: 3 0 300px;
	}
}

img.box {
	border: 1px solid #999;
	width: 100%;
}

img.flyer {
	max-width: 400px;
}

img.flyer-full {
	max-width: 100%;
}

img.portrait {
	max-width: 100%;
}

@media (min-width: 701px) {
	div.portrait-container {
		display: -webkit-flex;		/* Safari */
		display: flex;
	}
	
	div.portrait-container div:nth-child(1) {
		flex: 1;
		padding-right: 40px;
	}

	div.portrait-container div:nth-child(2) {
		width: 40vw;
	}
}

dl dt {
	font-weight: bold;
}

dl dt,
dl dd {
	padding: 2px;
}

.archiv .jahr h2 {
	background: #ccc;
	padding: 5px 10px;
	margin: 10px 0 0 0;
}

.archiv .jahr h2 i {
	width: 20px;
}

div.archiv div.jahr dl {
	display: none;
	border: 1px solid #ccc;
	margin: 0;
	padding: 10px;
}

div.contact h2 {
	margin: 0 0 5px 0;
}

div.contact p {
	margin: 0 0 2px 0;
}

div.contact i {
	width: 20px;
}

.error {
	color: red;
}

.success {
	color: green;
}
