.filter-bar{
  padding:0 0 20px 0;
  .form-inline{margin:0}
  + hr{margin-top:0;border-top-color:#e9e9e9}
}

/* Box */

.box-counter{
  text-align:center;
  @include box-shadow(0 0 8px rgba(0,0,0, 0.1));
  border-color:#ccc;
  h2{
    padding:5px $boxGutter;
    margin:0;
    font-size:44px;
    line-height:60px;
    font-weight:300;
    color:#444;
    letter-spacing:-2px;
    i{
      font-size:26px;
      position:relative;
      top:-4px;
    }
  }
  p{
    background:#f5f5f5;
    margin:0;
    padding:5px $boxGutter;
    border-top:1px solid rgba(0,0,0,0.05);
    line-height:32px;
    color:#666;
    @include border-radius(0 0 $baseBorderRadius $baseBorderRadius);
    @extend .lead;
    font-size:20px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .box-counter{
    h2{font-size:28px;line-height:40px}
    p{font-size:16px}
  }
}

.box-data{
  border-top:1px solid #eaeaea;
  position:relative;
  .box-data-header{
    height:28px;
    background:#f3f3f3;
    border-bottom:1px solid #eee;
  }
  .box-data-body{
    max-height:180px;
    overflow:auto;
  }
  .table{
    margin:0;width:100%;
    background:#fafafa;
    th{
     font-size:12px !important;
     padding-top:0 !important; 
     padding-bottom:0 !important; 
    }
    .th-inner{
      position:absolute;
      top:4px
    }
    td,th{
      font-size:13px;
      border-color:#eee;
      &:first-child{padding-left:$boxGutter}
      &:last-child{padding-right:$boxGutter}
    }
    tr:first-child td{border:0}
  }
  
  .box-body &{margin:0 (-$boxGutter) (-$boxGutter) (-$boxGutter)}
}

/* Graphs */

.highcharts-tooltip{
  padding:20px;
  color:#fff;
  text-align:center;
  line-height:1;
  h2,h3{margin:0;padding:0}
  p{margin-bottom:5px;}
  small{display:block;font-size:12px;margin-top:10px;border-top:1px solid #555;padding-top:7px;color:#999}
}

#accessi-area-clienti{
  height:300px;
  margin:20px auto;
}

#autoletture-gas-pie,#autoletture-luce-pie{height:429px}
#autoletture-gas-data,#autoletture-luce-data{
  height:200px;
  margin:14px auto 20px;
}

#autoletture-gas-data{width:auto;display:block}
