/* =======================================================================================
	GRAPH
======================================================================================= */

#commissionGraph {
  width: 100%;
  padding-right: 24px;
  position: relative;
}

#commissionGraph .bars {
  position: relative;
  max-width: calc(100% - 24px);
  z-index: 2;
}

#commissionGraph .bars .bar-container {
  display: flex;
  width: 100%;
  margin: 10px 0;
}

#commissionGraph .bars .num {
  display: block;
  height: 30px;
  width: 50px;
  text-align: center;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  position: relative;
  transform: translate(-12px,1px);
}

#commissionGraph .bars .num::after {
  content: "%";
  position: absolute;
  top: -2px;
  right: 2px;
  font-size: 13px;
  font-weight: 600;
}

#commissionGraph .bars .bar {
  display: block;
  height: 30px;
  width: calc(100% - 50px);
  background: #bbc656;
  color: white;
  font-weight: 600;
  line-height: 30px;
  border-radius: 0 30px 30px 0;
  text-align: left;
  transition: all 2s ease-in-out;
  overflow: hidden;
}

#commissionGraph .bars .bar-container:nth-child(1) .bar {
  transition: all 2s ease-in-out 300ms;
}

#commissionGraph .bars .bar-container:nth-child(2) .bar {
  transition: all 2s ease-in-out 600ms;
}

#commissionGraph .bars .bar-container:nth-child(3) .bar {
  transition: all 2s ease-in-out 900ms;
}

#commissionGraph .bars .bar-container:nth-child(4) .bar {
  transition: all 2s ease-in-out 1200ms;
}

#commissionGraph .bars .bar span {
  padding: 0 10px;
  white-space: nowrap;
}

#commissionGraph .chart {
  display: flex;
  justify-content: space-between;
  padding-left: calc(50px - 12px);
  width: calc(100% + 14px);
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#commissionGraph .chart > div {
  width: auto;
}

#commissionGraph .chart > div > span {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 24px;
  height: 100%;
  font-size: 12px;
  text-align: center;
  position: relative;
  margin-right: 0;
  margin-left: auto;
}

#commissionGraph .chart > div > span > span {
  margin-bottom: -20px;
}

#commissionGraph .chart > div > span::before {
  content: "";
  width: 1px;
  height: 100%;
  background: rgba(0,0,0,0.1);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}