﻿/*.nav-link {
    border-radius: 0
}*/

.vis-wrapper {
    display: none
}

.vis-fixed {
    display: none
}

.tooltip-inner {
    background-color: #333;
    color: #ccc;
    border-radius: 3px;
    padding-left: 3px;
    padding-right: 3px
}

/*.nav-tabs {
    flex-wrap: nowrap;
    border-bottom: 0
}*/

.tabtext {
    vertical-align: center
}

.electiontitleheading {
    border-left: 3px solid black;
    padding-left: 4px
}

/*.nav-item {
    flex-wrap: wrap;
    color: #000;
    font-size: 12px;
    margin-left: 5px
}
*/
/*.selected-nav {
    border-bottom: 1px solid white
}*/

.tabswitchnavbar {
    flex-direction: row
}

.shadow-wrapper {
    box-shadow: 1px 1px 10px 0 #dedede;
    margin: 10px auto 10px auto
}

svg {
    shape-rendering: crispEdges;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px
}

.slider {
    background-image: linear-gradient(170deg,#fff,#e7fcff)
}

.timeline {
    background-image: linear-gradient(170deg,#fff,#e7fcff)
}

.expand-collapse-button {
    background-image: linear-gradient(180deg,#f5feff,#ddf4f7)
}

.timeline-info {
    max-width: 400px
}

.embedded-footer {
    background: linear-gradient(0,aliceblue,transparent);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px
}

#embedded-body {
    background-color: transparent;
    margin: 0
}

#embedded-wrapper {
    display: flex;
    flex-direction: column
}

#embedded-content {
    padding-left: 10px;
    padding-right: 10px
}

#embedded-footer {
    width: 100%;
    background-color: #4747ff;
    color: white;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: top
}

    #embedded-footer a {
        color: white
    }

    #embedded-footer img {
        vertical-align: top
    }

/*.btn {
    font-size: .8rem
}*/

.popout {
    position: fixed;
    right: 5px;
    font-size: .75em;
    vertical-align: middle;
    bottom: 5px
}

/*@media only screen and (max-width: 1200px) {
    .btn {
        font-size: .6rem
    }
}*/

@media only screen and (max-width: 1024px) {
    .tabtext {
        display: none
    }

    a.active .tabtext {
        display: block
    }
}

.round-player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px
}

.round-player-wrapper, .round-steps-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px
}

.round-player-wrapper {
    width: 100%;
    justify-content: center
}

.round-player-select-wrapper {
    position: relative
}

.round-player-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    background-color: #fff;
    /*border: 2px solid #4747ff;*/
    border: 2px solid black;
    color: #002c59;
    border-radius: 4px;
    padding: 4px 8px;
    padding-right: 32px;
    cursor: pointer;
    text-align: center
}

.round-player-select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    /*border-top: 6px solid #4747ff;*/
    border-top: 6px solid black;
    transform: translateY(-50%);
    transition: transform .2s ease
}

.round-player-select::-ms-expand {
    display: none
}

.round-player-play-btn {
    /*background-color: #4747ff;*/
    background-color: #49773B;
    color: #fff;
    padding: 2px 10px;
    font-size: 1rem;
    min-width: 160px
}

.round-player-play-btn:hover {
    color: #fff;
    /*background-color: #4747c2*/
    background-color: #495B3B;
}

.round-player-nav {
    display: flex;
    align-items: center;
    flex-direction: row;
    /*color: #4747ff;*/
    color: black;
    font-size: 1rem;
    padding: 4px 8px
}

.round-player-nav.round-player-prev {
    margin-right: 24px;
    flex-direction: row-reverse
}

.round-player-nav.round-player-next {
    margin-left: 24px
}

.round-player-nav-label {
    display: none
}

@media screen and (min-width: 750px) {
    .round-player-nav {
        width: 100px
    }

    .round-player-nav.round-player-prev svg {
        margin-right: 6px
    }

    .round-player-nav.round-player-next svg {
        margin-left: 6px
    }

    .round-player-nav-label {
        display: inline-block
    }
}

.round-player-nav svg {
    scale: 50%;
    width: 24px
}

.round-player-nav.round-player-prev svg {
    transform: rotate(180deg)
}

.round-player-hidden {
    visibility: hidden
}

.responsive-table {
    background-color: white;
    white-space: nowrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    text-align: center
}

.responsive-table-wrapper {
    width: 100%;
    max-width: calc(100vw - 25px);
    overflow-x: auto;
    margin: auto;
    width: fit-content
}

.fixed-width-table {
    background-color: white;
    max-width: 1200px;
    width: 95%;
    table-layout: fixed
}

.table .thead-light th {
    background-color: #e3f6ff
}

/*.table thead th {
    border-bottom: 0
}
*/
/*.table td, .table th {
    padding: .4em 1.8rem .4em 1.8rem
}
*/
/*h3 {
    padding-left: 1em;
    padding-right: 1em
}
*/
#single-table-summary-table {
    margin-bottom: 0
}

.axis path, .axis line {
    fill: none;
    stroke: #000
}

path.domain {
    stroke: none
}

.y .tick line {
    stroke: #ddd
}

.trs-wrapper {
    margin-left: auto;
    margin-right: auto
}

.slider text {
    font-size: 1.3em
}

.dataLabel {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem
}

.dataLabel.eliminated {
    font-style: italic
}

.dataLabelIncumbent {
    font-weight: bold;
    text-decoration: underline
}

.secondaryDataLabel {
    font-size: .6rem
}

.faq-description-header {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 12px;
    padding-left: 0
}

.round-description-container {
    box-shadow: 1px 5px 20px 0 #dedede;
    width: 100%;
    margin-left: auto;
    margin-right: auto
}

.round-description-wrapper {
    padding: 5px 10px 0 10px;
    height: 65px;
    font-size: 1em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    display: none;
    overflow-y: auto;
    width: 100%
}

.round-description-text {
    line-height: normal;
    vertical-align: middle;
    display: inline-block
}

#faq-text {
    width: 100%;
    padding: 5px 10px 0 10px;
    box-shadow: 1px 5px 20px 0 #dedede;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    display: none
}

.faq-q {
    font-weight: bold;
    text-align: left;
    margin-top: 1rem
}

.faq-a {
    text-align: left;
    margin-top: 0rem
}

#bargraph-interactive-body {
    background-color: white;
    padding-top: 10px
}

#bargraph-fixed-container {
    background-color: white
}

#bargraph-fixed-legend {
    background-color: white
}

#bargraph-interactive-why-button {
    opacity: 0;
    font-weight: bold
}

.prev-next-button {
    color: white
}

.flex-column {
    flex-direction: column
}

@media only screen and (max-width: 1024px) {
    .round-description-wrapper {
        font-size: 1rem
    }
}

@media only screen and (max-width: 768px) {
    .trs-wrapper {
        font-size: 1rem
    }

    .round-description-wrapper {
        font-size: 1rem
    }

    .prev-next-button {
        margin-top: 7px
    }
}

@media only screen and (max-width: 425px) {
    .dataLabel {
        font-size: 1.0rem
    }

    .secondaryDataLabel {
        font-size: .8rem
    }

    .round-description-wrapper {
        font-size: 1rem
    }

    .trs-wrapper {
        font-size: 1rem
    }

    .slider-item-hidden-slider-active {
        padding-bottom: 6px
    }

    .prev-next-button {
        margin-top: 5px
    }
}
