

/* 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*/
}


/* CSS for stacked bar chart
---------------------------------------------------*/
.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}


.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;                                 
      }  

  .axis path,
  .axis line {
      fill: none;
      stroke: grey;
      stroke-width: 1;
      shape-rendering: crispEdges;
  }


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

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

  /**********
  *  Tooltip
  */
  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;
  }
