/* --------------- ALLGEMEIN --------------------------- */

/* Standards: */
#main a,
#right a {
	color: var(--link-color);
	text-decoration: none;
}

#main p>a:hover,
#main .downloads li a:hover,
#right a:hover,
#right .box-partnerseiten ul li a:hover {
	color: var(--link-hover-color);
	background-color: var(--link-hover-bg-color);
	border-radius: 0.5em;
	transition: all 200ms linear;
}

.ce_hyperlink {
	margin-top: 2rem;
}

/* --------------- MOBILE LAYOUT ------------------------ */

/* Hintergrund body: */
body {
	background-color: var(--body-bg-color);
	color: var(--text-color);
}

/* Titelbild Startseite: */
#titelbild {
	display: flex;
	align-items: start;
	justify-content: center;
	min-height: 30rem;
	height: 95vh;
	padding: 1rem;
	background-image: url("../pics/linstower-see-bei-nacht.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 25% bottom;
	/* <- damit die Mädchen im Bild sind. */
}

#logo-gross {
	/* <figure> mit dem Logo */
	width: 20rem;
	max-width: 80%;
	padding: 4rem 0;
	opacity: 0.3;
}


/* -- #container-Bereich ----- */
#container {
	padding-bottom: 2.5em;
	/* damit die unterste Zeile trotz fixem footer sichtbar wird. */
}

/* == #main-Bereich ======================================================== 
   ========================================================================= */

#main .inside {
	padding: 5rem 0;
	font-size: 1.15rem;
	line-height: 1.5;
}

/* Abstand (li, re) vom Rand - alle außer Bildern: */
#main .inside h1,
#main .inside figcaption,
#main .inside .ce_text, 
#main .inside .ce_table {
	padding-left: 1rem;
	padding-right: 0.5rem;
}
#main .inside .ce_table {
    padding-right: 1rem;
}
.slider-control .slider-prev {
    left: 1rem;
}
.slider-control .slider-next {
    right: 1rem;
}
.kacheln {
	padding-left: 1rem;
	padding-right: 1rem;
}

.startseite #main .inside {
	padding-top: 0.5rem;
}

/* Überschrift(en): 
   ---------------- */
#main h1 {
	font-family: Roboto, sans-serif;
	font-size: 1.8em;
	font-weight: 900;
	color: var(--headline-color);
	line-height: 1.0;
	hyphens: manual;
}

#main h2 {
	color: var(--headline-color);
}

/* Bilder, Bildunterschriften: 
   --------------------------- */
figure {
	position: relative;
	margin-bottom: 1rem;
}

main figure img {
	width: 100%;
}

figcaption {
	display: grid;
	grid-template-columns: 2fr 1fr;
	font-size: 0.8em;
	line-height: 1.1;

}

figcaption p.captionText {
	margin-top: 0;
	color: var(--figcap-color);
}

figcaption p.imageAuthor {
	margin-top: 0;
	color: #999;
	text-align: right;
}

/* Bildtitel in Colorbox (Großdarstellung):            <--- wird noch nicht verwendet!  */
#cboxTitle {
	background-color: #000;
}

/* Bild - rechts oben, halbe Textbreite                <--- wird noch nicht verwendet */
figure.float_left {
	width: 50%;
	margin: 0.5em 1em 0 0;
}

figure.float_left img {
	border: 1px solid #666;
}

/* Slider: */
.slider-control {
    top: -6.5rem;
}
#main .slider-control a {
    font-size: 1.5rem;
    color: white;
    text-shadow: 3px 3px 5px black; 
}
.slider-control .slider-menu {
    display: none;
}

/* Seite "Nachtaktive Tiere"
   ------------------------- */
.ce_gallery > ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1rem;
}
.ce_gallery figcaption {
    display: none;
}

/* Seite "Ausstellung"
   --------------------------- */
.oeffnungszeiten table {
    border-collapse: collapse;
}
.oeffnungszeiten .col_0 {
    width: 35%;
    hyphens: none;
} 
.oeffnungszeiten td {
    height: 3rem;
    border: 1px solid #666;
    padding: 0.1rem 0.5rem;
}


/* Seite "Sternenpark bei Tag"
   --------------------------- */


.sbp-thema {
    margin: 1rem;
    color: #fff;
    background-color: var(--kacheln-bg-color);
    text-align: center;
    hyphens: manual;
}
#main .sbp-thema a {
    color: #fff;
}
.sbp-thema p:nth-child(1) {    /* 1. Zeile */
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color); /*  <-- kann weg, sobal alle verlinkt sind */
}
#main .sbp-thema p:nth-child(1) a {
    color: var(--accent-color);
}
.sbp-thema p:nth-child(2)::before {    /* 2. zeile */
    content: '► ';
    color: var(--accent-color);
}

/* Seite "Führungen": 
   ------------------ */

/* Sternenführungen Termine: */
#main .fuehrungen .veranstaltung p:nth-child(2) {
  color: var(--text-color);
}
       
/* Sternenführer-Boxen: */ 
#main .inside .sternfuehrer {
    margin: 2rem 1rem;
    padding: 1rem 1.5rem 2rem 1.5rem;
    background-color: var(--box-bg-color);
    border-radius: 1rem;
}
.sternfuehrer p {
    margin: 1rem 0;
}
.sternfuehrer>p:nth-child(1) {      /* 1. Zeile: Name */
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: bold;
}
.sternfuehrer p:nth-child(2) {      /* 2. Zeile: Titel der Führung */
    margin-bottom: 0;
    color: var(--headline-color);
    font-weight: bold;
    hyphens: manual;
}
.sternfuehrer p:nth-child(3) {      /* 3. Zeile: Untertitel der Führung */
    margin-top: 0;
}
.sternfuehrer p:nth-child(4),       /* 4. Zeile: Telefonnummer */
.sternfuehrer p:nth-child(5) {      /* 5. Zeile: "weitere Info" (Link zur Werbung)) */
    width: 40%;
    margin-bottom: 2rem;
    padding: 0.3rem;
    font-size: 1rem;
    background-color: #3a4d8d;  
    text-align: center;
}
#main .sternfuehrer p a {           /* 4. Zeile: Telefonnummer (Schriftart) */
    font-weight: normal;
    color: #fff;
}
.sternfuehrer p:nth-child(4){
    float: left;
}
.sternfuehrer p:nth-child(5){
    float: right;
    background-color: darkred;
    color: white;S
}

.sternfuehrer figure {
    clear: both;
    margin: 0;
}
.sternfuehrer figcaption:not(.mondscheinpaddeln figcaption) {
    display:none;
}
.sternfuehrer img {
    border: 1px solid #444;
}


/* Seite "Veranstaltungen - Einzeltermine: 
   --------------------------------------- */
#main .ce_text.veranstaltung {
	padding: 0 1.5rem;
	/* font-family: PT Sans Narrow, sans-serif; */
	/* font-size: 1.5rem; */
}
#main .ce_text.veranstaltung p {
	padding: 0 0 0 2rem;
	line-height: 1.1;
	hyphens: none;
}
/* 1. Zeile - Datum: */
#main .veranstaltung p:nth-child(1) {
	padding: 0.3rem 1rem;
	font-size: 1rem;
	font-weight: bold;
	color: #444;
	background-color: #ccc;
	border-radius: 0.5rem;
}
/* 2. Zeile - Titel d. Veranstaltung: */
#main .veranstaltung p:nth-child(2) {
	font-size: 1.6rem;
	font-weight: bold;
	color: var(--headline-color);
}
/* Telefon-Links: */
#main a[href^="tel"] {
	color: var(--text-color);
	font-weight: bold;
}

/* Seite Veranstaltungen -> Fledermaus-Touren, Veranst. NP: 
   -------------------------------------------------------- */
.veranst-special {
	margin: 2rem 1rem;
	background-color: #ccc;
	border-radius: 0.5rem;
}

/* Seite Downloads: */
.downloads li {
	margin-bottom: 1.5rem;
}

/* == aside#right-Bereich ================================================== 
   ========================================================================= */
#right .inside {
	padding: 0 1.5em 1.5em 1.5em;
	font-size: 1em;
	color: var(--box-text-color);
}

/* Rahmen, Hgr für jede einzelne Infobox: */
#right .inside>.block {
	margin-top: 1em;
	background-color: var(--box-bg-color);
}

#right .inside>.block>* {
	padding: 0 1.5rem;
}

/* h2-Überschriften: */
#right .inside>.block h2 {
	margin: 0;
	padding: 0.4rem 1.5rem;
	font-family: Roboto, sans-serif;
	font-size: 1.3em;
	color: var(--box-headline-color);
	background-color: var(--bars-bg-color);
}

/* h3-Überschriften: */
#right h3 {
	margin-bottom: 0;
}

#right h3+p {
	margin-top: 0;
}

/* Links in Box "Partnerseiten": */
#right .box-partnerseiten ul li {
	margin-left: 2rem;
	/* Abstand links */
	list-style: square;
	font-size: 2em;
	/* Größe des Aufzählungszeichens */
	color: var(--accent-color);
	/* Farbe des Aufzählungszeichens */
}

#right .box-partnerseiten ul li a {
	padding: 0.2rem 0.5em;
	line-height: 1.5;
	font-weight: bold;
	font-size: 1.3rem;
	color: var(--box-text-color);
	/* Schriftfarbe der Links */
	text-decoration: none;
}

/* Logo: */
#right .inside .box-logo {
	margin: 1rem 0;
	padding: 1rem 0;
	background-color: var(--logo-bg-color);
}

.box-logo figure {
	text-align: center;
	/* Logo-img zentrieren */
}

.box-logo img {
	max-width: 10rem;
}

#right .inside .box-logo .image_container {
	padding: 0;
}

#right figure {
	margin: 0;
}

/* Link zum Naturpark: */
#right .inside .box-link-naturpark {
	padding-top: 1rem;
	padding-bottom: 1rem;
	background-color: #666766;
}

#right .box-link-naturpark a:hover {
	background-color: inherit;
	/* => KEINE extra Hgr-Farbe */
}

/* == Footer-Bereich ======================================================= 
   ========================================================================= */
footer {
	position: fixed;
	z-index: 10;
	width: 100%;
	bottom: 0;
	background-color: var(--bars-bg-color);
	box-shadow: -2px -2px 5px #000;
}

footer nav {
	text-align: center;
}

footer ul {
	margin: 0;
	padding: 0.5em 0;
}

footer li {
	display: inline;
	list-style: none;
	font-family: Roboto, sans-serif;
	padding: 0 2em;
	border-radius: 0.5em;
}

footer a {
	font-family: Roboto, sans-serif;
	font-size: 1.1rem;
	color: var(--menu-level1-color);
	text-decoration: none;
}

footer a:hover {
	color: var(--footer-link-hover-color);
}

footer li:hover {
	background-color: var(--footer-link-hover-bg-color);

}

footer nav .active {
	color: var(--menu-level1-color);
	font-weight: normal;
	font-size: 1.1rem;
}

/* Anpassung Kontaktboxen für Handy im Querformat: */
@media screen and (orientation: landscape) and (max-width: 767px) {
	#right .inside {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-areas: "logo logo" "kontakt partner";
		grid-column-gap: 1rem;
	}

	.box-logo {
		grid-area: logo;
	}

	.box-kontakt {
		grid-area: kontakt;
	}

	.box-partnerseiten {
		grid-area: partner;
	}

	#right .inside>.block {
		margin-top: 0;
	}
}
