#bar-chart3 {
  margin: 0 auto;
  height: 23rem;
  margin-top: 1rem;
  max-width: 800px;
  position: relative;
}
#bar-chart3 h1 {
  text-align: center;
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
}
#bar-chart3 .row3 {
  position: relative;
  line-height: 1.5em;
  margin-bottom: 2em;
  margin: 0 auto;
  height: 14rem;
}
#bar-chart3 .row3 .segment3 {
  -webkit-box-flex: 1;
  -ms-flex: 100% 1;
  flex: 1 100%;
  display: block;
  position: relative;
  -ms-flex-item-align: end;
  align-self: flex-end;
}

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

#bar-chart3 .row3 .segment3:after {
  content: "";
  display: block;
  height: 0.4rem;
  bottom: 0;
  position: absolute;
  width: 1px;
  background-color: #414245;
}

.col3 {
  position: relative;
  z-index: 1;
}

#bar-chart3 .label3 {
  margin-top: -1.2rem;
  display: block;
  /* hide for table */
  font-size: 0.7rem;
  /* reduce margin for table */
  margin-left: -2rem;
  /* margin-left: -4rem; */
  text-align: start;
}
/* X Axis */
#bar-chart3 .x-axis3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: center;
  padding: 0 2em 0 0.5em;
  /* for table height 20% */
  height: 20%;
  /* height: 50%; */
  width: 100%;
  margin-bottom: 3.5em;
}
#bar-chart3 .x-axis3 .year3 {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}
#bar-chart3 .x-axis3 .year3 .col3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 1rem;
  /* margin-top: -1px; */
  /* margin: 0 8%; */
  position: relative;
  left: -3px;
}
#bar-chart3 .x-axis3 .year3 .col3 .bar3 {
  -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: 1rem;
  /* margin-top: -1px; */
  -webkit-transition: width, 1s ease;
  -o-transition: width, 1s ease;
  transition: width, 1s ease;
}
#bar-chart3 .x-axis3 .year3 .col3 .bar3[style*="width"] {
  min-width: 2px;
  min-height: 2px;
}
#bar-chart3 .x-axis32 .year3 .col3 .bar3.negative3 {
  -ms-flex-item-align: start;
  align-self: flex-start;
  top: 100%;
}

#bar-chart3 .x-axis3 .label3 a {
  color: black;
  text-decoration: none;
  font-size: 0.7rem;
  /* display: block; */
}
#bar-chart3 .x-axis3 .label3 a .name2 {
  display: none;
}
#bar-chart3 .x-axis3 .year3 .col3 .bar3 .tooltip2,
#bar-chart3 .x-axis3 .year3 .col3 .bar3 .tooltip2:after {
  display: block;
  position: absolute;
  z-index: 2;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
#bar-chart3 .x-axis3 .year3 .col3 .bar3 .tooltip2 {
  top: -2em;
  font-size: 0.75em;
  /* padding: 2px 5px; */
}

/* Y Axis */
#bar-chart3 .y-axis3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* for table height 20% */
  height: 20%;
  /* height: 50%; */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  /* -ms-flex-wrap: wrap; */
  /* flex-wrap: wrap; */
  position: absolute;
  width: 100%;
  padding: 0 1.5em 0 0.25em;
}
#bar-chart3 .y-axis3 .label3 {
  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);
}
