/* CSS Document */

/* Nur der für die mit Flexbox gebaute Desktop-Darstellung notwendige Code wird gezeigt. 
   siehe auch https://kulturbanause.de/blog/einfuhrung-in-das-flexbox-modell-von-css/
*/ 

@media screen and (min-width: 480px) {	
  .content {
     display: flex;
     position:absolute;
  }
 .main {
    flex: 3;	
     order: 1;  
  }
  
#footer-cookie {
      padding-top: 5px;
      padding-bottom: 5px;
      line-height: inherit;
      height: auto;
    }
    #footer-cookie #description {
      width: 100%;
    }
    #footer-cookie #accept {
      width: 100%;
      margin-top: 5px;
    }
    #footer-cookie #accept a {
      width: 100%;
      display: table-row;
      text-align: right;
    }
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ---------------------------------------------------- */
* {
  margin: 0;
  padding: 0px;
}

html,body{
  height: 100%; 
}

body{
  font: 90% arial,sans-serif;text-align:center; 
}

/*
p{margin:15px 15px 0px}

h2{margin:15px 10px 10px}
h3{margin:15px 10px 10px}
*/

a{padding:0px; text-decoration:none; color:#000000;}

.error {color: #FF0001;}  


/* -------------------------------------------
* SELECT
* Quelle: https://www.w3schools.com/howto/howto_custom_select.asp
*/
/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}


/* -------------------------------------------
*  Tabellen */
table.customTable {
    padding: 5px;
    width: 100%;
    background-color: #FFFFFF;
    border-collapse: collapse;
    border-width: 1px;
    border-color: #7EA8F8;
    border-style: solid;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
  
  table.customTable td, table.customTable th {
    border-width: 1px;
    border-color: #7EA8F8;
    border-style: solid;
    padding: 5px;
    vertical-align: top;
  }
  
  table.customTable thead {
    background-color: #ffd78c;
    position: sticky; top: 0; z-index: 1;
  }
  table.customTable th {
    background-color: #ffd78c;
    position: sticky; top: 0; z-index: 1;
    }

  table.customTable tr:hover td {
    /* background-color: rgb(239, 247, 75);*/
    background-color: rgb(244, 249, 162);

    /* Zelleninhalt nicht markierbar */
    /* Quelle https://werner-zenk.de/css/markieren_von_text_verhindern.php */
    -ms-user-select: None; 
    -moz-user-select: None; 
    -webkit-user-select: None; 
    user-select: None; 
    cursor: pointer;
    
  }

  table.customTable input[type=chechbox] {
    height: 5px;
    margin: 0px;
    padding: 0px;
  }


/* -------------------------------------------
*  InputTabellen */
table.inputTable {
  padding: 0px;
  /*width: 100%;*/
  background-color: #FFFFFF;
  border-collapse: collapse;
  border-width: 0px;
  border-color: #7EA8F8;
  border-style: solid;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

table.inputTable td, table.inputTable th {
  border-width: 1px;
  border-color: #7EA8F8;
  border-style: solid;
  padding: 0px;
}

table.inputTable thead {
  background-color: #ffd78c;
  position: sticky; top: 0; z-index: 1;
}
table.inputTable th {
  background-color: #ffd78c;
  position: sticky; top: 0; z-index: 1;
  padding-left: 2px;
  padding-right: 2px;
  }

table.inputTable tr:hover td {
  /* background-color: rgb(239, 247, 75);*/
  /* background-color: rgb(244, 249, 162); */

  /* Zelleninhalt nicht markierbar */
  /* Quelle https://werner-zenk.de/css/markieren_von_text_verhindern.php */
  -ms-user-select: None; 
  -moz-user-select: None; 
  -webkit-user-select: None; 
  user-select: None; 
  cursor: pointer;
  padding-left: 2px;
  padding-right: 2px;;
}

table.inputTable td {
  padding-left: 2px;
  padding-right: 2px;
}

table.inputTable input[type=chechbox] {
  height: 5px;
  margin: 0px;
  padding: 0px;
}

table.inputTable input[type=textbox] {
  width: 100%;
  height: 20px;
  margin: 0px;
  padding: 0px;
  border-radius: 0px;
}


/* -------------------------------------------
 * Container */ 

div#container{
  width:100%;
  margin:0 auto;
  display: flex;
  height: 100%;
  flex-direction: column;
  -ms-flex-direction: column;
}
div#container{text-align:left}

div#header{
  /*position: relative;
	display:table-cell;
	vertical-align:middle;
  width:calc(100vw - 6px);*/
  background-color:#ffffff;
  padding: 10px;
  height: 125px;
}
div#header h1{
  height:80px;
  line-height:80px;
  margin:0px;
  padding-left:30px;}

div#wrapper{
  width:100%;
  overflow: auto;
  position: absolute;
  top:150px; /* make this equal to the height of your header tag */
  bottom:30px; /* make this equal to the height of your footer tag */
  left:0;
  right:0;
}


/* Navigationsmenü */
div#navigation{
    width:100%;
    margin-left:0px; 
    padding: 5px 0px 5px 0px; 
    padding-left: 0px;
    border-top: 0px; 
    border-left: 0px; 
    border-right: 0px; 
    border-bottom: 1px; 
    border-color: #000000; 
    border-style: solid; 
}
div#navigation{background:#ffffff;}
div#navigation ul{margin:0px 0; padding:0; list-style-type:none;}
div#navigation li{
    float:left;
    margin-bottom:0px;
    margin-left: 5px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
    font-size: 10px; 
    background-color: #ffffff;
    border: none;
    color: black;
    padding: 4px 4px;
    text-align: center;
    /*font-size: 16px;
    margin: 4px 2px;*/
    opacity: 0.6;
    transition: 0.3s;
    border-radius: 5px;
}

div#navigation li:hover{
  opacity: 1;
  background-color: #f96767;
}

div#navigation button.toolbar {
  height: 40px;
  width: 40px;
  color: black;
  border-radius: 5px;
  background-color: white;
  border-style: solid;
  border-width: thin;
  cursor: pointer;
}
div#navigation button.toolbar:hover {
  opacity: 1;
  background-color: rgb(244, 249, 162);
}
div#navigation img {
  height: 25x;
  width: 25px;
}

/* Hauptinhalt */
div#content{
  padding-left: 15px;
  padding-right: 15px;
  overflow:auto;
  }
div#content p{line-height:1.4}

/* Infozeile unten */
div#extra{
  width:100%;
  position:absolute;
  bottom: 25px;
  background:#CCC8B3;
}

/* Fusszeile */ 
div#footer{
  /*position:relative;
  display:table-cell;
  vertical-align:middle;
  width:100vw;
  height:5em;*/
  clear:left;
  position:absolute;
  bottom: 0;
  width:100%;
  height: 26px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  font-size: 12px; 
  color: whitesmoke;
  
  background:#6c6b6b;
  border-top: 1px; 
  border-left: 0px; 
  border-right: 0px; 
  border-bottom: 0px; 
  border-color: #000000; 
  border-style: solid; 
  }
div#footer p{margin:0;padding:5px 10px}
div#a{
color:whitesmoke;
}




/* Freie Definitionen
   Seitentitel */
.seitentitel {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  font-size: 10px; 
}

div#seite {
  position: relative;
  min-height: 100%;
  width: 100%;
  margin: 0;
  background-color: silver;
}

article{
  margin: 0px;
  padding-bottom: 50px;
}

aside{
  margin: 0px;
}




/* Formulardarstellung */
input {
  height: 30px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  font-size: 12px; 
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: white;
  border-style: none;
  color: black;
}

input:hover {
  opacity: 1;
  background-color: rgb(244, 249, 162);
}

input[type=button] {

}

input[type=submit] {

}

input[type=reset] {

}

input[type=image] {
  vertical-align: middle;
}

textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  font-size: 12px; 
  border-radius: 5px;
  padding: 4px;
  margin: 4px;
  border-style: none;
}

textarea:hover {
  opacity: 1;
  background-color: rgb(244, 249, 162);
}

select {
  height: 30px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  font-size: 12px; 
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: white;
  border-style: none;
}

button.toolbar {
  height: 30px;
  width: 30px;
  border-radius: 5px;
  background-color: white;
  border-style: none;
  cursor: pointer;
}
button.toolbar:hover {
  opacity: 1;
  background-color: rgb(244, 249, 162);
}

/* ToolTip */
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* *****************
  Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 20px;
  margin-left: -115px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 100px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}



/* **************+
  Menü-Schalter */
.menuschalter {
  width: 125px;
  height: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  font-size: 12px; 
  border-radius: 5px;
  padding: 4px;
  margin: 4px;
  border: 1px;
  border-color: #000000; 
  border-style: solid; 
  opacity: 0.6;
  transition: 0.3s;
  text-align: center;
  vertical-align: middle;
}
.menuschalter:hover {
  opacity: 1;
  background-color: #ffffff;
}



/**
* Navigationsmenü im Seitenverlauf 
* --------------------------------------------------
* Quelle: https://w3collective.com/sticky-navbar/  */
   #nav {	
    display: inline-block;
    top: 0;
    width: 90%;
    z-index: 10;
  }
  #nav ul {
    margin: 0px;
    padding: 0;
    list-style: none;
  }
  #nav li {
    color: white;
  }
  #nav ul li a {
    color: #000000;
    transition: all 0.4s;
    font-size: 14px;
  }
  #nav.fixed {
    position: fixed;
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.5);
  }
  #nav.fixed ul li img#schelogo {
    height: 36px;
  }
  #nav.fixed ul li a {
    font-size: 14px;
  } 


/**
* DIV-Menu 
* Seiten-Menü - Dropdown 
* -----------------------------------------------------------
* Quelle: https://www.w3schools.com/css/css_dropdowns.asp  */

/* Style The Dropdown Button */
.dropbtn {
  border: none;
  cursor: pointer;
  height: 30px;
  width: 30px;
  vertical-align: middle;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: -moz-inline-block;
  display: -webkit-inline-block;
  display: inline-block;
  padding-top: 1em;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  right: 0;
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 20;
  width: 200px;
}
/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {

}


/** 
* Cookie-Fusszeile
* ---------------------------------------------------
*/
#footer-cookie,
    #footer-cookie * {
      box-sizing: border-box;
	  text-align: center;
    }

    #footer-cookie {
      display: none;
      position: fixed;
      bottom: 0px;
      left: 0px;
      width: 100%;
      height: auto;
      padding-left: 30px;
      padding-right: 30px;
      line-height: 30px;
      background: #303030;
      color: #fff;
    }
    
    #footer-cookie a {
      color: #fff;
    }

    #footer-cookie #description {
      float: inherit;
    }

    #footer-cookie #accept {
      float: inherit;
	  text-align: center;
    }

    #footer-cookie #accept a {
      border: 1px solid #fff;
      padding: 5px 10px;
      text-decoration: none;
    }

	#footer-cookie #accept #btncookie {
		background-color: aqua;
	}

/* Animierter Cookie-Button
   https://webdeasy.de/top-css-buttons/ */ 
.btncookie {
  border: none;
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
  font-size: 10px;
  color: inherit;
  background: none;
  cursor: pointer;
  padding: 15px 40px;
  display: inline-block;
  margin: 15px 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.btncookie:after {
  content: '';
  position: absolute;
  /*z-index: -1;*/
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

/* Pseudo elements for icons */
.btncookie:before {
  font-family: 'FontAwesome';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
.btn-3 {
  background: #e74c3c;
  color: #fff;
}

.btn-3:hover {
  background: #c0392b;
}

.btn-3:active {
  background: #c0392b;
  top: 2px;
}

.btn-3:before {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  line-height: 3;
  font-size: 140%;
  width: 60px;
}


/** 
* Tab-Controll
* Quelle: https://www.w3schools.com/howto/howto_js_tabs.asp
* 
* https://www.mediaevent.de/tutorial/css-tabs.html
* ---------------------------------------------------------
*/
/* Tabs mit radio-Buttons */
.tabbed figure { 
  display: block; 
  margin-left: 0; 
  border-bottom: 1px solid silver;
  clear: both;
}

.tabbed > input,
.tabbed figure > div { display: none; }

.tabbed figure>div {
 padding: 20px;
 left: 0px;
 right: 0px;
 bottom: 0px;
 border: 0px solid silver;
 background: #c8c8c8;
 line-height: 1.5em;
 letter-spacing: 0.3px;
 color: #444;
 border-style: solid;
 border-color: #000000;
 mask-border-width: 1px;
}

#tab1:checked ~ figure .tab1,
#tab2:checked ~ figure .tab2,
#tab3:checked ~ figure .tab3,
#tab4:checked ~ figure .tab4 { display: block; }

nav label {
  float: left;
  padding: 15px 15px;
  border-top: 1px solid silver;
  border-right: 1px solid silver;
  background: hsl(210,50%,50%);
  color: #eee;
}

nav label:nth-child(1) { border-left: 1px solid silver; }
nav label:hover { background: hsl(210,50%,40%); }
nav label:active { background: #ffffff; }

#tab1:checked ~ nav label[for="tab1"],
#tab2:checked ~ nav label[for="tab2"],
#tab3:checked ~ nav label[for="tab3"],
#tab4:checked ~ nav label[for="tab4"]  {
 background: white;
 color: #111;
 position: relative;
 border-bottom: none;
}

#tab1:checked ~ nav label[for="tab1"]:after,
#tab2:checked ~ nav label[for="tab2"]:after,
#tab3:checked ~ nav label[for="tab3"]:after,
#tab4:checked ~ nav label[for="tab4"]:after {
 content: "";
 display: block;
 position: absolute;
 height: 2px;
 width: 100%;
 background: white;
 left: 0;
 bottom: -1px;
}


/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}


