body {
	font-size: 14px;
	line-height: 1.4em;
	font-family: 'Source Sans Pro', sans-serif;
	color: black;
	height: auto;
	min-height: 100%;
}

h1 {
	font-size: 1.75em;
	line-height: 1.2em;
	margin-bottom: 2.4em;
}

h2 {
	font-size: 1.5em;
	margin-bottom: 0.5em;
	line-height: 1.1em;
}

h3 {
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 0.5em;
}

p+h2 {
	margin-top: 2em;
}

h2+h3,
p+h3 {
	margin-top: 2em;
}

.red {
	color: #dd0000;
}

.contentText a {
	position: relative;
}

a:hover {
	color: #dd0000;
}

.contentText a:not([data-file]) {
}

.contentText a:not([data-file]):before,
a.arrow:before {
	content: '';
	background-image:url(../img/linkpfeil.svg);
	background-size: 18px;
	background-repeat: no-repeat;
	position: relative;
	display:inline-block;
	width: 18px;
	height: 14px;
	margin-left: 2px;
	padding-right: 8px;
}

.contentText a:not([data-file]):hover:before,
a.arrow:hover:before {
	background-image: url(../img/linkpfeil_hover.svg);
}


.topBar {
	display:none;
	/*
	position: absolute;
	top: 0;
	left: 0;
	width: 126px;
	height: 10px;
	background-color: #dd0000;
	z-index: 10;
	*/
}

.logo {
	width: 130px;
	position: relative;
	margin: 0 0 0 -8px;
	padding-top: 15px;
}

.logo img {
	display:block;
	height: auto;
	width: 100%;
}

.mainHeader,
.mainContainer,
.mainFooter {
	position: relative;
	padding-left: 25px;
	padding-right: 25px;
}

.mainHeader {
	position: absolute;
	top: 0;
	left: 0;
	padding-top: 0;
	z-index: 1;
	width: 100%;
	height: 124px;
	background-color: #6D1D1D;
}

.mainHeader .addressColumn {
	display:none;
}

.mainContainer {
	padding-top: 120px;
}

.columns {
	position: relative;
}

.column {
	opacity: 1;
	margin-bottom: 4em;
	position: relative;
}

.column.hidden {
	opacity: 0;
}

.column .entry {
	margin-bottom: 3em;
}

.slides {
	margin-bottom: 9em;
}

.mainFooter {
	position: relative;
	background-color: #d8d8d8;
	padding-bottom: 2em;
	padding-top: 2em;
	margin-left: -25px;
	margin-right: -25px;
}

.mainFooter .copyright {
	background-color: white;
	text-align: center;
	display:block;
	padding: 0.5em 25px;
	margin: 2em -25px -2em -25px;
}

.jumpTopButton {
	position: absolute;
	right: 40px;
	top: 2em;
}

.impressumLink:after {
	content: '|';
	padding-left: 1em;
	padding-right: 1em;
}

.jumpTopButton,
[data-file] {
	background-color: #dd0000;
	color: white;
	display:inline-block;
	padding: 0.5em 0.8em;
	border-radius: 8px;
	margin-bottom: 10px;
	transition: background-color 0.3s ease;
	font-size: 14px;
}

.jumpTopButton:hover,
[data-file]:hover {
	background-color: black;
	color: white;
}

[data-file]:last-of-type {
	margin-bottom: 0;
}

.entryType {
	color: #dd0000;
}

.slides {
	position: relative;
	width: 100%;
	padding-bottom: 66.6666%;
	cursor:pointer;
}

.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: white;
	opacity: 0;
	transition: opacity 1s ease;
}

.slide.active {
	opacity: 1;
}

.slide img.landscape {
	width: 100%;
}

.slides img.portrait {
	height: 100%;
}

.overviewMode .slides img.portrait {
	width: 100%;
	height: auto;
}

.slideCaption {
	font-size: 0.9em;
	height: 8em;
}

.slideCaption span {
	display:block;
}

.slideCaption .area {
	display:none;
}

.hoverIcon {
	opacity: 0;
	position: absolute;
	display:block;
	top: 35px;
	left: 35px;
	width: 60px;
	padding-bottom: 35px;
	transition: opacity 0.3s ease;
	background-image: url(../img/galleryIcon2.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
}

.slides:hover .hoverIcon {
	opacity: 1;
}

.overviewMode {
	right: 0;
	transition: width 0.3s ease;
}

.overviewMode .closeButton {
	position: absolute;
	top: -50px;
	right: 0;
	width: 40px;
	height: 40px;
	background-image: url(../img/closeButton.svg);
	background-size: 30px;
	background-position: center;
	background-repeat: no-repeat;
	cursor:pointer;
}

.overviewMode .slides {
	padding-bottom: 0;
	cursor:default;
}

.overviewMode .slide {
	position: relative;
	opacity: 1;
	margin-bottom: 3em;
}

.overviewMode .hoverIcon,
.overviewMode:hover .hoverIcon {
	display:none;
}


.onHome,
.publishDate {
	display:none;
}

.newsType {
	color: #dd0000;
}

body:not(.inEditMode) div.excerpt {
	display:none;
}


/* tablet & higher */
@media only screen and (min-width: 768px) {
	body {
		margin: 0 auto;
		height: 100%;
		min-height: auto;
	}

	.mainHeader,
	.mainContainer,
	.mainFooter{
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.mainContainer {
		padding-top: 200px;
	}
	
	.mainFooter {
		margin-left: -40px;
		margin-right: -40px;
	}
	
	.mainHeader {
		height: 177px;
	}

	/*
	.topBar {
		position: absolute;
		width: 210px;
		height: 15px;
	}
	*/
	
	.logo {
		width: 170px;
		padding-top: 30px;
	}
	
	.contentTitle {
		overflow: visible;
		white-space: nowrap;
		position: absolute;
		top: 0;
		z-index: 2;
	}
	
	.firstColumn,
	.secondColumn {
		padding-top: 5.5em;
	}
	
	.columns {
		position: relative;
	}
	
	.slidesColumn {
		margin-bottom: 0;
	}
	
	.column {
		float:left;
		width: 31%;
		margin-right:3%;
	}
	
	.column:last-of-type {
		margin-right: 0;
	}
	
	.column.double {
		width: 64%;
		margin-right: 4%;
	}
	
	.column.double .contentText {
		font-size: 1.2em;
		line-height: 1.4em;
	}
	
	.mainFooter .copyright {
		margin: 2em -40px -2em -40px;
	}
	
	.overviewMode {
		position: absolute;
		width: 100%;
		margin-right: 0;
		outline: 40px solid white;
		z-index: 20;
		background-color: white;
	}
	
	.overviewMode .slide {
		width: 48%;
		float:left;
		margin-right: 4%;
	}
	
	.overviewMode .slide:nth-child(even) {
		margin-right: 0;
	}

	
}

@media only screen and (min-width: 1200px) {
	body {
		font-size: 16px;
	}
	
	.mainHeader {
		position: absolute;
		padding-bottom: 48px;
		padding-right: 20px;
		z-index: 2;
		min-height: 100vh;
		color: white;
		width: 220px;
		height: 100%;
	}
	
	.mainHeader a {
		color: inherit;
	}
	
	.logo {
		position: absolute;
		width: 150px;
	}
	
	.mainContainer {
		position: relative;
		padding-top: 28px;
		padding-bottom: 40px;
		width: 100%;
		height: auto;
	}
		
	.mainHeader .addressColumn {
		display:block;
		margin-top: 20.3em;
	}
	
	.home .mainHeader .addressColumn {
		margin-top: 2.9em;
	}

	.columns {
		margin-left: 220px;
		max-width: 1400px;
		min-height: 100%;
	}
	
	.column.double {
		width: 50%;
		margin-right: 6%;
	}
	
	.slidesColumn {
		width: 44%;
	}
	
	.overviewMode {
		width: 100%;
	}

	.mainFooter {
		position: absolute;
		background-color: transparent;
		width: calc(100% - 80px);
		margin: -1em 0 0 0;
		padding: 0 0 2em 0;
	}
	
	.mainFooter .addressColumn {
		display:none;
	}
	
	.mainFooter .copyright {
		text-align: center;
		padding: 0;
		margin: 0;
		background-color: transparent;
	}
	
	.jumpTopButton {
		display:none;
	}
	
	.jumpTopButton,
	[data-file] {
		font-size: 16px;
	}
	
}


/* login stuff */

 /* desktop */
@media only screen and (min-width: 768px) {

	.loginDiv {
		max-height: 0;
		overflow:hidden;
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		font-size: 14px;
		transition: max-height 0.3s ease;
		z-index: 20;
		background-color: black;
	}
	
	.loginDiv.open {
		max-height: 50px;
	}

	.showLoginButton {
		position: absolute;
		z-index: 20;
		display:block;
		width: 20px;
		height: 20px;
		cursor: pointer;
	}
	
	.loginDiv input,
	.loginDiv button {
		background-color: black;
		color: white;
		margin: 0;
		padding: 6px 12px 8px 12px;
		border-radius: 0;
		width: 105px;
	}
	
	.loginDiv input {
		background-color: #333;
	}
	
	.passwordInput {
		outline:none;
	}
	
	.loginButton {
		cursor:pointer;
	}
	
	.loginButton:hover {
		background-color: #444;
	}
	
	.notices {
		display:inline-block;
	}
	
	.adminNotice {
		padding-left: 10px;
		opacity: 0;
		color: white;
		transition: opacity 0.3s ease;
	}
	
	.adminNotice.active {
		opacity: 1;	
	}
	
}