#explore-us {
    position: absolute;
    width: 100%;
    height: calc(100% - 3em);
    top: 100%;
    left: 0;

    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
}

#container {
    height: 100%;
}

#map-description {
    margin: 1em 2em 1em 2em;
    padding: 1em;
}

#explore-us, #container {
    background-color: #f6f4f2;
}

#index-intro {
    min-height: 60em;
}

.map-section {
    height: 100%;
    display: inline-block;
    position: relative;
    white-space: initial;
}

#controls {
    width: 25%;
}

#controls-content {
    position: absolute;

    margin-top: 1em;
}

#map {
    width: 75%;
}

#charts {
    width: 0%;
}

#charts-content {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

#detailed-results {
    margin-bottom: 1em;
    visibility: hidden;

    background-color: #FFF;
    color: #000;
    border-color: #E36903;
    opacity: 0.95;
}

.test-chart {
    width: 100%;
    height: 33%;
}

.label-text {
    font-size: 14pt;
    font-weight: normal;
}

.election-option-label {
    font-weight: normal;
    border: 1px solid transparent;
    border-radius: 0.5em;
    padding: 0.25em 0.5em;
}

/*.election-option-label:hover {
    border: 1px solid #000;
}*/

.election-option {
    margin: 0 0.5em !important;
}

#election-options {
    text-align: center;
}

.label-box {
    border-radius: 0.5em;
    background-color: #fff;
}

.input-select-btn {
    font-size: 1vw;
}

#input-year {
    width: 70%;
    margin: 1em 15%;
    font-size: 14pt;
    text-align: center;
}

#hacky-input-holder {
    position: relative;
}

#hacky-year-text {
    position: absolute;
    left: 3em;
    top: calc(1em + 1px);
    font-size: 14pt;
}

.invisible-box {
    margin: 1em;
}

#legend-drilldown, #legend-state {
    display: none;
}

.leg {
    padding: 1em;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.legend-bar, .party-bar {
    display: inline-block;
    position: relative;
    border: 1px solid #000;
    margin-top: 1em;
}

.legend-bar:hover {
    border-width: 2px;
}

.legend-tooltip {
    position: absolute;
    display: none;
    padding: 0.5em;
    bottom: 2em;
    margin: -5em 0 0 0;
    width: 15em;
    border-radius: 0.5em;
    background-color: #fff;
    border: 1px solid #000;
    box-shadow: 2px 2px 2px #aaa;
    font-size: 10pt;
}

.legend-bar:hover .legend-tooltip, .legend-tooltip:hover {
    display: block;
    z-index: 100;
}

.legend-bar {
    width: 20%;
    border-radius: 5px;
    cursor: help;
}

.party-bar {
    width: 40%;
    color: #fff;
}

.skipped-plot {
    margin: 1em;
    padding: 1em;
    background-color: #FFF;
    font-style: italic;
}

.map-seats-gained {
    font-style: italic;
}

/* Princeton crest */
#crest {
    position: absolute;
    top: 0.5em;
    height: 3em;
    opacity: 0.2;
    z-index: 10;
}
