html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
}

* {
  margin: 0; padding: 0;
}

body {
  font: normal 13px Arial, Helvetica, sans-serif;
  color: #000;     
}

h1, h2, h3, h4 {    
  margin: 1em 12px;
  line-height: 21px;
  font-size: 1em;  
  font-weight: normal;
}

h1 { 
  line-height: 1.2em;
  font-size: 1.6em;       
}

h2, h3 {
  font-size: 1.2em
}

h3 {
  margin-bottom: -13px;
}

p {
  margin: 1em 12px;
  line-height: 21px;
}

ol {
  margin: 0 0 1em ; padding-left: 16px;
  list-style-type: decimal;
}

ul {
  margin: 0 0 1em 0; padding-left: 0;
}

li {
  line-height: 21px;
}

table {
  margin-bottom: 1em;
  border-collapse: collapse;
  width: 1100px;
}

td {
  padding: 0; margin: 0;
  text-align: left;
  vertical-align: top;
  line-height: 17px;
  font-size: 1em;
}

td img, td a img {
  margin: 4px 4px 0;
  border: 1px solid #000;
}

tr:first-child td:first-child p {
  margin-left: 4px;
}

tr:first-child td:last-child p {
  margin-right: 4px;
}

a {
  color: #000;
  background-color: transparent;
}

a:hover {  
  text-decoration: none; 
  outline: 0;
}

a img {
  border: 0;
}

a:hover img {
  opacity: 0.8;
  filter:alpha(opacity=80);
}

img {
  max-width: 100%;
}

hr {
  margin: 2em 0;
  width: 100%; height: 0px;
  clear: both;
  color: #fff;
  background-color: #fff;
  border: 0;
  border-bottom: 1px dotted #e4e4e4;
}

dl {
  margin: 0 1%;
  width: 98%;
  text-align: left;
  float: left;
}

.col2 {
  width: 48%;  
}

dt {
  padding-top: 5px;
}

dd {
  padding: 5px 0;
}

form {
  overflow: hidden;
}

input[type=text], textarea {
  padding: 4px 8px;
  width: 100%;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; 
}

input[type=submit], .button {
  padding: 5px 20px;
  width: auto;
  background: #d54230;
  color: #fff;
  font-size: 0.9em;
  cursor: pointer;
  border: 0;
  border-radius: 3px;
}

input[type=submit]:hover, .button:hover {
  background: #000;
  color: #fff;
  cursor: pointer;
}

input.error, textarea.error {
  border: 1px solid #706657;
  background: #ffbcbc;
}

input.checkform {
  display: none;
}

/*** Klassen ***/
.menu {
  margin: 0; padding: 0;
  overflow: hidden;
  text-align: center;
}

.menu li {
  margin: 0; padding: 0;
  list-style: none;
  background: none;
}

.menu > li {
  width: 11.11%;      
  float: left;
}

.menu a {   
  margin: 0 4px;
  line-height: 2em;
  display: block; 
  border: 1px solid #000;
  text-decoration: none;
}

.menu a:hover,
.menu a.active {
  background: #c9e2e7;
  color: #000;
}

.alignleft {
  margin-right: 20px;
  float: left; 
}

.alignright {
  margin-left: 20px;
  float: right;
}

.inner {
  margin: 0 auto; padding: 0;
  max-width: 1100px;
  overflow: hidden;
}

/*** Objekte ***/
html, body {
  height: 100%;
}

#page {
  min-height: 100%;
  position: relative;
}

.page-home .menu,
.page-home #content {
  display: none;
}

/*** Header ***/
#header {
  text-align: center;
}

#logo {
  margin: 60px 10% 20px;
  width: 80%;
  display: block;
}

#logo img {
  width: 180px;
}

.page-home #logo  { 
  margin: 20px 10%; 
  position: absolute; top: 50%; left: 0;
}

.page-home #logo img {
  margin-top: -50%;
  width: 300px;
}

/*** Navigation ***/
#primaryCtrl {
  display: none;
}

#primary {
  position: relative;
  z-index: 10;
  background: #fff;
}

/*** Content ***/
#content {
  margin: 40px 0;
}

#content table {
  width: 100%;
}

/*** Footer ***/
#footer {
  padding: 20px 5%;
  width: 90%;
  text-align: center;
  color: #ccc;
  position: absolute; bottom: 0;
}

#footer a {
  text-decoration: none;
  color: #ccc;
}

@media screen and (max-width: 900px) { 
  #content > table,
  #content > table thead,
  #content > table tbody,
  #content > table th,
  #content > table td,
  #content > table tr { 
    display: block;
    width: 100% !important;
    height: auto !important;
    text-align: center;
  }
  
  #content > table {
    margin: 0 auto;
    max-width: 440px;    
  }
  
  #content > table {
    padding: 0 5%;
    width: 90% !important; 
  }
    
  p {
    margin: 10px 4px !important;
  }
 
  .alignleft, .alignright {
    margin: 4px 4px 0;
    float: none !important;
  }

  #logo {
    margin: 20px 10% 10px;   
  }
       
  #primaryCtrl {
    display: block;
  }
  
  #primaryCtrl span {
    width: 20px;
    display: block;
  }
  
  #primaryCtrl > span {
    margin: 0 auto;
  }
  
  #primaryCtrl > span > span {
    margin-bottom: 3px;
    height: 3px;
    background: #000;
  }
      
  #primary .menu {
    display: none;
  }
  
  .menu > li {
    float: none;
    width: auto;
    margin: 0;
  }

  #primaryCtrl, .menu a {
    padding: 10px 0;  
    border: 0;
    border-bottom: 1px solid #ccc;  
  }
   
  #content {
    margin: 40px 0 60px;
  }
  
  #content + .menu {
    margin-bottom: 100px;
    border-top: 1px solid #ccc;
  }
}

