/* ALLGEMEINE FORMATE */
body {background-color:#ffffee; max-width:972px; margin:0 auto; padding:12pt; font-family:"Trebuchet MS",sans-serif; font-size:16pt; }
h4, h3 {width:90%; background-color:#C8E391; font-variant: small-caps; }
a:link {color:MediumBlue; text-decoration:none; transition: 0.3s; }
a:hover {color:darkred;}
a:focus {text-decoration:none;}
.navi {font-size:150%; text-align:center}
.copy {margin-left:60%; background-color:#FEE86D; text-align:right; }
.merke { margin-left:2em; margin-right:2em; border-left:8px double red; padding:1em; }
.gap {
  border-bottom: 1px dashed blue;
  cursor: pointer;
  color: #ffffee;
  transition: color 1s;
}
img {float:right; margin-left:16px; cursor:pointer; }
[id^="applet_container"] {
  margin: auto;
}

/* HEADMENU */
.dropbtn {
  background-color: #C8E391;
  padding: 4px;
  width: 100%;
  text-align: left;
  font-size: 18pt;
  font-family: "Trebuchet MS", sans-serif;
  font-variant: small-caps;
  border: none;
}

.dropdown {
  position: relative;
  display: block;
  width: 90%
}

.dropdown:hover {box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #eeffee;
  min-width: 64%;
  padding: 12px 4px;
  z-index: 1;
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
}

/* .dropdown-content a:hover {background-color: #ddd;} */

.dropdown:hover .dropdown-content {display: block;}


/* 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;
}

/* 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 */

/* AKKORDION */
 /* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #E9E9ED;
  cursor: pointer;
  margin-top: 8px;
  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;
}