#map-wrapper[map_type_mode='default'] .toggle-user-generated,
#map-wrapper[map_type_mode='default'] .toggle-saved,
#map-wrapper[map_type_mode='user-generated'] .toggle-default,
#map-wrapper[map_type_mode='user-generated'] .toggle-saved,
#map-wrapper[map_type_mode='user-generated'] .toggle-default-saved,
#map-wrapper[map_type_mode='saved'] .toggle-default,
#map-wrapper[map_type_mode='saved'] .toggle-unsaved {
    display: none!important;
}
#map-wrapper[map_view_mode='current_senate'] .toggle-interactive,
#map-wrapper[map_view_mode='future_senate'] .toggle-interactive,
#map-wrapper[map_view_mode='current_governor'] .toggle-interactive,
#map-wrapper[map_view_mode='future_governor'] .toggle-interactive,
#map-wrapper[map_view_mode='current_house'] .toggle-interactive,
#map-wrapper[map_view_mode='future_house'] .toggle-interactive,
#map-wrapper[map_view_mode='timeline_map'] .toggle-interactive,
#map-wrapper[map_type_mode='user-generated'] .toggle-saved-visibility,
#map-wrapper[map_type_mode='default'] .toggle-saved-visibility {
    visibility: hidden!important;
}
#map-wrapper[map_view_mode='current_senate'] #timeline-wrapper,
#map-wrapper[map_view_mode='future_senate'] #timeline-wrapper,
#map-wrapper[map_view_mode='current_governor'] #timeline-wrapper,
#map-wrapper[map_view_mode='future_governor'] #timeline-wrapper,
#map-wrapper[map_view_mode='current_house'] #timeline-wrapper,
#map-wrapper[map_view_mode='future_house'] #timeline-wrapper {
    visibility: hidden!important;
}

#map-wrapper[map_view_mode='timeline_map'] #small_states .toggle-interactive,
#map-wrapper[map_view_mode='timeline_map'] #special_elections.toggle-interactive,
#map-wrapper .toggle-interactive #district_hover,
#map-wrapper .toggle-interactive #split_votes_wrapper {
    visibility: visible!important;
}
#map-wrapper[map_type_mode='saved'] .toggle-default.toggle-table-view {
    display: block!important;
}
#map-wrapper .wait-loading {
    opacity: 0;
}
#map-wrapper #loading img {
    opacity: .5;
}
#map-wrapper label {
    font-weight: bold;
    text-align: center;
    display: block;
}
#map-wrapper #map_tools {
    line-height: 1.2em;
}
#map-wrapper #date_created {
    position: absolute;
    bottom: -20px;
    visibility: visible;
}
#map-wrapper[map_view_mode="timeline_map"]  #date_created {
    visibility: hidden;
}

#map-wrapper #date_created p {
    font-weight: normal;
}

#map-wrapper.house-map[map_type_mode="saved"] .house-map-wrapper {
    padding-bottom: 12px!important;
}
#map-wrapper.house-map #date_created p {
    padding: 5px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    #map-wrapper.house-map[map_type_mode="saved"] .house-map-wrapper {
        padding-bottom: 0 !important;
    }
    #map-wrapper.house-map #date_created {
        bottom: unset;
    }
}
@media only screen and (max-width: 767px) {
    #map-wrapper #date_created {
        bottom: -30px;
    }
    #map-wrapper #map_tools {
        margin-top: 10px;
    }
}


/*---- PARTY COUNT ----*/
#party_vote_container {
    font-size: 1.1em;
    font-weight: bold;
}
#party_vote_container #dem_container {
    text-align: left;
}
#party_vote_container #rep_container {
    text-align: right;
}
#party_vote_container #dem_ev {
    padding-left: 10px;
}
#party_vote_container #rep_ev {
    padding-right: 10px;
}
#party_vote_container #rep_ev_range {
    margin-left: -10px;
    padding-right: 10px;
    display: inline-block;
}

@media only screen and (max-width: 399px) {
    #dem_container .dropdown,
    #rep_container .dropdown {
        display: flex;
        flex-flow: column;
    }
    #party_vote_container #dem_ev,
    #party_vote_container #rep_ev,
    #party_vote_container #rep_ev_range,
    #party_vote_container #dem_ev_range {
        padding-left: 0;
        padding-right: 0;
        display: block;
        order: 2;
    }
    #ev_slider_container #count_tri_up.count_tri {
        top: 68px!important;
    }
}


/*---- COUNTER BAR ----*/
#ev_slider_container #ev_bar {
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
}
#ev_slider_container #ev_bar_container {
    overflow: hidden;
    height: 32px;
}
#ev_slider_container #ev_bar .slider_color {
    padding: 5px 0;
    display: inline-block;
    font-size: 14.4px;
}
#ev_slider_container #ev_bar .slider_color .note {
    font-weight: 400;
}
#ev_slider_container #ev_bar #d_no_race_color {
    border-right: 2px solid #fff;
}
#ev_slider_container #ev_bar #r_no_race_color {
    border-left: 2px solid #fff;
}
#ev_slider_container #ev_bar #d_no_race_color span {
    margin-left: 5px;
}
#ev_slider_container #ev_bar #r_no_race_color span {
    margin-right: 5px;
}

#ev_slider_container .count_tri {
    font-size: 1.5em;
    line-height: 0.8em;
    float: none;
    position: absolute;
    left: 50%;
    margin: 10px 0 0 -8px;
    color: #000;
}
#ev_slider_container #count_tri_down.count_tri {
    margin-top: -16px;
}
#ev_slider_container[party_winner="D"] .count_tri {
    color: #244999;
}
#ev_slider_container[party_winner="R"] .count_tri {
    color: #D22532;
}
#ev_slider_container #count_tri_up.count_tri {
    top: 43px;
}

@media only screen and (max-width: 575px) {
    #d_no_race_ev, #r_no_race_ev {
        float: none;
    }
}

#party_vote_container .dropdown-toggle,
#party_vote_container .dropdown-menu {
    cursor: pointer;
}
#party_vote_container .dropdown-menu {
    max-height: 300px;
    overflow-y: scroll;
}
#party_vote_container .dropdown-menu .dropdown-item:active {
    background: #ddd!important;
}

/*---- MAP VIEW ----*/
#map_view_switcher {
    text-align: center;
}

#map_view_switcher .view_mode {
    border-radius: 0;
}

#map_filter_switcher .dropdown-toggle:hover {
    text-decoration: underline;
}

#map_logo {
    position: absolute;
    top: 70%;
    right: 11%;
    width: 6%;
    z-index:1000;
}

#map_logo img {
    max-width: 60px;
}

/*---- MAP LIBRARY ----*/
#starting_view {
    position: relative;
}
#starting_view select {
    padding-left: 5px;
}
#starting_view_description {
    text-align: center;
    padding-top: 5px;
}
#starting_view_description a {
    display: block;
}

#map-wrapper #active-map-wrapper,
#map-wrapper #color-legend-wrapper {
    z-index: 10;
    position: relative;
}
#map-wrapper #active-map-wrapper p,
#map-wrapper #color-legend-wrapper p {
    margin-bottom: -10px
}

/*---- HOUSE HOVER ----*/
#district_details {
    border: 1px solid #dae0e5;
    border-radius: 5px;
    padding: 5px;
    min-height: 145px;
}
#district_details table {
    font-size: 0.9em;
}
#district_details #state_rep_selected {
    font-weight: bold;
    font-size: 1.1em;
    margin: 4px 0;
}
#district_details #state_term {
    font-size: 0.8em;
    line-height: 1.2em;
    margin: 4px 0;
}
#district_details #state_retired_notes {
    font-size: 0.8em;
    line-height: 1.2em;
}

/*---- COLOR PALETTE ----*/
#color_palette label {
    margin-bottom: .8rem;
}
#palette_wrapper {
    float: left;
    width: 100%;
    border: 1px solid #dae0e5;
    border-radius: 5px;
    position: relative;
}
#palette_wrapper .btn {
    border: 1px solid #dae0e5;
    padding: 3px 8px;
}
#palette_wrapper .btn.disabled {
    background: #fff!important;
    opacity: 1;
    cursor: default;
    color: #ccc;
}
#palette_wrapper table {
    width: 98%;
    margin: 0 1% 3px;
    overflow: hidden;
}
#palette_wrapper .palette {
    text-align: center;
    border-width: 2px;
    border-style: solid;
    border-color: #fff;
    cursor: pointer;
    margin: 3px;
}
#palette_wrapper .palette.selected {
    border: 2px solid #fff!important;
}
#palette_wrapper .palette.selected:before {
    content: "\2713 ";
    color: #fff;
}
#palette_wrapper table#palette-chooser td.label {
    font-size: 8pt;
    text-align: center;
    white-space: nowrap;
}
#palette_wrapper.parties_color_palette table#palette-chooser td.label {
    font-size: 10pt;
    text-align: left;
}
#palette_wrapper.parties_color_palette table#palette-chooser td.palette {
    height: 30px;
}
#palette_wrapper table#palette-chooser td.palette {
    width: 36px!important;
}
#palette_wrapper span .color-option {
    font-size: 14px;
}
#palette_wrapper #palette-helper {
    position: absolute;
    right: 0;
    font-size: 1.5em;
    margin-top: -5px;
}
#palette_wrapper table#palette-chooser #independent,
#palette_wrapper table#palette-chooser #palette_i {
    display: none;
}
#palette_wrapper table#palette-chooser.show_3P #independent,
#palette_wrapper table#palette-chooser.show_3P #palette_i {
    display: table-cell;
}

#palette_wrapper .palette-3p-msg {
    font-size: 8pt;
    font-weight: normal;
    margin-bottom: 5px;
}

#palette_wrapper.parties_color_palette table#palette-chooser td.toggle-candidates {
    display: none;
}

@media only screen and (max-width: 575px) {
    .presidential-map #palette_wrapper[color_mode='palette-3'] table#palette-chooser,
    .presidential-map #palette_wrapper[color_mode='palette-4'] table#palette-chooser {
        table-layout: fixed;
    }
    .presidential-map #palette_wrapper[color_mode='palette-3'] table#palette-chooser td {
        width: 20%!important;
    }
    .presidential-map #palette_wrapper[color_mode='palette-4'] table#palette-chooser td {
        width: 16%!important;
    }
}

@media only screen and (min-width: 1200px) {
    #color_palette label {
        margin-top: 4px;
    }
    #palette_wrapper {
        min-height: 225px;
    }
    #palette_wrapper table {
        display: block;
        width: 100%;
        margin: 0 0 3px;
    }
    #palette_wrapper table tbody {
        display: flex;
    }
    #palette_wrapper table tr {
        width: 33%;
    }
    #palette_wrapper.parties_color_palette table tr.palette-labels {
        width: 66%;
    }
    #palette_wrapper table tr.palette-labels {
        order: 2;
    }
    #palette_wrapper table tr.palette-labels td {
        height: 33px;
        line-height: 34px;
    }
    #palette_wrapper table tr.palette-dem {
        order: 1;
    }
    #palette_wrapper table tr.palette-rep {
        order: 3;
    }
    #palette_wrapper table tr.palette-rep td {
        float: right;
        margin: 2px 3px 1px;
    }
    #palette_wrapper table#palette-chooser td.label,
    #palette_wrapper table#palette-chooser td.palette {
        display: block;
    }
    #palette_wrapper table#palette-chooser td.palette {
        width: 32px !important;
        height: 30px !important
    }
    #palette_wrapper table #palette_t,
    #palette_wrapper table #palette_i {
        margin: 30px 3px 3px 40px;
        position: relative;
    }
    #select_map_wrapper button {
        font-size: 0.9em;
    }
    .presidential-map #palette_wrapper {
        min-height: 250px;
    }
    .presidential-map #palette_wrapper.parties_color_palette {
        min-height: unset;
    }
    .historical-presidential-map #palette_wrapper table tr.palette-labels td {
        line-height: unset;
    }
    .historical-presidential-map #palette_wrapper table tr.palette-labels td div {
        height: 33px;
    }
    .historical-presidential-map #palette_wrapper table tr.palette-labels td div span {
        height: 33px;
        line-height: 1em;
        display: table-cell;
        vertical-align: middle;
    }

    #palette_wrapper table#palette-chooser.show_3P #independent,
    #palette_wrapper table#palette-chooser.show_3P #palette_i {
        display: block;
    }
    #palette_wrapper table#palette-chooser.show_3P #tossup.label {
        margin-left: -60px;
    }
    #palette_wrapper table#palette-chooser.show_3P #palette_t {
        margin-left: 3px;
    }
    #palette_wrapper table#palette-chooser.show_3P #independent.label {
        margin: -33px 0 3px 45px;
    }
    #palette_wrapper table#palette-chooser.show_3P #palette_i {
        margin: -33px 0 3px 75px;
    }
    #starting_view select {
        font-size: 0.8em;
    }
}
@media only screen and (min-width: 1400px) {
    #palette_wrapper table#palette-chooser td.palette {
        width: 36px !important;
        height: 30px !important;
    }
    #palette_wrapper table #palette_t,
    #palette_wrapper table #palette_i {
        margin: 30px 3px 3px 49px;
    }
    #palette_wrapper table#palette-chooser.show_3P #tossup.label {
        margin-left: -90px;
    }
    #palette_wrapper table#palette-chooser.show_3P #independent.label {
        margin: -33px 0 3px 60px;
    }
    #palette_wrapper table#palette-chooser.show_3P #palette_i {
        margin: -33px 0 3px 95px;
    }
    #select_map_wrapper button {
        font-size: 1em;
    }
}

#color_palette.simple_color_palette #palette_wrapper table tr td {
    float: unset!important;
    margin: 0 auto;
}
#convert_colors_wrapper {
    max-width: 145px;
    border: 1px solid #dae0e5;
    border-radius: 5px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    #convert_colors_wrapper {
        margin-left: -20px;
    }
}


/*---- OVERVIEW TABLES ----*/
.elections-overview {
    border-radius: 8px;
    overflow: hidden;
}
.elections-overview h4 {
    font-size: 1.2em;
    margin-bottom: 0;
    background: transparent!important;
    border: none!important;
    color: #000!important;
    cursor: default!important;
    width: 100%;
    font-weight: bold;
    border-radius: 0;
}
.elections-overview table {
    margin: 0;
}
.elections-overview table th {
    font-weight: bold;
    border-top: 1px solid #6c757d;
    padding-top: 8px;
}
.elections-overview table th,
.elections-overview table td {
    text-align: center;
}
.elections-overview table td:first-child {
    text-align: left;
    font-weight: bold;
}


/*---- D3 MAP ----*/
svg path {
    stroke-linejoin: round;
}
svg body {
    background: transparent;
}
svg .state_info {
    text-align: center;
    font-size: 8pt;
    line-height: 8.5pt;
    color: white;
    font-weight: bold;
    width: 100%;
    height: 100%;
}
svg .e_votes {
    display: none;
}
svg .state {
    cursor: pointer;
}
svg .state-boundaries {
    fill: none;
    stroke: #fff;
    stroke-width: 1.5px;
    stroke-linejoin: round;
    stroke-linecap: round;
    pointer-events: none;
}
svg .district-boundaries {
    pointer-events: none;
    fill: none;
    stroke: #fff;
    stroke-width: 0.5px;
}

svg .state_info.state_info_15 {
    color: black;
}

.presidential-map svg .e_votes,
.delegate-map svg .e_votes{
    display: inline;
}

/*---- SMALL STATES, SPLIT VOTES ----*/
#small_states {
    position: absolute;
    top: 40%;
    right: 0;
}

#small_states td {
    line-height: normal!important;
}

.special-states .map_text,
.special-states .state_info {
    display: block;
    font-weight: bold;
    vertical-align: middle;
    padding-left: 3px;
    visibility: hidden;
}

.special-states .sp-full,
.special-states .sp-half {
    cursor: pointer;
    width: 10px;
    height: 20px;
    display: inline-block;
}
.special-states .sp-half {
    margin-bottom: -2px;
}
.special-states .sp-full {
    width: 20px;
    display: none;
}
.special-states .vp {
    display: block;
}

.delegate-map #small_states.territories1 {
    top: 85%;
    left: 55%;
}
.delegate-map #small_states.territories2 {
    top: 85%;
    left: 65%;
}
.delegate-map .special-states .sp-full {
    width: 28px;
}

.presidential-map .special-states .sp-full,
.delegate-map .special-states .sp-full {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.presidential-map .special-states .sp-half,
.delegate-map .special-states .sp-half {
    display: none;
}
.presidential-map .special-states .e_votes,
.delegate-map .special-states .e_votes {
    color: #fff;
    text-align: center;
    padding: 0;
    display: inline-block;
    width: 100%;
    line-height: unset!important;
}
.presidential-map .special-states .e_votes + .e_votes,
.delegate-map .special-states .e_votes + .e_votes {
    display: none;
}
.presidential-map #split_votes .split_votes-header td {
    padding: 0;
}
.presidential-map #split_votes .split_votes-header .map_text {
    padding: 0;
}
.presidential-map #split_votes .sp-state .map_text {
    color: #fff;
}
.presidential-map #split_votes .sp-double {
    width: 40px;
}
.presidential-map #split_votes .special-states {
    width: max-content;
}
.presidential-map #split_votes .special-states .map_text,
.presidential-map #split_votes .special-states .state_info {
    font-size: 8pt!important;
    line-height: 1.2em!important;
}
.presidential-map #split_votes .special-states tr.split-state td {
    padding: 2px 2px 4px;
}
.presidential-map #split_votes .special-states td.shaded {
    background: #e3e3e3;
}

@media only screen and (max-width: 1199px) {
    #split_votes {
        width: 150px;
        margin: 13px auto 0;
        border: 1px solid #dae0e5;
        border-radius: 5px;
        padding: 5px;
    }
}

@media only screen and (max-width: 991px) {
    .presidential-map svg .text_50,
    .presidential-map svg .text_33,
    .delegate-map svg .text_50,
    .delegate-map svg .text_33 {
        display: none;
    }

}

@media only screen and (max-width: 767px) {
    svg .state-boundaries {
        stroke-width: 1px;
    }
    #small_states .sm-state {
        display: none;
    }
    .senate-map #small_states {
        right: 30%;
        bottom: 5%;
        top: unset;
    }
    .presidential-map #small_states .sm-state,
    .delegate-map #small_states .sm-state {
        display: block;
    }
    .presidential-map #small_states .special-states .sp-full,
    .delegate-map #small_states .special-states .sp-full {
        width: 17px;
        height: 17px;
    }
    .delegate-map #small_states .special-states .sp-full {
        width: 22px;
    }
    #map_logo {
        right: 8%;
    }
    .presidential-map #map_logo {
        right: 25%;
        top: 85%;
    }
    .delegate-map #map_logo {
        display: none;
    }

}

@media only screen and (max-width: 479px) {
    svg .state-boundaries {
        stroke-width: 0.6px;
    }
    .presidential-map #small_states .special-states .sp-full,
    .delegate-map #small_states .special-states .sp-full {
        width: 12px;
        height: 12px;
    }
    .delegate-map #small_states .special-states .sp-full {
        width: 16px;
    }
}

@media only screen and (max-width: 360px) {
    .presidential-map #small_states .sm-state {
        overflow: hidden;
        height: 12px;
        white-space: nowrap;
    }
    .presidential-map #small_states .sm-state td {
        line-height: 10px!important;
    }
    .presidential-map #small_states .special-states .sp-full {
        height: 10px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .presidential-map #split_votes {
        margin-left: -15px;
    }
}

div.state-tooltip {
    position: absolute;
    text-align: center;
    padding: 2px;
    background: #fff;
    border: 1px solid #ddd;
    pointer-events: none;
    font-size: 12px!important;
    z-index: 99999;
}

@media only screen and (max-width: 991px) {
    div.state-tooltip {
        display: none!important;
    }
}

/*--- LIVE RESULTS MAP ----*/
.live-results-map #small_states {
    top: 48%;
    right: 0;
}

.live-results-map #d_no_race_color .note,
.live-results-map #r_no_race_color .note {
    opacity: 0;
    display: inline-block;
    width: 0;
}

/*--- SPECIAL ELECTIONS ---*/
/*-- add all the other states here, as needed --*/
#special_elections .special_election {
    color: white;
    text-align: center;
    padding: 1%;
    position: absolute;
    border: 1px solid #fff;
    cursor: pointer;
    background: #ddd;
    visibility: hidden;
}
#special_elections .special_election_GA {
    top: 69%;
    left: 75%;
    width: 4%;
}
#special_elections .special_election_MN {
    top: 23%;
    left: 52%;
}
#special_elections .special_election_MS {
    top: 70.5%;
    left: 62.5%;
}

/*---- HISTORICAL SPLIT VOTES ----*/
#split_votes_totals tr.hidden {
    display: none;
}
#split_votes_totals th.party-header {
    min-width: 60px;
}
#split_votes_totals th.toggle-candidates,
#split_votes_totals td.toggle-candidates {
    display: none;
}
#split_votes_totals input {
    text-align: right;
}
#split_votes_totals a.btn {
    color: #444;
}
#split_votes_totals a.text-muted {
    color: #BBB!important;
}
#split_votes_totals .no_electoral_votes,
#split_votes_totals .unassigned {
    display: none;
}

/*---- MODAL ----*/
#shareEmbedModal {
    font-size: 0.9em;
}
#shareEmbedModal img {
    width: 100%;
    margin-bottom: 15px;
}
#shareEmbedModal h4 {
    margin-bottom: 0;
}


/*---- FANCY RADIO BUTTON STYLES ----*/
.frb-group {
    margin-bottom: 15px;
    text-align: center;
}

.frb input[type="radio"]:empty,
.frb input[type="checkbox"]:empty {
    display: none;
}

.frb input[type="radio"] ~ label:before,
.frb input[type="checkbox"] ~ label:before {
    font-family: FontAwesome;
    content: '\f096';
    position: absolute;
    top: 50%;
    margin-top: -14px;
    left: 15px;
    font-size: 1.2em;
}

.frb input[type="radio"]:checked ~ label:before,
.frb input[type="checkbox"]:checked ~ label:before {
    content: '\f046';
}

.frb input[type="radio"] ~ label,
.frb input[type="checkbox"] ~ label {
    position: relative;
    cursor: pointer;
    width: 100%;
    border: 1px solid #D4DADF;
    border-radius: 5px;
    background: #f8f9fa;
    color: #212529;
    margin: 0;
}

.frb input[type="radio"] ~ label:focus,
.frb input[type="radio"] ~ label:hover,
.frb input[type="checkbox"] ~ label:focus,
.frb input[type="checkbox"] ~ label:hover {
    background: #e2e6ea;
}

.frb input[type="radio"]:checked ~ label,
.frb input[type="checkbox"]:checked ~ label {
    color: #fff;
    background: #316f31;
}

.frb input[type="radio"]:empty ~ label span,
.frb input[type="checkbox"]:empty ~ label span {
    display: inline-block;
}

.frb input[type="radio"]:empty ~ label span.frb-title,
.frb input[type="checkbox"]:empty ~ label span.frb-title {
    font-weight: bold;
    margin: 5px 5px 0 10px;
}

.frb input[type="radio"]:empty ~ label span.frb-description,
.frb input[type="checkbox"]:empty ~ label span.frb-description {
    margin: 0 5px 5px 10px;
    font-weight: normal;
}

.frb-inactive input[type="radio"] ~ label:before,
.frb-inactive input[type="checkbox"] ~ label:before {
    font-family: FontAwesome;
    content: '\f096';
    position: absolute;
    top: 50%;
    margin-top: -14px;
    left: 15px;
    font-size: 1.2em;
    color: #ccc;
    cursor: not-allowed !important;
}

#elected-officials-switcher .frb-title,
#polls-view-switcher .frb-title {
    line-height: 1.1em;
}

#live_results_switcher .frb a {
    text-decoration: none;
    color: #000;
}

.view-mode-helper.active_view {
    color: #fff;
    background: #316f31;
    border-radius: 5px;
}

@media only screen and (max-width: 991px) {
    .frb ~ .frb {
        margin-top: 5px;
    }

    #elected-officials-switcher .frb-title,
    #polls-view-switcher .frb-title {
        min-height: 35px;
        line-height: 30px;
    }
    #map_view_switcher .frb-title.full-height {
        margin-bottom: 5px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .frb-group {
        margin-top: 50px;
    }

    #map_filter_switcher .frb-group {
        margin-top: 0;
    }
}
@media only screen and (min-width: 992px) {
    .frb.first input ~ label {
        border-right: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .frb.middle input ~ label {
        border-right: none;
        border-radius: 0;
    }

    .frb.last input ~ label {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    #elected-officials-switcher .frb-title,
    #polls-view-switcher .frb-title {
        margin: 10px 0 10px 20px;
        min-height: 35px;
    }
    #elected-officials-switcher #governor_map .frb-title {
        line-height: 35px;
    }

    #map_view_switcher .frb-title.full-height {
        line-height: 35px;
        margin: 10px 0 10px 20px;
        min-height: 35px;
    }
}

/*---- HOUSE MAP TABLE VIEW ----*/
#table-view-races div.label {
    color: #fff;
    font-weight: bold;
    padding: 10px 0;
}
#table-view-races div.totals {
    color: #fff;
    font-weight: bold;
}
#table-view-races div.totals > div {
    padding: 10px 0;
}
#table-view-races div.districts {
    padding: 10px;
}
#table-view-races div.districts .district {
    padding: 2px 0;
}


/*---- TIMELINE PLAYER ----*/
#timeline-player-buttons button {
    color: #000;
    min-width: 34px;
}
#timeline-player-buttons button:hover {
    color: #fff;
}
#timeline-player-buttons button[disabled='disabled'] {
    color: #999999!important;
}
#timeline-player-buttons button.active {
    background-color: #fff;
    color: green;
}
#timeline-player-buttons .play-backward .fa-play {
    transform: rotate(180deg);
}


/*---- SIMULATION ----*/
#simulation_btn_wrapper .sim_btn {
    min-width: 160px;
}
#simulation_speed_wrapper .input-group-text {
    color: #000;
    background-color: #fff;
}
#simulation_speed_wrapper #simulation_speed_buttons {
    font-size: 1.75em;
    display: flex;
    line-height: 1em;
}
#simulation_speed_wrapper .sim_speed_btn {
    cursor: pointer;
    color: #BBB;
}
#simulation_speed_buttons .sim_speed_btn.active {
    color: #000;
}
#simulation_speed_buttons .sim_speed_btn .fa-angle-right::before {
    font-weight: bold;
}


/*---- STARTING MAP BLOCKS ----*/
#map-wrapper #starting_maps .starting_map {
    vertical-align:bottom;
}
#map-wrapper #starting_maps .starting_map:hover {
    background: #f4f4f4; cursor: pointer;
}

#map-wrapper[map_type_mode='default'] #starting_maps .starting_map.active {
    border: 1px solid #AAA!important;
    background: #ededed!important;
}
#map-wrapper #starting_maps .starting_map.disabled {
    display: none;
}
#map-wrapper #starting_maps .starting_map .starting_map_thumb {
    width: 100%; max-width:140px;
}

#map-wrapper #starting_maps_description {
    min-height:50px;
}
#map-wrapper[map_type_mode='default'] #starting_maps_description {
    visibility: visible;
}
#map-wrapper[map_type_mode='user-generated'] #starting_maps_description {
    visibility: hidden;
}


/*---- CONTEST ----*/
#contest_instructions ol {
    display: block;
    padding: 0 0 0 22px;
    list-style: none;
    overflow: hidden;
    counter-reset: numList;
}
#contest_instructions ol li {
    margin-right: 44px;
    margin-bottom: 5px;
    float: left;
    position: relative;
    font-size: 16px;
    line-height: 18px;
    width: 100%;
}
#contest_instructions ol li::before {
    counter-increment: numList;
    content: counter(numList);
    float: left;
    position: absolute;
    left: -22px;
    text-align: center;
    color: #fff;
    line-height: 18px;
    font-size: 8pt;
    width: 18px; height: 18px;
    background: #000;
    -moz-border-radius: 999px;
    border-radius: 999px
}
#contest_instructions ol li.no-tossups.valid::before,
#contest_instructions ol li.no-gradients.valid::before {
    content: "\2713 ";
}

#submit_button[disabled='disabled'] { opacity: 0.3; }
