body { padding-top: 56px;
overflow-x: hidden; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #d6ecff !important; }
.bg-hero { background-color: #ffefd6; }
/*alte Farben: bg-dark: #343a40 und bg-hero: #7952b3 */

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: black; font-weight: bold; text-decoration: none; }
footer a:hover { color: black; text-decoration: underline; }

/* Daniels CSS für das nebenmenü
.sub-menu {
  display: none;
  position: absolute;
  width: 100%;
  background: #e5e5e5;}
.sub-menu.right {
  top: 0; 
  left: 100%;}*/
.sub-menu-list {
  list-style: none;
}
.sub-menu.right {
  top: 0;
  left: 100%;
}
.sub-menu.bottom {
  top: 100%;
  left: 0;
  cursor: pointer;
}
.sub-menu {
  display: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  border: none;
  outline: none;
  text-align: left;
}

li:hover > .sub-menu {
  display: block;
}

/* Dadurch sind Bilder standardmäßig grau und werden erst bei hover farbig und größer */
.grayimg {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.grayimg:hover {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
        transform: scale(1.01)
}

/* Farben aus dem Logo */
.pastorange{
  color: #ffefd6;
}

.pastblau{
  color: #d6ecff
}

.hellgrau{
  color: #e6e6e6;
}

.dunkblau{
  color: #0055a4;
}

.dunkorange{
  color: #ffc253;
}

/*Padding von Tabelle*/
th, td{
  padding: 10px;
}

/* Tabelle für Parts*/
.partstabelle{
  border: 1px solid #b5b5b5;
  border-collapse: collapse;
}

.partstabelle tr:nth-child(even) {
  background-color: #e6e6e6;
}


/* Den Text in Tabellenzellen zentrieren*/
.team td {
  text-align: center;
  vertical-align: middle;
}

.attributions table {
  border-collapse: collapse;
  width: 100%;
}
.attributions td {
  border: 1 px solid #e6e6e6;
  text-align: left;
  padding: 8px;
}

.attributions th {
  border: 1 px solid #e6e6e6;
  text-align: center;
  padding: 8px;
}

.attributions tr:nth-child(even) {
  background-color: #d6ecff;
}

/* Linie quer über Seite*/
hr {
  color: #e6e6e6;
  width: 10px;
}

strong{
  text-decoration: underline;
}

/* Links farblich angepasst*/
a:link{
  color: #033463;
  text-decoration: none;
}

a:hover{
  transform: scale(1.01);
  text-decoration: underline;
}

.reference {
   display: inline-block;
    padding-top: 150px;
    margin-top: -150px;
}

/*Bildunterschriften angepasst*/
figcaption{
  color: #979797;
  font-style: italic;
  font-size: smaller;
}
/*Collapsible (Text zum Einklappen)*/
.collapsible{
  color: black;
  cursor: pointer;
  border: none;
  outline: none;
  background-color: #ffefd6; 
  width: 300px;
  padding:10px;
  text-align: center;
}

.active, .collapsible:hover{
  background-color: rgb(248, 204, 139);
}

.content{
  color: black;
  background-color: #e6e6e6;
  overflow: hidden;
  display: none;
}

/*Slideshow*/
  * {box-sizing: border-box;}

  /* Slideshow container */
  .slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    text-align: center;
  }

  /*Hide the images by default*/
  .mySlides {
    display: none;
  }

  /*Next & previous buttons*/
  .prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.25);
  }

  /*Position the "next button to the right*/
  .next{
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  /*Position the "prev button to the left*/
  .prev{
    left: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black backgorund color with a little bit see-through*/
  .prev:hover, .next:hover{
    background-color: rgba(0,0,0,0.8);
    color: #d6ecff;
    text-decoration: none;
  }

  /* Caption text */
  .Slideshow-text {
    color: #f2f2f2;
    background-color: rgba(0,0,0,0.3);
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }

  /* Number text*/
  .numbertext {
    color: rgba(0, 0, 0, 0.223);
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  /* The dots*/
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #e6e6e6;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active, .dot:hover{
    background-color: #717171;
  }

  /*Fading animation*/
  .fade{
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
  }
  @-webkit-keyframes  fade{
    from {opacity: .4}
    to {opacity: 1;}
  }
  
  @keyframes fade{
    from {opacity: .4}
    to {opacity: 1;}
  }

/*Modal; https://www.w3schools.com/howto/howto_css_modals.asp*/
  /*The Modal (background)*/
    .modal {
      display: none;
      position: fixed;
      z-index: 1;
      padding-top: 160px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: black;
    }
  
  /* Modal Header */
    .modal-header {
      padding-top: 20px;
      background-color: #ffefd6;
      color: black;
    }
  
  /* Modal Body */
    .modal-body {
      padding: 2px 16px;
    }

  /*Modal Content/Box*/
    .modal-content {
      position: relative;
      background-color: #fefefe;
      margin: auto;
      padding: 0;
      border: 1px solid #888;
      width: 80%;
      box-shadow: 0 4px 8px 0 rgb(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
      animation-name: animatetop;
      animation-duration: 0.4s;
      animation-fill-mode: forwards;
    }

  /* Add Animation */
    @keyframes animatetop{
      from{top: -300px; opacity: 0}
      to {top: 0; opacity: 1}
    }
  
  /*The Close Button */
    .close {
      color: #e6e6e6;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }



/*Fortschrittsbalken*/
.progress-container {
  width: 100%;
  height: 8px;
  background: #d6ecff
}

.progress-bar {
  height: 8px;
  background: #0055a4;
  width: 0%;
}

/* Versuch für ausklappbare Elemente bei Experimenten*/
.summaryexp {
 font-size: large;
  background:#f5f5f5;
}

.summaryexp:hover {
  -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
        transform: scale(1.01);
}

.p-exp {
  margin-left:1em;
  background:white;
}

.summaryexp1 {
  font-size: large;
  background:#ffefd699;
  margin-left: em;
}

.p-exp1 {
  margin-left: 1.5em;
  font-size: medium;
}


details summary {
  width: 100%;
  padding: 0.5rem 0;
  border-top: 1px solid #e6e6e6;
  position: relative;
  cursor: pointer;
  font-size: 3em;
  font-weight:500;
  list-style: none;
}

details summary:after {
  content: "+";
  color: #ffc253;
  position: absolute;
  font-size: 1.5em;
  line-height: 0;
  margin-top: 0.75rem;
  right: 0;
  transition: 300ms;
    font-weight: bold;
 }

details[open] summary:after {
  transform: rotate(45deg);
  font-size: 1.5em;
}

