#bar-chart2 {
  margin: 0 auto;
  /* height: 18.75rem; */
  margin-top: 1rem;
  /* max-height: 400px; */
  max-width: 30rem;
  position: relative;
}
#bar-chart2 h1 {
  text-align: center;
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
}
#bar-chart2 .row2 {
  position: relative;
  line-height: 1.5em;
  margin-bottom: 2em;
  margin: 0 auto;
  height: 18.75rem;
}

#bar-chart2 .row2 .segment2 {
  -webkit-box-flex: 1;
  -ms-flex: 100% 1;
  flex: 1 100%;
  display: block;
  position: relative;
  -ms-flex-item-align: end;
  align-self: flex-end;
}

.year2 > span > a {
  font-size: 1rem;
}

#bar-chart2 .label2 {
  margin-top: -1.3rem;
  display: block;
  font-size: 0.7em;
  text-align: start;
}

/* need */
#bar-chart2 .y-axis2 .label2 {
  margin: 0 auto -20px -2em;
  width: 2.5em;
  text-align: right;
  padding-right: 0;
  padding-left: 0.5em;
}

/*Flat UI colors*/

.four2 {
  background: #3498db;
}

.five2 {
  background: rgb(41, 170, 185);
}

.bar2 {
  cursor: pointer;
}

#bar-chart2 .row2 .segment2:after {
  content: "";
  display: block;
  height: 9.5rem;
  bottom: 0;
  position: absolute;
  width: 0.5px;
  background-color: #414245;
  z-index: -1;
}
#bar-chart2 .label2 {
  margin-top: -1.3rem;
  font-size: 0.7em;
  text-align: end;
}
/* X Axis */
#bar-chart2 .x-axis2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  padding: 0 2em 0 0.5em;
  height: 50%;
  width: 100%;
  margin-bottom: 3.5em;
}
#bar-chart2 .x-axis2 .year2 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}
#bar-chart2 .x-axis2 .year2 .col2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 1.3rem;
  position: relative;
  left: -3px;
}
#bar-chart2 .x-axis2 .year2 .col2 .bar2 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  /* background-color: #00aba9; */
  -ms-flex-item-align: end;
  align-self: flex-start;
  position: relative;
  margin: 0;
  height: 1.3rem;
  -webkit-transition: width, 1s ease;
  -o-transition: width, 1s ease;
  transition: width, 1s ease;
}
#bar-chart2 .x-axis2 .year2 .col2 .bar2[style*="width"] {
  min-width: 2px;
  min-height: 2px;
}
#bar-chart2 .x-axis22 .year2 .col2 .bar2.negative2 {
  -ms-flex-item-align: start;
  align-self: flex-start;
  top: 100%;
}
#bar-chart2 .x-axis2 .label2 {
  position: relative;
  left: -26.5rem;
  top: 0;
}
#bar-chart2 .x-axis2 .label2 a {
  font-size: 0.8rem;
  text-decoration: none;
  color: black;
}
#bar-chart2 .x-axis2 .label2 a .name2 {
  display: none;
}
#bar-chart2 .x-axis2 .year2 .col2 .bar2 .tooltip2 {
  top: -2em;
  font-size: 0.75em;
}

/* Y Axis */
#bar-chart2 .y-axis2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* height: 50%; */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  position: relative;
  top: -4rem;
  width: 100%;
  padding: 0 1.5em 0 0.25em;
}
