g.type-Root > rect,
g.type-Category > rect {
  fill: #eeeeee;
  stroke: #999999;
}
g.type-Default > rect {
  fill: #dddddd;
}
g.type-Armor > rect {
  fill: #ccccff;
  stroke: #9999cc;
}
g.type-Engine > rect {
  fill: #ffcc99;
  stroke: #cc9933;
  fill: #ffccee;
  stroke: #996688;
}
g.type-Weapon > rect {
}
g.type-Chassis > rect {
  fill: #99ccff;
  stroke: #6699cc;
}
g.type-Passive > rect {
  fill: #bbaa88;
  stroke: #887755;
}
g.type-Building > rect {
  fill: #bbaa88;
  stroke: #887755;
}
g.variant-cn > rect {
  fill: #ffbbbb;
  stroke: #cc6666;
}
g.variant-acn > rect {
  fill: #ffcc99;
  stroke: #cc9933;
}
g.variant-gl > rect {
  fill: #cccccc;
  stroke: #666666;
}
g.variant-mg > rect {
  fill: #ffff99;
  stroke: #cccc00;
}
g.variant-ml > rect {
  fill: #99ff99;
  stroke: #66cc66;
}
g.variant-cube > rect {
  fill: #bbaa88;
  stroke: #887755;
}

div.type-Category {
  background-color: #eeeeee;
}
div.type-Default {
  background-color: #dddddd;
}
div.type-Armor {
  background-color: #ccccff;
}
div.type-Engine {
  background-color: #ffcc99;
  background-color: #ffccee;
}
div.type-Weapon {
}
div.type-Chassis {
  background-color: #99ccff;
}
div.type-Passive {
  background-color: #bbaa88;
}
div.type-Building {
  background-color: #bbaa88;
}

div.variant-cn {
  background-color: #ffbbbb;
}
div.variant-acn {
  background-color: #ffcc99;
}
div.variant-gl {
  background-color: #cccccc;
}
div.variant-mg {
  background-color: #ffff99;
}
div.variant-ml {
  background-color: #99ff99;
}
div.variant-cube {
  background-color: #bbaa88;
}

div.empresearch {
  width: 220px;
  margin-bottom: 0.5em;
}
div.requirement {
  float: left;
  width: 70px;
}
div.requirement i.material-icons {
  font-size: 21px !important;
  vertical-align: bottom;
}
div.requirement span.value {
  font-size: 12px;
  display: inline-block;
  padding-bottom: 1px;
}

text, g.label g foreignObject div, body {
  font-weight: 300;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.node rect {
  stroke: #999;
  fill: #fff;
  stroke-width: 2px;
}
.edgePath path {
  stroke: #333;
  stroke-width: 2px;
}

div#queue {
  position: fixed;
  width: 400px;
  top: 130px;
  bottom: 10px;
  overflow-y: scroll;
  border-top: 1px solid #000;
}

div#queue .item {
  position: relative;
  padding-left: 150px;
  border-bottom: 1px solid #000;
  min-height: 5px;
}

div#queue .empresearch {
  position: absolute;
  margin: 0;
  bottom: 0;
}
div#queue .requirement {
  position: absolute;
  left: 0;
  bottom: 0;
}
div#queue .requirement.cost {
  position: absolute;
  left: 70px;
  bottom: 0;
}
div#queue .value {
  padding-bottom: 0px;
}

.treelink {
  display: inline-block;
  padding: 8px;
  margin-left: 8px;
}

.hidden {
  display: none;
  visibility: hidden;
}

.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
  max-width: 300px;
}
