* { box-sizing: border-box; cursor: default; font-family: 'open sans'; letter-spacing: 0.7px; margin: 0; padding: 0; } .main { height: 900px; margin: 50px auto; position: relative; width: 900px; } #chart { border: solid #e8e8e8; border-width: 0 1px; cursor: pointer; height: 200px; left: 0; position: absolute; top: 600px; width: 100%; } #year-labels { border: solid #e8e8e8; border-width: 0 1px 1px 1px; font-size: 0; height: 30px; padding-left: 24px; position: absolute; top: 800px; width: 100%; } #year-labels .label { color: #bbb; cursor: pointer; display: inline-block; line-height: 20px; font-size: 9px; margin-right: 2px; text-align: center; width: 23px; } .year-toggle:hover { background: #eee; } .axis .domain { fill: none; stroke: none; } .axis .tick { fill: #888; font-size: 8px; } .label-axis-y { fill: #333; font-size: 10px; letter-spacing: normal; } #map { background: #e8fbfe; border: 1px solid #e8e8e8; height: 600px; position: relative; width: 100%; z-index: 0; } .feature { fill: #dffbb8; stroke: #bde484; } .reticle { fill: rgba(153, 173, 40, 0.2); stroke: #5D5336; } .column-display { cursor: pointer; height: 210px; left: 20px; overflow: hidden; position: absolute; top: 330px; width: 180px; } .column-display select { background: 0; border: 0; outline: 0; width: 200px; } .column-display .toggle { background: 0; color: #ccc; cursor: pointer; font-size: 10px; height: 30px; letter-spacing: 1.5px; line-height: 30px; text-transform: uppercase; transition: color 0.3s ease; } .column-display .toggle:hover { color: #777; } .column-display .toggle.selected { color: #444; cursor: default; font-weight: bold; } .reticle-sizer { left: 20px; position: absolute; top: 520px; z-index: 1; } .bar-display { left: 25px; position: absolute; top: 560px; } .bar-display .toggle { background-image: url("../bar-display.png"); background-repeat: no-repeat; cursor: pointer; display: inline-block; font-size: 0; height: 40px; margin-right: 15px; opacity: 0.15; transition: opacity 0.3s ease; width: 30px; } .bar-display .toggle:hover { opacity: 1; } .bar-display .toggle.selected { cursor: default; opacity: 1; } .bar-display .toggle1 { background-position: -60px 10px; } .bar-display .toggle2 { background-position: -30px 10px; } .bar-display .toggle3 { background-position: 0 10px; } input[type=range] { -webkit-appearance: none; } input[type=range]::-webkit-slider-runnable-track { width: 300px; height: 2px; background: #ddd; border: none; border-radius: 3px; } input[type=range]::-webkit-slider-thumb { background: #d8ebd3; border: 2px solid #5D5336; border-radius: 50%; height: 16px; margin-top: -7px; width: 16px; -webkit-appearance: none; } input[type=range]:focus { outline: none; }