body{
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #333333;
	margin: 0;
	padding: 0;
}

#content-wrapper{
	width: 100%;
	margin-bottom: 50px;
}

#content{
	margin: 0 auto;
	width: 1024px;
	padding: 20px;
	box-sizing: border-box;
	font-size: 14px;
}

#header-wrapper{
	width: 100%;
	background-color: #FFFFFF;
	height: auto;
}

#header{
	margin: 0 auto;
	width: 1024px;
	padding: 20px;
	box-sizing: border-box;
	height: 150px;
}

#logo{
	width: 100px;
	height: 100px;
}



#mobile-navigation{
	display: none;
}

#slogan{
	color: #333333;
	position: relative;
	margin-top: -10px;
	float: right;
	font-size: 25px;
	box-sizing: border-box;
	width: 350px;
	display: block;
	z-index: 100000;
}

#footer-wrapper{
	width: 100%;
	background-color: #0070AA;
}

#footer{
	margin: 0 auto;
	width: 1024px;
	padding: 20px;
	color: #FFFFFF;
	box-sizing: border-box;
	/*background-image: url('../img/fussbg.png');*/
	background-repeat: no-repeat;
	background-position: 500px -11px;
	height: 150px;
	
}

#footer a{
	color: #FFFFFF;
}

#footer-map
{
	width: 100%;
	height: 450px;
}

/*Formatierungen*/
h1, h2{
	color: #000000;
	text-transform: uppercase;
	margin-top: 20px;
	text-align: center;
}

h1{
	font-size: 25px;
	font-weight: normal;
	font-family: 'OpenSans-Light', serif;
}

h2{
	font-size: 18px;
	font-weight: normal;
	font-family: 'OpenSans-Light', serif;
}

#navigation ul{
	margin: 0px;
	padding: 0px;
	margin-top: -10px;
}

#navigation-wrapper{
	width: 100%;
	background-color: #f8f8f8;
	
}

#navigation{
	color: #333333;
	box-sizing: border-box;
	display: block;
	margin: 0 auto;
	width: auto;
	padding-top: 25px;
	padding-bottom: 25px;
	margin-top: 30px;
}

#navigation li
{
	list-style: none;
	width: auto;
	/*padding-right: 20px;*/
	margin-right: 10px;
	/*padding-left: 20px;*/
	/*border-right: 1px solid #333333; */
	float: left;
}

}

ul.sub-menu li
{
	list-style: none;
	width: auto;
	margin-right: 0px;
	border: none;
	
}

#navigation li:last-child
{
	border-right: none;
}

#navigation a
{
	color: #333333;
	text-decoration: none;
}

/*Menu CSS Formatierung*/
#navigation li a.aktiv
{
	text-decoration: underline;
}


/*Bildergalerie CSS */
#bildergalerieheader{
	
	width: 100%;
	height: 450px;
	/*background-image: url('../images/headerbild-standard.jpg');*/
	background-size: 100% auto;
	
	background-repeat: no-repeat;
	background-position: top center;
	overflow: hidden;
	border-bottom: 10px solid #A93271;
	
}

#bildergalerieheader img{
	width: 100%;
	
	/*max-height: 50%;*/
	overflow: hidden;
}

.ofaSlideshowElements{
	/*margin-top: -10%;*/
}

/*WordPress Spezifisch*/

.row-navi, .row-footer
{
	background: none;
}

.row-navi .container #navs ul li ul li
{
	margin: 0px !important;
	border-bottom: none !important;
}

.row-navi .container #navs ul li.current-menu-item a, 
{
	background-color: #FFF !important;
	background: #FFF !important;
	border-bottom: 2px solid #A93271 !important;
}


.headerbild-container {
    width: 100%;
    max-height: 450px;   /* gewünschte maximale Höhe */
    overflow: hidden;
    border-bottom: 10px solid #5AA247;
    position: relative;
}

.headerbild {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* füllt Container */
    object-position: center center; /* horizontal & vertikal zentrieren */
    display: block;
	margin-top: -30vh;
}

p{
	font-family: 'OpenSans-Light', serif;
}

.row .container{
	width: 1024px;
}

.header-wrapper {
    position: sticky; /* oder fixed, wenn immer oben bleiben soll */
    top: 0;
    width: 100%;      /* volle Breite */
    z-index: 1000;
    background-color: #fff; /* Hintergrundfarbe, sonst durchscheinend */
    
    /* nur unten ein Schatten/Verlauf */
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.2);
}

/* Optional: den Inhalt zentrieren */
.row-header {
    max-width: 1200px; /* wie deine Container-Breite */
    margin: 0 auto;
}

#sprachumschalter{
	display: block;
	width: 128px;
	margin-top: -20px;
	font-family: 'OpenSans-Light', serif;
}

.row-header .container{
	height: 0px !important;
}


form input, table input, form textarea, table textarea, form select, table select, textarea{
	color: #000000;
}

#menu-fussbereich{
display: flex;
}


#menu-fussbereich li{
	/*display: flex;*/
	list-style: none;
	margin-right: 20px;
}

#menu-fussbereich li.current_page_item{
	background: none;
	background-color: none;
	
}


@media screen and (max-width: 1200px)
{
	.row-header .container{
		position: relative;
	}
}

@media screen and (max-width: 1024px) {
	
	#navigation{
		/*width: 100%;*/
		box-sizing: border-box;
	}
	
	#footer{
		width: 100%;
		box-sizing: border-box;
	}
	
	#header{
		width: 100%;
		box-sizing: border-box;
	}
	
	
	#content{
		width: 100%;
		box-sizing: border-box;
	}
	
	#submenu{
		width: 100%;
		box-sizing: border-box;
	}
	
	
}

@media screen and (max-width: 849px) {
	#menu{
		margin-top: 10px;
		margin-bottom: 20px;
	}
	
}


@media screen and (max-width: 600px) {
	#content td{
		width: 100%;
		display: block;
	}
	
}

@media screen and (max-width: 450px) {
	#slogan{
		font-size: 20px;
		margin-top: -30px;
	}
	
	.row-header{
		height: 100px;
	}
	
	

}

@media screen and (max-width: 400px) {
	#slogan{
		width: auto;
	}

}



