﻿body {
  margin: 0 auto;
  padding: 0;
  font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
  font-size: 100%;
  color: #7F7F7F;
  background-color: #EFEFEF;
  background-image: linear-gradient(#EFEFEF 0%, #9F9F9F 100%);
  background-image: -webkit-linear-gradient(#EFEFEF 0%, #9F9F9F 100%);
  background-attachment: fixed;
}

.wrapper {
  box-shadow: 0px 2px 10px 5px #7F7F7F;
  -webkit-box-shadow: 0px 2px 10px 5px #7F7F7F;
  -moz-box-shadow: 0px 2px 10px 5px #7F7F7F;
  width: 60%;
  margin: 0 auto;
  background-color: #FFFFFF;
}

div#top {
  margin: 0 auto;
  padding: 0;
  color: #000000;
  width: 60%;
}

.toptext {
  margin: 0 auto;
  padding: 5px 20px 0px 0px;
  font-size: 1.2em;
  font-family: "century gothic", georgia, calibri, serif;
  font-weight: bold;
  background-color: transparent;
  color: #000000;
  font-size: 12pt;
  font-style: italic;
  text-align: right;
}

p {
  padding: 10px 4px 4px 4px;
  margin: 0;
}

header {
  margin: 15px auto;
}

#headertop {
  background-color: #5D5D5D;
  background-image: linear-gradient(#5D5D5D 0%, #080808 100%);
  background-image: -webkit-linear-gradient(#5D5D5D 0%, #080808 100%);
  margin-top: 10px;
  border-top: 10px solid #FFFFFF;
  border-left: 10px solid #FFFFFF;
  border-right: 10px solid #FFFFFF;
  height: 150px;
}

.headertextlarge {
  color: #FFFFFF;
  font-size: 2em;
  padding: 20px 0 0 10px;
  line-height: 1em;
  margin: 5px;
  font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
  text-align: left;
  font-style: italic;
}

.headertextsmall {
  color: #FFFFFF;
  font-size: 1em;
  padding: 0px 0px 0px 10px;
  margin: 5px;
  text-shadow: 1px 1px 3px #5F5F5F;
  font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
  text-align: left;
}

#headerbottom {
  background-color: #F00202;
  background-image: linear-gradient(#F00202 0%, #9C0100 100%);
  background-image: -webkit-linear-gradient(#F00202 0%, #9C0100 100%);
  border-left: 10px solid #FFFFFF;
  border-right: 10px solid #FFFFFF;
}

#subnavi {
  text-align: center;
  margin: 0 auto;
  padding: 0;
}

.navi {
  font-size: 1.131em;
  text-shadow: 1px 1px 2px #2F2F2F;
}

.navi a:link,
.navi a:active,
.navi a:visited {
  color: #ffffff;
  text-decoration: none;
  padding: 5px 15px;
  margin: 0px;
  border-left: solid 1px #F31414;
  border-right: solid 1px #9D0000;
  line-height: 40px;
}

.navi a:hover,
.navi a:focus {
  color: #CFCFCF;
  background-color: transparent;
  text-decoration: none;
}

main {
  padding: 0;
  margin: 0 auto;
  display: block; /* wegen Fehldarstellung IE */
}

article {
  padding: 10px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.400em;
  text-align: justify;
}

footer {
  height: 50px;
  padding: 0;
  margin: 0 auto;
  background-color: #5D5D5D;
  background-image: linear-gradient(#5D5D5D 0%, #080808 100%);
  background-image: -webkit-linear-gradient(#5D5D5D 0%, #080808 100%);
  border: 10px solid #FFFFFF;
}

.fussinhalt {
  color: #DFDFDF;
  background-color: inherit;
  background: url(images/unten.jpg);
  font-family: "Century Gothic", sans-serif;
  font-weight: bold;
  text-align: center;
  letter-spacing: 3px;
  padding-top: 5px;
}

h1 {
  background-color: #F00202;
  color: #FFFFFF;
  font-size: 1.100em;
  text-align: center;
  margin: 15px 0 5px 0;
}

h2 {
  color: #7F7F7F;
  font-size: 1.338em;
  padding: 8px 0px 0px 16px;
  margin: 8px 0px 0px 0px;
  text-shadow: 1px 1px 3px #5F5F5F;
}

h3 {
  color: #9F0000;
  background-color: inherit;
  font-size: 1.254em;
  text-align: center;
  padding: 8px 0px 0px 5px;
  margin: 8px 0px 0px 0px;
  text-shadow: 1px 1px 3px #5F5F5F;
}

h4 {
  color: #ffffff;
  background-color: #BFBFBF;
  font-size: 1.171em;
  font-weight: bold;
  padding: 5px;
  margin: 15px 3px 0px 3px;
  text-shadow: 1px 1px 3px #5F5F5F;
}

h5 {
  color: #000000;
  font-size: 1em;
  font-weight: bold;
  padding-left: 5px;
  margin: 12px 0px 0px 0px;
  text-shadow: 1px 1px 3px #5F5F5F;
}

a:link,
a:visited,
a:active {
  color: #000080;
  background-color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #BF0000;
  background-color: inherit;
  text-decoration: none;
  font-weight: bold;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.clear {
  clear: both;
}

.copyright {
  font-size: 7pt;
  color: #EFEFEF;
  margin-top: 15px;
}

/******************Besonderheiten für Bildschirmgroesse max. 768px**********************/

@media (max-width: 768px) {

  .wrapper {
    width: 95%;
  }

  div#top {
    width: 95%;
  }

  .navi a:link,
  .navi a:active,
  .navi a:visited {
    display: inline-block; /* <-- geändert von block zu inline-block */
    padding: 5px;
  }

}

/*****************Besonderheiten für Bildschirmgroesse max. 480px***********************/

@media (max-width: 480px) {

  .headertextlarge {
    font-size: 1.500em;
    padding: 15px 0px 0px 0px;
    text-align: center;
  }

  .headertextsmall {
    font-size: 1em;
    line-height: 1em;
    text-align: center;
  }

  article {
    padding: 2px;
    margin: 0 auto;
    font-size: 1em;
    line-height: 1.338em;
  }

  .fussinhalt {
    letter-spacing: 1px;
    padding: 2px 0 0 0;
  }

  .fussinhalt h4 {
    padding: 5px;
  }

  h1 {
    font-size: 1.250em;
  }

}
