#chart {
}

table {
  width: 100%;
  height: 200px;
  margin: auto;
}

.charttitle {
  text-align: center;
}

.bars{
  height: 400px;
  display: grid;
  grid-template-columns: auto;
  grid-auto-flow: column;
  gap: 1px
}

.bars > div{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  &:hover {
    opacity: 0.6;
  }
  .bar{
    width: inherit;
  }
}

.legend {
  min-width: 200px;
  overflow-x: auto;
  max-width: 120px;
  vertical-align: bottom;
  padding-left: 20px;
  text-align: left;
}

.legbox {
  display: block;
  cursor: pointer;
  border: 1px solid transparent;
  &:hover{
  opacity: 0.6;
  border: 1px solid var(--dark-active-background);
  }
}

.xaxisname {
  margin: 5px;
  color: #fff;
  font-size: 77%;
  padding: 5px;
  float: left;
}

.one {
  background: #16A085;
}

.two {
  background: #2ECC71;
}

.three {
  background: #27AE60;
}

.four {
  background: #3498DB;
}

.five {
  background: #2980B9;
}

.six {
  background: #9B59B6;
}

.seven {
  background: #8E44AD;
}

.eight {
  background: #34495E;
}

.nine {
  background: #2C3E50;
}

.ten {
  background: #22313f;
}

.eleven {
  background: #F1C40F;
}

.twelve {
  background: #F39C12;
}

.thirteen {
  background: #E67E22;
}

.fourteen {
  background: #D35400;
}

.fifteen {
  background: #E74C3C;
}

.sixteen {
  background: #C0392B;
}

.seventeen {
  background: #ECF0F1;
}

.seventeen.clouds {
  color: #BDC3C7;
}

.eighteen {
  background: #BDC3C7;
}

.nineteen {
  background: #95A5A6;
}

.twenty {
  background: #7F8C8D;
}

.bars > td > div {
  animation: item-height 1s ease-in-out;
}

.hover{
  opacity: 0.6;
  border: 1px solid var(--dark-active-background);
}

@keyframes item-height { from { height: 0 } }
