body {
  margin: 0 auto;
  padding: 0;
  color: #000000;
  background-color: #444444;
  font-family: verdana,arial,helvetica,sans-serif;
  max-width: 1024px;
}

#wrapper {
    background-color: #5A5A5A;
    color: #FFFFFF;
    margin: 0 auto;
    width: 100%;
    /*width: 95%;*/
}

/* oben*/
header {
  margin: 0;
}

div#top {
  margin: 20px 20px 0 20px;
  padding: 15px;
  background-color: #609AC6;
  color: #FFFFFF;
}

.logo {
  padding: 0;
  margin: 10px;
  float: right;
  width: 20%;
}

.toptext {
  margin: 10px;
  padding: 30px 0px 0px 30px;
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFFFF;
  font-style: italic;
}

.toptextklein {
  margin: 0px 0px 0px 10px;
  padding: 0px 0px 0px 30px;
  font-size: 1.12em;
  font-family: "Trebuchet MS",tahoma,arial,helvetica,verdana,sans-serif;
  font-weight: bold;
  color: #000000;
}

div#navihor {
  background-color: #484848;
  margin: 0 20px 20px 20px;
  text-align: center;
  background-image: linear-gradient(#484848 0%, #080808 100%);
  background-image: -webkit-linear-gradient(#484848 0%, #080808 100%);
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  -webkit-box-shadow: 0px 4px 4px #3B3B3B; /* WebKit */
  -moz-box-shadow: 0px 4px 4px #3B3B3B; /* Firefox */
  box-shadow: 0px 4px 4px  #3B3B3B;
  height: 36px;
}

.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: none;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  font-size: 1em;
  padding: 4px 15px;
  margin: 0;
  text-align: center;
  border-left: solid 1px #5A5A5A;
  border-right: solid 1px #000000;
  line-height: 36px;
}

.hornavi a:hover, hornavi a:focus {
  color: #609AC6;
  text-decoration: none;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
}

/*Navigation*/

aside {
  float: left;
  width: 220px;
  padding: 10px 0px 0px 20px;
  margin: 0;
  border-radius: 0.5rem;
}

aside h2 {
  color: #FFFFFF;
  background-color: #484848;
  font-size: 1em;
  font-weight: bold;
  margin: 0px 0px 10px 0px;
  padding: 5px;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  letter-spacing: 1px;
  background-image: linear-gradient(#484848 0%, #080808 100%);
  background-image: -webkit-linear-gradient(#484848 0%, #080808 100%);
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  -webkit-box-shadow: 0px 4px 4px #3B3B3B; /* WebKit */
  -moz-box-shadow: 0px 4px 4px #3B3B3B; /* Firefox */
  box-shadow: 0px 4px 4px  #3B3B3B;
}

nav {
  list-style-type:none;
  padding: 0;
  margin: 0px 0px 20px 0px;
  text-align: left;
  background-color: transparent;
  line-height: 16px;
}

nav ul {
  list-style-type:none;
  padding: 0;
  margin: 0;
}

nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul a:link,
nav ul a:visited,
nav ul a:active {
  color: #FFFFFF;
  background-color: #444444;
  margin: 1px 0px 1px 0px;
  padding: 2px 6px 2px 4px;
  text-decoration: none;
  font-size: 0.938em;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  display: block;
  font-weight: normal;
  line-height: 28px;
  border-bottom: 1px solid #000000;
  border-left: 1px solid #4F4F4F;
  border-top: 1px solid #4F4F4F;
  border-right: 1px solid #000000;
}

nav ul a:hover,
nav ul a:focus {
  text-decoration: none;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  color: #FFFFFF;
  background-color: #609AC6;
  border-bottom: 1px solid #7CC6FF;
  border-left: 1px solid #35546C;
  border-top: 1px solid #35546C;
  border-right: 1px solid #7CC6FF;
}

/*Haupttext*/

main {
  padding: 10px;
  margin: 0px 10px 0px 250px;
  display: block;  /*wegen Fehldarstellung IE*/
}

article {
  padding: 10px 0px 0px 0px;
  font-size: 0.938em;
  font-weight: normal;
  text-align: justify;
  line-height: 20px;
}

article h1 {
  font-size: 1.838em;
  margin: 0;
  color: #FFFFFF;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  letter-spacing: 1px;
}

article h2 {
    color: #FFFFFF;
    background-color: #609AC6;
    font-size: 1.375em;
    font-weight: bold;
    margin: 0px;
    padding: 2px;
    font-family: "Trebuchet MS",georgia,calibri,serif;
    letter-spacing: 1px;
    /*text-align: center;*/
}

article h3 {
    color: #6F6F6F;
    background-color: #FFFFFF;
    font-family: "Trebuchet MS",georgia,calibri,serif;
    font-size: 1.25em;
    font-weight: bold;
    padding: 0px 0px 0px 8px;
    margin: 2px;
}

article h4 {
  color: #FFFFFF;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.1em;
  font-weight: bold;
  text-align: left;
  text-decoration-line: underline;
  margin: 3px;
  padding: 2px;
}

article h5 {
  color: #FFFFFF;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.1em;
  font-style: italic;
  font-weight: normal;
  padding-left: 5px;
}


article p {
  margin: 8px 2px;
}

/* allgemeine Angaben*/
a:link, a:visited, a:active {
  color: #609AC6;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
a:hover {
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: none;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}

.clear {
 clear: both;
 margin: 0;
 padding: 0;
 line-height: 1px;
}

.copyright {
  font-size: 7pt;
  text-align: center;
  font-weight: normal;
  color: #5F5F5F;
}

/******************Besonderheiten für Bildschirmgroesse max. 768px**********************/

@media (max-width: 768px) {

#wrapper {
  width: 100%;
  /*width: 90%;*/
}

header {
  font-size: 0.7em;

}

div#top {
  margin-bottom: 0;
  padding: 0;
}

div#navihor {
  height: 100%;
  padding: 10px 0px;
  font-size: 1.25em;
}

.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  display: block;
  text-align: center;
}

.hornavi a:hover, hornavi a:focus {
  display: block;
}

aside {
  float: none;
  width: 98%;
  padding-left: 25px;
}

aside h2 {
  margin: 0px 40px 10px 0px;
}

nav {
  margin: 0px 40px 20px 0px;
  text-align: center;
}

.linkszwischentext {
margin: 0px 40px 0px 0px;
}

main {
  margin: 10px;
}

article {
  text-align: justify;
}

}

/*****************Besonderheiten für Bildschirmgroesse max. 480px***********************/

@media (max-width: 480px) {

aside {
  float: none;
  width: 98%;
  padding-left: 20px;
}

.toptext {
  margin: 0 10px;
  padding: 30px 0px 0px 10px;
  font-size: 1em;
}

.toptextklein {
  margin: 0px 0px 0px 10px;
  padding: 0px 0px 0px 10px;

}

article h1, article h2, article h3, article h4, article h5 {
  font-size: 1em;
}


}

/*****************Besonderheiten für Bildschirmgroesse max. 32px***********************/

@media (max-width: 320px) {

aside {
  float: none;
  width: 98%;
  padding-left: 20px;
}

}


/* Style fuer modales Bild Popup: https://www.w3schools.com/howto/howto_css_modal_images.asp */
#foto {
    border-radius: 0px;
    cursor: pointer;
    transition: 0.3s;
}

    #foto:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}
/* ENDE: Style fuer modales Bild Popup: https://www.w3schools.com/howto/howto_css_modal_images.asp */

