@charset "utf-8";

body {
  font-family: sans-serif;
  font-size: 16px;
  color: #000;
  text-align: center; /* Zentrierung im Internet Explorer */
}

/* Header ***************************************************/
header {
  padding-bottom: 10px;
  padding-top: 20px;
  text-align: center;
  color: #000;
  border-radius: 6px;
  background-image: linear-gradient(to bottom, #53962f, #77b058);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#53962F', endColorstr='#77B058',GradientType=0 ); /* IE6 */
}

header h1 {
  font-size: 170%;
  font-weight: 900;
  font-family: sans-serif;
  text-decoration: none;
  margin: 0px;
  color: #000;
}
/* Inhalt ***************************************************/
#seite {
  width: 1000px;
  background-color: #f7fff2;
  text-align: left;
  font-family: sans-serif;
  border: 1px solid #1a4a00;
  border-radius: 6px;
  margin: 0px auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
  padding: 3px;
}

/* Navileiste ***************************************************/

ul.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-width: 100%;
}

ul.navbar li {
  float: left;
  border: 1px solid #1a4a00;
  background-color: #c0e6ac;
  border-radius: 6px;
}

a.drop,
.dropbtn {
  display: inline-block;
  color: #000;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 6px;
}

a.active {
  display: inline-block;
  color: #000;
  text-align: center;
  padding: 10px 12px;
  background-color: #77b058;
  border-radius: 6px;
  color: #000;
}

ul.navbar li a:hover:not(.active) {
  background-color: #e6ffd9;
  color: #000;
}

a.drop:hover,
.dropdown:hover .dropbtn {
  background-color: #e6ffd9;
  color: #000;
}

ul.navbar li.dropdown {
  display: inline-block;
  border-radius: 6px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f7fff2;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 6px;
}

.dropdown-content a {
  color: #000;
  padding: 12px 14px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-bottom: 1px solid #1a4a00;
  border-radius: 6px;
}

.dropdown-content a:first-child {
  border-top: 1px solid #1a4a00;
}

.dropdown-content a:hover {
  background-color: #61b037;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Footer ***************************************************/
footer {
  height: 2em;
  padding-top: 1em;
  padding-bottom: 1em;
  background-image: linear-gradient(to top, #53962f, #77b058);
  border-radius: 6px;
  font-family: sans-serif;
}

footer ul {
  list-style-type: none;
  margin: 0px 0px 0px 1px;
}

footer li {
  display: inline;
}

footer a,
footer span {
  text-decoration: none;
  text-align: center;
  font-size: 90%;
  font-weight: bold;
  padding: 2px;
  color: #000;
}

footer a:hover,
footer span,
footer a:focus {
  color: #a00;
}

footer div {
  clear: left;
}

/* Abschluss ***************************************************/

.abschluss {
  clear: both;
  margin: 2px;
  padding-left: 3px;
  margin-top: 5px;
  font-weight: bold;
}

/* Impressum ***************************************************/

#imp td {
  border: 1px #1a4a00 solid;
  padding: 0.5em;
  vertical-align: top;
}

#imp table {
  margin: 5 px;
}

/* Überschriften ***************************************************/

h1 {
  font-size: 125%;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-style: solid;
  color: #1a4a00;
  margin: 0.3em;
  margin-top: 1.5em;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

h2 {
  font-size: 115%;
  font-weight: 600;
  color: #236300;
  margin: 0.3em;
  margin-top: 1.5em;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

h3 {
  font-size: 105%;
  text-decoration: underline;
  text-decoration-style: solid;
  color: #2c7d00;
  margin: 0.3em;
  margin-top: 1em;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

h4 {
  font-size: 100%;
  text-decoration: underline;
  color: #359600;
  margin: 0.3em;
  margin-top: 1em;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

h5 {
  font-size: 100%;
  color: #3eb000;
  margin: 0.3em;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

h6 {
  font-size: 100%;
  color: #3eb000;
  margin: 0.3em;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

/* Abgrenzung neues Thema*/
hr {
  margin-top: 2em;
  margin-bottom: 2em;
  height: 2px;
  border-width: 0;
  background-color: #1a4a00;
}

/* Text-Farben-Formatierung ***************************************************/

.violett {
  color: #b0b;
}

.green {
  color: #260;
}

.blue {
  color: #05d;
}

.red {
  color: #a00;
}

.shady {
  color: #555;
}

.normal {
  font-size: 16px;
}

/* fett, kursiv, unterstrichen ***************************************************/
p {
  margin-left: 0.5em;
  max-width: 98%;
}

u.dashed {
  text-decoration-style: dashed;
}

mark {
  background-color: #c5ffa6;
}

.serifen{
  font-family: serif;
}

a {
  font-weight: bold;
  color: #603;
  text-decoration: none;
  /*margin:1px;*/
  padding: 2px;
}

a:hover,
a:focus {
  color: #a00;
}

a.lsg {
  color: #000;
  font-weight: normal;
  margin-left: 0;
  margin-right: 0;
}

/* Programmcode und so **********************************************************/
code {
  padding: 3px;
  margin-left: 0.5em;
  border: 1px solid #1a4a00;
  border-radius: 6px;
  background-color: #fff;
  color: black;
  line-height: 1.5;
}

pre.code {
  padding: 5px;
  margin-left: 0.5em;
  border: 1px solid #1a4a00;
  border-radius: 6px;
  background-color: #fff;
  box-sizing: border-box;
  max-width: 98%;
  /*overflow-x: auto;*/
}

p code {
  margin-left: 0em;
}

code.lsg {
  padding: 0px;
  margin-left: 0em;
  border: none;
  border-radius: 0px;
  background-color: #e6ffd9;
  color: black;
  line-height: 1;
}

/* Videos und Programmcode*/
iframe, video {
  max-width: 98%;
  margin: 1em;
  margin-left: 0.5em;
  border: 1px solid #1a4a00;
  border-radius: 6px;
  
}

iframe.video{
  width: 560px;
  height: auto;
  height:315px;
}

iframe.app{
  height:500px;
}

/* Bilder ***************************************************/
img {
  max-width: 98%;
  height: auto;
}

.bild:hover {
  box-shadow: 0 0 2px 1px rgba(140, 186, 0, 0.5);
}

.bild {
  margin-left: 0.5em;
  border: 1px solid #1a4a00;
  border-radius: 6px;
}

.rechts {
  float: right;
  margin-right: 0.5em;
}

.links {
  float: left;
}

.bild_container {
  font-size: smaller;
  text-align: center;
  margin-left: 0.5em;
  margin-right: 0.5em;
  border: 1px solid #1a4a00;
  border-radius: 6px;
  padding: 2px;
}

.bild_container img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Listen ***************************************************/
ul {
  list-style-position: outside;
  max-width: 98%;
}

ul li {
  font-weight: normal;
}

li.arrow {
  list-style-type: "\27F6";
}

ol {
  list-style-position: outside;
  max-width: 98%;
}

ol li {
  font-weight: normal;
}

ol.a {
  list-style-type: lower-alpha;
}

/* Tabellenformatierung ***************************************************/

table {
  border-collapse: collapse;
  margin: 1em;
  margin-left: 0.5em;
  max-width: 98%;
}

td,
th {
  padding: 0.5em;
}

.tabelle td,
.tabelle th {
  border: 1px solid #1a4a00;
}

.tabelle ul {
  margin: 0px;
  padding: 0px;
  padding-left: 10px;
}

.tabelle th {
  background-color: #b1db9a;
}
/*
.tabelle tr:nth-child(even){
	background-color: #ffd; /*efc
}
*/

.equal-columns-table {
  table-layout: fixed;
}

.equal-columns-table td,
.equal-columns-table th {
  width: 20%;
}

.equal-columns-table th:first-child,
.equal-columns-table td:first-child {
  width: 13%;
}

tr.border_bottom td {
  border-bottom: 1px solid #1a4a00;
}

.tabelle_zentriert td,
.tabelle_zentriert th {
  border: 1px solid #1a4a00; /* Beispiel: Rahmen um Zellen anzeigen */
  padding: 0.5em; /* Beispiel: Zellenabstand festlegen */
  text-align: center; /* Horizontal zentrieren */
  vertical-align: middle; /* Vertikal zentrieren */
}

.tabelle_abfrage td,
.tabelle_abfrage th {
  border: 1px solid #1a4a00;
}

.tabelle_abfrage td {
  background-color: #ffd;
}

.tabelle_abfrage th {
  background-color: #b1db9a;
}

.tabelle_abfrage tr:hover {
  background-color: #b1db9a;
}

tr.absatz {
  border-bottom: 2px solid #1a4a00;
}

tr:hover {
  background-color: #e6ffd9;
}

th.left {
  border-right: 2px solid #1a4a00;
}

/* Merke, Aufgabe, Hinweis, Beispiel-boxen ***************************************************/

.merke {
  margin: 1em;
  margin-left: 0.5em;
  margin-top: 0.5em;
  border: none;
  border-radius: 6px;
  border-left: 3px solid #e60008;
  background-color: #ffd9da;
  max-width: 98%;
  padding: 0.5em;
  padding-left: 0;
  box-sizing: border-box;
}

.merke h1,
.merke h2,
.merke h3,
.merke h4 {
  color: #4d0003;
}

p.merke {
  padding-left: 0.5em;
}

.aufgabe {
  margin: 1em;
  margin-left: 0.5em;
  margin-top: 0.5em;
  border: none;
  border-radius: 6px;
  border-left: 3px solid #e6b400;
  background-color: #fff7d9;
  max-width: 98%;
  padding: 0.5em;
  padding-left: 0;
  box-sizing: border-box;
}

.aufgabe h1,
.aufgabe h2,
.aufgabe h3,
.aufgabe h4 {
  color: #4d3c00;
}

p.aufgabe {
  padding-left: 0.5em;
}

.beispiel {
  margin: 1em;
  margin-left: 0.5em;
  margin-top: 0.5em;
  border: none;
  border-radius: 6px;
  border-left: 3px solid #00e63d;
  background-color: #eaf8e4;
  max-width: 98%;
  padding: 0.5em;
  padding-left: 0;
  box-sizing: border-box;
}

.beispiel h1,
.beispiel h2,
.beispiel h3,
.beispiel h4 {
  color: #004d14;
}

p.beispiel {
  padding-left: 0.5em;
}

.hinweis {
  margin: 1em;
  margin-left: 0.5em;
  margin-top: 0.5em;
  border: none;
  border-radius: 6px;
  border-left: 3px solid #0017e6;
  background-color: #d9ddff;
  max-width: 98%;
  padding: 0.5em;
  padding-left: 0;
  box-sizing: border-box;
}

.hinweis h1,
.hinweis h2,
.hinweis h3,
.hinweis h4 {
  color: #00084d;
}

p.hinweis {
  padding-left: 0.5em;
}

/* Auswahlformatierung ***************************************************/

.auswahl ul {
  margin: 0px 0px 0px 1px;
}

.auswahl {
  display: inline;
  margin: 3px 10px 3px 0px;
  padding: 5px 10px 5px 10px;
  background-color: #b1db9a;
  border: 1px solid #1a4a00;
  border-radius: 6px;
}

.auswahl:hover {
  background-color: #e6ffd9;
}

.auswahl a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

.auswahl a:hover {
  color: #a00;
}

/* Button ***************************************************/

input[type="button"] {
  font-family: sans-serif;
  font-size: 14px;
  text-align: center;
}

.button_h {
  background: transparent;
  color: transparent;
  border: 0;
  outline: none;
}

.button_d {
  background: #faa;
  border: 1px solid #500;
  border-radius: 6px;
  color: #000;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin: 2px;
  transition-duration: 0.4s;
}

.button {
  background-color: #b1db9a; /* Green */
  border: 1px solid #1a4a00;
  border-radius: 6px;
  color: #000;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 3px 10px 3px 0px;
  cursor: pointer;
  transition-duration: 0.4s;
}

.button_t { 
  background-color: transparent;
  border: 1px solid #1a4a00;
  border-radius: 6px;
  color: #000;
  padding: 2px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 2px 5px 2px 0px;
  cursor: pointer;
  transition-duration: 0.4s;
}

.button_hw { /* Hinweisbutton*/
  background-color: #d9ddff; 
  border: 1px solid #0017e6;
  border-radius: 6px;
  color: #000;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 3px 10px 3px 0px;
  cursor: pointer;
  transition-duration: 0.4s;
}

.button:hover {
  background-color: #e6ffd9;
}

.button_d:hover {
  background-color: #fdd;
}

/* Tooltips **********************************************************************************/
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s;
  border-radius: 6px;
  background-color: #b1db9a;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  width: 100px;
  /*margin-left: -50px; /* Use half of the width, to center the tooltip */
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 110%;
}

.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* At the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #b1db9a transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Tooltip Loesung *******************************/
/* Tooltip container */
.tooltip_lsg {
  position: relative;
  display: inline-block;
  padding-left: 5px;
  margin-top: 3px;
  margin-bottom: 7px;
}

/* Tooltip text */
.tooltip_lsg .loesung {
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s;
  border-radius: 6px;
  background-color: #b1db9a;
  color: #000;
  text-align: left;
  padding: 3px 0.5em;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 105%;
  white-space: nowrap;
}

.tooltip_lsg .loesung::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* At the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #b1db9a transparent transparent;
  max-width: 80%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip_lsg:hover .loesung {
  visibility: visible;
  opacity: 1;
}

/* Tooltip Hinweis *******************************/
/* Tooltip container */
.tooltip_hw {
  position: relative;
  display: inline-block;
  padding-left: 5px;
  margin-top: 3px;
  margin-bottom: 7px;
}

/* Tooltip text */
.tooltip_hw .b_hinweis {
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s;
  border-radius: 6px;
  background-color: #d9ddff;
  color: #000;
  text-align: left;
  padding: 3px 0.5em;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 105%;
  white-space: nowrap;
}

.tooltip_hw .b_hinweis::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* At the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #d9ddff transparent transparent;
  max-width: 80%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip_hw:hover .b_hinweis {
  visibility: visible;
  opacity: 1;
}

/* Containerzeug ***************************************************/

.startcontainer {
  /* Flexbox*/
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.startcontainer > div {
  /* Flexbox*/
  margin-bottom: 0.5em;
  margin-right: 0.5em;
  text-align: left;
}
.kasten {
  /*Flexbox fuer Hauptmenues*/
  border-right: 1px dashed #1a4a00;
  width: 250px;
}

.definition {
  margin: 1em;
  margin-left: 0.5em;
  margin-top: 0.5em;
  border: 1px dashed #900;
  border-radius: 6px;
  padding: 0.5em;
  padding-left: 0;
  color: #900;
  box-sizing: border-box;
  max-width: 98%;
}

.info {
  margin: 1em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-top: 0.5em;
  border: 1px dashed #1a4a00;
  border-radius: 6px;
  padding: 0.5em;
  padding-left: 0;
  box-sizing: border-box;
  max-width: 98%;
}

.infobox {
  margin: 1em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-top: 0.5em;
  border: 1px dashed #1a4a00;
  border-radius: 6px;
  padding: 0.5em;
  padding-left: 0;
  box-sizing: border-box;
}

.aufgabenbox {
  display: flex;
  flex-wrap: wrap;
}

.teilaufgabe {
  border: none;
  max-width: 450px;
  border-top: 1px dotted #1a4a00;
}

.script {
  max-width: 98%;
  /*margin-top: 0.3em*/
  margin-bottom: 1em;
  box-sizing: border-box;
}

/* Grid Defintionion ***************************************************/

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  grid-gap: 10px;
  padding: 10px;
}

.grid-item {
  padding: 5px;
  /*
	background-color: #B1DB9A;
	border: 1px solid #1A4A00;
	border-radius: 6px;
	*/
}

/* 1. und 2. Reihe (Kopf/Body); v ... voll ; l... links ; r... rechts ; c... center */
/* Breite: 2/3 */

.kopf_v {
  grid-column: 1 / span 6;
  grid-row: 1;
}
.body_v {
  grid-column: 1 / span 6;
  grid-row: 2;
}

.kopf_l {
  grid-column: 1 / span 4;
  grid-row: 1;
}
.body_l {
  grid-column: 1 / span 4;
  grid-row: 2;
}

.kopf_r {
  grid-column: 3 / span 4;
  grid-row: 1;
}
.body_r {
  grid-column: 3 / span 4;
  grid-row: 2;
}

.kopf_c {
  grid-column: 2 / span 4;
  grid-row: 1;
}
.body_c {
  grid-column: 2 / span 4;
  grid-row: 2;
}

/* 1. Reihe... side ; 1. und 2. Reihe... menu ; l... links ; r... rechts*/
/* Breite: 1/3 */

.side_l {
  grid-column: 1 / span 2;
  grid-row: 1 / span 1;
}
.side_r {
  grid-column: 5 / span 2;
  grid-row: 1 / span 1;
}

.menu_l {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}
.menu_r {
  grid-column: 5 / span 2;
  grid-row: 1 / span 2;
}

/* 1. Reihe... half_k ; 2. Reihe... half ; l... links ; r... rechts*/
/* Breite: 1/2 */

.half_kl {
  grid-column: 1 / span 3;
  grid-row: 1 / span 1;
}
.half_kr {
  grid-column: 4 / span 3;
  grid-row: 1 / span 1;
}
.half_l {
  grid-column: 1 / span 3;
  grid-row: 2 / span 1;
}
.half_r {
  grid-column: 4 / span 3;
  grid-row: 2 / span 1;
}



