﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

div.zoom {
  padding:0;
}

div.zoom {
  float: left;
}

div.zoom img {
  width: 230px;
  height: 150px;
}

div.zoom img:hover {
  position: inherit;
  width:100%;
  height:100%;
}

menu {
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
} 

figure {
	float:left;
	text-align:center;
}

figcaption {
	float: left;
}

header, footer, section, aside, nav, article { display: block;}

body {
  font-size: 1em;
  font-family: Calibri;
  color:#333;
  background: #617AAC;
  background-size: cover;
}

pre, code {
  font-size: 1.3em;
}

a {color: #000000;}
a:visited {color:#000000;}
a:hover {color: #CC0000;}
a:active { color:#000000;}

btn {
  background: #3B5998 none no-repeat fixed left center;
  border-bottom: 5px solid #BF3000;
  border-radius: 0;
  padding: 0;
  float:left;
  width:100%;
} 

btn ul:after {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 

btn ul {
  list-style-type: none;
  float:left;
  width:100%;
}   

btn li {
  float: left;
  width: 100%;
  margin: 0 0 0 0;
}

btn a, btn a:visited {
  background-color: #455868;
  color: #FFFFFF;
  display: block;
  padding: 5px 20px;
  text-decoration: none;
  transition: all 0.5s linear 0s;
  border-radius: 0;
  -moz-transition:all 0.5s linear;    
  -webkit-transition:all 0.5s linear;   
  box-shadow: 0 0 1px 0 rgba(255,255,255,0.3);
}

btn a:hover {
  color:#564b47;
  background-color: rgba(255,255,255,0.7);
}

btn a:active { 
  color:#000000;
}

btn a.selected {
  color:#fff;
  background-color: rgba(255,102,119,0.7); 
} 

#white {
	color:#FFFFFF;
	text-decoration:none;
}

#white a {
	color:#FFFFFF;
	text-decoration:none;
	cursor: pointer;
}

#white a:hover {
	color:chartreuse;
}

h1 {
  font-size:1.38em;
  font-weight: bold;
  color:#3B5998;
  margin: 0 0 5px;
  padding: 0 10px 0 10px;
  margin: 10px 0 10px 0;
  border-radius: 0;
  border-top:0 solid #3B5998;
  border-bottom:0 solid #BF3000;
  border-left:0 solid #3B5998;
  border-right:0 solid #3B5998;
}

h2 {
  font-size:1.38em;
  font-weight: bold;
  color:#BF3000;
  margin: 0 0 5px;
  padding: 0 10px 0 10px;
  margin: 10px 0 10px 0;
  border-radius: 0;
  border-top:0 solid #3B5998;
  border-bottom:0 solid #3B5998;
  border-left:0 solid #3B5998;
  border-right:0 solid #3B5998;
}


h3 {
  font-size:1.25em;
  font-weight: normal;
  margin: 0;
}

h4 {
  font-size:1.0em;
  font-weight: normal;
  margin: 0 0 5px;
}

img.download {
  vertical-align:middle;
}

img {
  border:none;
}

#rechts {
    float:right;
    margin: 0 0 0 20px;
} 

#links {
    float:left;
    margin: 0 20px 0 0;
} 

ul{
  list-style-type:none;
}

title{
	background-color:;
	padding:10px;
}

#container, footer .inner {
  max-width: 1000px;
  min-width:320px;
  margin:0  auto;
  padding: 0 5px 0 5px;
}

#top:after {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 

#top header {
  padding:0 0 0 0;
  float:left;
  width:auto;
  background-color:#617AAC;
}

header p {
  text-transform:uppercase;
  font-size:0.8434em;
}

header img { 
  border-radius: 10px 10px 0 0;
  padding: 0 0 0 0;
  margin:0 0 0 0;
}  

.mini, .menubutton{
  display:none;
}

.menubutton a {
  cursor:pointer;
}
 
nav{
  background:#3B5998 none no-repeat fixed left center;
  border-bottom: 5px solid #BF3000;
  border-radius: 0 0 10px 10px;
  padding: 0;
  float:left;
  width:100%;
  margin:0 0 10px 0;
} 

nav ul:after {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 

nav ul {
  list-style-type: none;
  float:left;
}   

nav li {
  float: left;
  margin: 0 0 0 0;
}

nav a, nav a:visited {
  background-color: #3B5998 ;
  color: #FFFFFF;
  display: block;
  padding: 5px 20px;
  text-decoration: none;
  transition: all 0.5s linear 0s;
  border-radius: 0;
  -moz-transition:all 0.5s linear;    
  -webkit-transition:all 0.5s linear;   
  box-shadow: 0 0 1px 0 rgba(255,255,255,0.3);
}

nav a:hover {
  color:#564b47;
  background-color: rgba(255,255,255,0.7);
}

nav a:active { 
  color:#000000;
}

nav a.selected {
  color:#fff;
  background-color: #BF3000; 
} 

section:before {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
}

section#content {
  float: right;
  width: 74%;
  height: 100%;
  padding: 10px;
  background:  rgba(255,255,255,0.9);
  margin: 0 0 10px 0;
  border-radius: 10px 10px 0 0;
  border-top:5px solid #3B5998;
  border-bottom:1px solid #3B5998;
  border-left:1px solid #3B5998;
  border-right:1px solid #3B5998;
}

.section-segment {
  display: inline-block;
  vertical-align: top;
  float:left;
  width: 30%;
  margin:0 20px 0 0;
}

.section-segment#halb {
  display: inline-block;
  vertical-align: top;
  float:left;
  width: 47%;
}

.section-segment#drittel {
  display: inline-block;
  vertical-align: top;
  float:left;
  width: 60%;
}

.section-segment#voll {
  display: inline-block;
  vertical-align: top;
  float:left;
  width: 100%;
}

p, pre{
  padding: 10px 10px 10px 10px;
  line-height:1.5em;
}

p#grau{
  padding: 10px 10px 10px 10px;
  line-height:1.5em;
  background-color: aliceblue;
  border-bottom:0.5px #CCCCCC solid;
  border-top:0.5px #CCCCCC solid;
}

ul{
  list-style-type:none;
  line-height:1.5em;
}

article header {
  background: ;
  padding:0;
  }
  
article footer {
  border-bottom: 1px solid #BF3000;
  color: #BF3000;
  padding:0 0 20px;
  margin:0 0 20px;
}

aside {
  padding:10px;
  float: left;
  width: 25%;
  margin: 0 0 10px 0;
  background: rgba(255,255,255,0.9);
  border-radius: 10px 10px 0 0;
  border-top:5px solid #3B5998;
  border-bottom:1px solid #3B5998;
  border-left:1px solid #3B5998;
  border-right:1px solid #3B5998;
}

footer.footer {
  padding: 10px 10px 10px 10px;
  margin: 10px 0 10px 0;
  clear: both;
  background:  rgba(255,255,255,0.9);
  border-radius: 0 0 10px 10px;
  border-top:1px solid #3B5998;
  border-bottom:5px solid #3B5998;
  border-left:1px solid #3B5998;
  border-right:1px solid #3B5998;
}

footer a, footer a:visited {
  color: #000; text-decoration:none;
}

.footer-segment {
  display: inline-block;
  vertical-align: top;
  width: 33%;
}

.inner { 
  padding :20px;
}


.rslides {
  margin: 0 auto 40px;
  }

#slider2,
#slider3 {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  margin: 0 auto;
  }

.rslides_tabs {
  list-style: none;
  padding: 0;
  background: rgba(0,0,0,.25);
  box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  -moz-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  font-size: 18px;
  list-style: none;
  margin: 0 auto 50px;
  max-width: 540px;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  }

.rslides_tabs li {
  display: inline;
  float: none;
  margin-right: 1px;
  }

.rslides_tabs a {
  width: auto;
  line-height: 20px;
  padding: 9px 20px;
  height: auto;
  background: transparent;
  display: inline;
  }

.rslides_tabs li:first-child {
  margin-left: 0;
  }

.rslides_tabs .rslides_here a {
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: bold;
  }

@media only screen and (max-width: 860px) { 
 #top header, nav {
    float:none;
    width:100%;
  }
  
body {
	background:#617AAC;
}

section:before {
  height: 100%;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
}

  section#content {
    margin:10px 0 0 0;
    float: none;
    width: inherit;
    height:inherit;
    padding: 0;
    margin: 0;
    border:0;
  }
  
  .section-segment {
    display: inline-block;
    width: inherit;
    height:inherit;
    padding:10px 0 0 0;
    margin-bottom:5px;
    border-radius: 10px 10px 0 0;
    border-top:1px solid #3B5998;
    border-bottom:5px solid #3B5998;
    border-left:1px solid #3B5998;
    border-right:1px solid #3B5998;
    background-color:#ffffff;
  }

  .section-segment#halb {
    display: inline-block;
    width: inherit;
    height:auto;
    padding:10px 0 0 0;
  }
  
  aside {
    padding:20px;
    float: right;
    width: inherit;
  }
  
  nav {
    padding:0;
  }

  nav ul {
    float:none;
  }

  nav li {
    float: left;
    margin: 0;
    width:25%;
  }

  nav a:hover, nav a.selected {
    padding: 5px 20px;
  }

  nav a, nav a:visited, section#content, aside {
    border-radius: 0;
  }
  
  .inner{ padding:0; }
  }

@media only screen and (max-width: 768px) { 

body {
	background:#617AAC;
}

  section#content {
  	margin:10px 0 0 0;
    float: inherit;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .section-segment {
    display: inline-block;
    width: 100%;
    padding:10px 0 0 0;
    background-color:#ffffff;
  }

  .section-segment#halb {
    display: inline-block;
    width: 100%;
    padding:10px 0 0 0;
  }
  
  aside {
    padding:20px;
    float: right;
    width: 100%;
  }

  .footer-segment {
    display: inline-block;
    vertical-align: top;
    width: 49%;
    padding: 0 0 20px;
  }
  .footer-segment:last-child {
    border-top:1px solid #999;
    display: block;
    width: 100%;
    padding:20px 0 0 ;
  }

}

@media only screen and (max-width: 480px) { 
  body { background: #617AAC no-repeat  center center fixed; }

  nav li {
    float: none;
    margin: 0;
    width:100%;
    display:block;
    padding: 0;
  } 
  
  nav a {
    font-size:1.2em;
    position:relative;
  }    
  
  nav a:not(.selected):after {
    content:'';
    position:absolute;
    right:10px;
  }
  
  .menubutton {
    display: inherit;
    position: static;
    right:20px;
    top:20px;
    z-index: 400;
  }
  
  .mini {
    display:block;
    width: auto;
  } 
  
  .maxi {
    display:none;
  }
  
  .section-segment {
  	margin:10px 0 0 0;
    display: block;
    vertical-align: top;
    width: 100%;
    padding:0;
  }

  .section-segment#voll {
    display: block;
    vertical-align: top;
    width: 100%;
    padding:0;
    background-color:white;
  }

  .section-segment#halb {
    display: block;
    vertical-align: top;
    width: 100%;
    padding:0;
  }

  footer.footer {
    padding: 0;
  }

  .footer-segment, .footer-segment:last-child {
    display: block;
    vertical-align: top;
    width: 100%;
    border-bottom:1px solid #999;
    padding:20px;
  }

}