/* - - - - - - Slider - - - - - - */

#slider {
    width: 50vw;
    margin: 6vh auto 1vh auto;
    /* Flexbox properties for centering */
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;    /* Centers vertically (if applicable) */
}

.noUi-base {
    border: 1px solid #8F99A8; /* Add borders to the track */
    border-radius: 5px; /* Optional: Rounded corners */
}

.noUi-touch-area {
    border: 1px solid #8F99A8; 
    border-radius: 5px; /* Optional: Rounded corners */
}

.noUi-handle:before {
    background: #8F99A8 !important; 
}

.noUi-handle:after {
    background: #8F99A8 !important; 
}

.slider-not-interacted {
    color: #D33D17 !important;
    font-size: larger;
    font-weight: bold;
}

/* - - - - - - Cards and containers - - - - - - */

.bar-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, .125);
}

.bar-card > h3 {
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 1.6em;
    /* font-family: "Lato", sans-serif;
    font-weight: bold;
    font-style: normal; */
}

.bar-card-parent {
    height:100%;
}

.bar-card:hover {
    transform: translateY(-5px);
}

#countyMapParent {
    width: 25vw; 
    height: 27vh;
    margin-bottom: 20px;
}

/* - - - - - - Chosen feature - - - - - - */

.chosen-feature {
    color: #D33D17;
    font-weight: bold;
}

/* - - - - - - Barplots - - - - - - */

#barPlot1 > svg > g > rect {
    fill: #8ABBFF;
}
#barPlot2 > svg > g > rect {
    fill: #72CA9B;
}
#barPlot3 > svg > g > rect {
    fill: #FBB360;
}

/* - - - - - - Text - - - - - - */

.pct-turnout {
    font-weight: bold;
    color: #D33D17;
}