.widget{
  margin-bottom:32px;
}

.widget .viewchart-wrapper{
  width:100%;
}

.widget.line .viewchart-wrapper,
.widget.spline .viewchart-wrapper,
.widget.area .viewchart-wrapper,
.widget.area-spline .viewchart-wrapper{
  position:absolute !important;
  bottom:0;
}

/* Legends */

.legend-wrapper{
  padding: 0 8px;
  min-height:45px;
}

.legend-html{}

.legend-item{
  padding:8px 0;
  cursor:pointer;
}

.legend-item-disabled{
  opacity:0.15;
}

.legend-x.legend-item{
  font-weight: bold;
  font-size: larger;
  text-align: left;
}

.legend-item .legend-name{
  text-transform:capitalize;
}

.legend-item .legend-value{
  min-width:60px;
  /*text-align:right;*/
  display:inline-block;
}

.legend-item .legend-swatch{
  width: 12px;
  height: 12px;
  border: solid #000 0px;
  border-radius: 50%;
  display: inline-block;
  margin: 12px 2px 0;
}

/* Charts */
.c3 text,.c3-tooltip-container,
.c3-chart-arcs-title, .c3-gauge-value{
  font-family:"Droid Sans Mono", "Courier New", Courier, monospace !important;
  color:rgba(0,0,0,0.55);
}

.c3-axis-y-label{
  font-size:16px;
}

.c3-legend-item text{
  font-family:Roboto;
}

/* Chart Tooltips */
.c3-tooltip-container{
  display:none;
}
#dashboardcontainerdiv .c3-tooltip-container{
  /*background-color: rgba(0,0,0,0.9) !important;*/
  /*background:linear-gradient(0deg,rgba(0,0,0,0.49),rgba(33,33,33,0.79)) !important;*/
  /*background:linear-gradient(0deg,rgba(0,0,0,0.7), rgba(33,33,33,1))!important;
  color: #fff !important;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.85) !important;
  margin: .333333rem;
  overflow: hidden;
  padding:16px;
  border-radius:2px;*/
  display:none;
  /*font-family:"Roboto Medium";*/
}

.c3-tooltip,
.c3-tooltip tbody,
.c3-tooltip th,
.c3-tooltip td{
  background:none;
  border:none;
  box-shadow:none;
}

.c3-tooltip tr{
  border:none;
  /*background-color:rgba(0,0,0,0.25);*/
}

.c3-tooltip tr:nth-child(even){
  /*background-color:rgba(63,63,63,0.25);*/
}


.c3-tooltip tr:first-child{
  background-color:none;
}

.c3-tooltip td>span{
  /*border:solid #fff 2px;*/
  border-radius:8px
}

/* GENERAL CHART STYLES */
.c3 .tick text {
  fill:#bbb;
  font-weight:900;
}
.c3 path.domain,.c3 .tick line {
  stroke: #ddd  !important;
  stroke-opacity:0.15 !important;
}

.c3-xgrid {
  /*stroke-opacity:0 !important;*/
}
.c3-ygrid, .c3-xgrid {
  stroke-dasharray:none!important;
  stroke: #999  !important;
  stroke-opacity:0.15;
}

.c3-area {
  opacity: 0.65!important;
}

.c3-chart-arc path{
  stroke:none;
}

g.c3-chart:nth-child(1){opacity:0.55;}
.c3-brush .extent{fill-opacity:0.3;}

/* Line/Spline charts */
.c3-chart-line .c3-circles circle{
  opacity:0 !important;
}

.c3-chart-line .c3-circles circle._expanded_{
  r:4;
  stroke: white;
  fill-opacity: 1;
  stroke-width: 2px;
  stroke-opacity: 1;
  opacity: 1 !important;
}
.c3-chart-line .c3-lines path.c3-line{
  stroke-width:1px;
}

div.c3.area .c3-chart-line .c3-lines path.c3-line,
div.c3.area-spline .c3-chart-line .c3-lines path.c3-line{
  stroke-width:0px;
}

/* Y axis & ticks  */
.c3-axis-y path.domain {
  stroke-width: 0;
}

.c3-axis-y g.tick line{
  stroke-width:0;
}

/* Event Rects (Can't decide if I like these. Will ask Kris) */
.line .c3-event-rects,
.spline .c3-event-rects,
.area .c3-event-rects,
.area-spline .c3-event-rects{
  cursor:crosshair !important;
}
/*

.c3.line g.c3-event-rects,
.c3.spline g.c3-event-rects,
.c3.area-line g.c3-event-rects,
.c3.area-spline g.c3-event-rects{
  fill: rgba(0,0,0,0);
  fill-opacity:1 !important;
  stroke: rgba(128,128,128,0.0325);
}

.c3.line g.c3-event-rects rect.c3-event-rect:nth-child(odd),
.c3.spline g.c3-event-rects rect.c3-event-rect:nth-child(odd),
.c3.area-line g.c3-event-rects rect.c3-event-rect:nth-child(odd),
.c3.area-spline g.c3-event-rects rect.c3-event-rect:nth-child(odd){
  fill: rgba(128,128,128,0.075) !important;
}
*/

/* SUBCHARTS */
g.c3-brush + g{
  opacity:0 !important;
}

/* Titles and text */
.c3-chart-arcs-title,
.gauge .c3-chart-arc text.c3-gauge-value{
  fill:#999;
}

.donut text.c3-chart-arcs-title{
  font-size:24px;
}

.widget .c3 .c3-axis g.tick tspan{
  fill-opacity:0.5;
}

