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

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

.div-table{
  display:table;         
  width:auto;         
  border-spacing:5px;/*cellspacing:poor IE support for  this*/
  height: 100%;
  overflow: hidden;
}
.div-table-row{
  display:table-row;
  width:auto;
  clear:both;
  height: 100%;
  overflow: hidden;
}
.div-table-col{
  float:left;/*fix for  buggy browsers*/
  display:table-column;         
  width: 350px;
  height: 100%;
  overflow: hidden;
}

body {
font-size: 1em;
font-family: Arial, SunSans-Regular, Sans-Serif;
text-color: #212121;
}
pre, code {
font-size: 1.3em;
}
a {color: #184c88;
  text-decoration: none;
}
a:visited {color:#184c88;}
a:hover {color: #bbe005;}
a:active { color:#000000;}

aside a {
  font-size: 16pt;
}

h1, h2 {
font-size: 24pt;
font-weight: bold;
margin: 0 0 10px;
color: #bbe005;
}

h3 {
font-size: 20pt;
font-weight: normal;
margin: 0 0 10px;
}

p {
  font-size: 14pt;
}

.motto {
  font-size: 12pt;
  font-weight: bold;
  color: #184c88;
}

.ivd {
text-align: right; padding-top: 1em;
}

.leftnav {
  margin-top: 1.5em;
  width: auto;
}

img.download {vertical-align:middle;}
img{border:none;}

aside ul{
   width: auto;
   list-style-type: none;
   background-color: #f5f5f5;
   padding: 2em; padding-bottom: 1em;
   padding-left: 1.5em;
}

aside li {
   margin-bottom: 1em;
}

aside li:before {
    content: "➔";
    color: #184c88;
    font-size: 14pt;
    padding-right: 0.25em;
}

/* ----------container zentriert das layout-------------- */

#container {
max-width: 1200px;
min-width:320px;
margin: auto;
margin-top: 1em;
}

/* ----------header for logo-------------- */
#top:after{
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility:hidden;
  } 
#top {
  
}

#top header{
  float:left;
  width:100%;
  }
  
header p{
  text-transform:uppercase;
  font-size:0.8434em;
  text-align: right;
}
header img{ 
border:0;
padding: 0 0 10px;
}  
.mini, .menubutton{
  display:none;
  }

.menubutton a {
  cursor:pointer;
}
 
/* new nav */
nav{
  padding:0 20px 0 0;
  margin:0 0 2px;
  float:left;
  width:50%;
} 


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 3px 0 0;
  }

nav a, nav a:visited {
  background-color: #184c88;
  color: #FFFFFF;
  display: block;
  padding: 5px 20px;
  margin: 0.5em;
  text-decoration: none;
  transition: all 0.5s linear;
  box-shadow: 0 1px 3px #424242;
}


nav a:hover {
  color:#bbe005;
  background-color: #184c88; 
  }
nav a:active { color:#000000;}
nav a.selected {
  color:#fff;
  background-color: #184c88; 
} 

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

section#content {
float: right;
width: 72%;
padding: 20px;
min-height:600px;
}
p, pre{
padding:  0 0 20px;
line-height:1.5em;
}

.longlist {
   padding-left: 1.5em;
}

ul{
        padding-left:0.8em;
	line-height:1.5em;
}
article header{
	padding:0;
	}
	
article footer{
	border-bottom: 1px solid #564B47;
	color:#564B47;
	padding:0 0 20px;
	margin:0 0 20px;
}

/* -------------- side infos ------------- */

aside {
padding:20px;
float:left;
width: 25%;
}

/* -----------footer--------------------------- */
footer.footer {
padding: 20px;
clear:both;
background-color: #bbe005;
color:#fff;
}

footer a {
 color: #fff;
 font-size: 16pt;
 text-decoration:none;
 padding: 0.5em;
}

footer a:hover {
 color: #184c88;
}

footer a:visited {
 color: #fff;
}

.footer-segment {
    display: inline-block;
    padding: 0.5em;
}



/* -------------------- Media Queries -------------------- */


@media only screen and (max-width: 860px) { 
 #top header, nav {
    float:none;
    width:100%;
  }
  nav {
    padding:0;
  } 
  nav ul {
    float:none;
  }
  nav li {
    float: left;
    margin: 0;
    width:25%;
  } 

}

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

section#content {
	
	
float: none;
width: 100%;
padding: 20px;
}

aside {
padding:20px;
float: none;
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) { 

  nav li {
    float: none;
    margin: 0;
    width:100%;
    display:block;
  } 
  nav a {
    font-size:1.2em;
    position:relative;
  }
    
  nav a:not(.selected):after {
    content:'»';
    position:absolute;
    left:10px;
  }
  
  .mini {
    display:block;
    /* 20% space rechts fuer .menubutton: */
    width: 100%;
    padding: 1em;
    text-align: center;
  } 

  .motto {
     text-align: center;
  }
  
  .menubutton {
    display:block;
    position:absolute;
    right:20px;
    top:20px;
    z-index: 400;
  }
  
  .maxi{
    display:none;
  }
  
  /*.medium{ 
  display:none;
  width: 90%; 
  } */
  

footer.footer {
padding: 0;
}

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

}

