/* ALLGEMEINE FORMATE */
body {
  background-color: #ffffee;
  max-width: 972px;
  margin: 0 auto;
  padding: 16pt;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 16pt
}
 
h4, h3 {width:90%; background-color:#ffeeee; font-variant: small-caps; }

img {
  float: right;
  margin-left: 16px;
  cursor: pointer;
}

/* cursor:pointer;box-shadow:6px 6px 12px #999999; */
a:link {
  color: blue;
  text-decoration: none;
  transition: 0.3s
}

a:hover {
  color: darkred;
}

a:focus {
  text-decoration: none;
}

.navi {
  font-size: 150%;
  text-align: center
}

.copy {
  float: right;
  width: 60%;
  background-color: #EEFFEE;
  padding-right: 4px;
  text-align: right;
}

.merke {
  margin-left: 3em;
  margin-right: 3em;
  border-left: 8px double red;
  padding: 10px;
}

[id^="applet_container"] {
  margin: auto;
}

.tab {
    display: grid;
    grid-template-columns: auto auto;
}

[id^="Step"] {
    visibility: hidden;
}

button {
    font-size: 14pt;
    padding: 3px;
    width: 380px;
}

/* HEADMENU */
.dropbtn {
  background-color: #ffeeee;
  padding-left: 4px;
  width: 100%;
  text-align: left;
  font-size: 18pt;
  font-family: "Trebuchet MS", sans-serif;
  font-variant: small-caps;
  border: none;
}

.dropdown {
  position: relative;
  width: 80%;
}

.dropdown:hover {box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);}

.dropdown-content {
  overflow: hidden;
  max-height: 0;
  border-radius: 0 0 16px 16px;
  position: absolute;
  background-color: #eeffee;
  min-width: 60%;
  padding-left: 1em;
  z-index: 1;
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
  transition: max-height 0.8s;
}

/* .dropdown-content a:hover {background-color: #ddd;} */

.dropdown:hover .dropdown-content {max-height: 480px;}

/* TOOLTIP */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted blue;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color: #36486b;
  font-size: 12pt;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 5px;
  position: absolute;
  z-index: 2;
  bottom: 225%;
  left: 50%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.2s, bottom 0.4s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: #36486b transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  bottom: 125%;
}

/* TOOLTIP ENDE */

/* MODAL BOX */
/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 32px;
  /* 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.75);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #98DDDE;
  margin: auto;
  padding: 0;
  border: 4px ridge grey;
  width: 800px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #009B77;
  color: white;
  font-variant: small-caps;
}

.modal-body {
  font-family: Georgia, serif;
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #009B77;
  color: white;
  text-align: right;
}

/* MODAL BOX Ende*/

/* AKKORDION */
 /* Style the buttons that are used to open and close the accordion panel */
 .accordion {
  background-color: #E9E9ED;
  cursor: pointer;
  padding: 4px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size:16pt;
  font-family:"Trebuchet MS",sans-serif;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #D0D0D7;
}

.accordion:after {
  content: '\025BC';
  font-size: 16px;
  color: #777;
  float: right;
  margin-top: 2px;
  margin-left: 5px;
  margin-right: 5px;
}

.active:after {
  content: "\25B2";
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: #eeffee;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease-out;
}