

.styroporTimeline {
	transition: opacity .5s ease-in-out;
}

.styroporTimeline.hideByLoading {
	opacity: 0;
}

.styroporTimeline .arrow {
	display: none;
	cursor: pointer;
	width: 40px;
	height: 60px;
	overflow: hidden;
	margin-top: 430px;
}

.styroporTimeline .showArrows > .arrow {
	display: block;
}

.page.maxM .styroporTimeline .showArrows > .arrow {
	display: none;
}

.styroporTimeline .showArrows > .arrow.disabled {
	pointer-events: none;
}

.styroporTimeline .arrow.left {
	float: left;
}
.styroporTimeline .arrow.right {
	float: right;
}

.styroporTimeline .arrow::before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	border-width: 5px 5px 0 0;
	border-style: solid;
	border-color: #fff;
	font-size: 3rem;
	margin-top: 10px;
	transition: border-color .2s ease-out;
}
.styroporTimeline .arrow.left::before {
	transform: rotate(-135deg);
	margin-left: 10px;
}
.styroporTimeline .arrow.right::before {
	transform: rotate(45deg);
	margin-left: -10px;
}
.styroporTimeline .arrow:hover::before {
	border-color: #c50022;
}

.styroporTimeline .timeSlider {
	overflow: hidden;
	box-sizing: border-box;
	height: 960px;
	padding-top: 450px;
	padding-bottom: 450px;
}

.page.maxM .styroporTimeline .timeSlider {
	height: 700px;
	padding-top: 320px;
	padding-bottom: 320px;
}

.styroporTimeline .timeSlider > .itemsWrapper {
	position: relative;
	height: 20px;
	max-height: 20px;
	background-image: linear-gradient(90deg, transparent 60%, #c50022 40%);
	background-size: 10px 100%;
	background-position: -3px center;
	white-space: nowrap;
	width: 99999px;
	transition: left .3s ease-out;
	padding-left: 266px;
	box-sizing: border-box;
}

.page.maxM .styroporTimeline .timeSlider > .itemsWrapper {
	padding-left: 195px;
}

.styroporTimeline .itemsWrapper > .ts_item {
	position: relative;
	display: inline-block;
	top: -10px;
	min-width: 66px;
	margin-left: 100px;
	margin-right: 100px;
}

.styroporTimeline .ts_item > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 1px solid #fff;
	background-color: #7C7C7C;
	color: #fff;
	min-width: 66px;
	padding: 0 5px 0 5px;
	height: 40px;
	line-height: 1;
	font-size: 1.25rem;
	transition: background-color .2s ease-out;
}

.page.maxS .styroporTimeline .ts_item > a {
	margin-left: -250px;
}

.styroporTimeline .ts_item.active > a,
.styroporTimeline .ts_item > a:hover {
	background-color: #c50022;
}

.styroporTimeline .ts_item.active > a:hover {
	background-color: #dc657a;
}

.styroporTimeline .ts_item > .htmlContent:not(.overlay) {
	position: absolute;
	width: 400px;
	height: 300px;
	box-sizing: border-box;
	padding: 15px;
	background-color: #fff;
	white-space: normal;
	transition: transform .5s ease-out;
}

.styroporTimeline .ts_item.active > .htmlContent:not(.overlay) {
	transform-origin: center bottom;
	transform: scale(1.2);
}
.styroporTimeline .ts_item:not(.active) > .htmlContent:not(.overlay):hover {
	cursor: pointer;
}
.styroporTimeline .ts_item:not(.active) > .htmlContent:not(.overlay) a {
	pointer-events: none;
}
.styroporTimeline .changePosition .ts_item.active > .htmlContent:not(.overlay) {
	transform-origin: center top;
}

.page.maxM .styroporTimeline .ts_item > .htmlContent:not(.overlay) {
	transform-origin: center bottom;
	transform: scale(0.8);
}

.styroporTimeline .ts_item:not(.active) > .htmlContent:not(.overlay)::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(1,1,1,0.4);
	transition: background-color .3s ease-out;
	pointer-events: none;
	z-index: 3;
}

.styroporTimeline .ts_item:not(.active) > .htmlContent:not(.overlay):hover::after {
	background-color: rgba(1,1,1,0);
}

.styroporTimeline .itemsWrapper > .ts_item:nth-child(2n) > .htmlContent:not(.overlay) {
	top: -340px;
	left: calc(50% - 330px);
}
.page.maxM .styroporTimeline .itemsWrapper > .ts_item:nth-child(2n) > .htmlContent:not(.overlay) {
	left: calc(50% - 345px);
}
.styroporTimeline .itemsWrapper > .ts_item:nth-child(2n+1) > .htmlContent:not(.overlay) {
	top: 80px;
	left: calc(50% - 120px);
}
.page.maxM .styroporTimeline .itemsWrapper > .ts_item:nth-child(2n+1) > .htmlContent:not(.overlay) {
	left: calc(50% - 100px);
	transform-origin: center top;
}
.styroporTimeline .itemsWrapper.changePosition > .ts_item:nth-child(2n) > .htmlContent:not(.overlay) {
	left: calc(50% - 120px);
}
.page.maxM .styroporTimeline .itemsWrapper.changePosition > .ts_item:nth-child(2n) > .htmlContent:not(.overlay) {
	left: calc(50% - 70px);
}
.styroporTimeline .itemsWrapper.changePosition > .ts_item:nth-child(2n+1) > .htmlContent:not(.overlay) {
	left: calc(50% - 330px);
}
.page.maxM .styroporTimeline .itemsWrapper.changePosition > .ts_item:nth-child(2n+1) > .htmlContent:not(.overlay) {
	left: calc(50% - 360px);
}

.styroporTimeline .ts_item > .htmlContent:not(.overlay) img:not(.formatFull) {
	display: inline-block;
	margin-right: 10px;
	float: left;
	height: auto !important;
}
.styroporTimeline .ts_item > .htmlContent:not(.overlay) img.formatLandscape {
	width: 200px !important;
}
.styroporTimeline .ts_item > .htmlContent:not(.overlay) img.formatPortrait {
	width: 120px !important;
}
.styroporTimeline .ts_item > .htmlContent:not(.overlay) img.formatQuadrat  {
	width: 150px !important;
}
.styroporTimeline .ts_item > .htmlContent:not(.overlay) img.formatFull {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 400px !important;
	height: 300px !important;
	z-index: 1;
}
.styroporTimeline .ts_item > .htmlContent:not(.overlay) img.formatFull ~ *:not(.linkInternal) {
	position: relative;
	z-index: 2;
}
.styroporTimeline .ts_item > .htmlContent.overlay img {
	display: block;
	position: relative;
	top: -30px;
	left: -30px;
	width: calc(100% + 60px);
	margin-bottom: 20px;
}

.htmlContent .year {
	font-weight: 300;
	font-size: 2rem;
	line-height: 2.25rem;
	margin-bottom: 1.875rem;
}
.page.minM .htmlContent .year {
	font-size: 2.25rem;
	line-height: 2.8125rem;
}
.page.minL .htmlContent .year {
	font-size: 3rem;
	line-height: 3.4375rem;
}

.styroporTimeline .ts_item > .htmlContent:not(.overlay) h1,
.styroporTimeline .ts_item > .htmlContent:not(.overlay) .year {
	color: #c50022;
	text-align: right;
	font-size: 2rem;
	margin-bottom: 16px;
}

.styroporTimeline .ts_item > .htmlContent:not(.overlay) h2 {
	color: #c50022;
	margin-bottom: 10px;
}

.styroporTimeline .ts_item > .htmlContent:not(.overlay) .linkInternal {
	position: absolute;
	left: 15px;
	bottom: 15px;
	z-index: 2;
}

.styroporTimeline .ts_item > .htmlContent.overlay > div > p,
.styroporTimeline .ts_item > .htmlContent.overlay .linkInternal,
.styroporTimeline .ts_item > .htmlContent:not(.overlay) .overlayText {
	display: none;
}

body.st_overlay {
	overflow: hidden !important;
}

.styroporTimeline .ts_item > .htmlContent.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 999999;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}

.styroporTimeline .ts_item > .htmlContent > div {
	width: 370px;
	height: 270px;
	background-color: #fff;
}

.styroporTimeline .ts_item > .htmlContent > div a {
	color: #c50022;
}

.styroporTimeline .ts_item > .htmlContent.overlay > div {
	transition: width .8s ease-out;
	position: relative;
	width: calc(100% - 30px);
	height: auto;
	max-width: 800px;
	margin: 15px auto;
	box-sizing: border-box;
	padding: 30px;
	white-space: normal;
	color: #fff;
	background-color: #333;
}

.page.minM .styroporTimeline .ts_item > .htmlContent.overlay > div {
	margin: 50px auto;
	width: calc(100% - 100px);
}

.styroporTimeline .ts_item > .htmlContent > .closeButton {
	display: block;
	position: absolute;
	width: 30px;
	height: 30px;
	top: 30px;
	right: 30px;
}

.styroporTimeline .ts_item > .htmlContent > .closeButton::before,
.styroporTimeline .ts_item > .htmlContent > .closeButton::after {
	content: "";
	display: block;
	position: absolute;
	width: 30px;
	height: 4px;
	background-color: #fff;
	transition: background-color .2s ease-out;
	top: 12px;
	left: 0;
	border-radius: 2px;
}
.styroporTimeline .ts_item > .htmlContent > .closeButton::before {
	transform: rotate(45deg);
}
.styroporTimeline .ts_item > .htmlContent > .closeButton::after {
	transform: rotate(-45deg);
}
.styroporTimeline .ts_item > .htmlContent > .closeButton:hover::before,
.styroporTimeline .ts_item > .htmlContent > .closeButton:hover::after {
	background-color: #bbb;
}

.styroporTimeline .timeNavWrapper {
	display: flex;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	z-index: 2;
}

.styroporTimeline .timeNavBounds {
	flex: 1 1 auto;
	overflow: hidden;
}

.styroporTimeline .timeNav {
	position: relative;
	display: table;
	border-spacing: 0;
	white-space: nowrap;
	transition: transform 0.4s ease-out;
}

.styroporTimeline .timeNavArrow  {
	flex: 0 0 auto;
	width: 40px;
	background-color: rgba(0,0,0,0.3);
	transition: background-color 0.2s ease-out;
}

.styroporTimeline .timeNavArrow:not(.disabled):hover  {
	background-color: rgba(0,0,0,0.5);
	cursor: pointer;
}

.styroporTimeline .timeNavArrow.disabled  {
	pointer-events: none;
	visibility: hidden;
}

.styroporTimeline .timeNavArrow::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	box-sizing: border-box;
	border-width: 4px 4px 0 0;
	border-style: solid;
	border-color: #fff;
	transition: border-color .2s ease-out;
}

.styroporTimeline .timeNavArrow.left::before {
	transform: translate(13px, 11px) rotate(-135deg);
}
.styroporTimeline .timeNavArrow.right::before {
	transform: translate(6px, 11px) rotate(45deg);
}

.styroporTimeline .timeNavBackground {
	position: relative;
	z-index: 1;
	background-color: rgba(0,0,0,0.25);
}

.page.minL .styroporTimeline .timeNav {
	text-align: right;
}

.styroporTimeline .timeNav > a {
	display: inline-block;
	font-size: 1.25rem;
	padding: 10px 15px;
	color: #fff;
	position: relative;
	transition: color .2s ease-out;
	text-shadow: 1px 1px rgba(0,0,0,0.5);
}

.styroporTimeline .timeNav > a.active,
.styroporTimeline .timeNav > a:hover {
	color: #c50022;
}

.styroporTimeline .timeNav > a.active:hover {
	color: #f8e0e4;
}

.styroporTimeline .timeNav > a:not(:first-child)::before {
	content: "";
	display: inline-block;
	position: absolute;
	top: 9px;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	height: 25px;
	border-left: 2px solid #c50022;
}