
body {
    font: 10px sans-serif;
}

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.x.axis path {
    display: none;
}

#tooltip {
    position: absolute;
    width: auto;
    height: auto;
    padding: 10px;
    background-color: #000000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

#tooltip.hidden {
    display: none;
}

#tooltip p {
    color: #FFFFFF;
    margin: 0;
    font-family: sans-serif;
    font-size: 12px;
    line-height: 16px;
}

#stat-tooltip {
    position: absolute;
    left: 150px;
    top: 250px;
    width: 200px;
    height: auto;
    padding: 10px;
    background-color: #000000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

#stat-tooltip.hidden {
    display: none;
}

#stat-tooltip p {
    color: #FFFFFF;
    margin: 0;
    font-family: sans-serif;
    font-size: 12px;
    line-height: 16px;
}

#legend-tip {
    position: absolute;
    width: auto;
    height: auto;
    background-color: #3D3D3D;
    padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

#legend-tip.hidden {
    display: none;
}

#legend-tip p {
    color: #FFFFFF;
    font-weight: bold;
    font-family: Verdana;
    margin: 0;
    font-size: 12px;
    line-height: 16px;

}

#label-tooltip {
    position: absolute;
    left: 150px;
    top: 240px;
    width: 205px;
    height: auto;
    padding: 10px;
    background-color: #000000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

#label-tooltip.hidden {
    display: none;
}

#label-tooltip p {
    color: #FFFFFF;
    margin: 0;
    font-family: sans-serif;
    font-size: 12px;
    line-height: 16px;
}

#wheel {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    width: 250px;
    height: 250px;
}

#wheel text::selection {
    background: none;
}

#wheel text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.slice {
    font-size: 6pt;
    font-family: Verdana;
    fill: white;
    font-weight: bold;
}

svg text {
    cursor: default;
}

#left-container {
    position: absolute;
    top: 300px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    width: 250px;
}

#statbox {
    top: 30px;
    bottom: 20px;
    right: 20px;
    width: 250px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
    height: 0px;
    overflow: hidden;
    transition: height 0.5s;
    color: #FFF;
}

input {
    display: none;
    visibility: hidden;
}

label {
    display: block;
    padding: 0.5em;
    text-align: center;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #CCC;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
    color: #666;
}

label:hover {
    color: #000;
}

label:hover, label:active, input:hover+label, input:active+label {
    background: #EFEFEF;
}

label:hover, label:active, input:hover+label, input:active+label ~ #label-tooltip {
    display: block;
    visibility: visible;
}

label::before {
    font-family: Consolas, monaco, monospace;
    font-weight: bold;
    font-size: 12px;
    content: "+";
    vertical-align: middle;
    display: inline-block;
    width: 20px;
    height: 15px;
    margin-right: 3px;
    background: radial-gradient(ellipse at center, #CCC 50%, transparent 50%);
}

#toggle:checked ~ #statbox {
    height: 130px;
}

#toggle:checked ~ #infobox {
    height: 150px;
}

#toggle:checked ~ label::before {
    content: "-";
}

#blank {
    height: 10px;
}

#infobox {
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
    width: 249px;
    word-wrap: break-word;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid #DDD;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
    height: 280px;
    transition: height 0.5s;
}

#infobox p {
    padding-left: 5px;
    padding-left: 5px;
    font-size: 12px;
}
