/* Hintergrundfarbe an mehreren Stellen */
:root {
  --hintergrund: #feffbf;
}

/* äusserster Rahmen */
body {
  margin: 0px auto;
  padding: 0px 5px 0px 0px;
  color: #000000;
  background-color: var(--hintergrund);
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  max-width: 1600px;
}

/* zweiter Rahmen top right bottom left */
#wrapper {
  background-color: var(--hintergrund);
  color: #000000;
  margin: 0 auto;
  padding: 10px;
  width: 98%;
}

/* um das Bild */
header {
  margin: 1px;
}

.kleinesbild {
 width:800px;
 height:271px;
}

#bildrechts {
    float: right;
    width: 264px;
    height: 270px;
    margin-left: 20px;
    margin-top: 8px;
    border: 1px solid black;
} 

div#top {
  margin: 0px;
  padding: 0px;
  background:url(images/header.jpg) no-repeat;
  height: 500px;
  border-top-left-radius:  15px;
  border-top-right-radius: 15px;
  border-bottom-left-radius:  15px;
  border-bottom-right-radius:  15px;
}

/* grosse Ueberschrift */
.toptext {
  margin: 0 10px;
  padding: 380px 10px 0px 20px;
  font-size: 3em;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  text-align: right;
  color: #FFB950;
}

/* kleine Ueberschrift */
.toptextklein {
  margin: 0 10px;
  padding: 5px 10px 100px 20px;
  font-size: 2.5em;
  font-family: "Trebuchet MS",tahoma,arial,helvetica,verdana,sans-serif;
  font-weight: normal;
  font-style: italic;
  color: #FFFF00;
  text-align: right;
}

div#navihor {
  background-color: transparent;
  margin: 0;
  padding: 10px 0px;
  height: 20px;
  text-align: center;
}

.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  color: #FF8000;
  background-color: transparent;
  text-decoration: none;
  font-family: tahoma,arial,helvetica,verdana,sans-serif;
  font-size: 1em;
  padding: 5px 30px;
  margin-left: 5px;
  text-align: center;
  line-height: 20px;
  font-weight: bold;
}

.hornavi a:hover, hornavi a:focus {
  color:#4C6535;
  background-color: transparent;
  text-decoration: none;
  font-family: tahoma,arial,helvetica,verdana,sans-serif;
}


/*Haupttext*/
main {
  padding: 10px;
  margin: 0px 0px 0px 0px;
  background-color: var(--hintergrund);
  display: block;  /*wegen Fehldarstellung IE*/
}

article {
  padding: 10px 0px 0px 0px;
  font-size: 1em;
  font-weight: normal;
  text-align: justify;
  line-height: 25px;
  background-color: var(--hintergrund);
}

article h1 {
  font-size: 1.838em;
  margin: 0;
  color: #4C6535;
  text-align: left;
font-family: "Century Gothic", Georgia, "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
}

article h2 {
  color: #3F3F3F;
  background-color: inherit;
  font-family: "Trebuchet MS", Georgia, Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 1.625em;
  text-align: left;
  margin: 3px;
  padding: 2px;
}

article h3 {
  color: #5F0000;
  background-color: inherit;
  font-family: "Trebuchet MS",Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  font-style: italic;
  padding-left: 5px;
  font-weight: normal;
}

article h4 {
  color: #5F0000;
  background-color: inherit;
  font-size: 1.375em;
  font-weight: bold;
  margin: 0px;
  padding: 2px;
  font-family: Georgia, Verdana, Geneva, Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  text-align: center;
}

article h5 {
  color: #000000;
  background-color: inherit;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 1.25em;
  font-weight: bold;
  margin: 2px;
  padding: 0;
}

article p {
  margin: 8px 2px;
}

/*unten*/

footer {
  color: #FF8000;
  background-color: var(--hintergrund);
  margin: 10px;
  padding: 10px 20px;
  height: 30px;
  text-align: center;
  font-size: 0.836em;
  line-height: 30px;
  border-radius: 15px;
}

/* allgemeine Angaben*/
a:link, a:visited, a:active {
  color: #FF8000;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
a:hover {
  color: #4C6535;
  background-color: transparent;
  text-decoration: underline;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}

.clear {
 clear: both;
 margin: 0;
 padding: 0;
 line-height: 1px;
}

.copyright {
  font-size: 0.5em;
  text-align: center;
  font-weight: normal;
}

/******************Besonderheiten für Bildschirmgroesse bis max. 768px**********************/

@media (max-width: 768px) {

header {
  font-size: 0.813em;
}

div#top {
  padding: 0;
  background:url(images/header2.jpg) no-repeat;
  height: 271px;
}

.toptext {
  padding: 185px 10px 0px 20px;
  font-size: 2.5em;
}
.toptextklein {
  padding: 5px 10px 100px 20px;
  font-size: 2em;
}

div#navihor {
  height: 100%;
  padding: 0px;
  font-size: 1em;
}

.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  text-align: center;
  padding: 5px 0px;

}


aside {
  float: none;
  width: 98%;
}

aside h2 {
  margin: 0px 40px 10px 0px;
}



main {
  margin: 10px;
}

article {
  text-align: justify;
}

}

/******************Besonderheiten für Bildschirmgroesse max. 640px**********************/

@media (max-width: 560px) {

div#top {
 /* background-size: 90%;*/
}
div#top {
  padding: 0;
  background:url(images/header3.jpg) no-repeat;
  height: 173px;
}
#bildrechts {
    float: right;
    width: 200px;
    height: 203px;
    margin-left: 15px;
    margin-top: 6px;
    border: 1px solid black;
}
.toptext {
padding: 105px 10px 0px 20px;
  font-size: 2em;
}

.toptextklein {
  font-size: 1.50em;
}
.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  /*display: block;*/
  text-align: center;
  padding: 5px 0px;

}

.hornavi a:hover, hornavi a:focus {
  /*display: block;*/
}

}

/*****************Besonderheiten für Bildschirmgroesse max. 480px***********************/

@media (max-width: 480px) {

#wrapper {
/*  width: 90%;*/
  padding: 10px;
}
#bildrechts {
    float: right;
    width: 132px;
    height: 135px;
    margin-left: 15px;
    margin-top: 6px;
    border: 1px solid black;
}
/*div#top {
  height: auto;
}*/

/*.toptext {
  font-size: 1.4em;
  margin: 0;
}

.toptextklein {
  font-size: 1.2em;
  margin: 0;
}
*/
div#navihor {
  padding: 0px;
}

article h2, article h3, article h4, article h5 {
  font-size: 1em;
}
article h1 {
  font-size: 1.2em;
}

footer {
  font-size: 0.8em;
  line-height: 15px;
}

}

/*****************Besonderheiten für Bildschirmgroesse max. 320px***********************/

@media (max-width: 320px) {
 
/*
aside {
  float: none;
  width: 95%;
}*/

}*/