﻿:root {
    --primary-red-color-: #9c151f;
    --secondary-red-color-: #204181;
    --button-hover-color-: #3d60bf;
    --primary-blue-color-: #192649;
    --secondary-blue-color-: #284aa6;
    --font-color-: #444;
    --font-color-inverse-: white;
    --main-font-: "Open Sans", "open-sans", Arial, sans-serif;
}

body {
    webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    font-family: var(--main-font-);
    font-style: normal;
    background-color: var(--primary-red-color-);
}

/*scroll to top*/
.scroll-to-top {
    position: fixed;
    font-family: "boxicons";
    opacity: 0;
    border-radius: 8px 0 0 8px;
    background-color: var(--secondary-blue-color-);
    padding: 8px 6px 6px 8px;
    bottom: 140px;
    line-height: normal;
    font-size: 20px;
    right: 0;
    color: var(--font-color-inverse-);
    transition: opacity .5s;
    pointer-events: none;
}

    .scroll-to-top.active {
        opacity: .9;
        pointer-events: all;
        cursor: pointer;
    }

    .scroll-to-top:hover {
        background-color: #445981;
    }

a {
    text-decoration: none;
    font-weight: 600;
    color: var(--secondary-blue-color-);
}

main a:hover, footer a:hover{
    text-decoration:underline;
}

header, main, footer, .nav-main{
    color:var(--font-color-);
}

main{
    min-height:300px;
    background-color:white;
    padding-top:48px;
    padding-bottom:24px;
}


@media(min-width:1024.1px) {
    main .main-two-column .col2 {
        padding-left: 24px;
    }
}

.header-in, .main-in, .footer-in{

}

header .header-hero-in, .nav-main-in, .footer-in, .countdown-container-in, .main-in{
    max-width:1300px;
    display:table;
    margin-left:auto;
    margin-right:auto;
    width:100%;
}

.countdown-container-in{
    max-width:1000px;
}

.header-hero-in, .main-in, .footer-in,.nav-main-in {
    padding-left: 24px;
    padding-right: 24px;
}

header .header-hero-in{
    
}



.header-gov-info {
    position: relative;
    background-color: var(--primary-red-color-);
    color: white;
}

.header-gov-info *:not(.fa){
    color:var(--font-color-inverse-) !important;
}


    .header-gov-info a {
        color: var(--font-color-inverse-);
        font-weight: bold;
        text-decoration:none;
    }

.header-gov-info-in {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px;
    font-size: 12px;
    width: calc(100% - 20px) !important;
}

.header-gov-info .table {
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

    .header-gov-info .table > :not(:first-child), .section-help .table > :not(:first-child) {
        border: none !important;
    }

.header-gov-info .cell {
    display: table-cell;
    vertical-align: middle !important;
}

.header-gov-info .seal-holder {
    width: 24px;
    padding-right: 5px;
    vertical-align: top;
}

.header-gov-info .seal {
    width: 100%;
    padding-top: 2px;
}

.header-gov-info .toggle {
    padding-left: 5px;
}

    .header-gov-info .toggle:after {
        font-family: FontAwesome;
        content: '\f0d7';
        padding-left: 4px;
    }

    .header-gov-info .toggle.active:after {
        content: '\f0d8';
    }

.security .table {
    width: auto;
    margin-bottom: 0 !important;
}

.header-gov-info .section-1 {
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    display: table;
}

    .header-gov-info .section-1 .cell, .header-gov-info .section-2 .cell {
        min-height: 0;
        color: white;
    }


.header-gov-info .section-2 {
    font-size: 14px;
    padding: 10px;
    display: none !important;
}

    .header-gov-info .section-2.visible {
        display: table !important;
    }

    .header-gov-info .section-2 .cell {
        max-width: 400px;
        vertical-align: top;
        position: relative;
    }

    .header-gov-info .section-2 .icon-holder {
        width: 42px;
        max-width: 42px;
        padding: 0;
    }

    .header-gov-info .section-2 .icon {
        font-family: FontAwesome;
        font-size: 15px;
        width: 100%;
        display: table;
        height: 40px;
        border-radius: 20px;
        border-style: solid;
        border-width: 2px;
        padding: 0 4px 0 4px;
        vertical-align: middle !important;
        text-align: center;
        background: white;
        box-shadow: 2px 2px 2px rgba(0,0,0,.5);
    }

    .header-gov-info .section-2 .cell.left .icon {
        color: #2378c3;
        border-color: #2378c3;
    }

    .header-gov-info .section-2 .cell.right .icon {
        color: #719f2a;
        border-color: #719f2a;
        font-size: 20px;
    }

    .header-gov-info .section-2 .icon .fa {
        padding: 0;
        display: table-cell;
        vertical-align: middle;
        line-height: 0;
    }

    .header-gov-info .section-2 .text {
        padding-left: 10px;
    }

    .header-gov-info .section-2 .cell.left {
        padding-right: 30px;
    }

    .header-gov-info .section-2 .text svg {
        width: 12px;
        height: 12px;
    }

.header-gov-info .table, .header-gov-info .table *{
    background-color:transparent;
}

.header-hero {
    background-color: var(--primary-blue-color-);
    background-image: url(/images/soelibraries/ui/american-flag-header-background.jpg);
    background-size:cover;
}


.header-hero-content {
    display: table;
    width:100%;
    color:white;
}

    .header-hero-content > div {
        display: table-cell;
        vertical-align: middle;
        text-align:center;
    }

    .header-hero .hero-photo{
        width:200px;
        vertical-align:bottom;
    }

.header-hero .hero-photo img{
    height:160px;
}

.hero-logo{
    width:16%;
}

.header-hero .hero-logo img{
    height:140px;
}

.header-hero .hero-title {
    text-align: left;
    font-size: 24px;
    padding-left:4px;
}

.header-hero .hero-title .hero-title-name,
.header-hero .hero-title .hero-title-title,
.header-hero .hero-title .hero-title-description
{
    
    text-shadow: 2px 2px black;
}

.header-hero p{
    margin:0;
    padding:0;
}   

.header-hero .hero-title-name{
    font-weight:bold;
    font-size:48px;
    line-height:52px;
}

.nav-main {
    background-color: var(--primary-red-color-);
    position:sticky;
    top:0;
    z-index:2;
}

.nav-main nav{
    padding-bottom:0;
    padding-top:0;
}

.nav-main .navbar-brand{
   color:white !important;
}

.nav-main a{
    color:white;
}

    .nav-main #nav-search {
        border-radius: 4px;
        width: 100%;
        height: 32px;
        margin-top: 6px;
        box-shadow: 1px 1px 0px black;
        border-style: none;
        padding-left:8px;
        font-size:14px;
    }

.nav-main .nav-search-container,
.nav-main .nav-search-mobile-container{
    position:relative;
}

    .nav-main .nav-search-container a,
    .nav-main .nav-search-mobile-container a{
        position: absolute;
        color:var(--font-color-);
        margin-top:12px;
        right:16px;
    }

        .nav-main .nav-search-container a:hover,
        .nav-main .nav-search-mobile-container a:hover {
            color: var(--font-color-);
        }
   

.nav-main .nav-search-mobile-container{
    display:none;
    
}

    .nav-main .nav-search-mobile-container input{
        padding:8px;
        width:100%;
    }

.nav-main a:hover{
    color:var(--font-color-inverse-);
}

.nav-main .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size:14px;
   
}

    .nav-main .navbar-expand-md .navbar-nav .nav-link.active{
        color:var(--font-color-inverse-);
    }

    .nav-main .nav-link.show {
        background-color: #c8d6e4;
        color: #444;
        font-weight: 700;
    }

.nav-main .nav-link.show::after{
    transform:rotate(180deg);
}

.nav-main .navbar-nav > .nav-item {
    border-width: 0 1px 0 0;
    border-color: #995257;
    border-style:solid;
    font-weight:600;
}


.nav-main .dropdown:nth-child(1){
    border-width:0 1px 0 1px;
}


.nav-main .dropdown-menu {
    background-color: #c8d6e4;
    margin-top: 0px;
    border-radius: 0 0 4px 4px;
    border-width: 0;
    padding: 16px;
    column-count: 2;
    column-gap: 32px;
}

    .nav-main .dropdown-menu > li{
        break-inside:avoid-column;
        margin-bottom:16px;
    }

   

.nav-main .dropdown-menu a{
    color:var(--font-color-);
    padding-left:48px;
    text-decoration:none;
}

.nav-main .dropdown-menu a:hover{
    color:var(--font-color-);
}

.nav-main .nav-link:focus:not(.show){
    color:var(--font-color-inverse-);
}

.nav-main ul{
    margin-bottom:0;
}

.nav-main .dropdown-menu{
    font-size:14px;
}


.nav-main .dropdown ul{
    
}


.nav-main .dropdown ul ul{
    padding-left:78px;
    list-style-type:disc;
}

.nav-main .dropdown ul ul a{
    font-weight:400;
    font-size:12px;
    padding-left:0;
}

.nav-main .dropdown ul ul a:hover{
    text-decoration:underline;
}

    .nav-main .dropdown .nav-item-icon {
        padding: 8px;
        border-style: solid;
        border-width: 1px;
        border-radius: 4px;
        margin-right: 8px;
        display: inline;
        position: absolute;
        width: 38px;
        margin-left: -48px;
        background-color:white;
    }

.nav-main .dropdown-item{
    background-color:transparent;
}


.nav-main .dropdown-item:hover,
.nav-main .dropdown-item.active{
    background-color:transparent;
}

    .nav-main .dropdown-item .nav-item-title {
        display: block;
        font-weight: 700;
        margin-top: 7px;
    }

.nav-main .dropdown-item .nav-item-title:hover{
    text-decoration:underline;
}

.nav-main .nav-item-description{
    margin-top:0px;
    margin-bottom:8px;
    margin-left:48px;
    color:var(--font-color-);
    font-weight:400;
}

.nav-main .dropdown-item .nav-item-icon{
    font-weight:normal;
}

.nav-main .dropdown-item:hover span:nth-child(2){
    text-decoration:underline;
}

    .nav-main .dropdown-item:hover .nav-item-icon {
        background-color: var(--primary-blue-color-);
        color:var(--font-color-inverse-);
    }

footer {
    background-color: var(--primary-blue-color-);
    color: var(--font-color-inverse-);
}

    footer a {
        color: var(--font-color-inverse-);
    }

    .footer-in{
        padding-top:24px;
        padding-bottom:24px;
    }

    .footer-in .logo img{
        width:100%;
        max-width:170px;
    }

        .footer-in .social-icons{
            display:flex;
        }

        .footer-in .social-icons a {
            width: 32px;
            margin-right: 4px;
            display: inline-block;
            padding: 4px;
            font-size: 24px;
            text-decoration: none;
            color: var(--font-color-inverse-);
            cursor:pointer;
        }

.navbar-toggler {
    box-shadow: none !important;
    border-style: none !important;
}

.navbar-toggler-icon{
    filter:invert(1);
}

.countdown-container {
    background-color: var(--primary-red-color-);
    display:none;
}

/*headers*/
main h1 {
    font-size: 28px;
    font-family: Raleway;
    color: var(--primary-red-color-);
    margin-bottom: 24px;
}

main h2 {
    font-size: 20px;
    font-family: Raleway;
    color: var(--primary-red-color-);
}

/*voter stats*/

.voter-stats {
    margin-top:32px;
}

.voter-stats .date {
    font-size: 12px;
    font-style: italic;
    margin-bottom: 10px;
}

.voter-stats, .table1 {
    
}

.content-with-stats .right .voter-stats h2 {
    font-size: 14px;
}

    .content-with-stats .right .voter-stats h2 span {
        display: block;
        font-size: 34px;
        margin-top: 10px;
    }

.voter-stats table, .table1 table {
    font-size: 12px;
    width: 100%;
    background: none;
}

    .voter-stats table div.stripes {
        position: relative;
        width: 100%;
        text-align: right;
    }

    .voter-stats table div.bar {
        padding: 0;
        margin: 0;
        position: absolute;
        left: 5px;
        height: 25px;
        padding: 0;
        top: 14px;
        border-radius: 4px;
        background-color: #9d6dce;
        background-image: url(/images/soelibraries/ui/transparent-diagonal-stripe.png);
        background-repeat: repeat;
        background-position: 0 0;
    }

        .voter-stats table div.bar.rep {
            background-color: #8e2323;
        }

        .voter-stats table div.bar.dem {
            background-color: #245477;
        }

        .voter-stats table div.bar.non {
            background-color: #336600;
        }


    .voter-stats table thead th, .table1 thead th {
        color: #8e2323;
        font-weight: bold;
        height: auto;
        padding-bottom: 5px;
    }

.voter-stats table, .table1 {
    border-style: none;
}



    .voter-stats table td, .voter-stats table th, .table1 td, .table1 th {
        border-style: solid;
        border-width: 1px;
        border-left-width: 0px;
        border-color: #dcdcdc;
        padding: 10px 0 10px 0;
        width: 25%;
    }

    .voter-stats.autowidth td, .voter-stats.autowidth th, .table1.autowidth td, .table1.autowidth th {
        width: auto;
        padding-right: 5px;
    }

    .voter-stats table td:last-child, .table1 td:last-child, .voter-stats table th:last-child, .table1 th:last-child {
        border-right-width: 0px;
    }

    .voter-stats table thead:nth-child(1) th, .table1 thead:nth-child(1) th {
        border-top-width: 0px;
    }

    .voter-stats table thead th, .table1 thead th {
        border-right-width: 0px;
    }

    .voter-stats table th, .voter-stats table td, .table1 th, .table1 td {
        padding-left: 5px;
        position: relative;
        height: 52px;
    }

        .voter-stats table td.number {
            width: 25%;
        }

        .voter-stats table td.bar_shell {
            width: 50%;
        }

    .voter-stats table tbody tr th:nth-child(1), .table1 tbody tr th:nth-child(1) {
        font-weight: bold;
    }

    /*next election in sidebar*/
.main-two-column .next-election {
    display: table;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: 30px;

}

.main-two-column .next-election p{
    margin-bottom:0;
}

    .main-two-column .next-election .left {
        display: table-cell;
        vertical-align: top;
        width:120px;
        
    }


    .main-two-column .next-election .date {
        border-radius: 50%;
        width: 120px;
        height: 120px;
        border-style: solid;
        border-width: 5px;
        border-color: var(--primary-red-color-);
        text-align: center;
        vertical-align: middle;
        display: table-cell;
        color: var(--primary-red-color-);
    }


    .main-two-column .next-election .right {
        display: table-cell;
        vertical-align: middle;
        padding-left:16px;
    }

    .main-two-column .next-election a {
        font-size:20px;
    }

    .main-two-column .next-election .date div:nth-child(1) {
        font-size: 40px;
        font-weight: 700;
        line-height: 40px;
    }

    .main-two-column .next-election .date div:nth-child(2) {
        font-size: 16px;
    }

.main-two-column .next-election h2 {
    margin-top: 0px;
    font-size:32px;
    font-weight:600;
}

/*anchor*/
.anchor {
    visibility: hidden;
    position: absolute;
    content: "";
    display: block;
    height: 90px; /* fixed header height*/
    margin-top: -90px;
}
/*jquery ui dialog*/
/*dialog*/
#dialog {
    display: none;
    background: #eeeeee;
    color: var(--font-color-);
    border: none;
}

.ui-dialog {
    background: #eeeeee;
    z-index: 16000 !important;
    border: none !important;
    padding: 0px !important;
    box-shadow: 0 0 10px rgba(0,0,0,.7);
    font-size: 16px;
    font-family: inherit;
    position: fixed;
}

.ui-dialog-titlebar-close {
    position: absolute !important;
    top: 15px !important;
    right: 0px;
    width: 26px !important;
    height: 26px !important;
    margin-top: -5px;
}

.ui-icon-closethick {
    margin-top: -8px !important;
    margin-left: -10px !important;
}

.ui-icon-closethick {
    background-position: -97px -128px;
}

.ui-dialog-close {
}

.ui-dialog-buttonpane {
    text-align: center;
}

.ui-dialog-buttonset {
    float: none !important;
    text-align: center;
    margin-left: 12px;
}

.ui-dialog button {
    font-size: 16px;
    font-family: inherit;
    width: 130px;
    cursor: pointer;
}

.ui-dialog-titlebar button {
    font-size: 0px !important;
    background: none !important;
    border: none !important;
}

.ui-dialog-title{
    color:white;
}

.ui-dialog-titlebar .ui-button-icon {
    font-size: 16px !important;
    color: white;
}

.ui-dialog-titlebar .ui-dialog-titlebar-close {
    margin-right:8px;
}

    .ui-dialog-titlebar .ui-dialog-titlebar-close::before {
        font-family: FontAwesome;
        font-size: 18px;
        color: var(--font-color-inverse-);
        content: '\f00d';
    }

    #dialog button {
        color: #222222;
        margin-left: 5px;
        width: 124px;
    }

.ui-dialog .ui-dialog-buttonpane button {
    border: none;
    background: var(--secondary-blue-color-);
    color: var(--font-color-inverse-);
    padding: .4em 1em;
}

.ui-dialog .ui-dialog-buttonpane button:hover {
    background: var(--button-hover-color-);
}

.ui-widget-overlay {
    z-index: 15000 !important;
    background: black !important;
    opacity: .85;
}

.ui-dialog-titlebar {
    background-color: var(--primary-red-color-);
    border: none;
}

/*google translate*/
#google_translate_element {
    position: absolute;
    right: 8px;
    z-index: 20;
    top: 8px;
    border-radius:4px;
    overflow:hidden;
}

.skiptranslate{
    width:100% !important;
}

iframe.skiptranslate{
    
}

#goog-gt-tt{
    margin-left:0px !important;
}
/*skipnavigation*/
#skipnavigation {
    position: absolute;
    top: 8px;
    left: 3px;
    opacity: 0;
    z-index: 12000;
}

#skipnavigation a {
    color: var(--font-color-);
    font-size: 14px;
    pointer-events: none;
    opacity:0;
    padding: 5px;
    background: white;
}

    #skipnavigation.active {
        opacity: 1;
    }

    #skipnavigation a.active {
        opacity: 1;
        pointer-events: all;
    }

@media(max-width:767.9px) {
    #google_translate_element {
        position: relative;
        top: unset;
        right: unset;
        left: unset;
        width: 100%;
        background-color: white;
        border-radius: 0px;
        overflow: unset;
    }

    .skiptranslate{
        
    }

    .goog-te-gadget-simple{
        display:table !important;
        margin-left:auto;
        margin-right:auto;
        border-style:none !important;
    }
}

/*dialog loading*/

.dialog-loading .ui-dialog-titlebar {
    display: none;
}

.dialog-loading, .dialog-loading .ui-dialog-content {
    background: none !important;
    box-shadow: none;
}


/*buttons*/
.button {
    padding: 16px;
    color: var(--font-color-inverse-) !important;
    text-transform: uppercase;
    display: block;
    text-align: center;
    border-style: none;
    font-weight: bold;
    background-color: var(--secondary-blue-color-);
    border-radius:4px;
}

    .button:hover {
        background-color: var(--button-hover-color-);
        text-decoration: none;
    }


.main-two-column .col2 .button{
    margin-top:32px;
}

@media(max-width:1025px) {
    .main-two-column > div{
        float:none;
        width:100%;
    }

    .main-two-column .col1, .main-two-column .col2{
        margin:0;
    }

    .main-two-column .col1{
        margin-bottom:32px;
    }
}

@media(max-width:991.9px) {
   .nav-search-container{
       margin-bottom:16px;
   }
}

@media(max-width:767.9px) {

    .header-gov-info .section-2 {
        padding:0;
    }

    .header-gov-info .section-2 > .cell {
        display: block;
    }

    .header-hero .hero-photo{
        width: 150px;
    }
    .header-hero .hero-photo img{
        height:125px;
    }

    .header-hero .hero-title {
        font-size: 18px;
        padding-left:0;
        padding-top:8px;
        padding-bottom:8px;
    }

    .header-hero p {
        margin: 0;
        padding: 0;
    }

    .header-hero .hero-title-name {
        font-size: 24px;
        line-height:32px;
    }

    .header-hero .hero-logo img {
        height: 100px;
    }

    .nav-main{
        overflow:hidden;
    }

    .nav-main-in {
        padding-left: 0;
        padding-right: 0;
    }

        .nav-main-in .nav-search-container{
            display:none;
        }

        .nav-main-in #nav-search {
            display:none;
        }

    .nav-main .nav-search-mobile-container {
        display: block;
        padding:8px;
    }

    .nav-main-in .navbar-brand{
        padding-left:16px;
    }

    .nav-main .nav-link{
        border-radius:0;
    }

    .nav-main .dropdown-menu {
        column-count: 1;
        border-radius:0;
    }

    .nav-main .dropdown-menu > li:last-child{
        margin-bottom:0;
    }

    .nav-main .navbar-nav > .nav-item {
        border-style: solid;
        border-width: 1px 0 0 0;
        border-color: var(--font-color-);
        background: var(--primary-blue-color-);
    }

    footer{
        text-align:center;
    }

    .footer-in .social-icons {
        justify-content: center;
        margin-top: 24px;
    }
}

@media(max-width:499.9px) {
    .header-hero .hero-photo{
        display:none;
    }

    .header-hero .hero-logo img{
        height:80px;
    }
}

