.chartSection {
  width: 100%;
}

.chartContainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.chartContainer > div:first-child {
  width: 82%;
}

.chartContainer > div:last-child {
  width: 16%;
}

@media screen and (max-width: 800px) {
  .chartContainer {
    flex-direction: column;
  }

  .chartContainer > div:first-child {
    width: 100%;
  }

  .chartContainer > div:last-child {
    width: 25%;
    margin: 10px auto;
  }
}

#lineChart,
#pieChart {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.chartSection select#chartSelect {
  margin-bottom: 10px;
  width: 100%;
  cursor: pointer;
  padding: 10px 15px 10px 10px;
  background-color: #aec635;
  border: none;
  border-radius: 0;
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-selector' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='white' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpolyline points='8 9 12 5 16 9'%3E%3C/polyline%3E%3Cpolyline points='16 15 12 19 8 15'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: right 8px center;
  background-repeat: no-repeat;
}

.chartSection #list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 !important;
}

.chartSection #list li {
  list-style-type: none;
}

.chartSection #list .optionButton {
  background: #aec635;
  border: none;
  cursor: pointer;
  list-style-type: none;
  color: white;
  width: 100%;
  height: 100%;
  text-align: left;
  border-radius: 0;
  padding: 5px 10px;
  font-family: inherit;
}

.chartSection #list .optionButton.current {
  color: #aec635;
  background-color: white;
}

/* Mobile ansicht */
@media screen and (max-width: 640px) {
  .chartContainer > div:last-child {
    width: 50%;
  }

  .chartSection #list {
    grid-template-columns: repeat(2, 1fr);
  }
}

sup.reg {
  font-size: 10px;
}
