/****************************

Custom chart

*************************/

.customchart-item {
  width: 100%;
}

.custom-chart-visualisation {
  width: 100%;
}

.custom-chart-visualisation:not(.is-active) {
  display: none;
}

.customchart-item .customchart-item-inner {
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 12.5px;
}

.custom-chart-visualisation .visualisation-head {
  margin-bottom: 0;
  min-height: auto;
}

/******custom-chart-col*******/

.custom-chart-col {
  position: relative;
  margin-right: 10px;
}

.custom-chart-col:last-child {
  margin-right: 0;
}

.customchart-col-label {
  font-size: 13px;
  padding-top: 20px;
  width: 100%;
  color: #002f54;
  font-weight: 400;
}

.chart-mainlabel-inner {
  display: block;
}

.chart-mainlabel-inner:first-letter {
  text-transform: uppercase;
}

/*******chart points**********/

.chart-points-block {
  height: 300px;
  position: relative;
  width: 100%;
}

.chart-verticalline-wrap {
  width: 11px;
  border: 1px solid #666666;
  height: 100%;
  border-radius: 20px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,8ea7b0+100&0+0,1+100 */
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(142, 167, 176, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(142, 167, 176, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(142, 167, 176, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#8ea7b0', GradientType=0);
  /* IE6-9 */
}

.point-tick,
.chart-pointlabel-wrap {
  position: absolute;
  left: 0;
}

.last-point .chart-pointlabel-wrap {
  bottom: auto !important;
  top: 0;
  width: 100%;
}

.chart-point-label {
  font-size: 13px;
  line-height: 19px;
  display: block;
  color: #4d4d4d;
}

.chart-point-label:first-letter {
  text-transform: uppercase;
}

.point-tick {
  width: 5px;
  height: 1px;
  background: #666666;
  left: 5px;
}

.chart-pointlabel-wrap {
  padding-left: 21px;
}

.first-point .point-tick,
.last-point .point-tick {
  display: none;
}

/**************point vales********/

.point-values {
  position: absolute;
  width: 25px;
  height: 25px;
  background: #fff;
  font-weight: 500;
  font-size: 14px;
  color: #00a79e;
  border: 2px solid #00a79e;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 5px;
  margin-left: -12.5px;
  border-radius: 100%;
  margin-bottom: -12.5px;
  z-index: 1;
}

/************filter*************/

.custom-chart-filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  width: 100%;
  margin-top: 5px;
}

.custom-chart-filters .ui-slider-pips .ui-slider-pip {
  pointer-events: none;
}

.custom-chart-filters .filter-label {
  font-size: 13px;
  font-weight: 700;
  color: #1fa29c;
  display: block;
  text-align: center;
}

.custom-chart-filter-selected {
  width: 135px;
}

.custom-chart-filters .filter-slider {
  width: calc(100% - 135px);
  padding: 0 0 0 50px;
  max-width: 400px;
}

.custom-chart-filters .year-selected {
  font-size: 13px;
  font-weight: 700;
  color: #4d4d4d;
  display: block;
  text-align: center;
  margin-top: 15px;
}

.custom-chart-filters .year-select-block {
  float: left;
  width: 100%;
  margin-top: 9px;
  padding-right: 30px;
}

/* tooltip note*/

.custom-chart-filters .year-selected {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-chart-filters .tooltip-sup-wrapper {
  font-weight: normal;
}

/********************

responsive

************************/

@media only screen and (max-width: 1200px) {
  .chart-arrow-navigation .next-arrow {
    right: 10px;
    z-index: 3;
  }
}

@media only screen and (max-width: 1024px) {

  /************for adding scroll ***************/
  .popup-content .customchart-item,
  .custom-chart-wrap .customchart-item {
    min-width: auto;
    overflow: auto;
    padding-bottom: 10px;
  }

  .popup-content .customchart-item .customchart-item-inner,
  .custom-chart-wrap .customchart-item .customchart-item-inner {
    min-width: 380px;
  }

  .popup-content .customchart-item .customchart-item-inner.chart-col-4,
  .custom-chart-wrap .customchart-item .customchart-item-inner.chart-col-4 {
    min-width: 900px;
  }

  .popup-content .customchart-item .customchart-item-inner.chart-col-5,
  .custom-chart-wrap .customchart-item .customchart-item-inner.chart-col-5 {
    min-width: 1100px;
  }
}

/* Medium Devices, Desktops */

@media only screen and (max-width: 991px) {
  .custom-chart-wrap .chart-wrap-inner {
    overflow: auto;
  }

  .visualisation-tab-navigation {
    width: 100%;
    overflow: auto;
    margin-bottom: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .visualisation-tab-navigation ul {
    white-space: nowrap;
    padding-bottom: 0px;
  }

  .visualisation-tab-navigation ul li:first-child {
    padding-left: 15px;
  }

  .visualisation-tab-navigation::-webkit-scrollbar {
    display: none;
  }

  .custom-chart-section .visualisation-tab-navigation a {
    padding-bottom: 10px;
  }

  .custom-chart-section .chart-arrow-navigation {
    display: none;
  }
}

/* Small Devices, Tablets */

@media only screen and (max-width: 767px) {
  .custom-chart-filter-selected {
    width: 100px;
  }

  .custom-chart-filter-selected .filter-label,
  .custom-chart-filter-selected .year-selected {
    text-align: left;
  }

  .custom-chart-filter-selected .year-selected {
    margin-top: 5px;
  }

  .custom-chart-filters .filter-slider {
    width: calc(100% - 100px);
    padding: 0 0 0 20px;
  }

  .custom-chart-wrap .chart-wrap-inner {
    overflow: auto;
    padding-bottom: 10px;
  }

  .custom-chart-wrap .customchart-item {
    min-width: auto;
  }

  .custom-chart-wrap .customchart-item .customchart-item-inner {
    min-width: 380px;
  }

  .custom-chart-wrap .customchart-item .customchart-item-inner.chart-col-4 {
    min-width: 800px;
  }

  .custom-chart-wrap .customchart-item .customchart-item-inner.chart-col-5 {
    min-width: 800px;
  }

  .chart-point-label {
    font-size: 10px;
    line-height: 14px;
  }

  .customchart-col-label {
    font-size: 9px;
  }

  .visualisation-selected-tab-dropdown {
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
    display: none !important;
  }

  .custom-chart-section {
    padding-top: 10px;
  }

  .custom-chart-filters .year-select-block {
    padding-right: 20px;
  }
}
