/* Custom carte os_conso 
-------------------------------------------------- */

.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}
/* Bloc legend */

.legend {
    line-height: 18px;
    color: #555;
}
.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

/* Custom dc.js crossfilter Charts
---------------------------------------------------*/
.dc-chart g.row text {       
    fill: black;    /* Texte de l'étiquette en noir*/
}
.dc-chart .pie-slice {       
    fill: black;    /* Texte de l'étiquette en noir sur le diagramme circulaire*/
}



  /**********
  *  Tooltip for barchart
  */

.tooltip{
position: absolute; 
  text-align: center; 
  width: auto;
  height: auto;  
  padding: 5px; 
  font: 12px sans-serif;  
  background: white;  
  border: 0px;          
  border-radius: 8px;
  color:black;
  box-shadow: -3px 3px 15px #888888;
  opacity:0;  

}

      .legend {
        font-size: 12px;
      }
      rect {
        cursor: pointer;                                              
        stroke-width: 2;
      }
      rect.disabled {                                                 
        fill: transparent !important;                                 
      }   

  /**********
  *  CSS Grid X & Y
  */
  .grid .tick {
      stroke: lightgrey;
      opacity: 0.7;
  }
  .grid path {
        stroke-width: 0;
  }

  /**********
  *  Tooltip for linechart
  */
  div.nvtooltip {
    position: absolute;
    background-color: rgba(255,255,255,1);
    padding: 10px;
    border: 1px solid #ddd;

    font-family: Arial;
    font-size: 13px;

    transition: opacity 500ms linear;
    -moz-transition: opacity 500ms linear;
    -webkit-transition: opacity 500ms linear;

    transition-delay: 500ms
    -moz-transition-delay: 500ms;
    -webkit-transition-delay: 500ms;

    -moz-box-shadow: 4px 4px 12px rgba(0,0,0,.5);
    -webkit-box-shadow: 4px 4px 12px rgba(0,0,0,.5);
    box-shadow: 4px 4px 12px rgba(0,0,0,.5);

    -moz-border-radius: 15px;
    border-radius: 15px;
  }

  .nvtooltip h4 {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .nvtooltip p {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .nvtooltip span {
    display: inline-block;
    margin: 2px 0;
  }

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}


  .line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
  }