body{
  margin:10px;
  padding:10px;
  font-size: 0.9rem;
  font-family: sans-serif;
}

p{
  font-size: 0.9rem;
  font-family: sans-serif;
}

input, select, textarea, button {
	font-size: inherit;
	font-family: inherit;
}	

input[type=text] {
  padding: 6px 6px;
  margin: 8px 0;
  box-sizing: border-box;
  background-color: rgb(242, 237, 237);
}

/*green box*/
.green {
  color: white;
  background-color: #42530c;
  padding: 6px 6px;
}

/*green text*/
.greenText {
  color:  #42530c
}

/*source: https://dev.to/dcodeyt/creating-beautiful-html-tables-with-css-428l*/
.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9rem;
    font-family: sans-serif;
    /*min-width: 400px;*/
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}


/*spaces between the cells*/
.styled-table th,
.styled-table td {
   padding: 12px 15px;
   vertical-align: top;
}

.statistic-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9rem;
    font-family: sans-serif;
    /*min-width: 400px;*/
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* color for the header*/
.statistic-table th {
    background-color: #42530c;
    color: #ffffff;
    text-align: left;
}

/*spaces between the cells*/
.statistic-table th,
.statistic-table td {
    padding: 12px 15px;
}

/*Add a bottom border to each row for separation
.statistic-table tbody tr {
    border-bottom: 1px solid #dddddd;
}*/

/*Add a light green background to the second row*/
.statistic-table thead tr:nth-child(2) {
  background-color: #8cad2d;
}

/*Add a lighter background to every second row to help readability*/
.statistic-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

/*Add a dark border to the very last row to signify the end of the table */
statistic-table tbody tr:last-of-type {
    border-bottom: 2px solid #42530c;
}

/* hide from column 6 */
/*https://stackoverflow.com/questions/73125555/how-to-make-html-table-columns-th-collapsible-expandable*/

.statistic-table tr> :nth-child(6),
.statistic-table tr> :nth-child(7),
.statistic-table tr> :nth-child(8){
  display: none;
}

.statistic-table.expand tr> :nth-child(6),
.statistic-table.expand tr> :nth-child(7),
.statistic-table.expand tr> :nth-child(8){
  display: table-cell;
  height: 1.2rem;
}

/* change color when hover the ...*/
th:nth-child(5):hover{
  background-color:  #8cad2d;
}

/*sort button*/
/*https://webdesign.tutsplus.com/tutorials/how-to-create-a-sortable-html-table-with-javascript--cms-92993*/
th button {
  background-color: #42530c;
  color: white;
  border: none;
  cursor: pointer;
  display: block;
  font: inherit;
  height: 100%;
  margin: 0;
  min-width: max-content;
  /*padding: 0.5rem 1rem;*/
  position: relative;
  text-align: left;
  width: 100%;
}

th button::after {
  position: absolute;
  right:  0,1rem;
}

th button[data-dir="asc"]::after {
  content: "â–²";
}

th button[data-dir="desc"]::after {
  content: "â–¼";
}

/* List without dot */
ul.simple {
    list-style-type: none;
    line-height: 1.5em;
}


.collapsible {
  /*background-color: #8cad2d;
  color: white;*/
  cursor: pointer;
  padding: 0px;
  margin: 10px 0px;
  /*width: 100%;*/
  border: none;
  text-align: left;
  outline: none;
  /*font-size: 1em;*/
  border-radius: 8px;
}

/*
.active, .collapsible:hover{
  background-color:  #42530c;
}*/

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
  font-size: 0.9rem;
}


/* Button */
.button {
    background-color: #8cad2d;
    border-radius: 8px;
    border: none;
    color: white;
    /*padding: 15px 32px;*/
    padding: 18px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
  }

  .small-button {
    background-color: #8cad2d;
    border-radius: 8px;
    border: none;
    color: white;
    padding: 5px 5px;
    margin: 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
  }
  /*
  .small-button:hover {
    background-color: #42530c;
  }*/

  .circle-button {
    background-color: #8cad2d;
    border-radius: 100%;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    height: 2em;
    width: 2em;
    text-align: center;
  }

  
  /* Checkbox */
  /* source: https://moderncss.dev/pure-css-custom-checkbox-style/ */

  
  /* source: https://boolie.org/css-checkbox-styling/*/

  [type="checkbox"] {
    position: relative;
    left: 15px;
    top: -4px;
    z-index: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff; 
    margin: 0;
  }

  [type="checkbox"] + label {
    position: absolute;
  }
  [type="checkbox"] + label::before {
    width: 15px;
    height: 15px;
    border-radius: 5px;
    border: 2px solid #42530c;
    background-color: #fff;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    z-index: 5;
    position: relative;
  }
  [type="checkbox"]:checked+label::before {
    box-shadow: inset 0px 0px 0px 3px #fff;
    background-color: #8cad2d;
  }
  
  

/* input fields */  
input[type=text] {
    border: 2px solid #42530c;
    border-radius: 5px;  
    outline: none;
}

input[type=number] {
  border: 2px solid #42530c;
  border-radius: 5px;  
  width: 50px;
  outline: none;
}


/* Arrow */
.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.link-icon {
  color:#42530c;
  transition: color 0.2s;
  text-decoration: none;
}

.link-icon:hover {
  color:#8cad2d;
}

/*info button*/
/*https://wiki.selfhtml.org/wiki/HTML/Tutorials/details*/

/*
summary::-webkit-details-marker,	
summary::marker {
  content:  " â“˜ ";  Verwendung des "info"-Symbols anstelle des Dreiecks 
  color: #8cad2d;
  font-size: 2em;
  font-weight: bold;
  transition: all 0.5s;  
}	

details[open] summary::-webkit-details-marker,
details[open] summary::marker {
  content:  " â“˜ ";
  font-size: 2em;
  color:#42530c;
}

*/