/* ==========================================================================
   Blaue Elefanten - statischer Nachbau
   Layout und Typografie 1:1 aus fileadmin/css/layout.css + content.css der
   TYPO3-Seite uebernommen. Slider und Lightbox sind neu (vorher jQuery bzw.
   Prototype/Scriptaculous). Die generierten tt_content-Regeln haengt das
   Build-Skript unten an.
   ========================================================================== */

/* --- Grundlagen (ehemals content.css) --- */
body {
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #009ee0;
	background: #fff;
	margin: 0;
	padding: 0;
	overflow-y: scroll;
	text-align: center;
}

img { border: 0; }

p {
	margin: 10px 0;
	line-height: 1.4em;
}

h1 {
	padding: 0;
	margin: 10px 0 15px 0;
	font-size: 11px;
	font-weight: bold;
}

a {
	color: #009ee0;
	text-decoration: underline;
}

a:hover { text-decoration: none; }

/* --- Seitengeruest (ehemals layout.css) --- */
#page {
	text-align: center;
	width: 985px;
	margin: 0 auto;
}

#topnav {
	position: relative;
	top: 0;
	height: 50px;
}

#topnav div {
	position: absolute;
	top: 25px;
	right: 0;
}

#topnav a {
	display: inline;
	color: #009ee0;
	margin: 0;
	padding: 0 25px 0 10px;
	text-decoration: none;
	text-transform: uppercase;
}

#header {
	position: relative;
	height: 373px;
}

#header .logo {
	position: absolute;
	top: 0;
	left: 0;
}

#main {
	text-align: left;
	margin: 0 auto;
	clear: both;
	min-height: 400px;
	width: 985px;
}

/* --- Hauptnavigation --- */
#mainNavi {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 11px;
}

#mainNavi li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#mainNavi a {
	display: block;
	color: #009ee0;
	margin: 0;
	padding: 15px 0 15px 3px;
	text-decoration: none;
	text-transform: uppercase;
}

#mainNavi li.current a { font-weight: bold; }
#mainNavi a:hover { text-decoration: none; }

/* --- Spalten. Reihenfolge im Markup: col1, col4, col2, col3 (Float-Layout) --- */
#col1 {
	clear: both;
	display: block;
	float: left;
	z-index: 2;
	width: 175px;
	padding-top: 10px;
}
#col1_content { margin: 25px 0 25px 25px; }

#col2 {
	float: right;
	display: block;
	z-index: 3;
	width: 330px;
	padding-top: 10px;
}
#col2_content { padding: 30px 0 0 0; }

#col3 {
	width: auto;
	display: block;
	padding-top: 10px;
	margin-left: 175px;
	margin-right: 490px;
	z-index: 1;
}
#col3_content { padding: 30px 25px 25px 25px; }

#col4 {
	float: right;
	display: block;
	z-index: 10;
	width: 175px;
	padding-top: 10px;
}
#col4_content { padding: 30px 25px 0 10px; }

#footer {
	clear: both;
	margin: auto;
	position: relative;
	width: 985px;
	text-align: left;
}
#footer .left { margin-left: 15px; }
#footer .left a { text-transform: uppercase; text-decoration: none; }

/* --- Header-Slider. Ersetzt jquery.cycle; Masse wie im Original: das
       Motiv ist 809x373 und sitzt rechts neben dem 176px breiten Logo. --- */
.slider {
	position: absolute;
	top: 0;
	left: 176px;
	width: 809px;
	height: 373px;
	overflow: hidden;
}

.slider li {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.slider li.is-active { opacity: 1; }

/* Beim Seitenaufbau wird das Startmotiv ohne Ueberblendung gesetzt. */
.slider.is-instant li { transition: none; }

.slider ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Ohne JavaScript bleibt das erste Motiv stehen, statt dass alle fehlen. */
.no-js .slider li:first-child { opacity: 1; }

.slider-pager {
	position: absolute;
	left: 35px;
	top: 25px;
	z-index: 5;
}

.slider-pager button {
	font: inherit;
	color: inherit;
	background: #00d7fb;
	border: 0;
	margin: 0 5px;
	padding: 3px 5px;
	text-decoration: none;
	cursor: pointer;
}

.slider-pager button:hover,
.slider-pager button[aria-current="true"] { background: #fff; }

/* --- Lightbox. Ersetzt Prototype + Scriptaculous + Lightbox 2.0.5. --- */
/* Geschlossen bleibt der Dialog unsichtbar - das display der geoeffneten
   Variante darf den Standard des <dialog> nicht ueberschreiben. */
.lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(0, 0, 0, .8);
	border: 0;
	padding: 20px;
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
}

.lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
}

.lightbox::backdrop { background: rgba(0, 0, 0, .8); }

.lightbox img {
	max-width: calc(100vw - 80px);
	max-height: calc(100vh - 100px);
	border: 10px solid #fff;
	background: #fff;
	object-fit: contain;
}

.lightbox-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #fff;
	font-size: 11px;
}

.lightbox-bar button {
	font: inherit;
	color: #000;
	background: #fff;
	border: 0;
	padding: 5px 12px;
	cursor: pointer;
}

.lightbox-bar button:disabled {
	opacity: .35;
	cursor: default;
}

/* Bildergalerien sind anklickbar - das soll man sehen. */
a[data-lightbox] { cursor: zoom-in; }


/* --- Von TYPO3 generierte tt_content-Regeln: aus 24 Stylesheets zusammengefuehrt und auf die genutzten reduziert --- */
div.csc-textpic, div.csc-textpic div.csc-textpic-imagerow, ul.csc-uploads li { overflow: hidden; }
div.csc-textpic .csc-textpic-imagewrap table { border-collapse: collapse; border-spacing: 0; }
div.csc-textpic .csc-textpic-imagewrap table tr td { padding: 0; vertical-align: top; }
div.csc-textpic .csc-textpic-imagewrap figure, div.csc-textpic figure.csc-textpic-imagewrap { margin: 0; display: table; }
div.csc-textpic-caption-c .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-c { text-align: center; }
div.csc-textpic-caption-r .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-r { text-align: right; }
div.csc-textpic-caption-l .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-l { text-align: left; }
div.csc-textpic div.csc-textpic-imagecolumn { float: left; }
div.csc-textpic-border div.csc-textpic-imagewrap img { border: 1px solid black; padding: 0px 0px; }
div.csc-textpic .csc-textpic-imagewrap img { border: none; display: block; }
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image { margin-bottom: 10px; }
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-imagerow-last .csc-textpic-image { margin-bottom: 0; }
div.csc-textpic-imagecolumn, td.csc-textpic-imagecolumn .csc-textpic-image { margin-right: 10px; }
div.csc-textpic-imagecolumn.csc-textpic-lastcol, td.csc-textpic-imagecolumn.csc-textpic-lastcol .csc-textpic-image { margin-right: 0; }
div.csc-textpic-intext-left .csc-textpic-imagewrap, div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap { margin-right: 10px; }
div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap { margin-left: 10px; }
div.csc-textpic-center .csc-textpic-imagewrap, div.csc-textpic-center figure.csc-textpic-imagewrap { overflow: hidden; }
div.csc-textpic-center .csc-textpic-center-outer { position: relative; float: right; right: 50%; }
div.csc-textpic-center .csc-textpic-center-inner { position: relative; float: right; right: -50%; }
div.csc-textpic-right .csc-textpic-imagewrap { float: right; }
div.csc-textpic-left .csc-textpic-imagewrap { float: left; }
div.csc-textpic-left div.csc-textpic-text { clear: left; }
div.csc-textpic-intext-left .csc-textpic-imagewrap { float: left; }
div.csc-textpic-intext-right .csc-textpic-imagewrap { float: right; }
div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap { float: right; }
div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap { float: left; }
div.csc-textpic div.csc-textpic-imagerow-last, div.csc-textpic div.csc-textpic-imagerow-none div.csc-textpic-last { margin-bottom: 0; }
ul.csc-uploads { padding: 0; }
ul.csc-uploads li { list-style: none outside none; margin: 1em 0; }
ul.csc-uploads img { float: left; margin-right: 1em; vertical-align: top; }
ul.csc-uploads span { display: block; }
ul.csc-uploads span.csc-uploads-fileName { text-decoration: underline; }
.csc-space-before-40 { margin-top: 40px !important; }
.csc-space-before-400 { margin-top: 400px !important; }
.csc-space-before-140 { margin-top: 140px !important; }
.csc-space-before-240 { margin-top: 240px !important; }
.csc-space-before-260 { margin-top: 260px !important; }
.csc-space-before-120 { margin-top: 120px !important; }
.csc-space-before-540 { margin-top: 540px !important; }
.csc-space-before-220 { margin-top: 220px !important; }
.csc-space-before-170 { margin-top: 170px !important; }
.csc-space-before-100 { margin-top: 100px !important; }
.csc-space-before-280 { margin-top: 280px !important; }
.csc-space-before-160 { margin-top: 160px !important; }
.csc-space-before-230 { margin-top: 230px !important; }
.csc-space-before-10 { margin-top: 10px !important; }
.csc-space-after-10 { margin-bottom: 10px !important; }
.csc-space-before-310 { margin-top: 310px !important; }
.csc-space-before-235 { margin-top: 235px !important; }
.csc-space-before-265 { margin-top: 265px !important; }
.csc-space-before-50 { margin-top: 50px !important; }
.csc-space-before-20 { margin-top: 20px !important; }
.csc-space-before-1370 { margin-top: 1370px !important; }
.csc-space-after-125 { margin-bottom: 125px !important; }
.csc-space-after-40 { margin-bottom: 40px !important; }
.csc-space-after-235 { margin-bottom: 235px !important; }
.csc-space-after-20 { margin-bottom: 20px !important; }
.csc-space-before-60 { margin-top: 60px !important; }
.csc-space-before-90 { margin-top: 90px !important; }
.csc-space-before-25 { margin-top: 25px !important; }
.csc-space-before-15 { margin-top: 15px !important; }
.csc-space-after-265 { margin-bottom: 265px !important; }
.csc-space-after-60 { margin-bottom: 60px !important; }
.csc-space-before-30 { margin-top: 30px !important; }
.csc-space-before-95 { margin-top: 95px !important; }
.csc-space-before-65 { margin-top: 65px !important; }
.csc-space-before-35 { margin-top: 35px !important; }
.csc-space-before-320 { margin-top: 320px !important; }
.csc-space-before-293 { margin-top: 293px !important; }
.csc-space-before-80 { margin-top: 80px !important; }
.csc-space-before-350 { margin-top: 350px !important; }
.csc-space-before-70 { margin-top: 70px !important; }
.csc-space-before-105 { margin-top: 105px !important; }
.csc-space-before-930 { margin-top: 930px !important; }
.csc-space-before-520 { margin-top: 520px !important; }
.csc-space-before-180 { margin-top: 180px !important; }
.csc-space-before-290 { margin-top: 290px !important; }
.csc-space-before-940 { margin-top: 940px !important; }
.csc-space-before-210 { margin-top: 210px !important; }
.csc-space-before-55 { margin-top: 55px !important; }
