body
{
margin: 0 auto;
background: #FFFFFF;
font-family: arial, helvetica, sans-serif;
color: #333333;
font-size: 1em; 
}

h1
{
font-size: 1.6em;
font-weight: normal;
color: inherit;
}

h2
{
font-size: 1.4em;
font-weight: bold;
color: inherit;
margin: 20px 0;
}

h3
{
font-size: 1.2em;
font-weight: bold;
color: inherit;
margin: 20px 0;
}

p
{
font-size: 1.2em; 
margin: 1.4em 0;
line-height: 1.4em;
}

a
{
text-decoration: underline;
color: #3333FF;
transition: color .5s ease;
}

a:link
{
text-decoration: underline;
color: #3333FF;
transition: color .5s ease;
}

a:hover
{
text-decoration: underline;
color: #3399FF;
}

/* MISC */

.clear
{
clear:both;
}

.hidden
{
position:absolute;
clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
clip: rect(1px, 1px, 1px, 1px);
}

sup
{
font-size: 0.6em;
vertical-align:super;
}

sub
{
font-size: 0.6em;
vertical-align:sub;
}

.klein
{
font-size: 0.8em;
line-height: 1em;
}

.rechts
{
text-align: right;
}

.zuruck
{
font-size: 0.8em;
line-height: 1em;
text-align: right;
}

.center
{
text-align: center;
}

.block
{
text-align: justify;
}

strong
{
font-weight: bold;
}

.kursiv
{
font-style: italic;
}

#sprung
{
background: #eeeeee;
padding: 10px 20px;
font-size: 1em;
line-height: 1.6em;
}

/* - Bilder - */

figcaption
{
line-height: 2em;
text-align: left;
font-size: 0.8em;
color: #666666;
border-bottom: 1px solid #333333;
}

.img-rechts
{
float:right;
margin-left: 30px;
margin-top: 5px;
margin-bottom: 10px;
}

.img-links
{
float:left;
margin-right: 30px;
margin-top: 5px;
margin-bottom: 10px;
}

.abstand
{
margin-right: 15px;
}

/* ------------------------- header ----------*/

header
{
position:relative;
width:auto;
max-width:900px;
height: 5px;
margin: 0 auto;
}

#logo
{
position: absolute;
top: 15px;
right: 10px;
margin: 0px;
}

#kopf
{
width:auto;
height: auto;
}


/* ----------------------- Navigation ------------*/

nav ul
{
margin: 20px auto;
width: 100%;
max-width: 900px;
height: 40px;
list-style:none;
font-size: 1.2em;
font-stretch: condensed;
background: #FFFFFF;
}


nav ul li
{
display:block;
float:left;
padding: .1em .9em;
color: #969D01;
border-right:  3px solid #969D01;
}


nav ul li a:link
{
color: #969D01;
}


nav ul li a:hover
{
color: #291065;
text-decoration: underline;
}

#on, #firston
{
color: #291065;
}

#first, #firston
{
margin-left: -0.8em;
}



#mobileMenu
{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: none;
}

#mobileMenu ul li
{
        display:block;
        background-color: #eeeeee;
        color: #0000FF;
        padding: 12px 0;
        letter-spacing: 0.1em;
        text-align: center;
        text-transform: uppercase;
        border-bottom: 1px solid #291065;
}

#mobileMenu a:hover
{
text-decoration: none;
color: #291065;
font-weight: bold;
}

.toggleMobile
{
        display: none;
}



/* ----------------- Sektionen ------------------ */

section
{
background: #FFFFFF;
width:auto;
max-width:900px;
margin: 0 auto;
padding: 20px 0;
}


#textbereich h1
{
text-align: center;
margin: 10px 0;
}




/* ------------------------ Footer -------------- */

footer
{
position:relative;
clear:both;
width:auto;
height:200px;
background:#CCCCCC;
}

footer .wrapper
{
line-height: 1.6em;
margin: 0 auto;
padding-top:5px;
width:auto;
max-width:900px;
background:#CCCCCC;
}

footer .wrapper .column
{
padding-top:31px;
color:#000000;
float:left;
width:285px;
margin-right:20px;
}

footer .wrapper .columnrechts
{
padding-top:31px;
color:#000000;
float:left;
width:285px;
}


/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 500px)
{
body
{
width:auto;
max-width:100%;
padding: 0 10px;
}
header
{
height: 200px;
}

#logo
{
position: absolute;
top: 5px;
left: 80px;
width: 200px;
}

img
{
width: auto;
max-width: 100%;
}

.block
{
text-align: left;
}

.img-rechts, .img-links
{
float:none;
margin: 10px;
}

footer .wrapper .column
{
float:none;
max-width: 100%;
padding-left: 20px;
}

footer .wrapper .columnrechts
{
float:none;
max-width: 100%;
padding-left: 20px;
}

#kalender dl.grid { 
  display: grid; 
  grid-template-columns: 100%; 
}

td 
{
padding-right: 2em;
}


		nav
		{
		display: none;
		}
		
		.container
		{
		height: 1px;
		top: -1500px;
		}
		        

        #mobileMenu
        {
                display: block;
                z-index: 99;
        }
        .toggleMobile
        {
                position: fixed;
                top: 10px;
                left: 10px;
                display: block;
                width: 40px;
                height: 36px;
                cursor: pointer;
                z-index: 999;
        }
        .toggleMobile span.menu1, .toggleMobile span.menu2, .toggleMobile span.menu3
        {
                display: block;
                position: absolute;
                width: 40px;
                height: 8px;
                left: 0;
                background: #291065;
				-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
                transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
        .toggleMobile span.menu1
        {
                top: 0;
        }
        .toggleMobile span.menu2
        {
                top: 14px;
        }
        .toggleMobile span.menu3
        {
                top: 28px;
        }
        .toggleMobile.active span.menu1
        {
                top: 14px;
                -webkit-transform: rotate(45deg);
                -moz-transform: rotate(45deg);
                -o-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
                transform: rotate(45deg);
                -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
                transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
        .toggleMobile.active span.menu2
        {
                -webkit-transform: rotate(-45deg);
                -moz-transform: rotate(-45deg);
                -o-transform: rotate(-45deg);
                -ms-transform: rotate(-45deg);
                transform: rotate(-45deg);
                -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
                transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
        .toggleMobile.active span.menu3
        {
                opacity: 0;
                -webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
                transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
}

@media (max-width: 915px)
{
#boxcontent article
{
float: none;
margin: 30px auto 0 auto;
width: 60%;
}
#slider_content1 h3, #slider_content2 h3, #slider_content3 h3, #slider_content4 h3, #slider_content5 h3
{
font-size: 1em;
}
.container
{
width:auto;
margin: 230px auto 20px auto;
position:relative;
}
}

@media (min-width: 1920px)
{

#logo
{
width: auto;
max-width: 300px;
}

}
