
/***************************
 * Allgemeine Einstellungen
 ***************************/
 :root{
	 --design_color:#F40500;
 }
*{
	margin: 0px;
	padding: 0px;
}
body{
	margin:0em;
	padding:0em;
	background: #DCDCDC;	
	font-size:100%;
}
p {
	margin:0em;
	padding:1.25em;
	line-height:1.25em;
	font-family:Arial;
	color:#2F2D2C;
	text-align:justify;
}
ul {
	margin:0px;
	padding:0px;
}
li {
	list-style:disc;
	line-height:1.25em;
	font-family:Arial;
	font-weight:100;
	color:#2F2D2C;
}
img {
	width:85%;
	height:auto;
	max-width:100%;
}
a {
	text-decoration: none;
}
a:link {
	color:var(--design_color);
}
ins {
	color:var(--design_color);
}

/************
Cookie-Banner
************/
/*.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}
*/

.overlay {
  height: 0em;
  padding-top: 1em;
  padding-bottom: 1em;
  background: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  overflow: auto;
}
.overlay:target {
  height: auto;
  visibility: visible;
  opacity: 1;
}

.popup {
  margin-left:auto;
  margin-right:auto;
  background: #fff;
  border-radius: 10px;
  width: 92.16%; /* 96%*96% */
}

.popup h2 {
	margin:0em;
	padding:1em 1.8em 0.3em 1.8em;
	line-height:1em;
	font-size:2em;
	font-family:Arial;
	font-weight:100;
	color:#000;
}

.popup .close {
  float:right;
  margin:0em;
  padding-top:0.5em;
  padding-right:1em;
  /*transition: all 200ms;*/
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  text-align:right;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .popupcontent {
  padding:0em 1.8em 0.3em 1.8em;
  text-align:left;
  overflow: auto;
}

/**********
 * Bilder
 **********/
 /* Container holding the image and the text */
.container {
	position: relative;
	line-height:1.25em;
	font-family:Arial;
	color: black;
}

/* Bottom left text */
.bottom-left {
	position: absolute;
	bottom: 5%;
	left: 10%;
}

/* Top left text */
.top-left {
	position: absolute;
	top: 5%;
	left: 10%;
}

/* Top right text */
.top-right {
	position: absolute;
	top: 5%;
	right: 10%;
}

/* Bottom right text */
.bottom-right {
	position: absolute;
	bottom: 5%;
	right: 10%;
}

/* Centered text */
.centered {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
} 

/*****************
 * Hauptcontainer
 *****************/
#dynamisch{
	width: 100%;
	display:block;
	position: top;
	padding-bottom:4em;
}
#statisch{
	width: 100%;
	display:block;
	bottom: 0px;
	position: fixed;
}


/* Header */
#mainheader {
	display:block;
	background:#3D4142;
	text-align:center;
	border-bottom: 0.1em solid var(--design_color);
	padding-top:0.25em;
	padding-bottom:0.25em;
}
#mainheader_image {
	max-width:5em;
	margin:0.15em 0em 0.15em 0em;
	padding:0.25em;
	border-radius: 10px;
	background-color:#FFF;
	vertical-align:middle;
}
#mainheader_image:hover {
	max-width:5em;
	opacity:0.5;
}
#mainheader ul {
	margin: 0em auto;
	width:100%;
	max-width:1920px;
}
#mainheader ul li {
	display:inline;
	font-size:1.75em;
	line-height:1em;
	font-family:Arial;
	/*font-weight:100; */
	color:#E2DBDD;
	vertical-align:middle;
}
#mainheader ul li a {
	color:#E2DBDD;
}

/* Content Area */ 
#content {
	width:96%;
	max-width:1920px;
	margin-top:1.25em;
	margin-left: auto;
	margin-right: auto;
}

/* mainpage */
#mainpage_article {
	width:96%;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:1.5em;
	padding:0em 0em 0em 0em;
	display: block;
	background:#FFF;
	vertical-align: top;
	text-align:center;
	border-radius: 10px;
	box-shadow:0px 0px 10px -5px #4c4948;
}
#mainpage_text h1 {
	margin:0em;
	padding:1em 1.8em 0.3em 1.8em;
	line-height:1em;
	font-size:2em;
	font-family:Arial;
	font-weight:100;
	color:#000;
	text-align:center;
}
#mainpage_text h2 {
	margin:0em;
	padding:1em 1.8em 1em 1.8em;
	line-height:1em;
	font-size:1.6em;
	font-family:Arial;
	font-weight:100;
	color:#000;
	text-align:center;
}
#mainpage_image {
	margin:0.5em 0em 0.5em 0em;
	padding:1em;
	max-width:20em;
	background-color:#FFF;
	box-shadow:0px 0px 10px -5px #4c4948;
	border-radius: 20px;
}
#mainpage_image:hover {
	max-width:20em;
	opacity:0.5;
}
#mainpage_text_image {
	max-width:500em;
	box-shadow:0px 0px 10px -5px #4c4948;
	border-radius: 5px;
}

/* articles */
#berichte{
	width:62%;
	display:inline-block;
	font-family:Arial;
}
#content article {
	width:96%;
	margin:0em;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:1.5em;
	padding:0em;
	display: block;
	background:#FFF;
	vertical-align: top;
	text-align:center;
	border-radius: 10px;
	box-shadow:0px 0px 10px -5px #4c4948;
}
#content article h1 {
	margin:0em;
	padding:1em 1.8em 1em 1.8em;
	line-height:1em;
	font-size:1.6em;
	font-weight:1000;
	color:#000;
	text-align:left;
}
#content_h2 {
	text-align:left;
	margin-left:1em;
	margin-right:1em;
}
#content article img {
	max-width:500em;
	box-shadow:0px 0px 10px -5px #4c4948;
	border-radius: 5px;
}
#articlemenu {
	display:block;
	height:2.5em;
	background:#666;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
#articlemenu ul {
	display:block;
	padding:0.2em;
}
#articlemenu ul li {
	width: 2.5em;
	display:inline-block;
}
#articlemenu ul li:hover {
	width: 3em;
}
#article_text_image {
	max-width:500em;
	box-shadow:0px 0px 10px -5px #4c4948;
	border-radius: 5px;
}
#article_text_image:hover {
	opacity:0.5;
}


/* short-blogs */
#content aside {
	margin-left:2%;
	padding:0em;
	width:32%; 
	vertical-align:top;
	display:inline-block;
}
#content aside section {
	margin-bottom:1.5em;
	background:#FFFFFF;
	border-top: 0.2em solid var(--design_color);
	border-radius: 10px;
	box-shadow:0px 0px 10px -5px #4c4948;
}
#content aside section h2 {
	margin:0em;
	padding:1.25em;
	font-size:1.6em;
	line-height:1em;
	font-family:Arial;
	font-weight:100;
	color:#000;
	text-align:left;
}
#content aside section ul {
	padding:0em 1.5em 1em 2.5em;
	font-family:Arial;
	color:#000;
}
#content_aside_image {
	margin:0.5em 0em 0.5em 0em;
	padding:1em;
	max-width:20em;
	background-color:#FFF;
	box-shadow:0px 0px 10px -5px #4c4948;
	border-radius: 20px;
}
#content_aside_image_link {
	margin:0.5em 0em 0.5em 0em;
	padding:1em;
	max-width:20em;
	background-color:#FFF;
	box-shadow:0px 0px 10px -5px #4c4948;
	border-radius: 20px;
}
#content_aside_image_link:hover {
	opacity:0.5;
}

/* Animation */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/*************************
 * Links zu Drittanbietern
 *************************/
 
 /* Popup container */
.link_popup {
    position: relative;
    display: inline;
    cursor: pointer;
}

/* Popup appears on top */
.link_popup .link_popuptext {
    visibility: hidden;
    width: 10em;
    background-color: #3D4142;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/*
 Popup arrow 
.link_popup .link_popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #3D4142 transparent transparent transparent;
}
*/

/* Hide and show the popup */
.link_popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 0.1s;
    animation: fadeIn 0.1s
}

/***********
 * Fußzeile
 ***********/

/* navigation */
#navigation {
	display:block;
}
#navigation ul {
	background:#666;
	text-align:center;
}
#navigation li a {
	/* Schriftfarbe fuer alle Links der navigation */
	color:#FFF;
}

/* normalnavi */
#normalnavi li {
	display:inline-block;
	padding:0.5em 0.625em 0.5em 0.625em;
	font-size: 1.125em;
}
#normalnavi li:hover{
	/* Balken ueber und Hintergrundfarbe fuer li-Element, das gerade mit Maus ueberfahren wird */
	background: #DBD9D8;
	border-top: 0.2em solid var(--design_color);
}
#normalnavi li.active {
	/* Balken ueber aktivem li-Element */
	border-top: 0.2em solid var(--design_color);
}

/* smallnavi */
#smallnavi li {
	display:none;
	border-top: 0.2em solid #666;
	padding:0.5em 0.625em 0.5em 0.625em;
	font-size: 1.125em;
}
#smallnavi li:hover {
	/* Balken ueber und Hintergrundfarbe fuer li-Element, das gerade mit Maus ueberfahren wird */
	background: #DBD9D8;
	border-top: 0.2em solid var(--design_color);
}
#smallnavi li:active {
	/* Balken ueber und Hintergrundfarbe fuer li-Element, das gerade mit Maus ueberfahren wird */
	background: #DBD9D8;
	border-top: 0.2em solid var(--design_color);
}

/* smallnavi-dropdown */
#smallnavi ul.dropdown-content {
	/* Deaktiviere dropdown-content standardmaessig */
	display:none;
}
#smallnavi li.dropdown-active:hover .dropdown-content {
	/* Aktiviere dropdown-content, wenn Maus ueber 'dropdown-active' Feld ist */
    display:block;
	/* Postion ueber smallnavi-Leiste */
    position:absolute;
    bottom:100%;
}
#smallnavi li.dropdown-active:active .dropdown-content {
	/* Aktiviere dropdown-content, wenn Maus ueber 'dropdown-active' Feld ist */
    display:block;
	/* Postion ueber smallnavi-Leiste */
    position:absolute;
    bottom:100%;
}
#smallnavi ul.dropdown-content li {
	/* Auflistung uebereinander */
	display:block;
}
#smallnavi ul.dropdown-content li.active {
	/* Balken ueber aktivem li-Element innerhalb des dropdown-content */
	border-top: 0.2em solid var(--design_color);
}

/* Fussende */
#fussende {
	/* Fussende-Element ueberganze Seitenbreite aktivieren */
	display:block;
}
#fussende ul {
	/* Hintergrundfarbe festlegen */
	background:#3D4142;
	/* Trennbalken zwischen Fussende und Navi */
	border-top: 0.1em solid var(--design_color);
	/* Liste zentrieren */
	text-align:center;
}
#fussende ul li {
	/* Elemente nebeneinander anordnen */
	display:inline-block;
	/* Abstand zwischen den Elementen */
	padding:1em 0.625em 1em 0.625em;
	/* Schriftgroesse im Fussende */
	font-size:0.8em;
}
#fussende ul li a {
	/* Schriftfarbe fuer diese Links vereinheitlichen */
	color:#E2DBDD;
}


/*********************
 *  Artikel Animation
 *********************/

#article1, #article2, #article3 {
	height:auto;
	overflow: hidden;
}
#article1:target, #article2:target, #article3:target{
	height:auto;	
}


/*****************
 *  Mobile Style
 *****************/
@media screen and (min-width:720px) and (max-width:2160px) {
	/* Desktop-Modus ab Breite von 720px bis 2160px */
	body {
		font-size:16px; /* Standard bei Browsern */
	}
}
@media screen and (min-width:240px) and (max-width:719px) {
	/* Tablet-/Smartphone-Modus mit min. Breite 240px und max. Breite 719px*/
	body {
		font-size:16px; /* Standard bei Browsern */
	}
	/* Verschiebe Schnellinks von der Seite unter die Artikel */
	#content aside, #berichte {
		width:96%;
		display:block;
		margin-left: auto;
		margin-right: auto;
		padding:0em 0em 0em 0em;
	}
	/* Schalt 'normalnavi' aus und blende 'smallnavi' ein */
	#normalnavi li {
		display:none;
	}
	#smallnavi li {
		display:inline-block;
	}
}
