* { box-sizing: border-box; cursor: default; letter-spacing: 0.7px; margin: 0; padding: 0; } .main { height: 920px; margin: 10px auto 100px auto; padding: 50px 20px; position: relative; width: 800px; } #chart { cursor: pointer; height: 880px; left: 540px; position: absolute; top: 20px; width: 220px; } #chart svg { margin-left: 30px; height: 100%; width: 210px; } #year-labels { font-size: 0; height: 100%; left: 540px; padding-top: 15px; position: absolute; top: 20px; width: 30px; } #year-labels .label { color: #777; cursor: pointer; font-size: 9px; height: 23px; line-height: 20px; margin-bottom: 2px; text-align: center; } .year-toggle:hover { background: #eee; } .axis .domain { fill: none; stroke: none; } .axis .tick { fill: #aaa; font-size: 10px; } .label-axis-x { fill: #aaa; font-size: 10px; letter-spacing: normal; } .tick-line { stroke: #f0f0f0; } #chart3 { height: 260px; left: 20px; position: absolute; top: 640px; width: 500px; } #map { border: 1px solid #e8e8e8; height: 600px; position: relative; width: 500px; z-index: 0; } #map svg { height: 100%; width: 100%; } .feature { fill: #f7f7f7; stroke: #ccc; } .reticle { cursor: move; fill: rgba(153, 173, 40, 0.2); stroke: #5D5336; } .column-display { cursor: pointer; height: 210px; left: 40px; 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: 40px; position: absolute; top: 520px; z-index: 1; } .bar-display { left: 40px; 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] { cursor: pointer; -webkit-appearance: none; } input[type=range]::-webkit-slider-runnable-track { background: #ddd; border: none; border-radius: 3px; height: 2px; width: 300px; } 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; }