/*doctype css*/
:root {
	--darkColor: #B8411A;
	--brightColor: #D6532A;
}

/*TODO: remove var*/

@-ms-viewport {
	width: device-width;
}

* {
	box-sizing: border-box;
}

body {
	min-height: 320px;
	height: auto;
	min-width: 320px;
	width: auto;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	border: none;
	background-color: white;
	/*Text defaults:*/
	text-align: left;
	font-family: Roboto, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 1em;
	line-height: 1.1;
	color: black;
}

h1 {
	font-size: 1.52em;
	text-align: center;
	margin: 0.3em 0 0.5em 0;
	line-height: 1.4;
}

h2 {
	font-size: 1.3em;
	margin: 0.6em 0 0.3em 0;
	line-height: 1.4;
}

h3 {
	font-size: 1.2em;
	margin: 0.4em 0 0.2em 0;
	line-height: 1.4;
}

h4 {
	font-size: 1.0em;
	margin: 0.4em 0 0.2em 0;
	line-height: 1.4;
}

p {
	font-size: 1.05em;
	text-align: justify;
	margin: 0;
	line-height: 1.4;
}

.smallText {
	font-size: 0.9em;
}

a {
	text-decoration: none;
}

.blueLink {
	text-decoration: underline;
	color: #29ABE2;
	cursor: pointer
}

li {
	font-size: 1.05em;
	text-align: left;
	margin: 0;
	line-height: 1.4;
}

/*-------- Text modificator ---------*/
.bold {
	font-weight: bolder;
}

.thin {
	font-weight: 100;
}

.italic {
	font-style: italic;
}

.paragraph {
	margin-top: 0.3em;
}

.leftAlign {
	text-align: left;
}

.centerAlign {
	text-align: center;
}

/*-----------------------------------*/


header {
	background-color: var(--darkColor);
	background-image: url("./data/header_lowRes.jpg");
	background-repeat: no-repeat;
	background-position: 50% 10%;
	background-size: auto 100%;
	height: 70vh;
	width: 100%;
	display: table;
}

@media (min-aspect-ratio: 1000/587) {
	header {
		background-position: 50% 35%;
		background-size: 100% auto;
	}
}

@media (min-height: 587px),
(min-width: 1000px) {
	header {
		background-image: url("./data/header_midRes.jpg");
	}
}

@media (min-height: 1027px),
(min-width: 1750px) {
	header {
		background-image: url("./data/header_highRes.jpg");
	}
}

@media (min-height: 1467px),
(min-width: 2500px) {
	header {
		background-image: url("./data/header_ultraRes.jpg");
	}
}

#creditShutterstock {
	position: absolute;
	background-color: #00000050;
	padding: 0 1px 0 1px;
	color: #cccccc;
	top: 0;
	right: 0;
	font-size: 0.75em;
}


#titel {
	color: white;
	font-size: 3em;
	padding: 0 5% 1% 5%;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}

@media screen and (max-width: 19em) {
	#titel {
		font-size: 2em;
	}
}

#logoM {
	position: absolute;
	width: 230px;
	max-width: 90vw;
	margin: 15px;
}

#navbar {
	z-index: 100;
	background-color: #D6532A;
	width: 100%;
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	overflow: hidden;
	box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.6);
}

#navItemContainer {
	margin: 0 auto 0 auto;
	max-width: 890px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

#navLogo {
	flex-grow: 1;
	padding: 0 0 0 5px;
}

.navItem {
	cursor: pointer;
	margin: 5px;
	padding: 10px;
	color: white;
}

.navItem:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

#navPr {
	display: none;
}

@media screen and (min-width: 445px) {
	#navPr {
		display: block;
	}
}

#navVortraege {
	display: none;
}

@media screen and (min-width: 555px) {
	#navVortraege {
		display: block;
	}
}

#navThemen {
	display: none;
}

@media screen and (min-width: 670px) {
	#navThemen {
		display: block;
	}
}

#page {
	width: 100%;
	background-image: url("./data/stripe.svg");
	background-repeat: no-repeat;
	background-position: 50% 20%;
	background-size: 100% auto;
	padding: 35px 0;
	margin: -1px 0;
}

@media screen and (min-width: 900px) {
	#page {
		width: 900px;
		margin: -1px auto 0 auto;
	}
}

.content {
	background-color: white;
	width: 98%;
	padding: 15px 30px 30px 30px;
	margin: 0 auto 35px auto;
	box-shadow: 1px 4px 8px 1px rgba(0, 0, 0, 0.2), 1px 6px 20px 1px rgba(0, 0, 0, 0.19);
}

.verticalContentContainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: stretch;
}

.contentSmall {
	background-color: white;
	width: 300px;
	flex-grow: 1;
	padding: 15px 30px 30px 30px;
	margin: 15px;
	box-shadow: 1px 4px 8px 1px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 300px) {
	.contentSmall {
		width: 150px;
	}
}

.reviews {
	background-color: white;
	width: 300px;
	flex-grow: 1;
	padding: 10px 20px 10px 20px;
	margin: 7px;
	box-shadow: 1px 3px 6px 1px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 300px) {
	.reviews {
		width: 150px;
	}
}

.wide {
	width: 100%;
}

.contentImgSmall {
	background-color: white;
	width: 300px;
	flex-grow: 1;
	padding: 10px;
	margin: 15px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.quelle {
	font-size: 0.6em;
}

.noMarginBotton {
	margin-bottom: 0;
}

#vita {
	padding: 0 0 10px 0;
}

#interview {
	width: 100%;
	max-width: 340px;
	height: 360px;
}



#portrait {
	width: 100%;
}

#portraitHolder {
	width: 100%;
	float: left;
	margin: 5px 15px 10px 0;
	overflow: hidden;
}

#fireImg {
	float: right;
	margin: 0 0 10px 15px;
	width: 100%;
}

#stehendImg {
	float: left;
	margin: 0 15px 10px 0;
	width: 100%;
}

#zukunftTextImg {
	float: left;
	margin: 15px 25% 30px 25%;
	width: 50%;
}

@media screen and (min-width: 500px) {
	#portraitHolder {
		width: 200px;
		height: 230px;
	}

	#fireImg {
		width: 220px;
	}

	#stehendImg {
		width: 191px;
	}

	#zukunftTextImg {
		margin: 15px 15px 15px 15px;
		width: 220px;
	}
}

footer {
	background-color: #222222;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-content: center;
	padding-bottom: 30px;
}

.footerItem {
	cursor: pointer;
	margin: 15px;
	color: white;
	text-decoration: underline;
}

.firstFooter {
	margin: 0 auto 0 auto;
	padding: 10px;
}

.secondFooter {
	margin: 0 auto 0 auto;
	padding: 10px 0 0 0;
}

#ZukunftsmacherImg {
	margin: 0;
	padding: 6px;
	background-color: white;
	width: 7rem;
}


/*----- overlay content -----*/

#overlayBackground {
	display: none;
	z-index: 1000;
	background-color: #ffffff95;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

#overlayContentBox {
	z-index: 1001;
	background-color: white;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	position: fixed;
	width: 100%;
	height: 100%;
	min-width: 301px;

}

@media (min-width: 1050px) {
	#overlayContentBox {
		top: 2.5%;
		width: 1000px;
		height: auto;
		left: calc(50vw - 500px);
	}
}

#closeX {
	background-image: url("./data/closeX.svg");
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 100% 100%;
	cursor: pointer;
	position: absolute;
	height: 30px;
	width: 30px;
	right: 10px;
	top: 10px;
}

#closeX:hover {
	height: 40px;
	width: 40px;
	right: 5px;
	top: 5px;

}

.overlayContent {
	display: none;
}

.overlayHeadline {
	margin: 20px 30px 20px auto;
	text-align: center;
	font-size: 2em;
	/*changes has to here affect calc below*/
}

.overlayScrollbox {
	overflow-y: scroll;
	max-height: calc(100vh - 170px - 2em);
	margin: 30px 10px 60px 10px;
	padding: 0 1px 0 1px;
}

@media screen and (min-width: 500px) {
	.overlayScrollbox {
		margin: 30px 30px 75px 15px;
		padding: 0 30px 0 30px;
	}
}

.overlayCenterContent {
	background-color: #f7f7f7;
	padding: 15px;
	margin: 20px auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.overlayVerticalContentContainer {
	background-color: #D6532A;
	padding: 15px;
	margin: 20px auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: stretch;
}

.overlayContentSmall {
	background-color: white;
	width: 350px;
	flex-grow: 1;
	padding: 10px 25px 15px 25px;
}

.rightOverlayContentSmall {
	background-color: white;
	width: 200px;
	flex-grow: 1;
	padding: 10px 25px 15px 25px;
}

@media screen and (min-width: 889px) {
	.leftOverlayContentSmall {
		padding: 10px 0 15px 25px;
	}
}

#TermineInfobox {
	text-align: center;
	padding: 15px;
	margin: 0;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	background-color: #c7390a;
	color: white;
}

#zukunftsSalonImg {
	width: 100%;
}

#logoColor {
	max-width: 400px;
	margin-bottom: 10px;
}

#closeButton {
	cursor: pointer;
	position: absolute;
	height: 30px;
	width: 100px;
	font-size: 20px;
	text-align: center;
	padding: 4px;
	top: calc(100% - 50px);
	left: calc(50% - 50px);
	color: white;
	background-color: #B8411A;
}

#closeButton:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}