﻿@media only screen and (max-width: 768px) {
    .outside-wrapper {
        margin-top: 0px;
        background-color: #FFFFFF;
    }

    .top-bluebar {
    }

    .refresh-text {
        display: none;
    }

    .last-updated {
        margin-right: 10px;
    }

    .top-header {
        height: 72px;
    }

    .mobile {
        display: inherit;
    }

    .desktop {
        display: none;
    }

    .top-header-box1 {
        width: 81%;
    }

        .top-header-box1 h1 {
            font-size: 1.1em;
        }

        .top-header-box1 h2 {
            font-size: .9em;
            letter-spacing: 0px;
            padding: 5px 0 0 15px;
        }

    .top-header-box2 {
        width: 100%;
    }

        .top-header-box2 h2 {
            font-size: .75em;
            width: auto;
            padding: 0 4% 0 4%;
            margin: 3px 0 2px 0;
        }

        .top-header-box2 h3 {
            font-size: .75em;
            color: #8D4C9E;
            font-weight: bold;
            text-transform: uppercase;
            width: auto;
            padding: 0 4% 0 4%;
            margin: 3px 0 2px 0;
        }

        .top-header-box2 h4 {
            font-size: .75em;
            width: 45%;
            padding: 0 4% 0 4%;
            margin: 3px 0 2px 0;
        }

        .top-header-box2 h5 {
            font-size: .75em;
            width: 25%;
            padding: 0 4% 0 4%;
            margin: 3px 0 2px 0;
        }

    .mtc-icon-position {
        margin: 0 0 2px 0;
        padding: 0 10px 0 4%;
    }

    .share-icon {
        height: 20px;
        width: 20px;
    }

    .header-box-wrapper {
    }

    .header-box1 {
        width: 100%;
        height: 50px;
    }

        .header-box1 h1 {
            font-size: 2em;
            padding: 6px 0 0 15px;
            float: left;
        }

        .header-box1 h2 {
            font-size: .845em;
            padding: 5px 0 0 15px;
            margin: 12px auto;
            letter-spacing: 0px;
            float: left;
        }

    .header-box2 {
        width: 100%;
        height: 83px;
    }

    .header-box-content-top {
        height: 28px;
        margin: 10px 0 0 0;
        width: 70%;
    }

        .header-box-content-top h1 {
            font-size: 1em;
            padding: 0 0 0 15px;
            letter-spacing: 0px;
        }

    .header-box-content-reg {
        height: 28px;
        margin: 2px 0 0 15px;
    }

    .header-box-content-reg h2 {
        padding: 0;
        font-size: .75em;
        margin: 0;
    }

    .header-box-content-bottom {
        margin: 7px auto;
        padding: 2px 0 0 0;
    }

    .animate-position {
        padding: 0 2% 0 0;
        float: right;
        margin: -10px 20px 0 0;
    }

        .animate-position .dec {
            font-size: 8px;
        }

    .dough-percent {
        font-size: 15px;
        bottom: 50px;
    }

    .header-box3 {
        width: 100%;
        height: 83px;
        margin: 0;
    }

    .colordisc-yellow {
        width: 12px;
        height: 12px;
    }

    .colordisc-orange {
        width: 12px;
        height: 12px;
    }

    .header-box3 .header-box-content-top {
        padding-top: 5px;
    }

    .col-elec-search-box {
        margin: 0% 0 0% 0%;
    }

    .election-results-box {
        width: 100%;
        border: 0px solid #2C4E8D;
        min-height: 0px;
    }

    .elec-results-grid-wrapper {
        padding: 0;
    }

    .col-elec-results-grid {
        margin: .5% .5% 0% .5%;
    }

    .elec-results-grid {
        width: 32%;
        height: 70px;
    }

    .elec-results-grid-blue {
        display: none;
    }

    .search-results-box {
        width: 100%;
        border: 0px solid #2C4E8D;
        margin-top: 3px;
        min-height: 325px;
    }

    .quick-search-box-wrapper {
        height: auto;
    }

    .quick-search-box1 {
        width: 100%;
    }

    .quick-search-box2 {
        display: none;
    }

    .quick-search-box3 {
        width: 99%;
        height: 35px;
    }

    .close-icon:after {
        top: 7px;
    }

    .results-county-header {
        height: 54px;
    }

    .mt-map {
        padding-top: 0px;
    }

    .slidingDiv {
        padding: 5px 0px 5px 0px;
    }

        .slidingDiv ul li {
            list-style-image: url('/Images/bullet.jpg');
            display: list-item;
            border: 0px solid white;
            padding: 0;
            margin: 2px 0px 2px 10px;
        }

    .contact-info {
        margin-left: 25px;
        margin-right: 25px;
        padding: 5px 0 0 0;
    }

    .contact-phone-number {
        font-size: initial;
    }

    .legislative-wrapper {
        padding: 2px 0 5px 0;
    }

    .legislative-wrapper h1 {
        padding: 0px 0 0 10px;
    }

    input.button-sw-maps {
        letter-spacing: normal;
        border: 2px solid white;
    }

    input.left {
        border-left: 0px solid white;
    }

    input.right {
        border-right: 0px solid white;
    }

    .wrapper-button-leg {
        margin: 0px 0 0px 0;
    }

    .button-leg {
        min-width: 25%;
        border: 2px solid white;
    }

    .wrapper-inside {
        width: 100%;
        margin: 5px 0px 5px 0px;
    }

    .wrapper-border {
        margin: 8px 8px 13px 8px;
        outline: 4px solid gray;
        width: auto;
    }

    .display-results-box-wrapper {
        margin: 0 auto;
    }

    .display-results-box-a {
        margin-bottom: 2px;
    }

    .wrapper-inside h1 {
        font-size: 1em;
        letter-spacing: 1px;
    }

    .wrapper-mobile {
        margin: 0 auto;
        padding: 0px 5px 0px 5px;
    }

    .display-results-box-b {
        width: 70%;
        height: auto;
        padding: 10px 0 0px 0px;
    }

    input[type=checkbox].css-checkbox + label.css-label {
        font-size: .850em;
    }

    .recount {
        width: 185px;
    }

    .recount-mobile {
        height: 30px;
    }

    .display-results-box-g {
        width: 30%;
        margin-right: 0px;
    }

    .export-box {
        bottom: 0px;
        top: 5px;
    }

    .export {
        font-size: .85em;
    }

    .dropdown-content{
        right: 0;
    }

    .export-container {
        left: 0px;
        min-width: 100px;
    }

    .export-header:before {
        left: 7%;
    }

    .share-box {
        top: 4px;
        bottom: 0px;
        float: right;
        margin-right: 4px;
    }

    .mtc-icon-inline-position {
        height: 20px;
        width: 20px;
    }

    .share-header:before {
        left: 85%;
    }

    .display-results-box-c {
        width: 100%;
        text-align: left;
        padding: 10px 0 5px 0px;
        font-size: .850em;
    }

    .precinct-fully {
        margin-left: 0;
        padding-right: 1px;
    }

    .precinct-partial {
        margin-right: 0;
        padding-left: 1px;
    }

    .display-results-box-d {
        width: 100%;
        padding: 4px 0 0 0px;
    }

        .display-results-box-d h1 {
            margin: 4px 0 0 10px;
        }

        .display-results-box-d h2 {
            margin: 4px 0 0 10px;
        }

    .display-results-box-e {
        width: 79%;
    }

    .display-results-box-f {
        width: 18%;
    }

        .display-results-box-f h1 {
            font-size: .875em;
            padding: 15px 0 0 0;
        }

    .display-results-box-totalvotes {
        width: 72%;
    }

        .display-results-box-totalvotes h2 {
            margin: 7px 10px 8px 10px;
        }

    .display-results-box-total {
        width: 26%;
        float: right;
        margin-right: 3px;
    }

        .display-results-box-total h2 {
            margin: 7px 5px 6px 5px;
        }

    input.button-maps {
        width: 43%;
        border-top: 1px solid #FFF;
        border-bottom: 0px solid #FFF;
        padding: 8px 5px 8px 5px;
    }

    input.button-county {
        width: 55.5%;
        letter-spacing: 1px;
        border-top: 1px solid #FFF;
        border-bottom: 0px solid #FFF;
        padding: 8px 5px 8px 5px;
    }

    .slidingDiv-maps {
        padding: 5px 0px 10px 0px;
    }

    .map-col1 {
        width: 100%;
    }

    .county-header {
        height: 56px;
    }

        .county-header h1 {
            font-size: 1.2em;
            margin: 0px 0px 0px 5px;
        }

        .county-header h2 {
            margin: 8px 0px 0px 5px;
            float: left;
            padding-left: 10px;
        }

    .county-reporting {
        margin: 0 auto;
    }

    .county-reporting-leftcol {
        width: 100%;
    }

    .col-county-results {
        margin: 5px 0 5px 0;
    }

    .county-reporting-col1 {
        width: 55%;
    }

    .county-reporting h1 {
        padding-left: 4px;
    }

    .county-reporting h2 {
        padding-left: 4px;
    }

    .county-reporting-col2 {
        width: 5%;
        margin-left: 10px;
        min-height: 24px;
    }

    .county-reporting-col3 {
        width: 35%;
    }

    .county-reporting h5 {
        margin: 3px 0px 3px 10px;
    }

    .county-reporting-rightcol {
        width: 100%;
    }

    .county-reporting-col4 {
        width: auto;
    }

    .county-chart {
        margin-top: 0;
        width: 400px;
        height: 100px;
    }

    .map-col2 {
        width: 100%;
    }

        .map-col2 h1 {
            letter-spacing: 2px;
        }

    .map {
        height: 312px;
    }

    .map-col3 {
        width: 100%;
    }

        .county-legend h1 {
            font-size: 1.2em;
            margin: 5px 0px 0px 0px;
            letter-spacing: 2px;
        }

    .legend-col2 {
        width: 90%;
    }

        .county-legend-info h1 {
            min-width: 40px;
        }

        .county-legend-info h3 {
            padding: 3px 0 0 10px;
        }

    .legend-col3 {
        margin-left: 20px;
    }

    .county-results {
        margin: 0 auto;
        min-height: 58px;
    }

    .county-name {
        width: 100%;
    }

        .county-results h1 {
            padding-top: 10px;
        }

    .county-results-reporting {
        width: 100%;
        margin: 0 0 0 10px;
        padding-top: 4px;
        text-align: left;
        font-size: .85em;
    }

    .col-precinct-results {
        margin: 0px 0 0px 0px;
    }

    .precinct-results-databox1 {
        width: 100%;
    }

        .precinct-results-databox1 h1 {
            padding-top: 2px;
        }

    .precinct-results-databox2 {
        width: 82%;
    }

    .precinct-results-databox3 {
        width: 18%;
        margin-top: 10px;
    }

        .precinct-results-databox3 h1 {
            font-size: .825em;
            margin: 0px 5px 0px 0px;
            padding: 0;
        }

    .precinct-results-databox4 {
        width: 60%;
    }

    input.button-precinct-results-countyresults {
        width: 100%;
        letter-spacing: 1px;
    }

        input.button-precinct-results-countyresults:hover {
            background-color: #C6C6C6;
        }

    .precinct-results-databox5 {
        width: 20%;
    }

        .precinct-results-databox5 h2 {
            margin: 1px 10px 0 10px;
        }

    .precinct-results-databox6 {
        width: 18%;
        margin-top: 5px;
        margin-bottom: 5px;
    }

        .precinct-results-databox6 h1 {
            font-size: 0.875em;
            padding: 0 0 0 0;
        }

    .county-results-odd {
        margin: 0 auto;
        min-height: 58px;
    }

        .county-results-odd h1 {
            padding-top: 10px;
        }

    .precinct-results-countyname {
        padding: 5px 10px 5px 0px;
        margin: 0 auto;
        min-height: 25px;
    }

        .precinct-results-countyname h1 {
            font-size: 1.2em;
            padding: 0;
        }

    .precinct-results-orangebox {
        margin: 0 auto;
    }

    .precinct-results-orangebox-title {
        width: 150px;
    }

    .precinct-results-databox7 {
        width: 18%;
        margin-top: 5px;
    }

        .precinct-results-databox7 h1 {
            font-size: .825em;
            margin: 8px 5px 0px 0px;
            padding: 0;
        }

    input.voter-turnout {
        width: 100%;
        margin: 0;
        max-width: 50%;
    }

    input.precincts-reporting {
        width: 100%;
        margin: 0;
        max-width: 50%;
    }

    .turnout-county-header {
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-direction: column;
    }

        .turnout-county-header h1 {
            font-size: 1.2em;
            letter-spacing: 2px;
            width: 98%;
            padding: 0;
            margin: 5px 0 0 10px;
        }

    .turnout-no-selection {
        width: 98%;
        text-align: left;
        padding: 4px 0 0 10px;
    }

        .turnout-county-header h2 {
            margin: 0px 0px 0px 0px;
            padding: 3px 0 3px 10px;
            width: 96%;
            text-align: left;
            border: 2px solid black;
            background-color: white;
        }

        .turnout-county-header h3 {
            margin: 5px 0px 5px 0px;
            width: 98%;
            text-align: left;
        }

    .col-turnout-results {
        margin: 5px 10px 5px 10px;
        flex-grow: 1;
        min-width: 39%;
        float: none;
    }

    .turnout-center {
        border-top: 1px solid #C0C0C0;
        border-bottom: 1px solid #C0C0C0;
        display: inline-flex;
        width: 100%;
    }

    .turnout-reporting-col1 {
        min-width: 39%;
    }

    .turnout-reporting-col2 {
        min-width: 52%;
    }

    .turnout-reporting-col3 {
        text-align: right;
        min-width: 30%;
    }

    .turnout-reporting-col4 {
        text-align: right;
    }

    .turnout-reporting-col5 {
        width: auto;
        text-align: left;
    }

        .turnout-reporting h4 {
            text-align: left;
            margin: 0;
        }

        .turnout-map3 h1 {
            font-size: 1em;
        }
        
    .turnout-legend-col2 {
        width: 50%;
    }

    .turnout-legend {
        min-width: 96px;
    }

    .precinct-county-header {
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-direction: column;
    }

        .precinct-county-header h1 {
            font-size: 1.2em;
            letter-spacing: 2px;
            width: 98%;
            padding: 0;
        }

        .precinct-county-header h2 {
            margin: 0px 0px 0px 0px;
            padding: 3px 0 3px 10px;
            width: 96%;
            text-align: left;
            border: 2px solid black;
            background-color: white;
        }

        .precinct-county-header h3 {
            margin: 5px 0px 5px 0px;
            width: 98%;
        }

    .precinct-no-selection {
        width: 98%;
        text-align: left;
        padding: 4px 0 0 10px;
    }

    .turnout-results-box-a {
        width: 100%;
        padding-left: 10px;
    }

        .turnout-results-box-a h1 {
            margin: 5px 0px 5px 0px;
            height: auto;
        }

    .turnout-results-box-b {
        width: 30%;
        height: 60px;
        margin: 0;
    }

    .turnout-turnout-legend {
        width: 17%;
        font-size: 0.8em;
        margin-bottom: 5px;
    }

    .turnout-results-box-c {
        width: 30%;
        height: 60px;
        margin: 0;
    }

    .turnout-precinct-legend {
        width: 17%;
        font-size: 0.8em;
        margin-bottom: 5px;
    }

    .doughnut-legend {
        height: 60px;
    }

        .doughnut-legend h1 {
            font-size: 0.825em;
            padding: 2px 0 2px 0;
            margin: 0;
        }

    .dough-inner {
        margin: -39% 0px 0px 22%;
    }

        .dough-inner h1 {
            font-size: 9px;
            padding-left: 15px;
        }

    input.precinct {
    }
    
    .county-identifier {
        padding: 3px 0 3px 0;
    }

    .county-identifier-name {
        width: 100%;
        float: none;
        display: block;
        height: auto;
        flex-direction: unset;
        -webkit-flex-direction: unset;
        justify-content: unset;
    }

    .county-turnout-results {
        width: 100%;
        padding: 2px 0 2px 0;
    }

    .county-turnout-legend {
        width: 80%;
        height: auto;
        font-size: .775em;
    }

        .county-turnout-legend h1 {
            font-size: .75em;
            padding: 3px 10px 2px 15px;
        }

    .county-doughnut-legend {
        height: 40px;
    }

    .county-precinct-results {
        width: 100%;
        padding: 2px 0 2px 0;
    }

    .county-precinct-legend {
        width: 80%;
        height: auto;
        font-size: .775em;
    }

        .county-precinct-legend h1 {
            font-size: .75em;
            margin: 0;
            padding: 0px 0px 0px 15px;
        }

    .county-dough-inner {
        margin: -45px 0px 0px 0px;
        width: 50px;
    }

        .county-dough-inner .int {
            font-size: 0.6em;
        }

        .county-dough-inner .dec {
            font-size: .35em;
        }

    .county-export-list {
        margin: 10px 4% 0 4%;
    }

    .county-list {
        padding: 0 5px 0 5px;
    }

    .county-export-listitem {
        width: 40%;
        margin: 0 5% 0 5%;
    }

    .statewide-exoport-listitem:hover {
        background: #36ABC0;
    }

        .statewide-exoport-listitem:hover a {
            color: white;
        }

    .county-export-listitem:hover {
        background: #36ABC0;
    }

        .county-export-listitem:hover a {
            color: white;
        }

    .footer {
        display: none;
    }
}
/*End of Mobile Styles*/
@media only screen and (max-width: 375px) {
    .contact-phone-number {
        white-space: nowrap;
        font-size: 4vw;
    }
}
