@charset "utf-8";
/* CSS Document */

/* Grundlayout */

html {
  background: transparent!important;    
	background: pink;
}

body {
	margin: 0em auto;
	max-width: 75em;
	font-family: sans-serif;
	color: #333333;
	line-height: 1.4em;
	background: #999999;
}

h1, main, aside, main svg {
	// border-radius: 0 8px 8px;
	border: 0px solid;
	padding: 0em;
	margin: 0em;
}

h1 {
	border-color: #d5d5d5;
}

h1::after {
  content: '';
}

article img1 {
	// width: 33%;
	float: right;
	margin-left: 0.2em;
}

figure {
  display: inline-block;
	align-items: center;
	gap: 2em;
  width: 90%;
  margin-left: 5%;
}
figure img {
  max-width: 90%;
	margin-left: 5%;

}
figure figcaption {
	padding-top: 1.0em;
  font-style: italic;
	line-height: 1.5em;
}


figleft {
  display: inline-block;
	align-items: center;
	gap: 2em;
  width: 90%;
  margin-left: 5%;
}
figleft img {
  max-width: 70%;
	margin-left: 20%;
}

figleft figleftcaption {
	display: inline-block;
  font-style: italic;
	line-height: 1.5em;
  max-width: 100%; /* Die Legende nimmt maximal 60% des Containers ein */
  font-family: Arial, sans-serif; /* Schriftart für die Legende */
  color: #333; /* Textfarbe */
}

references {
	color: #666;
	font-size: 80%;
}
references hr {
	margin-top: 2em;
	margin-bottom: 2em;
}

references p {
	line-height: 1.2em;
}

equation {
  display: flex;
  align-items: center; /* Richtet das Bild und die Legende oben aus flex-start */
  gap: 3em; /* Abstand zwischen Bild und Legende */
	margin-left: 3em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

equation img {
  max-width: 50%; /* Das Bild nimmt maximal 40% des Containers ein */
  height: auto; /* Erhält das Seitenverhältnis des Bildes */
  border: 0px solid #ccc; /* Optionale Umrandung für das Bild */
  border-radius: 5px; /* Abgerundete Ecken */
}

equation eqcaption {
  max-width: 60%; /* Die Legende nimmt maximal 60% des Containers ein */
  font-family: Arial, sans-serif; /* Schriftart für die Legende */
  line-height: 1.5px; /* Angenehmer Zeilenabstand */
  color: #333; /* Textfarbe */
}

main {
	display: block;     /* für IE */	
	min-height: 400px;
}

aside {
	background: #c4ced3;
	border-color: #8a9da8;
} 


#hinweis {                    /* für Container */

	border-left: 5px solid #c32e04;
	padding-left: 10px;
}

.hinweis {                    /* für Textzeile */
        color: #c32e04; 
        font-style: italic; 
        border-bottom: 0px dotted; 
        display:inline-block; 
}

/* responsives Layout */

body {
  display: flex;
  flex-flow: row wrap;
}

/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */

header, nav, nav a, article, section, aside, footer, model {
	// background-color: #2b7a78;
	// display: none;
  // border-radius: 0.5em;
  border: 1px solid;
  padding: 0em;
  margin: 0em;
  flex: 1 100%;
}

header {
  background-color: #2b7a78;
  border-color: #d5d5d5;
  display: flex;
  flex-flow: row wrap;
	// background: black;
	border: 0;
}

header * {
  flex: 1 1 0%;
  margin: 0 0em;
}

header h1 {
  font-family: Georgia, 'Times New Roman', Times, serif;
	color: #ebf5d7;
	letter-spacing: .5px;
	font-size: 1.1em;
  padding-top: 20px;
  padding-right: 50px;
  padding-bottom: 20px;
  padding-left: 25px;
	font-weight: 100%;
}

header a {
	color: #ebf5d7;
	text-decoration: none;
}

header nav {
  //display:none;
  display:inline-block;
  width:95%;
  // background: #efefef;
	background-color: #3aafa9;
  border: 0px solid #333333;
  margin: 0;
  padding-top: 10px;
  //padding-left: 25px;
  //padding-right: 50px;
  padding-bottom: 10px;
  text-decoration: none;
  text-align: center;
	font-weight:bold;
	color: white;
}

header img {
  flex: 0 0 150px;
  margin-right: 20px;
}

header nav {
  flex: 1 1 100%;
  margin: 0em 0em;
  border-color: #d5d5d5;
  border: 0px;
}

/* Hide the links inside the navigation menu */
header #myLinks {
  display: none;
}


/* Style the hamburger menu */
header a.icon {
  background: #2b7a78;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
	padding: 14px 16px ;
}

/* Add a background color on mouse-over */
header a:hover {
  background-color: #ebf5d7;
  color: black;
}

nav {
	background-color: #3aafa9;
  padding-top: 10px;
  //padding-right: 50px;
  padding-bottom: 10px;
}


nav ul, nav li{
  margin: 0 0.1em;
  padding: 0 0.0em;
  border: 0;
}
nav ul {	/* text-align: center; */
  display: flex;
  flex-direction: column;
}
nav li {
  list-style-type:none;
  margin: 0.3em 0;
  flex: 1 1 100%;
}

nav a {
  display:inline-block;
  width:95%;
  // background: #efefef;
	background-color: #3aafa9;
  border: 0px solid #333333;
  margin: 0;
  padding-top: 10px;
  //padding-left: 25px;
  //padding-right: 50px;
  padding-bottom: 10px;
  text-decoration: none;
  text-align: center;
	font-weight:bold;
	color: white;
}

nav a:hover, nav a:focus {
  background-color: #dfac20;
	font-weight:bold;
	color: #ebf5d7;
}

nav a[aria-current=page] {
	color:#ebf5d7;
	font-weight:bold;
	// background-color: #dfac20;
  background-color: #2b7a78;
  }

section {
  background: #F1F3F4;
  border-color: slateblue;
	padding: 10px;
}


article {
  /background: #ffede0;
	background: #ffffff;
	border: 0px solid #df6c20;
  padding-top: 10px;
  padding-left: 25px;
  padding-right: 50px;
  padding-bottom: 25px;
}

article h1 {
  // letter-spacing: 2px;
  font-size: 1.9em;
  line-height: 1.1em;
  padding-bottom: 20px;
 }
 
 
 
aside {
  background: #ebf5d7;
	/* background: #ffffff; */
	border: 1px solid #8db243;
  padding-top: 10px;
  padding-left: 25px;
  padding-right: 20px;
  padding-bottom: 25px;
}

aside .deco {
  display: none;
}

aside ul, nav li{
  margin: 0 0.1em;
  padding: 0 0.0em;
  border: 0;
}
aside ul {	/* text-align: center; */
  display: flex;
  flex-direction: column;
	line-height: 1em;
}
aside li {
  list-style-type:none;
  margin: 0.3em 0;
  flex: 1 1 100%;
}

aside a {
  display:inline-block;
  width:95%;
  // background: #efefef;
	// background-color: #3aafa9;
  border: 0px solid #333333;
  margin: 0;
  padding-top: 1px;
  //padding-left: 25px;
  //padding-right: 50px;
  padding-bottom: 10px;
  text-decoration: none;
	// font-weight:bold;
  text-align: left;
	font-weight:bold;
	color: black;
}
aside a:hover, nav a:focus {
  // background-color: #dfac20;
	font-weight:bold;
	color: #3aafa9;
}

aside a[aria-current=page] {
	color:#FFDD33;
	font-weight:bold;
	// background-color: #dfac20;
  background-color: #2b7a78;
  }

aside .deco {
  display: none;
}

model {
  background-color: white;
  //background: #e4ebf2;
  border-color: #8a9da8;
  padding-top: 10px;
  padding-left: 0px;
  display: flex;
  flex-flow: row wrap;
  color:#ebf5d7;
}

model a, model p {
  text-align: center;
	color:#ebf5d7;
  font-size: 0.9em;
  line-height: .5em;
}


model * {
  flex: 1 1 0%;
  justify-content: space-between;
}

table { 
	  width: 90%;
		margin-left: 5%;
}

th, td {
	//width: 33%;
	padding: .5em;
}

th {
	background: #c32e04;
	color: #ffede0;
}


caption {
	caption-side: bottom;
	padding-top: 1.2em;
	font-style: italic;
}

footer {
  background-color: #2b7a78;
  //background: #e4ebf2;
  border-color: #8a9da8;
  padding-top: 1px;
  padding-left: 1px;
  display: flex;
  flex-flow: row wrap;
  color:#ebf5d7;
}

footer a, footer p {
  text-align: center;
	color:#ebf5d7;
  font-size: 0.9em;
  line-height: .5em;
}


footer * {
  flex: 1 1 0%;
  justify-content: space-between;
}


/* Smart Phones und Tablets mit mittlerer Auflösung */
@media all and (min-width: 35em) {
header img {
  margin-right: 50px;
}

header h1 {
  font-family: Georgia, 'Times New Roman', Times, serif;
	color: #ebf5d7;
	letter-spacing: 1px;
	font-size: 1.5em;
  padding-top: 20px;
  padding-right: 50px;
  padding-bottom: 20px;
  padding-left: 25px;
	font-weight: 100%;
}

aside .deco {
  display: none;
}

nav ul {
  flex-direction: row;
}
nav li {
  margin: 0 10px;
  flex: 1 1 0%;
}

header a.icon {
	display: none;
}

header #myLinks {
  display: block;
}

article {
  order: 2;
}
#news {
  flex: 1 auto;
  order: 3;
}
aside {
/* durch auto werden die beiden asides in eine Zeile gesetzt */
  flex: 1 auto;
  order: 2;
}

model {
  order: 5;
}

footer {
  order: 6;
}

figleft {
  display: flex;
	align-items: center;
	gap: 2em;
  width: 90%;
  margin-left: 5%;
}
figleft img {
  max-width: 70%;
	margin-left: 20px;
}
figleft figleftcaption {
  font-style: italic;
	line-height: 1.5em;
  max-width: 60%; /* Die Legende nimmt maximal 60% des Containers ein */
  font-family: Arial, sans-serif; /* Schriftart für die Legende */
  color: #333; /* Textfarbe */
}


/* Large screens */
@media all and (min-width: 50em) {

aside .deco {
  display: block;
}

  article {    
    order: 3;
    flex: 3 1 0%;
  }
  aside {
    flex: 1 1 0%;
  }
  #news {
    flex: 1 1 0%;	  
    order: 2;
    align-self: center;
    height: 12em;
  }
	
	figure img {
		max-width: 70%;
		margin-left: 15%;

	}
	
}


/* Terminkalender */

table, th, td { 
  	border: 1px solid; 
  	border-collapse: collapse; 
}

table { 
	  width: 90%;
		margin-left: 5%;
}

th, td {
	//width: 33%;
	padding: .5em;
}

th {
	background: #c32e04;
	color: #ffede0;
}

caption {
	caption-side: bottom;
	padding-top: 1.2em;
	font-style: italic;
}

#netlogomodel {
  min-width: 800px;
  min-height: 600px;
  border: 2px solid black;
  background-color: white;
  border-radius: 20px;
  display: inline-block;
  //overflow: hidden;
}


.model-container {
  min-width: 600px;
  min-height: 600px;
  border: 0px solid black;
  background-color: white;
  border-radius: 20px;
  display: inline-block;
  overflow: hidden;
  /* In chrome, border-radius lets content bleed through on the corners
   * despite overflow: hidden, which looks awful with the loading animation.
   * This mask fixes that.
   * Found here: http://stackoverflow.com/a/10296258/145080
   * Bryan H. (7/25/15)
   **/
  -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}


