h1, h2, h3, h4, h5, h6 {
    font-family: "Libre Baskerville", "Frank Ruhl Libre", "Adamina", "Georgia", "Times New Roman", serif;
}
body *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    font-family: "Alata", "Catamaran", "ABeeZee", "Open Sans", sans-serif;
}


/* navigation bar style */
.navbar {
    background-color: #1c3664;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}

.navbar a {
    color: white;
    font-size: 17px;
    text-decoration: none;
    font-weight: 550;
}

.navbar a:hover {
    background-color: #1c3664;
    color: white;
    border-right: 1rem;
}
@media only screen and (min-width: 992px){
    .secondary-nav-link{
        width: 33.33%
    }
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.76);
    color: #1c3664;
    border-radius: 5px; /* Add border-radius on hover */
}


.navbar-nav .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.76);
    color: #1c3664;
    border-radius: 5px; /* Add border-radius on hover */
    .nav-img {
        filter: invert(100%) sepia(100%) saturate(22%) hue-rotate(140deg) brightness(89%) contrast(100%);
    }
}

.second-nav-group .navbar-nav .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.76);
    color: #1c3664;
    border-radius: 5px; /* Add border-radius on hover */
}

.main-nav {
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.nav-2 .navbar-nav .nav-item .nav-link {
    color: white;
    font-size: 18px;
}

.nav-3 .navbar-nav .nav-item .nav-link {
    color: black;
    font-size: 18px;
}

.nav-4 .navbar-nav .nav-item .nav-link {
    color: white;
    font-size: 18px;
}

.navbar-light .navbar-toggler {
    margin-right: auto;
    margin-left: auto;
}

.second-nav-group{
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.portrait-image {
    width: 130px;
}

#primary-nav {
    margin-top: 30px;
}


.tri-star-image {
    width: 150px; /* Adjust the width to your desired size */
    height: auto; /* Maintain the aspect ratio */
}


.promo-image {
    width: 55px;
    height: auto;
    border-radius: 15px;
}
.vote-promo-image {
    width: 120px;
    height: auto;
    margin-top: .75em;
    padding-bottom: 0.75em;

}
.tn-font-style{
    font-family: "Libre Baskerville","Frank Ruhl Libre","Adamina","Georgia","Times New Roman",serif;
    font-size: 1.9rem;
}
.sos-font-style{
    font-family: "Libre Baskerville","Frank Ruhl Libre","Adamina","Georgia","Times New Roman",serif;
    font-size: 1.3rem;
    margin-top: -12px;
}
.sos-name-style{
    font-family: "Libre Baskerville","Frank Ruhl Libre","Adamina","Georgia","Times New Roman",serif;
    font-size: 1.1rem;
    margin-top: -0.4rem;
}

.favoriteButton.active{
    filter: invert(75%) sepia(77%) saturate(858%) hue-rotate(7deg) brightness(150%) contrast(104%);
}

.favoriteButton-grid.active {
    filter: invert(75%) sepia(77%) saturate(858%) hue-rotate(7deg) brightness(150%) contrast(104%);
}

.social-row {
}
.foot-right{
    padding-top: 1.7em;
}
.foot-right-text {
    font-size: 1.2rem;
}
@media only screen and (max-width: 767px){
    .foot-right{
        padding-top: 0;
    }
}
.social-container {
    padding: 2em;
}
@media only screen and (min-width: 501px) and (max-width: 950px) {
    a.social-icon , a.promo-image{
        scale: .7;
    }

}

@media only screen and (max-width: 500px) {
    .social-row{
        padding: 0;
    }
    .social-row div div a{
        scale: .7;
    }
    a .promo-image{
        scale: .7;
    }


}
/* Desktop Styles */
#primary-nav {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

#primary-nav li {
    margin-left: 7%;
    padding: 0;
    text-align: center;
}

#primary-nav a {
    color: #fff;
    text-decoration: none;
    /*    underline text on hover*/
}

#primary-nav a:hover {
    text-decoration: underline;
}

a.nav-link.active {
    color: black;
    background: #fff;
    border-radius: 5px;
}

.social-icon {
    width: 60px; /* Adjust the width to your desired size */
    height: auto; /* This will maintain the original aspect ratio */
 /*   margin: 10px; !* Add spacing between the social icons *!*/
}

.custom-header {
    background-color: rgba(214, 69, 80, 1);
    color: white;
}

.county-status-banner {
    background-color: #D6D7D8;
    color: #1c3664;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

#filterDropdown .custom-dropdown {
    width: 15rem;
}

#sortDropdown .custom-dropdown {
    width: 25rem;
    margin-top: 1.2rem;
}

.caption-map {
    text-align: center;
}

.county-banner {
    background-color: #D6D7D8;
    color: #1c3664;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.county-head {
    padding: 1.5rem;
}

.county-status-button{
    margin-right: 1rem;
    font-weight: bolder;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.county-status-button:hover {
    box-shadow: rgba(241, 34, 47, 0.8) 0px 0px 3px;
    transform: scale(1.05);
}

.column-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    grid-gap: 20px;
    justify-items: center;
    align-items: start;
}

.percentage-label {
    font-size: 12px;
}

.chart-container {
    width: 100%;
    height: auto;
    flex: 0 1 calc(33.333% - 1em);
    margin: 0.5em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
}

.chart-title {
    font-size: 1.2em;
    text-align: start;
    padding: .30rem 0;
    margin-bottom: 0;
}

.empty-chart {
    position:relative;
    text-align:center;
    width: 100%;
}

.empty-chart-message {
    background-color: white;
    font-family: Arial,serif;
    font-size:1.2em;
    font-weight: 400; padding: .5em;
    left: 50%;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 999;
}

@media screen and (max-width: 421px){
    .chart-title{
        font-size: .85rem;
        font-weight: 500;
    }
    .favoriteButton{
        scale: .85;
    }
}
@media screen and (min-width: 422px) and (max-width: 520px){
    .chart-title{
        font-size: 1rem;
        font-weight: 500;
    }
}
@media screen and (min-width: 521px) and (max-width: 599px){
    .chart-title{
        font-size: 1.25rem;
        font-weight: 500;
    }
    .favoriteButton{
        scale: .95;
    }
}
/*on small screens change the favorite icon scale to 1*/
@media screen and (min-width: 600px) and (max-width: 767px) {
    .chart-title{
        font-size: 1.30rem;
        font-weight: 500;
    }
    .favoriteButton {
        scale: 1;
    }
}
@media screen and (min-width: 768px) {
    .favoriteButton {
        scale: 1.8;
    }

    .favoriteButton:focus-visible{
        outline: 1.5px solid;
        border-radius: 2px;
    }

    .favoriteButton:hover {
        filter: invert(75%) sepia(77%) saturate(858%) hue-rotate(7deg) brightness(150%) contrast(104%);
        transition: 250ms;
        scale: 2.25;
    }

    .favoriteButton:active {
        scale: 1.8;
        transform: translateY(2px);
    }

    .favoriteButton-grid {
        scale: 1;
    }

    .favoriteButton-grid:hover {
        filter: invert(75%) sepia(77%) saturate(858%) hue-rotate(7deg) brightness(150%) contrast(104%);
        transition: 250ms;
        scale: 1.25;
    }

    .favoriteButton-grid:active {
        scale: 1;
        transform: translateY(2px);
    }

}


.chart-container svg {
    width: 100%;
    height: auto;
}

.chart-container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.judicial-retention-chart-container {
    width: 100%;
    height: auto;
    flex: 0 1 calc(33.333% - 1em);
    margin: 0.5em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.judicial-retention-chart-container svg {
    width: 100%;
    height: auto;
}

.judicial-retention-chart-container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.judicial-retention-chart-legends {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    margin: 0.5em 0 0 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid lightgray;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-left: 20px;
}

.legend-color {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.legend-text {
    font-size: inherit;
}
.reporting-status {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: .35rem;
}
.coutystatus-card{
    width: 100%;
    height: auto;
    flex: 0 1 calc(33.333% - 1em);
    margin: 0.5em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
}

#county-map .custom-select-dropdown {
    font-size: 18px;
    margin-bottom: -2rem;
    margin-top: .5rem;
    height: 2.6rem;
    z-index: 1000;
}

@media (max-width: 768px) {
    #county-map .custom-select-dropdown {
        font-size: 12px;
        margin-bottom: 0rem;
        margin-top: 0rem;
        height: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #county-map .custom-select-dropdown {
        font-size: 14px;
        margin-bottom: -1rem;
        margin-top: .5rem;
        height: 2rem;
    }
}

.bar-head {
    padding: .35rem;
    font-size: 1.5em;
    margin-bottom: 0;
    background-color: rgb(215, 215, 215);
}

.precinct-head {
    display: flex;
    justify-self: start;
    padding: .25rem;
    font-size: 22px;
    background-color: rgba(215, 215, 215, 0.5);
}

.bar {
    fill-opacity: 0.7;
    transition: width 1s ease-out;
}

/*.bar.republican {*/
/*    fill: red;*/
/*}*/

/*.bar.democratic {*/
/*    fill: blue;*/
/*}*/

/*.bar.yes {*/
/*    fill: blue;*/
/*}*/


.bar-label {
    font-size: 12px;
}

.tooltip {
    position: absolute;
    padding: 10px;
    background: white;
    color: black;
    border: 1px solid #ccc;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
}

.countymap-head {
    margin-bottom: -3rem;
}

#county-map { /* Replacing #canvas */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    margin-top: 2rem;
    width: 100%;
    height: 30%;
    border: 1px solid #aaa;
    background-color: #F5F5F5;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    position: relative; /* Relative positioning to make tooltip positioning work relative to this container */
}
@media screen and (min-width: 768px) and (max-width: 950px){
    #county-map {
        height: 32vw;
    }
}
@media screen and (min-width: 701px) and (max-width: 767px){
    #county-map {
        height: 27vw;
    }
}

@media screen and(max-width: 700px){

}

.selected-county {
    fill: #1c3664; /* A blue color, but you can choose whatever color you like */
}

.countyresults-head {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1c3664;
    padding: .35rem;
}

.countyresults-head h3 {
    color: white;
}

#svg-container {

    transform: rotate(6deg);
}

#map-svg {
    width: 100%;
    height: auto;
    display: block;
    min-width: 300px; /* Set minimum width */
    min-height: 150px;
}

@media screen and (min-width: 768px) {
    .countyresults-head{
        margin-top: .75rem;
        padding:.5rem;
        border-radius: .25rem;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    }
    .status-reporting-card{
        background: rgba(242, 242, 242, 0.88);
        border-radius: .25rem;
        padding-top: 1.25rem;
        margin-top: -1rem;
    }
}
@media screen and (max-width: 767px){
    .countyresults-head{
        margin-top: .75rem;
        padding:.2rem;
        border-radius: .25rem;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    }
   =
    .status-reporting-card-mobile{
        background: rgba(242, 242, 242, 0.88);
        border-radius: .25rem;
        padding-top: 1rem;
        margin-top: -1rem;
    }

    .county-status-mobile-text{
        font-size: .9rem;
        margin-bottom: 0;
        padding: .15rem;
        font-weight: 500;
        line-height: .75;
    }
    .county-reporting-mobile-text{
        font-size: .9rem;
        margin-bottom: 0;
        padding: .15rem;
        font-weight: 500;
        line-height: .75;
    }
}
@media screen and (max-width: 700px) {
    .page-title-header{
        box-shadow: rgba(0, 0, 0, 0.15) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.1) 0px 0.125em 0.5em, rgba(255, 255, 255, 0) 0px 0px 0px 1px inset;
        position: relative;
    }
    .info-banner{
        margin-top: -1rem;
        padding-top: 1.35rem;
    }
    .star-instruction-block {
        font-size: .85rem;
        line-height: 1;
    }
    .mobile-col-view{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mobile-col-view.a{
        align-self: end;
    }
    #map-svg {
        display: none;
    }
    #county-map {
        display: none;
    }
    #charts{
        margin-top: 0;
        gap: .2rem;
        margin-bottom: 1rem;
    }
    .custom-select-dropdown{
        font-size: 1rem;
        padding: .375rem .5rem;
        margin-right: .5rem;
        border-radius: .25rem;
    }
    .county-status-button{
        margin-right: 0rem;
    }
    .county-status-button.btn{
        font-size: 1rem;
        margin-left: .5rem;
        padding: .35rem .5rem;
    }
    .sort-icon{
        margin-top: -.3rem;
    }
}

.county {
    stroke: #3b3a3a;
    stroke-width: 0.7;
    transition: fill 0.3s ease; /* for a smoother change of color on hover */
}

#tooltip { /* Replacing .tooltip to match the id we used */
    position: absolute;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid #ccc;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0;
    font-size: 14px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transform: rotate(-6deg);
}

img.nav-img {
    height: 50px;
    width: 55px;
}

.nav-link:hover {

.nav-img {
    filter: invert(100%) sepia(100%) saturate(22%) hue-rotate(140deg) brightness(89%) contrast(100%);
    transition: 150ms;
}

}
.portrait-image {
    height: 95px;
    width: 95px;
}
@media only screen and (min-width: 350px) and (max-width: 400px) {
    .portrait-image {
        height: 75px;
        width: 75px;
    }
    .tn-font-style{
        font-size: 1.8rem;
    }
    .sos-font-style{
        font-size: 1.2rem;
    }
    .sos-name-style{
        font-size: 1rem;
        margin-top: -0.4rem;
    }
    .sos-brand{
        line-height: 1.4;
    }
}
@media only screen and (max-width: 350px) {
    .portrait-image {
        height: 55px;
        width: 55px;
    }
    .tn-font-style{
        font-size: 1.3rem;
    }
    .sos-font-style{
        font-size: 0.8rem;
    }
    .sos-name-style{
        font-size: 0.8rem;
        margin-top: -0.4rem;
    }
    .sos-brand{
        line-height: 1.4;
    }
}

.nav-2 {
    font-weight: 600;
}

.nav-3 {
    background-color: #CCF2F1;
    font-weight: 600;
}

.nav-3 div .navbar-nav .nav-item {
    color: black;
}

.sort-icon {
    height: 55px;
    width: 55px;
}

.filter-icon {
    height: 50px;
    width: 50px;
}

.status-header {
    padding: 1.5rem
}

.follow-instructions {
    background-color: rgba(112, 128, 144, 0.07);
}

/* dropdown menu for district pages */
.district-menu-dropdown label {
    font-size: 1.2em;
    font-weight: bold;
    color: #5c636a;
    width: 100%;
    text-align: center;
}

.district-dropdown-container {
    margin: 2em 0;
}

/* horizontal district menu items */
#district-menu {
    margin: 1em 0;
}

.horizontal-menu-item-box {
    padding: .5em;
}

.horizontal-menu-item {
    display: inline-block;
    text-align: center;
    width: 75%;
    vertical-align: top;
    margin: 6px 0 0 0;
}

.horizontal-icon {
    background-repeat: no-repeat;
    background-color: #1c3664;
    background-position: center;
    display: inline-block;
    width: 40px;
    height: 37px;
}

.horizontal-icon::after {
    border-color: transparent #1b3764;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    content: "";
    display: inline-block;
    left: 55px;
    position: absolute;
    transition-duration: 0.2s;
    margin-top: 8px;
}

.horizontal-icon.congressional {
    background-image: url('../img/SOSWebIcons_Civics.png');
    background-size: 40px;
}

.horizontal-icon.state-house {
    background-image: url('../img/state-house-placeholder.png');
    background-size: 30px;
}

.horizontal-icon.state-sentate {
    background-image: url('../img/state-senate-placeholder.png');
    background-size: 30px;
}

.horizontal-icon.judicial {
    background-image: url('../img/icons/judicial.png');
    background-size: 30px;
}

a.horizontal-menu-item-container:visited,
a.horizontal-menu-item-container:link {
    border: 2px solid #1c3664;
    display: block;
    height: 40px;
    border-radius: 3px;
    color: #1c3664;
    font-weight: bold;
}

a.horizontal-menu-item-container:hover {
    background: #CCF2F1;
}

/* common page assets */

/* page result header appears on page to notate type of results
    appears in SOS blue background
 */
.page-results-header {
    text-align: center;
    background: #1c3664;
    color: white;
    padding: .3em .2em;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 0;
}

/* new mockup assets */
.page-title-header {
    background: #ccc;
    text-align: center;
    padding: .3em .2em;
    color: #1c3664;
    font-weight: bold;
    font-size: 2.3em;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.1) 0px 0.125em 0.5em, rgba(255, 255, 255, 0) 0px 0px 0px 1px inset;
    position: relative;
    margin-bottom: 0;
}

/* office status header */
.office-status-header {
    padding: .4em .6em;
    color: rgba(241, 34, 47);
    text-align: left;
    background: #f2f2f2;
    font-size: .9em;
}
.info-banner{
    background-color: #f2f2f2;
    margin-top: -1rem;
    padding-top: 1.35rem;
}
.info-img{
    height: 25px;
}
.star-instruction-block {
    color: #A11923;
    text-align: center;
    margin: .5em 0;
    font-weight: bold;
    font-family: 'Arial Bold', 'Arial Regular', 'Arial', serif;
    padding: .25em 0;
}

.election-header-block {
    text-align: center;
    line-height: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.header--election-title {
    color: #1c3664;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 7px;
}

.header--election-results {
    color: #1c3664;
    font-size: 1.6em;
    font-weight: normal;
    margin-bottom: 2px;
}

.header--election-updated {
    color: #A11923;
    font-size: 1.2em;
}

.header--election-message {
    font-size: 1em;
    line-height: 1.3em;
}

.header--testing-alert {
    background-color: #f2f2f2;
    color: #F00;
    margin-bottom: 0;
    padding: 15px 30px;
    text-align: center;
    line-height: 1.15;
}

.header--testing-alert h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0;
}

.header--testing-alert p {
    font-size: 1.4rem;
    margin: 0;
}

.notes-column {
    max-width: 250px;
}

@media only screen and (max-width: 500px) {
    .countymap-head {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 768px) {
    .main-nav {
        display: none; /* Hide the navigation menu on mobile screens */
    }
}

@media screen and (max-width: 767px) {
    /* hidden elements */
    .hidden-sm {
        display: none;
    }
}

/* Mobile Styles (Hide Navigation) */
@media screen and (max-width: 768px) {
    .main-nav {
        display: none; /* Hide the navigation menu on mobile screens */
    }

    .header--testing-alert {
        padding: 10px 15px;
    }

    .header--testing-alert p {
        font-size: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    #primary-nav {
        justify-content: center; /* Center-align navigation items */
    }

    #primary-nav li {
        margin: 0 10px; /* Add spacing between navigation items */
    }

    .header--testing-alert p {
        font-size: 1.1rem;
    }

}

@media only screen and (max-width: 780px) {
    .bar-label {
        font-size: 1.35rem;
    }

    .bar {
        height: 30px;
    }

    .percentage-label {
        font-size: 1.35rem;
    }
}

@media only screen and (max-width: 950px) {

    .countyresults-head h3 {
        font-size: 1.5rem;
    }

    .countyselect-directions {
        font-size: 1.25rem;
    }
    .tn-state-seal-background {
        width: 100%;
        height: auto;
    }

}

@media screen and (min-width: 992px) {
    a.nav-link.active-status {
        color: black;
        background: #fff;
        border-radius: 5px;
    }

    /* new mockup assets */
    .page-title-header {
        background: #ccc;
        text-align: center;
        padding: .5em 0;
        color: #1c3664;
        font-weight: bold;
        font-size: 3.6em;

    }

    .bar-head {
        padding: .35rem;
        font-size: 1.8em;
        margin-bottom: 0;
        background-color: rgb(215, 215, 215);
    }

    .page-results-header {
        text-align: center;
        background: #1c3664;
        color: white;
        padding: .3em .2em;
        font-size: 2.3em;
        font-weight: bold;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .2rem;
        padding-left: .2rem;
    }

    /* office status header */
    .office-status-header {
        padding: .4em 1em;
        color: rgba(241, 34, 47);
        text-align: left;
        background: #f2f2f2;
        font-size: 1.2em;
    }
}

@media screen and (min-width: 1024px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .3rem;
        padding-left: .3rem;
    }

    @media screen and (min-width: 1440px) {
        .navbar-expand-lg .navbar-nav .nav-link {
            padding-right: .8em;
            padding-left: .8em;
        }
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #09c41a;
}

input:focus + .slider {
    box-shadow: 0 0 1px #09c41a;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#search-bar-container{
    display: inline-block;
    margin-top: 1.5em;
    text-align: center;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    z-index: 99;

}

#search-form{
}

#query{
    height: 2.5em;
    width: 100%;
    border-radius: 5px;
    border: 1px solid black;
    outline: none;
    padding-left: 10px;
}

#query:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #2bea0c;
}

#search-results{
    position: absolute;
    display: none;
    background: white;
    /*border: 1px solid black;*/
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    z-index: 999;
    width: 100%;
    text-align: left;
    padding-left: 10px;
    max-height: 300%;
    overflow-y: auto;
    border-radius: 5px;
    padding-bottom: 10px;
    padding-right: 5px;
}

#search-results div:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

#search-image{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 1.25em;
    height: 100%;
}

@keyframes highlighted-chart {
    0% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    }
    50% {
        box-shadow: 0 0 40px #2bea0c;
    }
    100% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    }
}

.highlight-effect {
    animation: highlighted-chart 2s ease-in-out;
}
.page-title-header {
    background: #ccc;
    text-align: center;
    padding: .3em .2em;
    color: #1c3664;
    font-weight: bold;
    font-size: 2.3em;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.1) 0px 0.125em 0.5em, rgba(255, 255, 255, 0) 0px 0px 0px 1px inset;
    position: relative;
    line-height: .85;
}

@media only screen and (max-width: 950px)
.tn-state-seal-background {
    width: 100%;
    height: auto;
    margin-top: .75rem;
}


/*Footer Banner*/
@media screen and (min-width: 422px) and (max-width: 575px){
    .footer{
        display: flex;
        flex-direction: column-reverse;
    }
    .social-row{
        margin-bottom: -0.5rem;
    }
    .footer-tri-star-image {
        width: 60px;
        height: auto;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .tnsos-foot{
        color: #2f579e;
        font-size: 1.6rem;
        font-weight: 600;
    }
    .policies {
        font-size: .65rem;
        font-weight: 600;
    }
    .social-icon{
        width: 50px;
        height: auto;
    }
    .promo-image {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        width: 65px;
        height: auto;
        border-radius: 15px;
    }
    .vote-promo-image {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-top: 1rem;
        width: 160px;
    }
}
@media screen and (max-width: 421px){
    .footer{
        display: flex;
        flex-direction: column-reverse;
    }
    .footer-tri-star-image {
        width: 50px;
        height: auto;
        padding-left: 0.20rem;
        padding-right: 0.20rem;
    }
    .tnsos-foot{
        color: #2f579e;
        font-size: 1.3rem;
        font-weight: 600;
    }
    .policies{
        font-size: .6rem;
    }
    .social-icon{
        width: 40px;
        height: auto;
    }
    .promo-image {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        width: 52px;
        height: auto;
        border-radius: 15px;
    }
    .vote-promo-image {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-top: 1rem;
        width: 140px;
    }
}

@media screen and (min-width: 576px) and (max-width: 700px){
    .footer {
        display: flex;
        flex-direction: row;
        margin-top: 0.5rem;
    }
    .footer-banner{
        width: 50%;
    }
    .social-row{
        width: 50%;
    }
    .footer-tri-star-image {
        width: 45px;
        height: auto;
        padding-top: 0.25rem ;
        padding-bottom: 0.25rem ;
    }
    .tnsos-foot{
        display: flex;
        align-items: start;
        color: #2f579e;
        font-size: 1.0799rem;
        font-weight: 600;
        padding-top: 0.25rem;
        padding-left: 0.21rem;
    }
    .policies{
        display: flex;
        justify-content: start;
        font-size: .48rem;
        padding-left: 0.1rem;
    }
    .social-icon{
        width: 32px;
        height: auto;
    }
    .promo-image {
        width: 30px;
        height: auto;
        border-radius: 10px;
    }
    .vote-promo-image {
        width: 75px;
    }
}
@media screen and (min-width: 701px) and (max-width: 900px){
    .footer {
        display: flex;
        flex-direction: row;
        margin-top: 1rem;
    }
    .footer-banner{
        width: 50%;
    }
    .social-row{
        width: 50%;
    }
    .footer-tri-star-image {
        width: 70px;
        height: auto;
        padding-top: 0.25rem ;
        padding-bottom: 0.25rem ;
    }
    .tnsos-foot{
        display: flex;
        align-items: start;
        color: #2f579e;
        font-size: 1.2rem;
        font-weight: 600;
        padding-left: 0.21rem;
    }
    .policies{
        display: flex;
        justify-content: start;
        font-size: .54rem;
        margin-left: 0.4rem;
    }
    .social-icon{
        width: 35px;
        height: auto;
    }
    .promo-image {
        width: 35px;
        height: auto;
    }
    .vote-promo-image {
        width: 80px;
    }
}
@media screen and (min-width: 901px) and (max-width: 990px){
    .footer {
        display: flex;
        flex-direction: row;
        margin-top: 1rem;
    }
    .footer-banner{
        width: 50%;
    }
    .social-row{
        width: 50%;
    }
    .footer-tri-star-image {
        width: 90px;
        height: auto;
        padding-top: 0.5rem ;
        padding-bottom: 0.5rem ;
    }
    .tnsos-foot{
        display: flex;
        align-items: start;
        color: #2f579e;
        font-size: 1.60rem;
        font-weight: 600;
    }
    .policies{
        display: flex;
        justify-content: start;
        font-size: 0.70rem;
    }
    .social-icon{
        width: 45px;
        height: auto;
    }
    .promo-image {
        width: 40px;
        height: auto;
    }
    .vote-promo-image {
        width: 110px;
    }

}
@media screen and (min-width: 991px) and (max-width: 1300px){
    .footer {
        display: flex;
        flex-direction: row;
        margin-top: 1.2rem;
    }
    .footer-banner{
        width: 50%;
    }
    .social-row{
        width: 50%;
    }
    .footer-tri-star-image {
        width: 90px;
        height: auto;
        padding-top: 0.5rem ;
        padding-bottom: 0.5rem ;

    }
    .tnsos-foot{
        display: flex;
        align-items: start;
        color: #2f579e;
        font-size: 1.75rem;
        font-weight: 600;
    }
    .policies{
        display: flex;
        justify-content: start;
        font-size: 0.8rem;
    }
    .social-icon{
        width: 50px;
        height: auto;
    }
    .promo-image {
        width: 45px;
        height: auto;
    }
}
@media screen and (min-width: 1301px) and (max-width: 1600px){
    .footer {
        display: flex;
        flex-direction: row;
        margin-top: 2rem;
    }
    .footer-banner{
        width: 50%;
    }
    .social-row{
        width: 50%;
    }
    .footer-tri-star-image {
        width: 100px;
        height: auto;
        padding-top: 0.5rem ;
        padding-bottom: 0.5rem ;
    }
    .tnsos-foot{
        display: flex;
        align-items: start;
        color: #2f579e;
        font-size: 2rem;
        font-weight: 600;
        padding-left: 0.5rem;
    }
    .policies{
        display: flex;
        justify-content: start;
        font-size: 0.9rem;
        padding-left: 0.8rem;
    }
    .social-icon{
        width: 55px;
        height: auto;
    }
    .promo-image {
        width: 50px;
        height: auto;
    }
}
@media screen and (min-width: 1601px){
    .footer {
        display: flex;
        flex-direction: row;
        margin-top: 3rem;
    }
    .footer-banner{
        width: 50%;
    }
    .social-row{
        width: 50%;
    }
    .footer-tri-star-image {
        width: 100px;
        height: auto;
        padding-top: 0.5rem ;
        padding-bottom: 0.5rem ;
    }
    .tnsos-foot{
        display: flex;
        align-items: start;
        color: #2f579e;
        font-size: 2.5rem;
        font-weight: 600;
        padding-left: 0.5rem;
    }
    .policies{
        display: flex;
        justify-content: start;
        font-size: 1.2rem;
        padding-left: 0.8rem;
    }
}

.refresh-button {
    color: #ffffff;
    background-color: #1c3664;
}
@media screen and (max-width: 768px) {
    #sealOfTheStateOfTennessee, #tn-state-seal-background{
        width: 100%;
        height: auto;
    }

    #emptyResultsText, .empty-chart-message{
        line-height: 1;
    }
}

/*
.footer{
    display: flex;
    flex-direction: row;
}*/
