:root {
    --Stufe1: #FFFFFF;
    --Stufe2: #DDDDDD;
    --Stufe3: #BFDCFF;
    --Stufe4: #FFB6B1;
    --Stufe5: #A5FFBE;
    --Stufe6: #FFE197;
    --Stufe7: #FF97C4;
    --Stufe8: #C0C0FF;
    --Stufe9: #C0FFFF;
    --Stufe10: #FFFAC1;
}

details {
	transition: all .5s;
  font-size: 1.8rem;
  color: var(--Objekt-Front);
  /* position: relative; */
  /* margin: 10px; */
}

summary {
	position: relative;
	line-height: 170%;
  cursor: pointer;
  background: var(--Objekt-Back);
  border: 1px solid var(--Objekt-Front);
  border-radius: 3px;
  font-size: 1.4rem;
}

summary::after {
  content:  "+"; 
  position: absolute;
  font-size: 2em;
  font-weight: bold; 
  right: 0.5em;
} 

details[open] summary::after {
  content: '- '; 
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

a {
  text-decoration: none;
  color: var(--Link);
}   

section#Content > div {
  /* border: 1px solid red; */
  width: 1000px;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

}


.VereinName {
  font-size: 2.0rem;
  font-weight: bold; 
  font-style: italic;
  }

.VereinNameVoll {
    font-size: 1.5rem;
    font-weight: bold; 
    }

.VereinText {
  text-align: left;
  }

  input#opt1:checked ~ div#Wrapper > div > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistDetails,
  input#opt1:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistDetails,
  
  input#opt2:checked ~ div#Wrapper > div > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistHistorie,
  input#opt2:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistHistorie,
  
  input#opt3:checked ~ div#Wrapper > div > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistLigen,
  input#opt3:checked ~ div#Wrapper > div > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div > div#HistLigen
  

    {
        display:none;
  } 



  /* Organigramm */
  *,
  *:before,
  *:after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }
    
  #wrapper {
    /* margin:150px auto; */
    margin:20px auto;
    /* max-width: 80em; */
  }
  
  #container {
      float: left;
      padding: 1em;
      width: 100%;
  }
  
  ol.organizational-chart,
  ol.organizational-chart ol,
  ol.organizational-chart li,
  ol.organizational-chart li > div {
      position: relative;
  }
  
  ol.organizational-chart,
  ol.organizational-chart ol {
      list-style: none;
      margin: 0;
      padding: 0;
  }
  
  ol.organizational-chart {
      text-align: center;
  }
  
  ol.organizational-chart ol {
      padding-top: 1em;
  }
  
  ol.organizational-chart ol:before,
  ol.organizational-chart ol:after,
  ol.organizational-chart li:before,
  ol.organizational-chart li:after,
  ol.organizational-chart > li > div:before,
  ol.organizational-chart > li > div:after {
      background-color: #b7a6aa;
      content: '';
      position: absolute;
  }
  
  ol.organizational-chart ol > li {
      padding: 1em 0 0 1em;
  }
  
  ol.organizational-chart > li ol:before {
      height: 1em;
      left: 50%;
      top: 0;
      width: 3px;
  }
  
  ol.organizational-chart > li ol:after {
      height: 3px;
      left: 3px;
      top: 1em;
      width: 50%;
  }
  
  ol.organizational-chart > li ol > li:not(:last-of-type):before {
      height: 3px;
      left: 0;
      top: 2em;
      width: 1em;
  }
  
  ol.organizational-chart > li ol > li:not(:last-of-type):after {
      height: 100%;
      left: 0;
      top: 0;
      width: 3px;
  }
  
  ol.organizational-chart > li ol > li:last-of-type:before {
      height: 3px;
      left: 0;
      top: 2em;
      width: 1em;
  }
  
  ol.organizational-chart > li ol > li:last-of-type:after {
      height: 2em;
      left: 0;
      top: 0;
      width: 3px;
  }
  
  ol.organizational-chart li > div {
      background-color: #fff;
      border-radius: 3px;
      min-height: 2em;
      padding: 0.5em;
  }
  
  /*** Stufe 1 ***/
  ol.organizational-chart > li > div {
      /* background-color: #a2ed56; */
      background-color: var(--Stufe1);
      margin-right: 1em;
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  
  }
  
  ol.organizational-chart > li > div:before {
      bottom: 2em;
      height: 3px;
      right: -1em;
      width: 1em;
  }
  
  ol.organizational-chart > li > div:first-of-type:after {
      bottom: 0;
      height: 2em;
      right: -1em;
      width: 3px;
  }
  
  ol.organizational-chart > li > div + div {
      margin-top: 1em;
  }
  
  ol.organizational-chart > li > div + div:after {
      height: calc(100% + 1em);
      right: -1em;
      top: -1em;
      width: 3px;
  }
  
  /*** Stufe 2 ***/
  ol.organizational-chart > li > ol:before {
      left: inherit;
      right: 0;
  }
  
  ol.organizational-chart > li > ol:after {
      left: 0;
      width: 100%;
  }
  
  ol.organizational-chart > li > ol > li > div {
      /* background-color: #83e4e2; */
      background-color: var(--Stufe2);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 3 ***/
  ol.organizational-chart > li > ol > li > ol > li > div {
      /* background-color: #fd6470; */
      background-color: var(--Stufe3);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 4 ***/
  ol.organizational-chart > li > ol > li > ol > li > ol > li > div {
      /* background-color: #fca858; */
      background-color: var(--Stufe4);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 5 ***/
  ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > div {
      /* background-color: #fddc32; */
      background-color: var(--Stufe5);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 6 ***/
  ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > ol > li > div {
      /* background-color: #fddc32; */
      background-color: var(--Stufe6);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 7 ***/
  ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div {
      /* background-color: #fddc32; */
      background-color: var(--Stufe7);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 8 ***/
  ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div {
      /* background-color: #fddc32; */
      background-color: var(--Stufe8);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 9 ***/
  ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div {
      /* background-color: #fddc32; */
      background-color: var(--Stufe9);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
  /*** Stufe 10 ***/
  ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > ol > li > div {
      /* background-color: #fddc32; */
      background-color: var(--Stufe10);
      box-shadow: 0.4em 0.4em 0.4em rgba(0,0,0,.5);
      border-radius: 10px;
  }
  
@media screen and (max-width: 483px) {
  /* Handy hoch */

  /* input[type=checkbox] + label {
    margin-right: 110px;
    } */

  div#Statusbox {
    width: 330px;
  }

  details {
    width: 330px;
  }

  table#Bilanz, table#Historie {
    width: 300px;
  }

    table#Bilanz thead tr th:nth-child(n+1):nth-child(-n+1),
    table#Bilanz tbody tr td:nth-child(n+1):nth-child(-n+1),
    table#Bilanz thead tr th:nth-child(n+3):nth-child(-n+4),
    table#Bilanz tbody tr td:nth-child(n+3):nth-child(-n+4),
    table#Bilanz thead tr th:nth-child(n+8):nth-child(-n+13),
    table#Bilanz tbody tr td:nth-child(n+8):nth-child(-n+13),
    table#Bilanz thead tr th:nth-child(n+15):nth-child(-n+15),
    table#Bilanz tbody tr td:nth-child(n+15):nth-child(-n+15),
    table#Bilanz thead tr th:nth-child(n+17):nth-child(-n+31),
    table#Bilanz tbody tr td:nth-child(n+17):nth-child(-n+31)
    {
        display:none;
    }

  
}

@media screen and (min-width: 484px) and (max-width: 771px) {
  /* Handy quer */

  /* input[type=checkbox] + label {
    margin-right: 30px;
    } */

  div#Statusbox {
    width: 470px;
  }

  details {
    width: 470px;
  }

  table#Bilanz, table#Historie  {
    width: 440px;
  }

  table#Bilanz thead tr th:nth-child(n+1):nth-child(-n+1),
  table#Bilanz tbody tr td:nth-child(n+1):nth-child(-n+1),
  table#Bilanz thead tr th:nth-child(n+3):nth-child(-n+3),
  table#Bilanz tbody tr td:nth-child(n+3):nth-child(-n+3),
  table#Bilanz thead tr th:nth-child(n+5):nth-child(-n+5),
  table#Bilanz tbody tr td:nth-child(n+5):nth-child(-n+5),
  
  table#Bilanz thead tr th:nth-child(n+8):nth-child(-n+13),
  table#Bilanz tbody tr td:nth-child(n+8):nth-child(-n+13),
  table#Bilanz thead tr th:nth-child(n+15):nth-child(-n+15),
  table#Bilanz tbody tr td:nth-child(n+15):nth-child(-n+15),
  table#Bilanz thead tr th:nth-child(n+17):nth-child(-n+31),
  table#Bilanz tbody tr td:nth-child(n+17):nth-child(-n+31)
  {
      display:none;
  }  
  
}

@media screen and (min-width: 772px) and (max-width: 1109px) {
  /* Tablet hoch */

  /* input[type=checkbox] + label {
    margin-right: 20px;
    } */

  div#Statusbox {
    width: 750px;
  }

  details {
    width: 750px;
  }


  table#Bilanz, table#Historie {
    width: 440px;
  }

  table#Bilanz thead tr th:nth-child(n+1):nth-child(-n+1),
  table#Bilanz tbody tr td:nth-child(n+1):nth-child(-n+1),
  table#Bilanz thead tr th:nth-child(n+3):nth-child(-n+3),
  table#Bilanz tbody tr td:nth-child(n+3):nth-child(-n+3),
  table#Bilanz thead tr th:nth-child(n+5):nth-child(-n+5),
  table#Bilanz tbody tr td:nth-child(n+5):nth-child(-n+5),
  
  table#Bilanz thead tr th:nth-child(n+8):nth-child(-n+13),
  table#Bilanz tbody tr td:nth-child(n+8):nth-child(-n+13),
  table#Bilanz thead tr th:nth-child(n+15):nth-child(-n+15),
  table#Bilanz tbody tr td:nth-child(n+15):nth-child(-n+15),
  table#Bilanz thead tr th:nth-child(n+17):nth-child(-n+31),
  table#Bilanz tbody tr td:nth-child(n+17):nth-child(-n+31)
  {
      display:none;
  }  
  
}

@media screen and (min-width: 1110px) and (max-width: 1443px) {
  /* Tablet quer */

  /* input[type=checkbox] + label {
    margin-right: 20px;
    } */


  div#Statusbox {
    width: 1090px;
  }

  details {
    width: 1090px;
  }

  table#Bilanz, table#Historie {
    width: 480px;
  }

  table#Bilanz thead tr th:nth-child(n+1):nth-child(-n+1),
  table#Bilanz tbody tr td:nth-child(n+1):nth-child(-n+1),
  table#Bilanz thead tr th:nth-child(n+3):nth-child(-n+3),
  table#Bilanz tbody tr td:nth-child(n+3):nth-child(-n+3),
  table#Bilanz thead tr th:nth-child(n+5):nth-child(-n+5),
  table#Bilanz tbody tr td:nth-child(n+5):nth-child(-n+5),
  
  table#Bilanz thead tr th:nth-child(n+8):nth-child(-n+13),
  table#Bilanz tbody tr td:nth-child(n+8):nth-child(-n+13),
  table#Bilanz thead tr th:nth-child(n+15):nth-child(-n+15),
  table#Bilanz tbody tr td:nth-child(n+15):nth-child(-n+15),
  table#Bilanz thead tr th:nth-child(n+17):nth-child(-n+31),
  table#Bilanz tbody tr td:nth-child(n+17):nth-child(-n+31)
  {
      display:none;
  }  
  
}
  
@media screen and (min-width: 1444px) {
  /* Desktop */

  /* input[type=checkbox] + label {
    margin-right: 20px;
    } */

  div#Statusbox {
    width: 1090px;
  }

  details {
    width: 1090px;
  }
  
  table#Bilanz, table#Historie {
    width: 480px;
  }

  table#Bilanz thead tr th:nth-child(n+1):nth-child(-n+1),
  table#Bilanz tbody tr td:nth-child(n+1):nth-child(-n+1),
  table#Bilanz thead tr th:nth-child(n+3):nth-child(-n+3),
  table#Bilanz tbody tr td:nth-child(n+3):nth-child(-n+3),
  table#Bilanz thead tr th:nth-child(n+5):nth-child(-n+5),
  table#Bilanz tbody tr td:nth-child(n+5):nth-child(-n+5),
  
  table#Bilanz thead tr th:nth-child(n+8):nth-child(-n+13),
  table#Bilanz tbody tr td:nth-child(n+8):nth-child(-n+13),
  table#Bilanz thead tr th:nth-child(n+15):nth-child(-n+15),
  table#Bilanz tbody tr td:nth-child(n+15):nth-child(-n+15),
  table#Bilanz thead tr th:nth-child(n+17):nth-child(-n+31),
  table#Bilanz tbody tr td:nth-child(n+17):nth-child(-n+31)
  {
      display:none;
  }  

}
/*** MEDIA QUERIES *** OrgChart/
@media screen and ( min-width: 1110px ) {

  ol.organizational-chart {
      margin-left: -1em;
      margin-right: -1em;
  }

  /* PRIMARY */
  ol.organizational-chart > li > div {
      display: inline-block;
      float: none;
      margin: 0 1em 1em 1em;
      vertical-align: bottom;
  }

  ol.organizational-chart > li > div:only-of-type {
      margin-bottom: 0;
      width: calc((100% / 1) - 2em - 4px);
  }

  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2),
  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2) ~ div {
      width: calc((100% / 2) - 2em - 4px);
  }

  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3),
  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3) ~ div {
      width: calc((100% / 3) - 2em - 4px);
  }

  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4),
  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4) ~ div {
      width: calc((100% / 4) - 2em - 4px);
  }

  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5),
  ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5) ~ div {
      width: calc((100% / 5) - 2em - 4px);
  }

  ol.organizational-chart > li > div:before,
  ol.organizational-chart > li > div:after {
      bottom: -1em!important;
      top: inherit!important;
  }

  ol.organizational-chart > li > div:before {
      height: 1em!important;
      left: 50%!important;
      width: 3px!important;
  }

  ol.organizational-chart > li > div:only-of-type:after {
      display: none;
  }

  ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after,
  ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
      bottom: -1em;
      height: 3px;
      width: calc(50% + 1em + 3px);
  }

  ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after {
      left: calc(50% + 3px);
  }

  ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
      left: calc(-1em - 3px);
  }

  ol.organizational-chart > li > div + div:not(:last-of-type):after {
      height: 3px;
      left: -2em;
      width: calc(100% + 4em);
  }

  /* SECONDARY */
  ol.organizational-chart > li > ol {
      display: flex;
      flex-wrap: nowrap;
  }

  ol.organizational-chart > li > ol:before,
  ol.organizational-chart > li > ol > li:before {
      height: 1em!important;
      left: 50%!important;
      top: 0!important;
      width: 3px!important;
  }

  ol.organizational-chart > li > ol:after {
      display: none;
  }

  ol.organizational-chart > li > ol > li {
      flex-grow: 1;
      padding-left: 1em;
      padding-right: 1em;
      padding-top: 1em;
  }

  ol.organizational-chart > li > ol > li:only-of-type {
      padding-top: 0;
  }

  ol.organizational-chart > li > ol > li:only-of-type:before,
  ol.organizational-chart > li > ol > li:only-of-type:after {
      display: none;
  }

  ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after,
  ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
      height: 3px;
      top: 0;
      width: 50%;
  }

  ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after {
      left: 50%;
  }

  ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
      left: 0;
  }

  ol.organizational-chart > li > ol > li + li:not(:last-of-type):after {
      height: 3px;
      left: 0;
      top: 0;
      width: 100%;
  }
