.chart-widget-main {
  width: 100%;
  position: relative;
}

.chart-widget-main  > .chart-helper-outer {
  position: relative;
  width: 100%;
  padding-top: 50%;
}

.chart-widget-with-legend > .chart-helper-outer {
  
}

.chart-widget-without-legend > .chart-helper-outer {
  
}

.chart-widget-main  > .chart-helper-outer > .chart-helper-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.chart-widget-main  > .chart-helper-outer > .chart-helper-inner > * {
  padding: 0px;
}

.chart-widget-main  > .chart-helper-outer > .chart-helper-inner > *, 
.chart-widget-main  > .chart-helper-outer > .chart-helper-inner  .chart-widget-chart {
  height: 100%;
}

.chart-widget-main .chart-widget-legend {

}

.chart-widget-main .chart-widget-legend > ul{
  text-align: center;
  padding-left: 0px;
  list-style-type: none;
  margin-top: 10px;
}

.chart-widget-main .chart-widget-legend > ul > li {
  display: inline-block;
  position: relative;
  margin: 0 auto;
  padding: 5px 7px;
  font-size: 13px;
}

.chart-widget-main .chart-widget-legend > ul > li > span {
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 3px;
  width: 16px;
  height: 16px; 
}

@media screen and (max-width: 768px) {
  .chart-widget-main  > .chart-helper-outer {
    padding-top: 0px;
  }
  .chart-widget-main  > .chart-helper-outer > .chart-helper-inner {
    position: static;
  }
  .chart-widget-main  > .chart-helper-outer > .chart-helper-inner > *,
  .chart-widget-main  > .chart-helper-outer > .chart-helper-inner  .chart-widget-chart {
    height: auto;
  }
  .chart-widget-main  .chart-widget-legend > ul > li {
    font-size: 11px;
  }
  .chart-widget-main .chart-widget-legend > ul > li > span {
    width: 14px;
    height: 14px; 
  }
}