html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: #656565;
	padding: 0;
	margin: 0px 20px;
	background-color: #E2FBFB;
}

a {
	color: #999;
	text-decoration: underline;
}
a:visited {
	color: #999;
}

a:hover {
	text-decoration: underline;
}

/* Artikeltext: Links (Navigation bleibt nav a) */
article a {
	color: #17b7b5;
	text-decoration: none;
	font-weight: normal;
}
article a:visited {
	color: #17b7b5;
	text-decoration: none;
	font-weight: normal;
}
article a:hover {
	color: #4ec0d2;
	text-decoration: underline;
}

/* Tabellen: keine Ränder (auch Inline-Styles aus TinyMCE) */
#content table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	border: 0 !important;
}
#content table td,
#content table th {
	border: 0 !important;
	border-style: none !important;
	outline: 0;
	box-shadow: none;
	padding: 0.35em 0.75em 0.35em 0;
	vertical-align: top;
}
#content table tr {
	border: 0 !important;
}

#container {
	position: relative;
    max-width: 928px;
    min-width: 480px;
    margin: 20px auto 5px auto;
	background-color: #fff;
}

header {
	height:160px;
	position: relative;
	z-index: 1;
}

#logo{
	background: #fff;
}

#logo {
	position: absolute;
	width: 208px;
	height: 160px;
}

#logo-mobile {
	display: none;
}

#header-banner {
	margin-left: 208px;
	height: 160px;
	position: relative;
	overflow: hidden;
	/*
	background-image: url(images/banner-tara.jpg);
	background-repeat: no-repeat;
	background-position: center;
	*/
}

/* Lesbarkeitsverlauf wie Original: nur im unteren Bannerbereich */
#header-banner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 42px;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.65) 100%
	);
	pointer-events: none;
}

nav {
	float: left;
    width: 208px;
	margin: 15px 0px 50px 0px;
	padding: 0px 0px 0px 0px;
}

nav ul {
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	list-style-type: none;
	line-height: 1.3em; /*22px;*/
	vertical-align:middle;
	}
nav ul ul{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	}
nav ul ul ul{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	}	
	
nav ul ul ul ul{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	font-size: 0.95em;
	}	
	
	
nav a {
	color:#888;
	text-decoration:none;
	display:block;
	border-bottom: 1px solid;
	border-color: #ddd;
	padding: 5px 0px 2px 17px;
	margin: 0px 0px 0px 0px;
	font-size: 0.95em; 
}

nav li li a{
	padding:5px 0px 2px 31px;
	margin:0px 0px 0px 0px;
	font-size: 0.85em;
	}
	
nav li li li a{
	padding:5px 0px 2px 43px;
	margin:0px 0px 0px 0px;
	font-size: 0.8em;
	}
	
nav li li li li a{
	padding:5px 0px 2px 50px;
	margin:0px 0px 0px 0px;
	}
	

	
nav a:hover {
	display: block;
	background-color: #F5F5F5;
	color: #000;
	text-decoration: none;
	}

nav  a.selected {
	color: #000;
	background-color: #F5F5F5;
	display: block;
}

/* Aktive Seite (Theme setzt active auf <li>) */
nav li.active > a {
	font-weight: bold;
	color: #000;
	background-color: #F5F5F5;
	display: block;
}

#content {
	margin: 0px 0px 0px 208px; /* Platz f nav */
	min-height: 500px;
	padding: 0px;
    line-height: 1.3846em; /*18px*/
	position: relative;
	z-index: 2;
}

#content article {
	margin: -160px 0px 20px 0px;
	padding: 0px 40px 25px 30px;
	background-image: url(images/schatten-29prozent.png);
	background-repeat: repeat-x;
	/*Schatten am richtigen Ort*/
	border-top: 1px solid #E2FBFB; 
}

#content article h1 {
	/*
	margin-top: 53px;
	padding-top: 70px; 
	*/
	margin-top:123px;
	padding-right: 0px; 
	padding-bottom: 30px
	padding-left: 0px;
	color: #007575;
	font-size: 1.9em;
	font-weight: normal;
	line-height: 1em;
	text-shadow: 0px 0px 7px #fff;
	position: relative;
	z-index: 3;
}

#content article h2 {
	margin: 0 0 18px;
	font-size: 18px;
	line-height: 1.25;
	font-weight: normal;
	color: #007575;
}

#content article img {
	max-width: 100%;
	height: auto;
}


/* Bilder mit Editor-Styles (float) zuverlässig ausgeben */
#content article img.img-right {
	float: right !important;
	margin: 0 0 1em 1em !important;
	display: block;
}

#content article img.img-left {
	float: left !important;
	margin: 0 1em 1em 0 !important;
	display: block;
}

#content article img.img-normal {
	float: none !important;
	margin: 0 !important;
	display: block;
}


#content article p {
	margin: 0 0 14px;
	
	clear:both;
}

/* Trennlinien dezent wie auf der Veranstaltungsseite */
#content article hr {
	border: 0;
	border-top: 1px solid #d4d4d4;
	height: 0;
	margin: 2em 0 1em 0;
	background: transparent;
}



#content article.event-list-page .event-list h2.event-month {
	font-size: 15px;
	font-weight: bold;
	color: #656565;
}



.list-page-intro {
	margin-bottom: 1.25em;
}

/* Google Maps & andere Einbettungen */
#content iframe {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 420px;
	border: 0;
}

/* Falls der Editor ein iframe in einen Absatz packt. */
#content p > iframe {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 420px;
}



/*
#content article img[style*="float: right"],
#content article img[style*="float:right"] {
	float: right !important;
	margin: 0 0 1em 1em !important;
	display: block;
}

#content article img[style*="float: left"],
#content article img[style*="float:left"] {
	float: left !important;
	margin: 0 1em 1em 0 !important;
	display: block;
}
*/

/* Bei Bild-im-Absatz den Umfluss fuer folgende Ueberschriften/Absaetze nicht abbrechen. */

#content article h2,
#content article h3,
#content article p {
	clear: none !important;
}

#content article::after {
	content: "";
	display: table;
	clear: both;
}


#content table colgroup col {
  width: auto !important;
}

#content table tr {
	height: auto;
}

#content table td:first-child,
#content table th:first-child {
  width: 1% !important;
  white-space: nowrap;
  max-width: 30%;
}


footer {
    max-width: 930px;
    min-width: 480px;
    margin: 8px auto 5px auto;
	padding: 0;
	font-size: 0.733em; /*11px;*/
}
footer p{
	text-align: right;
	padding: 0px 20px 0px 20px;
	margin: 0px 0px 0px 0px;
	color: #555;
}
footer a {
	color: #555;
	text-decoration: none;
}
footer a:visited {
	color: #555;
	text-decoration: none;
}

footer a:hover {
	color: #000;
	text-decoration: underline;
}
.desktop-only {
	display: block;
}

.iphone-only {
	display: none;
}

/*
@media (max-width: 900px) {
	header {
		min-height: 120px;
	}

	#logo {
		width: 120px;
		min-width: 120px;
	}

	#header-banner {
		min-height: 120px;
	}
}

@media (max-width: 700px) {
	.desktop-only {
		display: none;
	}

	.iphone-only {
		display: flex;
	}

	header {
		min-height: 80px;
	}

	#logo-mobile {
		width: 88px;
		min-width: 88px;
		align-items: center;
		justify-content: center;
	}

	#header-banner {
		min-height: 80px;
	}

	nav ul {
		padding: 0;
	}

	nav li {
		width: 100%;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	nav li:first-child {
		border-top: 0;
	}

	#content {
		padding: 18px 14px 22px;
	}

	article h1 {
		font-size: 26px;
	}

	article h2 {
		font-size: 20px;
	}
}
*/


/*@media only screen and (max-width: 670px) { 
#title p {
	padding-top: 100px;}	
}*/

@media only screen and (max-width: 980px) {
header {
display: flex;
align-items: stretch;
float: none;
}
#logo {
flex: 0 0 160px;
width: 160px;
}
#header-banner {
flex: 1 1 auto;
min-height: 160px;
height: 160px;
background-repeat: no-repeat;
background-position: center center;
background-size: auto 100%; /* Bild bleibt hoch, Ausschnitt wird schmaler */
}
}

@media only screen and (max-width: 830px) { 
header {
}

#logo {
display: flex !important;
flex: 0 0 160px;
width: 160px;
min-width: 160px;
height: 160px;
align-items: center;
justify-content: center;
}

#header-banner {
flex: 1 1 auto;
min-height: 160px;
height: 160px;
background-repeat: no-repeat;
background-position: center center;
background-size: auto 100%;
}
}

@media only screen and (max-width: 750px) { 
h1 {font-size: 1.6em;}
}

@media only screen and (max-width: 700px) { 
h1 {font-size: 1.5em;}
body {margin: 0px 10px;}
#container {margin-top: 10px;}
}


@media only screen and (max-width: 590px) { 
h1 {font-size: 1.4em;}
body {margin: 0px 0px;}

#container {margin-top: 0px;}
}
	
@media only screen and (max-width: 480px) { 
  #container {
    width: 100%;
  }
  header {
    display: grid !important;
    grid-template-columns: 88px 1fr; /* Logo + Rest */
    align-items: stretch;
    column-gap: 0;                   /* KEIN Zwischenraum */
    width: 100%;
    height: 88px !important;
    min-height: 88px !important;
  }
  #logo {
    display: none !important;
  }
  #logo-mobile {
    display: block !important;
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    margin: 0 !important;
  }
  #header-banner {
    width: 100% !important;
    height: 88px !important;
    min-height: 88px !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
#title p {
	padding: 60px 0px 0px 110px;
	color: #fff; font-size: 0.95em; text-decoration: none; line-height: 1em;}	


#shadow {
	height: 108px;
}


nav{
    margin-top: 0px;
    margin-bottom: 10px;
	padding:0 0px 0 0px;
    width:100%;
	background-color: #fff;
} 

nav li {
    float: none;
    margin: 0;
    width:100%;
    display:block;
  } 
nav a {
    font-size:1em;
    position:relative;
	padding-left: 20px;	
  } 
  
nav li li a{
	padding-left:28px;
	}
 

#content{
    float: none;
    margin: 0px 0px 0px 0px; 
	background-color: #fff;
}
article {
	margin-top: 20px; 
	padding: 0px 15px 15px 20px;
	border-top: none;
}
	
h1 {
	margin-top: 10px;
	padding-top: 0px;
}
	
	

footer {
    min-width: 100%;  
	margin-top: 8px; 
}

footer p{
	text-align: left;
}

.iphone-only {display: block;} 
.desktop-only {display: none;} 
}




