body {
  margin: 10px;
  padding: 0;
  color: #5F5F5F;
  background-color: #999999;
  font-family: tahoma,arial,helvetica,verdana,sans-serif;
}

#myform {
	line-height:2.0;
}

#wrapper {
  background-color: #FFFFFF;
  margin: 0 auto;
  width: 95%;
  border-radius: 15px;
}

/* oben*/
header {
  margin: 0;
}

div#top {
  margin: 10px;
/*  border: 1px;
  border-color: black;
  border-style: solid;*/
  padding: 15px;
  text-align: right;
  background-color: #FFFFFF;
  color: #000000;
  float: right;
  #width: 20%;
}

.toptext {
  margin: 10px;
  padding: 30px 0px 0px 30px;
  font-size: 2.5em;
  font-family: "Trebuchet MS",tahoma,arial,helvetica,verdana,sans-serif;
  font-weight: bold;
  color: #00AAFF;
}

.toptextklein {
  margin: 0px 0px 0px 10px;
  padding: 0px 0px 0px 30px;
  font-size: 1em;
  font-family: "Trebuchet MS",tahoma,arial,helvetica,verdana,sans-serif;
  font-weight: normal;
  color: #999999;
  font-style: italic;
}

div#navihor {
  background-color: #707070;
  margin: 20px;
  padding: 10px 20px 10px 0px;
  height: 30px;
  border-radius: 5px;
  background-image: linear-gradient(#707070 0%, #000000 100%);
  background-image: -webkit-linear-gradient(#707070 0%, #000000 100%);
}

.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: none;
  font-family: tahoma,arial,helvetica,verdana,sans-serif;
  font-size: 0.920em;
  padding: 5px 20px;
  margin: 5px;
  text-align: left;
  line-height: 30px;
  font-weight: normal;
}

.hornavi a:hover, hornavi a:focus {
  color: #FFFFFF;
  background-color: #00AAFF;
  text-decoration: none;
  font-family: tahoma,arial,helvetica,verdana,sans-serif;
  font-size: 0.920em;
  border-radius: 5px;
}

/*Navigation*/

aside {
  float: left;
  width: 220px;
  padding: 10px 0px 0px 20px;
  margin: 0;
  border-radius: 0.5rem;
}

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: #999999;
  background-color: transparent;
  padding: 3px 3px 3px 8px;
  margin: 0;
  text-decoration: none;
  font-size: 0.920em;
  font-family: tahoma,arial,helvetica,verdana,sans-serif;
  display: block;
  font-weight: normal;
  line-height: 25px;
  border-radius: 5px;
}

nav ul a:hover,
nav ul a:focus {
  font-weight: bold;
  text-decoration: none;
  font-family: tahoma,arial,helvetica,verdana,sans-serif;
  color: #000000;
  font-weight: normal;
  background-color: #ECECEC;
}

aside h2 {
  color: #ffffff;
  background-color: #00AAFF;
  font-size: 1.087em;
  font-weight: bold;
  margin: 0px 0px 10px 0px;
  padding: 5px;
  font-family: "Trebuchet MS",calibri,georgia,serif;
  letter-spacing: 1px;
  border-radius: 5px;
  background-image: linear-gradient(#00AAFF 0%, #0082C3 100%);
  background-image: -webkit-linear-gradient(#00AAFF 0%, #0082C3 100%);
}

.linkszwischentext {
 padding: 5px;
 text-align: justify;
 font-size: 0.75em;
 font-style: italic;
}

#login {
	/**float:left;**/
	padding-top: 10px;
	padding-bottom: 10px;
	/*width: 230px;*/
	/*margin-top: 10px;*/
	margin: 0px 0px 10px 0px;
	padding: 5px;
	/**background: yellow;**/
	border-width:1px;
	border-style:dashed;
	border-color:gray;
	/*background-color:*/ 
	
}

/*Haupttext*/

main {
  padding: 10px;
  margin: 0px 10px 0px 250px;
  display: block;  /*wegen Fehldarstellung IE*/
}

article {
  padding: 10px 0px 0px 0px;
  font-size: 0.813em;
  font-weight: normal;
  text-align: left;
  line-height: 20px;
}

article h1 {
  font-size: 1.838em;
  margin: 0;
  color: #000000;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  letter-spacing: 1px;
}

article h2 {
  color: #808080;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.625em;
  text-align: left;
  margin: 3px;
  padding: 2px;
}

article h3 {
  color: #00AAFF;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.5em;
  font-style: italic;
  padding-left: 5px;
  font-weight: normal;
}

article h4 {
  color: #C0C0C0;
  background-color: #FFFFFF;
  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 h5 {
  color: #333333;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.25em;
  font-weight: bold;
  margin: 2px;
  padding: 0;
}

article p {
  margin: 8px 2px;
}

/*#figurenkollektion li{
	font-size: 18px;
}*/

/*unten*/

footer {
  background-color: #444444;
  color: #FFFFFF;
  margin: 10px 20px 20px 20px;
  padding: 10px 20px;
  height: 30px;
  text-align: center;
  border-radius: 5px;
  font-size: 0.836em;
  line-height: 30px;
}

/* allgemeine Angaben*/
a:link, a:visited, a:active {
  color: #00AAFF;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
a:hover {
  color: #000000;
  background-color: #FFFFFF;
  text-decoration: underline;
}

/* allgemeine Angaben*/
#deada {
  color: #00AAFF;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
#deada:hover {
  color: #000000;
  background-color: #FFFFFF;
  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: 7pt;
  text-align: center;
  font-weight: normal;
}

.starwars {
	/*background-image:  url("Bilder/stars-sky.jpg");
	color: orange;*/
}

.sw tr:hover{
	/** Star Wars Table Definition **/
	background-color: #f2f2f2;
/*	border: 1px solid gray;*/
}

.sw {
	/** Star Wars Table Definition **/
	border: 1px solid gray;
	margin: 10px; 
	}
	
.swb {
	/** Star Wars Table Definition **/
	border-color: gray;
	border-style: none none dashed solid;
	margin-bottom: 10px;	 
}

/*.sw {
	/** Star Wars Table Definition **/
	/*border-color: gray;
	border-style: none none dashed solid;
	border-width: 2px; 
	margin-bottom: 10px;	 
	}*/

/******************Besonderheiten für Bildschirmgroesse max. 768px**********************/

@media (max-width: 768px) {

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: 100%;
}

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) {

.toptext {
  margin: 0 10px;
  padding: 30px 0px 0px 10px;
  font-size: 1em;
}

.toptextklein {
  margin: 0px 0px 0px 10px;
  padding: 0px 0px 0px 10px;

}

aside {
  float: none;
  width: 99%;
}

article h1, article h2, article h3, article h4, article h5 {
  font-size: 1em;
}

footer {
  background-color: #339966;
  color: #FFFFFF;
  margin: 10px 20px 20px 20px;
  padding: 0;
  height: 30px;
  text-align: center;
  border-radius: 5px;
  font-size: 0.5em;
  line-height: 20px;
}

}

/*****************Besonderheiten für Bildschirmgroesse max. 32px***********************/

@media (max-width: 320px) {

aside {
  float: none;
  width: 95%;
}

}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg: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.9); /* 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%;
    }
}




/*// https://www.tutorials.de/threads/bild-einblenden-bei-mouseover-ueber-textlink.368192/ */

a.popup {
  text-decoration:none;
  position:relative;
  display:block;
}
a.popup:hover {
  border:none;   
}
/*a.popup img {
  height:300px;
  width:auto;
}*/
img.popup {
  max-height: 250px;
  min-height: 150px;
  width:auto;
}
a.popup span {
  visibility:hidden;
  position:absolute;
  top:20px;
  left:0;
  border:2px solid;
  border-radius: 5px;
  background-color: lightgrey;
  
}
a.popup:hover span {
  visibility:visible;
  z-index: 2;
}