/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
:root {
	--white: #f4faff;
	--copy: #1c2541;
	--redorange: #c8461b;
	--petrol: #247ba0;
}

html {
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

@font-face {
    font-family: 'Meta';
    src: url('MetaPro-Book.eot');
    src: local('MetaPro-Book'),
        url('../font/MetaPro-Book.eot?#iefix') format('embedded-opentype'),
        url('../font/MetaPro-Book.woff2') format('woff2'),
        url('../font/MetaPro-Book.woff') format('woff'),
        url('../font/MetaPro-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Meta Bold';
    src: url('MetaPro-Bold.eot');
    src: local('MetaPro-Bold'),
        url('../font/MetaPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('../font/MetaPro-Bold.woff2') format('woff2'),
        url('../font/MetaPro-Bold.woff') format('woff'),
        url('../font/MetaPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
	background: var(--white);
	color: var(--copy);
	font-size: 20px;
	font-family: Meta,verdana,lucida,arial,helvetica,sans-serif;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Meta Bold", Helvetica, Arial, sans-serif;
	word-break: break-word;
	line-height: 1.4;
}

h1 {
	font-size: 1.8em;
	margin: 1em 0 0.67em;
	line-height: 1.2;
}

h2 {
	font-size: 1em;
	margin: 0 0 24px;
	display: inline-block;
	padding: 0 .5em 24px;
	margin-left: -.5em;
	font-family: Meta,verdana,lucida,arial,helvetica,sans-serif;
	background-position: bottom left;
	background-repeat: repeat no-repeat;
	background-image: url('data:image/svg+xml;charset=utf8,\     <svg height="24" width="660" xmlns="http://www.w3.org/2000/svg"> <polyline points="2,0 2,19 19,2 660,2" style="fill:none;stroke:%23e64325;stroke-width:4;stroke-linejoin:miter" /> Sorry, your browser does not support inline SVG. </svg>\ ');
}

h3 {
	font-size: 1.5em;
	margin: 0 0 .7em;
}

h4 {
	font-size: 1.5em;
	margin: 0;
}

h5 {
	font-size: 14px;
	margin: 15px 0;
}

p {
	margin: 0 0 1em;
}

b, strong {
	font-family: "Meta Bold", Helvetica, Arial, sans-serif;
}

a.tooltip {
	border-bottom: 3px dashed var(--petrol);
	color: var(--copy);
}

.tooltip + div {
	display: none;
}

.featherlight .featherlight-content {
	background: #f4faff !important;
	padding-top: 50px !important;
}

.featherlight .featherlight-close-icon {
	line-height: 50px !important;
	width: 50px !important;
	background: none !important;
	color: var(--petrol) !important;
	font-size: 2em;
}

.featherlight .featherlight-content {
	width: 80vw;
	top: 10vh;
	position: absolute !important;
	left: 10vw;
	max-height: 80vh !important;
	margin: 0 !important;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

ul {
	margin: 0;
	padding: 0 0 1em 1em;
	list-style: disc;
}

ul li {
	margin: 0;
	padding-left: 1em;
}

::marker {
	color: var(--redorange);
}

p + ul {
	margin-top: -1em;
}

li > ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}

table, th, td {
	border-collapse: collapse;
}

td {
	border-bottom: 2px solid var(--ice);
	padding: 1em .5em;
	vertical-align: bottom;
}

form .half {
	padding: 0;
	width: calc(50% - .5em);
}

form .half:first-child {
	margin-right: 1em;
}

form label {
	width: 100%;
	display: block;
}

input, textarea {
	border: 1px solid var(--redorange);
	border-radius: 0;
	width: 100%;
	padding: .5em;
	font-size: 1em;
	background-color: var(--white);
	line-height: 1.8;
	font-family: Meta,verdana,lucida,arial,helvetica,sans-serif;
}

textarea {
	resize: vertical;
}

input[type="submit"] {
	color: var(--redorange);
	font-weight: bold;
	border-width: 3px;
	background-color: var(--white);
	margin-top: 1rem;
	transition: 300ms;
	border-radius: 0;
	cursor: pointer;
}

input[type="submit"]:hover {
	font-family: "Meta Bold", Helvetica, Arial, sans-serif;
	font-size: 1.1em;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
	background: transparent;
	text-decoration: none;
	border-bottom: 2px solid var(--petrol);
	color: var(--petrol);
	transition: 300ms;
}

main a:hover, main a:focus, main a:active {
	border-bottom-style: solid;
	font-family: "Meta Bold", Helvetica, Arial, sans-serif;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

a.screenreader {
	padding: .5em;
	color: white;
	background: var(--darkgrey);
	-webkit-transition: top .5s ease-out;
	transition: top .5s ease-out;
	z-index: 100;
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	line-height: 1;
	font-size: 1.2em;
	padding: .5em 1em;
}

a.screenreader:focus {
  position: static;
  width: auto;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
	a.screenreader a {
		transition-duration: 0.001ms !important;
	}
}

section a.button {
	border: 3px solid var(--redorange);
	color: var(--redorange);
	padding: .5em;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

/* Header Navigation
--------------------------------------------------------------*/
header {
	position: fixed;
	z-index: 1;
}

.site-logo {
	border-bottom: none;
	display: block;
	max-width: 200px;
}

.main-navigation {
	display: block;
	width: 100%;
}

/* navigation */
.nav-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.second-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: .8em;
}

.menu-item {
	padding: .2em 0;
}

.nav-menu .menu-item {
	margin: 0 .5em .5em 0;
}

.nav-menu a {
	background-color: var(--white);
	padding: .2em .5em;
	border: 1px solid var(--copy);
	color: var(--copy);
}

.menu.active {
	margin: -1em -70px 0 -1em;
	overflow: scroll;
	max-height: calc(100vh - 100px);
}

nav a:hover{
	color: var(--redorange);
}

.nav-menu a.active-menu {
	border: 2px solid var(--redorange);
	background-color: var(--redorange);
	color: var(--white);
}

.active-menu::before {
	display: block;
	content: "";
	border-left: 15px solid var(--redorange);
	border-right: 0;
	border-bottom: 15px solid transparent;
	position: absolute;
}

@media screen and (max-width: 767px), (max-height: 640px) {
	.site-logo {
		top: 10px;
		left: 10px;
		position: relative;
	}

	.nav-menu {
		display: flex;
		max-width: 100vw;
		flex-wrap: wrap;
	}

	.second-menu li {
		margin: 0;
	}
	.second-menu a {
		color: #fff;
	}

	/* Small menu. */
	#primary-menu {
		display: none;
		right: -100vw;
		top: 50px;
		position: fixed;
		overflow: scroll;
		list-style: none;
		width: 100vw;
		padding: 10px 20px;
		z-index: 100;
		height: calc(100vh - 170px);
	}

	.menu-toggle {
		border: 0;
		cursor: pointer;
		position: fixed;
		left: calc(100vw - 60px);
		top: 10px;
		margin: 0;
		background-color: var(--copy);
		padding: 15px;
		z-index: 10;
	}

	.toggled {
		top: 0;
		height: 100vh;
		transition: 300ms;
	}

	.navTrigger i {
		content: '';
		display: block;
		background: var(--white);
		width: 30px;
		height: 3px;
		margin: 6px 0;
		border-radius: 2px;
	}

	.navTrigger i:nth-child(1) {
		-webkit-animation:outT 0.8s backwards;
		animation:outT 0.8s backwards;
		-webkit-animation-direction:reverse;
		animation-direction:reverse;
	}
	.navTrigger i:nth-child(2) {
		margin: 5px 0;
		-webkit-animation:outM 0.8s backwards;
		animation:outM 0.8s backwards;
		-webkit-animation-direction:reverse;
		animation-direction:reverse;
	}
	.navTrigger i:nth-child(3) {
		-webkit-animation:outBtm 0.8s backwards;
		animation:outBtm 0.8s backwards;
		-webkit-animation-direction:reverse;
		animation-direction:reverse;
	}

	.navTrigger.active i:nth-child(1) {
		-webkit-animation:inT 0.8s forwards;
		animation:inT 0.8s forwards;
	}

	.navTrigger.active i:nth-child(2) {
		-webkit-animation:inM 0.8s forwards;
		animation:inM 0.8s forwards;
	}

	.navTrigger.active i:nth-child(3) {
		-webkit-animation:inBtm 0.8s forwards;
		animation:inBtm 0.8s forwards;
	}

	@-webkit-keyframes inM{
	50%{-webkit-transform:rotate(0deg);}
	100%{-webkit-transform:rotate(45deg);}
	}
	@keyframes inM{
	50%{transform:rotate(0deg);}
	100%{transform:rotate(45deg);}
	}

	@-webkit-keyframes outM{
	50%{-webkit-transform:rotate(0deg);}
	100%{-webkit-transform:rotate(45deg);}
	}
	@keyframes outM{
	50%{transform:rotate(0deg);}
	100%{transform:rotate(45deg);}
	}

	@-webkit-keyframes inT{
	0%{-webkit-transform: translateY(0px) rotate(0deg);}
	50%{-webkit-transform: translateY(9px) rotate(0deg);}
	100%{-webkit-transform: translateY(9px) rotate(135deg);}
	}
	@keyframes inT{
	0%{transform: translateY(0px) rotate(0deg);}
	50%{transform: translateY(9px) rotate(0deg);}
	100%{transform: translateY(9px) rotate(135deg);}
	}

	@-webkit-keyframes outT{
	0%{-webkit-transform: translateY(0px) rotate(0deg);}
	50%{-webkit-transform: translateY(9px) rotate(0deg);}
	100%{-webkit-transform: translateY(9px) rotate(135deg);}
	}
	@keyframes outT{
	0%{transform: translateY(0px) rotate(0deg);}
	50%{transform: translateY(9px) rotate(0deg);}
	100%{transform: translateY(9px) rotate(135deg);}
	}

	@-webkit-keyframes inBtm{
	0%{-webkit-transform: translateY(0px) rotate(0deg);}
	50%{-webkit-transform: translateY(-9px) rotate(0deg);}
	100%{-webkit-transform: translateY(-9px) rotate(135deg);}
	}
	@keyframes inBtm{
	0%{transform: translateY(0px) rotate(0deg);}
	50%{transform: translateY(-9px) rotate(0deg);}
	100%{transform: translateY(-9px) rotate(135deg);}
	}

	@-webkit-keyframes outBtm{
	0%{-webkit-transform: translateY(0px) rotate(0deg);}
	50%{-webkit-transform: translateY(-9px) rotate(0deg);}
	100%{-webkit-transform: translateY(-9px) rotate(135deg);}
	}
	@keyframes outBtm{
	0%{transform: translateY(0px) rotate(0deg);}
	50%{transform: translateY(-9px) rotate(0deg);}
	100%{transform: translateY(-9px) rotate(135deg);}
	}

	#mobile-menu-shadow {
		position: relative;
		width: 100vw;
		height: 100vh;
		background-color: var(--petrol);
		top: -119px;
		left: 0;
		display: none;
	}

}

@media screen and (max-width: 1179px) {

	.accessibility-toolbar {
		left: 100vw;
		position: fixed;
		top: 0;
		z-index: 1;
	}

	.accessibility-toggle {
		position: absolute;
		right: 0;
		top: 80px;
	}

	#accessibility-toggle-link {
		width: 50px;
		height: 50px;
		display: block;
	}

	#barriere {
		right: -250px;
	}

	.sr-only {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
	}
}

#barriere {
	position: fixed;
	top: 140px;
	background-color: var(--redorange);
	padding: 0 .5em;
	z-index: 1;
	transition: 300ms;
}

#barriere::after {
	display: block;
	content: "";
	border-left: 1.5em solid var(--redorange);
	border-right: 0;
	border-bottom: 1em solid transparent;
	position: relative;
	top: .9em;
	left: -.5em;
}

#barriere a {
	color: var(--white);
	font-weight: bold;
	border-bottom: none;
	font-size: .9em;
}

.barriere-melden span {
	border: 1px solid var(--white);
	padding: .2em;
}

/* allgemein */

.clear {
	clear: both;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.centered {
	text-align: center;
}

.right {
	text-align: right;
}

.left {
	text-align: left;
}

.content {
	margin-top: 1em;
	padding: 0 1em;
	margin-bottom: 3em;
}

.spacer {
	height: 50px;
}

.site-main {
	margin: 0 0 4em;
	border-radius: 0 0 1em 1em;
}

footer {
	padding: 1.5em 1em;
}

.site-footer {
	bottom: 0;
	position: relative;
	padding: 20px 0;
	color: var(--white);
	margin-top: 40px;
	clear: both;
	background-color: var(--petrol);
}

#backToTop {
	cursor: pointer;
	position: fixed;
	left: calc(100vw - 70px);
	bottom: 0;
	text-decoration: none;
	height: 50px;
	width: 50px;
	overflow: hidden;
	color: var(--white);
	text-align: center;
	background-color: var(--petrol);
	display: block;
	border-radius: 20px 20px 0 0;
}

/* accordion */
.ui-widget {
	font-family: Meta,verdana,lucida,arial,helvetica,sans-serif !important;
}

.ui-accordion-header {
	cursor: pointer !important;
	padding: 0 3px 25px !important;
	margin-left: -.5em !important;
	font-family: Meta,verdana,lucida,arial,helvetica,sans-serif;
	margin-bottom: -17px !important;
	margin-top: 1em !important;
	background-position: bottom left !important;
	background-repeat: repeat no-repeat !important;
	background-image: url('data:image/svg+xml;charset=utf8,\ <svg height="20" width="742" xmlns="http://www.w3.org/2000/svg"> <polyline points="2,0 2,19 19,2 742,2" style="fill:none;stroke:%231c2541;stroke-width:2" /> Sorry, your browser does not support inline SVG. </svg>\ ') !important;
	background-color: transparent !important;
	color: var(--copy) !important;
	border: none !important;
	font-weight: bold !important;
	font-size: 1.3em !important;
}

.ui-accordion-content.ui-helper-reset {
	border: 2px solid var(--copy);
	border-top: none !important;
	padding: 1em 50px 0 1em !important;
	margin: 0 0 0 -14px;
	background: transparent !important;
	border-left: none !important;
}

.accordion li {
	margin-bottom: 1em;
}

.date span {
	font-size: 20px;
	font-weight: lighter;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
main img {
	border-style: none;
	width: 100%;
	height: auto;
	transition: 300ms;
}

.smallimg {
	max-width: 300px;
	height: auto;
}

.fullwidth {
	min-width: 100vw;
	z-index: -1;
	position: relative;
	height: 50vh;
	object-fit: cover;
}


/* Infobox Info */
.infobox {
	border: 2px solid var(--redorange);
	padding: 30px 20px 10px 20px;
	margin-bottom: 1em;
}

.infobox::before {
	display: block;
	content: "";
	background-image: url(../img/Info-Button.svg);
	background-repeat: no-repeat;
	background-size: auto 60px;
	height: 55px;
	margin: -33px 0 0 -23px;
	width: 70px;
}

.infobox p {
	margin: 0;
}

/* colorbox */

.flex.colorbox {
	margin: 2em 0;
}

.colorbox .two-third {
	color: var(--white);
	padding: .5em 1em;
}

.colorbox .two-third::before,
.colorbox.petrol .third::before,
.colorbox.orange .third::before {
	display: block;
	content: "";
	position: relative;
	border-bottom: 2.5em solid transparent;
	top: 1.5em;
	margin-top: -2em;
}

.colorbox.petrol .two-third::before {
	border-left: 0;
	border-right: 2.5em solid var(--petrol);
	left: calc(-100% - 0.5em);
}

.colorbox.orange .two-third::before {
	border-left: 2.5em solid var(--redorange);
	border-right: 0;
	left: calc(100% + 1em);
	z-index: 1;
	width: 2.5em;
}

.colorbox.petrol .third img {
	border: 5px solid var(--petrol);
}
.colorbox.orange .third img {
	border: 5px solid var(--redorange);
}

.colorbox.petrol .two-third {
	background-color: var(--petrol);
}

.colorbox.orange .two-third {
	background-color: var(--redorange);
}

.colorbox ::marker {
	color: var(--white);
}

.flex.colorbox.petrol a {
	color: var(--white);
	border-bottom: 2px solid var(--white);
}

/* portrait person */
.portraits a.tooltip {
	border-bottom: none;
}


@media screen and (max-width: 992px) {
	.colorbox .third, .colorbox .two-third {
		max-width: calc(100% - 2.5em);
		width: 100%;
	}

	.colorbox.petrol .third, .colorbox.petrol .two-third {
		margin-left: 2.5em;
	}
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Animation
--------------------------------------------- */

.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
    -ms-transform: translate3d(0, 20px 0);
    transform: translate3d(0, 20px, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# trumbowyg-box
--------------------------------------------------------------*/

.trumbowyg-box {
	max-width: 700px;
	margin: 0 auto;
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
	body {
		font-size: 20px;
	}

	.content {
		max-width: 700px;
	}

	.site-logo {
		margin: 20px 0 0 20px;
	}



	#primary {
		margin-left: 300px;
	}

	.secondary {
		width: 280px;
		padding: 0;
		margin: 0;
		margin-left: 20px;
	}
	.menu-toggle {
		display: none;
	}

	.fullwidth {
		margin-left: -300px;
	}

}

@media screen and (min-width: 992px) {

	.half {
		width: 50%;
		padding: 0 1em;
	}

	.third {
		width: 33.33%;
		padding: 0 0.5em 0 0;
	}

	.two-third + .third {
		padding: 0 0 0 0.5em;
	}

	.two-third {
		width: 66.66%;
		padding: 0 15px;
	}

	.colorbox.petrol .third::before {
		border-left: 0;
		border-right: 2em solid var(--white);
		border-bottom: 2em solid transparent;
		top: 2em;
		margin-top: -2em;
	}

	.colorbox.orange .third::before {
		border-left: 2.5em solid var(--white);
		border-right: 0;
		border-bottom: 2.5em solid transparent;
		top: 2.5em;
		margin-top: -2.5em;
	}
}

@media screen and (min-width: 1180px) {
	#barriere {
		top: 10px;
		right: 20px;
	}

	.menu-toggle, .accessibility-toggle {
		display: none;
	}
}