div.dashboard-box {
  width: 100%;
  margin-bottom: 20px;
  padding: 0px 20px;
  /*
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  */
}

div#flotTooltip {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px;
  display: inline-block;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

div#flotTooltip .tooltipRow {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

div#flotTooltip .labelXText {
  display: block;
  padding: 0px 4px;
  font-weight: bold;
}

div#flotTooltip .labelMText {
  width: 100px;
  display: inline-block;
  text-align: left;
  /*background-color: rgba(0, 0, 0, 0.2);*/
  padding: 0px 3px;
  margin: 0px 3px;
  font-size: 11px;
  font-weight: normal;
}

div#flotTooltip .labelSNum {
  width: 60px;
  display: inline-block;
  text-align: right;
  /*background-color: rgba(0, 0, 0, 0.2);*/
  padding: 0px 5px;
  margin: 0px 3px;
  font-size: 12px;
  font-weight: normal;
}

div#flotTooltip .labelMNum {
  width: 100px;
  display: inline-block;
  text-align: right;
  /*background-color: rgba(0, 0, 0, 0.2);*/
  padding: 0px 5px;
  margin: 0px 3px;
  font-size: 12px;
  font-weight: normal;
}


div.chartPetr {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#295593+1,6781bf+34,194387+100 */
  background: rgb(41, 85, 147);
  /* Old browsers */
  background: -moz-linear-gradient(-45deg, rgba(41, 85, 147, 1) 1%, rgba(103, 129, 191, 1) 34%, rgba(25, 67, 135, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(41, 85, 147, 1) 1%, rgba(103, 129, 191, 1) 34%, rgba(25, 67, 135, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(41, 85, 147, 1) 1%, rgba(103, 129, 191, 1) 34%, rgba(25, 67, 135, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#295593', endColorstr='#194387', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */


  width: 100%;
  max-width: 360px;
  min-width: 340px;

  padding: 0px;
  border: 3px solid rgba(255, 255, 255, 1);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  display: inline-block;
  margin: 0px 20px 20px 0px;
}

div.chartPetr.chartDonut .chart-body {
  display: block;
  margin: 0px;
  padding: 0px;
  text-align: center;
  position: relative;
}

div.chartPetr.chartDonut .chart-body .chart-title {
  color: #fff;
  padding: 10px 20px;
  margin: 0px 0px 10px 0px;
  font-weight: normal;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: left;
}

div.chartPetr.chartDonut .chart-body .chart-link {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 17px;
  top: 77px;
  text-align: center;  
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
}

div.chartPetr.chartDonut .chart-body .chart-link:hover {
  background-color: #fff;
}

div.chartPetr.chartDonut .chart-body .chart-link i {
  font-size: 22px;
  margin: 10px 0px 0px 2px;
  color: #fff;
}

div.chartPetr.chartDonut .chart-body .chart-link:hover i {
  color: #506FAF;
}


div.chartPetr.chartDonut .chart-body .flot-chart {
  display: inline-block;
  width: 360px;
  margin-bottom: 10px 0px 10px 0px;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends {
  display: inline-block;
  width: 320px;
  vertical-align: top;
  margin: 0px 10px 10px 10px;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table {
  display: block;
  margin-top: 10px;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table tbody {
  display: block;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table tr {
  display: block;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table td.legendColorBox {
  display: inline-block;
  width: 20px;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table td.legendLabel {
  display: inline-block;
  width: calc(100% - 20px - 10px);
  color: #fff;
  font-size: 11px;
  margin: 0px 5px 5px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.15);
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table td.legendLabel .labelXText {
  display: block;
  padding: 0px 8px;
  font-weight: normal;
  text-align: left;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table td.legendLabel .labelMText {
  width: 140px;
  display: inline-block;
  text-align: left;
  /*background-color: rgba(0, 0, 0, 0.2);*/
  padding: 0px 5px;
  font-size: 12px;
  font-weight: bold;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table td.legendLabel .labelSNum {
  width: 60px;
  display: inline-block;
  text-align: right;
  /*background-color: rgba(0, 0, 0, 0.2);*/
  padding: 0px 5px;
  margin: 0px 3px;
  font-size: 12px;

}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table td.legendLabel .labelMNum {
  width: 60px;
  display: inline-block;
  text-align: right;
  /*background-color: rgba(0, 0, 0, 0.2);*/
  padding: 0px 5px;
  margin: 0px 3px;
  font-size: 12px;

}


div.chartPetr.chartDonut .chart-body .flot-chart-legends table .legendColorBox>div {
  border: none !important;
}

div.chartPetr.chartDonut .chart-body .flot-chart-legends table .legendColorBox>div>div {
  border-width: 10px !important;
  border-radius: 3px;
}

div.chartPetr.chartDonut .chart-body .pieLabel {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 16px;
  font-size: 9px;
}



div.chartPetr.chartBar .chart-body {
  display: block;
  margin: 0px;
  padding: 0px;
  text-align: center;
}

div.chartPetr.chartBar .chart-body .chart-title {
  color: #fff;
  padding: 10px 20px;
  margin: 0px 0px 10px;
  font-weight: normal;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: left;
}

div.chartPetr.chartBar .chart-body .flot-chart {
  display: inline-block;
  width: 450px;
  margin-bottom: 10px;
}





div.chartPetr.chart-bar-group .chart-body {
  display: block;
  margin: 0px;
  padding: 0px;
  text-align: center;
}

div.chartPetr.chart-bar-group .chart-body .chart-title {
  color: #fff;
  padding: 10px 20px;
  margin: 0px 0px 10px;
  font-weight: normal;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: left;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart {
  margin: 0px;
  padding: 0px 10px;
  color: #fff;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table {
  display: block;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr {
  display: block;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .th.empty {
  display: inline-block;
  width: 450px;
  vertical-align: top;
  margin: 0px;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .th.entityname {
  display: inline-block;
  width: 450px;
  vertical-align: top;
  margin: 0px;
  height: 42px;
  background-color: rgba(0, 0, 0, 0.15);
  margin-bottom: 8px;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .th.entityname .labelXText {
  width: 100%;
  display: inline-block;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .th.entityname .labelXDesc {
  width: 100%;
  display: inline-block;
  font-size: 12px;
  line-height: 18px;
  font-weight: normal;
}



div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsbox {
  display: inline-block;
  width: 450px;
  vertical-align: top;
  margin: 0px 0px 8px 0px;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsbox {
  height: 42px;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsboxheader {
  display: inline-block;
  width: 450px;
  vertical-align: top;
  margin: 0px 0px 8px 0px;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsboxheader .th.groupname {
  margin-left: 8px;
  background-color: rgba(0, 0, 0, 0.15);
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsbox .td.minichart {
  vertical-align: top;
  height: 100%;
  margin-left: 8px;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsbox .td.minichart .minichart-envelope {
  height: 100%;
  width: 100%;
  position: relative;
  display: inline-block;
  padding: 0px;
  text-align: left;
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsbox .td.minichart .minichart-envelope .minibar-envelope {
  vertical-align: bottom;
  position: relative;
  margin: 0px 1px;
  background-color: rgba(0, 0, 0, 0.15);
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsbox .td.minichart .minichart-envelope .minibar-envelope:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

div.chartPetr.chart-bar-group .chart-body .dan-chart .table .tr .chartsbox .td.minichart .minichart-envelope .minibar-envelope .minibar-value {
  position: absolute;
  bottom: 1px;
}















.flot-chartPetr {
  height: 300px;
  display: block;
}

.flot-chart--sm {
  height: 100px;
}

.flot-chart-legends {
  text-align: center;
  margin: 20px 0 -10px;
}

.flot-chart-legends table {
  display: inline-block;
}

.flot-chart-legends .legendColorBox>div>div {
  border-radius: 50%;
}

.flot-chart-legends .legendLabel {
  padding: 0 8px 0 3px;
  color: rgba(0, 0, 0, 0.7);
}

.flot-tooltip {
  position: absolute;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.85);
  display: none;
  font-size: 0.95rem;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  padding: 0.7rem 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 99999;
}

.flot-pie {
  cursor: pointer;
}