html {
    font-family: "Open Sans";
    font-weight: 300;
    margin: 0;
    padding: 0;
    font-size: 13px;
    background-color: #FAFAFA;
}
body {
    padding: 0.5em 0.2em 0;
    margin: 0 auto;
    width: 960px;
}
body.tree {
    max-width: none;
    text-align: center;
}
body.tree #hiddenCount, body.tree #colorTextWrap, body.tree #sortTextWrap {
    display: none;
}
circle.node {
    fill-opacity: 0.7;
}
circle.node:hover {
    fill-opacity: 1;
    fill: #ccc !important;
    stroke: #666 !important;
    cursor:pointer;
}
svg.density {
    background-color: white;
    /*box-shadow: inset 0 0 20px #333;*/
    display: inline-block;
    position: relative;
    border: 1px solid #ddd;
}
g.node {
    cursor: pointer;
}
circle.activated {
    fill: #EE0 !important;
    stroke: #660 !important;
}
.node.open circle, .node.closed circle {
    /*stroke: #123 !important;
    stroke-width: 0px;*/
} 
.node.closed circle {
    /*fill: #ABC !important;*/
}
.node.open text {
    font-weight: bold;
}
.node.open circle {
    /*fill: #123 !important;*/
}
g.node.intervention {
    cursor: auto;
}
.link {
    fill: none;
    stroke: #ccc;
    stroke-width: 1.5px;
}
#dataClose {
    position: absolute;
    top: 6px;
    right: 10px;
    background: #123;
    color: #eee;
    padding: 0.3em 0.6em;
    border-radius: 6px;
}
#dataClose:hover {
    background-color: #234;
}
#graph, #notGraph {
    display: inline-block;
}
#graph {
    position: relative;
}
body.density #notGraph {
    width: 242px;
}
#notGraph {
    vertical-align: top;
    margin: 0;
    margin-left: 0.2em;
}
.panel {
    padding: 0.3em 1em 1em;
    margin-bottom: 0.4em;
    border: 1px solid #DDD;
    background-color: white;
    color: #444;
    min-width: 214px;
}
#questions ul {
    padding-left: 0;
}
#questions li {
    margin-bottom: 0.5em;
    padding: 0.3em;
    border-radius: 3px;
}
#questions li:hover, #questions li.selected {
    background-color: #345;
}
.panel h2 {
    text-align: center;
    margin: 0.4em 0;
}
#notGraph ul {
    list-style-type: none;
}
#data {
    position: absolute; 
    bottom: 0;
    z-index: 1;
    padding: 0.4em 20px 1em;
    background-color: rgba(90, 90, 90, 0.85);
    color: white;
    font-weight: 400;
    width: 660px;
    text-align: center;
}
dt {
    font-weight: bold;
}
dd {
    margin-left: 0;
    font-size: 0.9em;
}
.sortLabel {
    position: absolute;
    /*visibility: hidden;*/
    border-radius: 4px;
    background-color: rgba(90, 90, 90, 0.85);
    color: white;
    font-weight: 400;
    padding: 0.6em;
    opacity: 0;
}
.inline {
    display: inline-block;
    width: 33%;
    margin-bottom: 0.4em;
}
.swatch {
    display: inline-block;
    width: 21px;
    height: 21px;
    border-radius: 3px;
    margin-right: 0.5em;
    vertical-align: middle;
}
.legendEntry {
    padding: 0.3em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.legendText {
    vertical-align: middle;
}
#d3Nodes {
    display: none;
}
#controls {
    font-size: 12px;
}
#controls h2 {
    cursor: pointer;
}
body.tree #controls, body.tree #questions, body.tree #legend {
    display: none;
}
body.tree .legendEntry {
    display: inline-block;
    margin: 0 1em;
}
body.tree #notGraph {
    display: block;
    text-align: center;
}
a.question {
    color: white;
    text-decoration: none;
    display: block;
}
#evidenceHub {
    text-align: center;
}
#hiddenCount {
    position: absolute;
    bottom: 1em;
    right: 1em;
    z-index: 2;
}
#sortList, #colorList {
    padding-left: 0.5em;
    white-space: nowrap;
}
#sortList li, #colorList li {
    overflow: hidden;
    text-overflow: ellipsis;
}

#colorTextWrap, #sortTextWrap {
    z-index: 2;
    position: absolute;
    right: 0.8em;
    font-weight: bold;
}
#colorTextWrap {
    bottom: -1.9em;
}
#sortTextWrap {
    bottom: -3.1em;
}
#colorText, #sortText {
    font-weight: normal;
}
