/* HTML css */
body {
  font: 12px "Open Sans", sans-serif;
}
svg:not(:root) {
  overflow: hidden;
}
#controls, #viz, #mini{
  text-align: center;
}
#controls {
  margin: 1em 0 2em 0;
}
.condensed {
  font-family: "Open Sans Condensed", sans-serif;
}
h1 {
  font-size: 24px;
  margin: 0;
  font-weight: bold;
  text-align: center;
}
.detailEntry {
  position: relative;
  height: 25px;
  margin: 5px auto;
}
.detailEntry .rect {
  display: inline;
  padding: 2px;
  margin-right: 5px;
  border: 1px solid black;
  color: white;
  width: 40px;
  height: 100%;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.detailEntry .text {
  display: inline;
  margin-right: 5px;
}

/* SVG css*/
.axis text {
  font-size: 10px;
}
.axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}
.axis.hideText text, .axis.hideText .domain {
  display: none;
}
.axis.hideText line {
  stroke-dasharray: 8,3;
  stroke-linecap: round;
  stroke: #C0C0C0;
}
path.line, .yearGroup line {
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
}
rect.event, rect.condition {
  stroke: black;
  stroke-width: 0.5px;
  opacity: 0.5;
  cursor: pointer;
}
rect.event:hover, rect.condition:hover {
  opacity: 0.8 !important;
  stroke-width: 0.8px;
}
.show {
  visibility: visible;
}
.hide {
  visibility: hidden;
}
.clickRect {
  cursor: pointer;
  stroke: none;
  fill-opacity: 0;
}
.legend text {
  pointer-events: none;
}
.grayed line {
  stroke: #D1D1D1 !important;
}
.grayed rect {
  fill: #D1D1D1 !important;
}
.grayed text, tspan.grayed {
  fill: #D1D1D1;
  text-decoration: line-through;
}
.legend.label {
  font-weight: bold;
}
tspan.eventsCond {
  font-size: 9px;
}
line.normalLine {
  stroke: red;
  stroke-dasharray: 4, 4;
  stroke-linecap: round;
}
.brush .extent {
  stroke: #fff;
  fill-opacity: .125;
  shape-rendering: crispEdges;
}
