body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;      
}

#main {
  margin-top: 100px;
  margin-left: 50px;
}

#chart {  
  background: #fff;  
  max-width: 1000px;
}

#chartSingle {  
  background: #fff;  
  max-width: 500px;
}

.title {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 6px;
}

.loading {
  fill: black;
  font-size: 14px;
  pointer-events: none;
}

.grandparent text {
  fill: #fff;
  font-size: 12px;
  font-weight: bold;
}

.ctext {
  fill: #fff;
  font-size: 16px;  
}

.ptext {
  fill: #fff;
  font-size: 16px;  
}

rect {
  fill: none;
  stroke: #fff;
}

rect.parent,
.grandparent rect {
  stroke-width: 2px;
}

rect.parent {  
  pointer-events: none;
}

.grandparent rect {
  fill: black;
}

.grandparent:hover rect {
  fill: rgba(0, 0, 0, 0.85);
}

.children rect.parent,
.grandparent rect {
  cursor: pointer; cursor: hand;
}

.children rect.parent {
  cursor: pointer; cursor: hand;
  fill-opacity: .25;
}

.children:hover rect.child {  
  cursor: pointer; cursor: hand;
  fill-opacity: .6;
}

.d3-tip {  
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  pointer-events: none;
  font-size: 11px;
  line-height: 150%;
  padding: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 2px;
}

.d3-tip:after {
  box-sizing: border-box;
  pointer-events: none;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.85);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

.d3-tip.n:after {
  pointer-events: none;
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}