/* importiert Normalisierung  */
@import url("normalize.css");

* {
	padding: 0;
	margin: 0;
}

/* Breite, Höhe enthält durch box-sizing: border-box Inhalt, Rahmen und Abstand */
*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Container definieren   beiger background: #D2D1CB #EAEADD;  #FFFFFA; #A8A79F;*/
body {
	font-family: Arial, “Helvetica Neue”, Helvetica, sans-serif;
	font-size: 100%;
	color: #333;
	line-height: 1.5;
	background: #EAEADD;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

#wrapper {
	max-width: 1480px;	
	margin: 0px auto;
}


/* Bilderauswahl: von bg bis bg6 alternatives beige: #FFFFFA;*/
header {
	min-height: 182px;
	line-height: 1;
	background: url(../images/bg.png) top left repeat-x #EAEADD; 
	overflow: visible;
}

/* Farbmöglichkeiten background:beige #fcfaf5; oder #f6f6ed;*/

#contentwrapper {
	background: #fff;
	padding-bottom: 10px;
}

#teaser {
	width: 100%;
	height: auto;
}

/* Farbmöglichkeiten background: beige #f6f6ed;  oder #fcfaf5;*/

#content {
	width: 100%;
	background: #fff;
	padding: 20px;
}

/* Farbmöglichkeiten background: beige #f6f6ed; #C4C4AE oder #fcfaf5;*/
#sitefooter {
	min-height: 190px;
	background-color: #fff;
	padding: 0 20px 0 20px;
	line-height: 2em;
	border: black;
	clear: both;
}

/* Clearfix-Klasse für Umgebungscontainer für gleiche Höhe des Inhalts */
.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
	clear: both;
}

/* Raster */
.column {
	float: left;
	padding-left: 1%;
	padding-right: 1%;
}

.column span {
	display: block;
	padding: 1rem;
}

span.speedlinks {
	padding: 0;
	margin-bottom: 1em;
}

/* Spalten */
.span_1 {
	width: 16.6666666667%;
}

.span_2 {
	width: 33.3333333333%;
}

.span_2:first-child {
	padding-left: 0;
}

.span_2fm {
	min-width: 300px;
}

.span_2:last-child {
	padding-right: 0;
}

.span_3 {
	width: 50%;
}

.span_3:first-child {
	padding-left: 0;
}

.span_3:last-child {
	padding-right: 0;
}

.span_4 {
	width: 66.6666666667%;
}

.span_5 {
	width: 83.3333333333%;
}

.span_6 {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

#flexrow {
	display: flex;
	flex-direction: row;
}

#flexrow_2 {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

#flex_25 {
	flex: 1;
	padding: 0 10px;
}

#flex_25:last-child {
	border-left: 1px solid black;
}

#flex_75 {
	flex: 4;
	padding-right: 10px;
}

/* Inhaltselemente */
/* Header */
img.logo {
	max-width: 100%;
}

p.title {
	width: auto;
	font-family: Times, “Times New Roman”, Georgia, seri;
	font-size: 33px;
	margin: 40px 0 0 0;
	color: #A36500;
	letter-spacing: 2px;
	line-height: 1.25em;
}

hr.title {
	width: 41.5em;
	height: 2px;
	color: #ec6732;
	background-color: #A36500;
	border: none;
	margin: 5px 0;
	text-align: left;
}

p.subtitle {
	font-size: 18px;
	margin: 0;
	color: #A36500;
	letter-spacing: 2px;
}

/* Teaser-Bild */
#teaser img {
	max-width: 100%;
	height: auto;
}

/* Inhalt   alternativ: font-family: Garamond, “Hoefler Text”, Palatino, “Palatino Linotype”, serif;  */
h1 {
	font-size: 2em;
	color: #A36500;
	font-weight: normal;
	margin: 0 0 .25em 0;	
}

 h2 {
 	font-size: 1.5em;
	color:  #A36500;
	margin-bottom: .5em;
	font-weight: normal; 
} 	

h2.speedlinks {
	display: inline;	
	margin: 0 1em 0 1em;
}

h3 {
 	font-size: 1.25em;
	color: #333;
	margin-bottom: .5em;
	font-weight: normal;
}

h4 {
	font-size: 1.125em;
	color: #333;
	margin-bottom: .5em;
	font-weight: bold;
}

p {
	margin-bottom: 1em;
}

.space {
	margin-bottom:  1.25em;
}

.hinweis {
	color: #780373;
}

/* linkfarben:   */

#content a:link {
	/* color: öbogrün #54380c; oder dunkelbraun #42782D; font-weight: bold;  oder grün #509036     */
	color: #509036;
	text-decoration: none;	
}

#content a:visited {
	/* color: rot: #42782D; oder grün #54380c; */
	color: #509036;
}

#content a:hover {
	color: #804F00;
}

#content a:focus {
	color: #B21400;
}

#content a:active {
	color: #B21400;
}

hr {
	margin: 1em 0;
}

hr.fm {
	margin: 2em 0;
}

#content ul {
	list-style-image: url(../images/bullet.png);
	padding-left: 20px;
}

#content ul li {
	margin-bottom: .5em;
}

#content ul.noneLS {
	list-style: none;
}

#content ol {
	list-style-image: url(../images/bullet.png);
	padding-left: 20px;
}

#content ol li {
	margin-bottom: .5em;
}

img.rechts {
	float: right;
	max-width: 300px;
	height: auto;
	margin: 0 0 1em 1em;
}

img.links {
	float: left;
	max-width: 300px;
	height: auto;
	margin: 0 1em 1em 0;
}

img.q {
	max-width: 500px;
}

abbr[title] {
	border-bottom: none;
}

abbr {
	border-bottom: 1px dashed;
}

/* Bildergalerie */
ol.galerie {
	list-style: none;
}

ol.galerie li {
	display: inline;
}

ol.galerie img {
	border: 1px solid #478230;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;	
	margin: 5px 20px 5px 0;
}

ol.galerie img:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
	border: 1px solid #478230;
}

/* Bilder mit Bildunterschriften */
figure {
	position: relative;
	display: inline-block;
	width: 330px;	
	overflow: hidden;
	padding: 5px;
	margin: 20px 20px 30px 0;
	text-align: left;
	vertical-align: top;
}

figure:last-child {
	margin-right: 0;
}

figure.column2 {
	width: 100%;
}

figure img {
	max-width: 320px;
}

figure.vt img {
	float: left;
	margin-right: 10px;	
}

figure.fm {
	width: 500px;
	padding: 0;
	margin: 0 0 1em 0;
}

figure.fm img {
	max-width: 500px;
}

figure.fm figcaption {
	font-size: 75%;
}

/* Liste der Förderer */

#content ul.foerderer {
	margin-left: 0;
	padding-left: 0;
}

#content ul.foerderer li {
	list-style: none;
	display: inline;
	margin-right: 20px;
}

#content ul.foerderer img {
	margin-bottom: 20px;
}

/* Spendenaktion Menschen in der Ukraine */

button.spendenaktion {
	background-color: blue;
	color: yellow;
	border: 2px solid blue;
	border-radius: 15px;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
	margin-bottom: 1em;
	transition-duration: 0.3s;
}

button.spendenaktion:hover {
	background-color: yellow;
	color: blue;
}

#content a.spendenaktion:link {
	padding: 5px 10px;
	font-size: 1.25em;
	font-weight: bold;
	color: yellow;
	text-decoration: none;
	letter-spacing: 2px;
}

#content a.spendenaktion:visited {
	color: yellow;
}

#content a.spendenaktion:hover {
	color: blue;
}


/*----------*/

/* Footer   farben: C4C4AE oder #A8A79F  */
#sitefooter .subnav {
	width: 100%;
	height: 100%;
	display: table;
	padding-bottom: 20px;
}

#sitefooter .sub_l {
	height: 100%;
	width: 20%;
	display: table-cell;
	vertical-align: bottom;
}

#sitefooter .sub_m {
	height: 100%;
	width: 40%;
	display: table-cell;
	vertical-align: bottom;
}

#sitefooter .sub_r {
	height: 100%;
	width: 40%;
	display: table-cell;
	vertical-align: bottom;
}

#sitefooter p {
	margin: 0;
}

#sitefooter ul {
	padding: 0;	
}

#sitefooter li {
	list-style: none;
	display: inline;
	padding-right: .5em;
}

#sitefooter .subnav img {
	float: left;
	padding: 5px 20px 0 0;
}

#sitefooter a:link {
	width: 100%;
	height: 100%;
	padding: .375em .375em 0 .375em;
	font-size: 16px;
	font-size: 1rem;
	font-weight: bold;
	color: #4f403b;
	text-decoration: none;
}

#sitefooter a:visited {
	color: #4f403b;
}

#sitefooter a:hover {
	width: 100%;
	height: 100%;
	padding: .375em .375em 0 .375em;
	font-size: 16px;
	font-size: 1rem;
	font-weight: bold;
	color: #804f00;	
	text-decoration: none;
}

#sitefooter a:focus {
	color: #804f00;
}

#sitefooter a:active {
	color: #804f00;
}

#sitefooter a.aktiv {
	color: #804f00;
	border-bottom: 2px solid black;	
}

/* 404-Angaben */
div.f404 {
	text-align: center;
}

div.f404 h1 {
	font-size: 10em;
	text-shadow: 5px 5px 10px #333;
	margin-bottom: .1em;
}

@media screen and (max-width: 1024px) {
#flexrow {
		flex-direction: column;
}
	
#flex_25:last-child {
		padding: 20px 0 0 0;
		border: none;
		border-top: 1px solid black;
}

img.q {
	max-width: 300px;
}

}

@media screen and (max-width: 768px) {
header {
	background: #EAEADD url(../images/bg.png) bottom left repeat-x;
	min-height: 100px;
}

p.title {
	font-size: 24px;
	margin: 20px 0 0 0;
	line-height: 1em;
}

p.subtitle {
	font-size: 16px;
}

#content {
	padding: 0 10px;
}

.span_1 {
	width: 100%;
	margin-top: 25px;
}

.span_2 {
	width: 100%;
	margin-top: 25px;
}

.span_3 {
	width: 100%;
	margin-top: 25px;
}

.span_4 {
	width: 100%;
	margin-top: 25px;
}

.span_5 {
	width: 100%;
	margin-top: 25px;
}

.span_6 {
	width: 100%;
	margin-top: 25px;
}

#flexrow_2 {
	flex-direction: column;
}

#flex_75 {
	margin-top: 10px;
}

figure {
	max-width: 100%;
}

img.rechts, img.links {
	float: none;
	margin: 0;
	padding-bottom: 10px;
}

img.q {
	max-width: 300px;
}

#subnavfm ol li:last-child {
	position: relative;
}

#sitefooter img {
	max-width: 100%;
}

#sitefooter .subnav li {
	display: block;
}

#sitefooter .sub_l {
	width: 30%;
}

#sitefooter .sub_m {
	width: 40%;
}

#sitefoooter .sub_r {
	width: 30%;
}

}

@media screen and (max-width: 320px) {

#sitefooter .subnav {
	display: block;
	width: 100%;
}

#sitefooter .sub_l, .sub_m, .sub_r {
	display: block;
	width: 100%;
}

}
