.chartdiv {
  width: 100%;
  height: 500px;
  display: block;
}

#chart_tree {
  height: 2000px!important;
}

.chart-wrap {
  background-color: #fff;
  padding: 30px;
  margin-bottom: 30px;
}

.chart-wrap .list-group > a {
  font-size: 1.1rem;
  font-weight: normal;
  text-align: left;
}

a.item-active,
a.item-active:focus,
a.item-active:hover {
  color: #84241A;
  border-left-width: 3px;
  border-left-color: #84241A
}

.chart-desc {
  font-size: 1.2rem;
  color: #2d3a3a;
}

.year-tab {
  padding-left: 70px;
  padding-right: 70px;
  cursor: pointer;
}

.year-tab-active {
  border-bottom: 2px solid #84241A;
  font-weight: bold;
}

.chart-main-tab {
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 5px;
  cursor: pointer;
  font-size: 1.25rem;
}

.chart-main-tab-active {
  border-bottom: 2px solid #84241A;
  color: #84241A;
}

.chart-main-tab-nav {
  margin-bottom: 50px;
}

.chart-toolbox-wrap {
  /*margin: 20px;*/
}

.chart-toolbox-container {
  padding: 20px;
}

.chart-toolbox-container label {
  line-height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #000;
  margin-bottom: 0 !important;
  font-size: 16px;
}

.chart-toolbox-container label.chart-active-lbl {
  color: rgb(12, 101, 143);
}

.chart-btn-group {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  vertical-align: middle;
  height: 40px;
  /*margin: 20px;*/
}

.chart-btn {
  color: #40454a;
  background-color: transparent;
  background-image: none;
  border-color: #BDBDBD;;
  border-radius: 0.3rem;
  font-weight: 600;
}

.chart-btn-active {
  background-color: #F3EAE9;
  border-color: #84241A;
  color: #84241A;
}

.chart-btn-group > .chart-btn-group:not(:last-child) > .btn,
.chart-btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.chart-btn-group > .chart-btn-group:not(:first-child) > .btn,
.chart-btn-group > .btn:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.chart-btn-group > .btn:focus {
  box-shadow: none;
}

.chart-btn-group > .btn:first-child {
  margin-left: 0;
}

.chart-btn-group .btn + .btn {
  margin-left: 0;
}

.chart-select {
  color: #40454a;
  background-color: transparent;
  background-image: none;
  border-color: #9aa7b3;
  border-radius: 0.3rem;
  margin-bottom: 0.4rem;
}

.chart-select:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.chart-select:focus {
  box-shadow: none;
}

.range-labels {margin-right: 0 !important;}

@media only screen and (max-width: 992px) {
  .chart-wrap {
    padding: 20px;
    margin-bottom: 20px;
  }

  .chart-toolbox-wrap {
    justify-content: center;
    margin-top: 25px;
  }

  .chart-toolbox-container > div {
    justify-content: center !important;
  }

  .chart-toolbox-container {
    /*padding: 45px;*/
  }

  .chart-main-tab {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1.1rem;
  }

  .chart-main-tab-nav {
    /*margin-top: 20px;
    margin-bottom: 30px;*/
  }

  .chart-main-tab-active {
    /*border-bottom: 4px solid rgb(12, 101, 143);
    padding-bottom: 15px;*/
  }

  .nav-tabs {
    /*margin-top: 60px;
    border-bottom: 2px solid #dee2e6;*/
  }

  .chart-wrap .list-group > a {
    /*font-size: 2.7rem;
    font-weight: normal;*/
  }

  .chart-wrap .list-group-item {
    /*padding: 3rem 2rem 2.2rem 2rem;*/
  }

  .chart-wrap h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    /*margin-bottom: 20px;*/
  }

  .chart-desc {
    /*font-size: 2.5rem;*/
    line-height: 1.2;
  }

  .year-tab {
    padding-left: 30px;
    padding-right: 30px;
    /*font-size: 2rem;
    padding-bottom: 15px;*/
  }

  .year-tab-index {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .year-tab-active {
    /*border-bottom: 4px solid #333;*/
  }

  .chart-toolbox-container label {
    /*font-size: 2rem;
    margin-right: 30px;*/
  }

  /*
  .chart-btn-group {
    position: relative;
    height: 70px;
  }

  .chart-btn {
    border-radius: 0.7rem;
    font-size: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /*
  .chart-select {
    font-size: 2rem;
    padding: 30px;
    min-width: 200px;
  }

  .chart-toolbox-container .dropdown-menu {
    font-size: 2.2rem;
  }

  .chart-toolbox-container .dropdown-item {
    padding: 1rem 2rem;
  }
  */
}

.range input {
  width: 100%;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .chart-wrap nav {
    margin: 0 -15px;
  }
  .chart-main-tab {
    width: 33.3%;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 600;
  }
  .chart-main-tab-nav {
    margin-bottom: 24px;
  }
  .tabscontent {
    padding-top: 30px;
  }
  .tabscontent h3 {
    text-align: left;
  }
  #chart_tree {
    height: 900px!important;
  }
  
}


