﻿@media only screen and (max-width: 875px) {
    .outside-wrapper {
        margin-top: 0px;
        /*background-color: #FFFFFF;*/
        background-color: transparent;
    }

    .refresh-text {
        display: none;
    }

    .last-updated {
        margin-right: 10px;
        clear: both;
        float: left;
    }
    .last-updated span {
        display: inline;
        padding: 0 5px 0 0;
    }
    .top-header {
        height: 72px;
    }

    .mobile {
        display: inherit;
    }

    .desktop {
        display: none;
    }

    .top-header-box1 {
        width: 240px;
    }

        .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: 40%;
            padding: 0 4% 0 4%;
            margin: 3px 0 2px 0;
        }

        .top-header-box2 h5 {
            font-size: .75em;
            width: auto;
            padding: 0 4% 0 4%;
            margin: 3px 0 2px 0;
        }
        
    .top-bluebar {
    }
    .top-bluebar h4 {
        display: none;
    }
    .top-bluebar h2 {
        display: none;
    }
    .top-bluebar h3 {
        margin-right: 5px;
    }
    .mtc-icon-position {
        margin: 0 0 2px 0;
        /*padding: 0 10px 0 4%;*/
        padding: 0;
    }

    .share-icon {
        height: 25px;
        width: 30px;
        margin: 0 6px;
    }

    .header-box-wrapper {
    }

    .header-box1 {
        width: 100%;
        height: 75px;
    }

        .header-box1 h1 {
            /*font-size: 2em;*/
            margin: 6px 0 0 15px;
            /*float: left;*/
        }

        .header-box1 h2 {
            font-size: 1em;
            padding: 0 0 0 15px;
            margin: 8px auto 0;
            letter-spacing: 0px;
            float: left;
            /*width: 150px;*/
        }

    .header-box2 {
        width: calc(100% - 2px);
        height: 83px;
        border: 1px solid #FFFFFF;
        border-top-width: 2px;
        outline: none;
    }

    .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;
        width: 180px;
    }

    .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: calc(100% - 2px);
        height: 83px;
        margin: 0;
        border: 1px solid #FFFFFF;
        outline: none;
    }

    .header-box3 .header-box-content-top {
        padding-top: 5px;
    }

    .grid-box-wrapper {
        flex-direction: column;
    }
    .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%;
    }

    .elec-results-grid {
        width: 32.33%;
        height: 70px;
    }

    .elec-results-grid-blue {
        display: none;
    }
    .results-gridbox-links a:hover:active div {
        width: 99%;
    }
        .results-gridbox-links a:hover:active h1 {
        height: 70px;
        /*width: 116px;*/
        width: 97%;
    }
    .search-results-box {
        width: 100%;
        border: 0px solid #2C4E8D;
        /*margin-top: 3px;*/
        margin-top: 0.5%;
        min-height: 250px;
    }

    .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: auto;
    }

    .mt-map {
        padding-top: 0px;
        margin: 0 10px;
        height: auto;
        min-height: 220px;
    }

    .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;
    }
    .precinct-separator {
        margin: 0 1%;
    }
    .wrapper-button-leg {
        margin: 0px 0 0px 0;
    }

    .button-leg {
        min-width: 25%;
        border: 2px solid white;
    }

    .wrapper-inside {
        /*width: 100%;
        margin: 5px 0px;*/
        width: calc(100% - 20px);
        margin: 5px 10px;
        display: inline-block;
    }
    #pnlResultsHeader {
        margin: 10px 0 3px;
    }
    .wrapper-border {
        /*margin: 8px 8px 13px 8px;*/
        outline: 1px solid #000000;
        /*width: auto;*/
    }
    .wrapper-inside h1 {
        font-size: 1em;
        letter-spacing: 1px;
    }

    .wrapper-mobile {
        margin: 0 auto;
        padding: 0px 5px 0px 5px;
    }

    .display-results-box-wrapper {
        margin: 0 auto;
    }

    .display-results-box-a {
        margin-bottom: 2px;
    }
    .display-results-box-a h1 {
        font-size: 20px;
        font-weight: bold;
    }

    .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: 77%;
    }

    .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: 21%;
    }

        .display-results-box-f h1 {
            font-size: .875em;
            padding: 15px 10px 0 0;
            text-align: right;
        }

    .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;
            padding: 0 3px;
            text-align: right;
        }

    input.button-maps {
        width: 43.9%;
        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;
        float: right;
    }

    .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;
            width: calc(100% - 15px);
        }

        .county-header h2 {
            margin: 8px 0px 0px 5px;
            float: left;
            padding-left: 10px;
        }

    .county-reporting {
        margin: 0 auto;
    }

    .county-reporting-leftcol {
        width: 100%;
        max-width: calc(100% - 95px);
    }

    .col-county-results {
        margin: 5px 0 5px 0;
    }

    .county-reporting-col1 {
        width: 70%;
    }

    .county-reporting h1 {
        padding-left: 4px;
        font-size: 14px;
    }

    .county-reporting h2 {
        font-size: 12px;
        padding-left: 4px;
    }

    .county-reporting-col2 {
        width: 0;
        min-height: 20px;
        margin: 5px;
    }

    .county-reporting-col3 {
        /*width: 35%;*/
        font-size: 14px;
    }

    .county-reporting h5 {
        margin: 0;
    }
    .winner h5 {
        margin-top: 4px;
    }
    /*.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 10px;
            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;
        flex-direction: column;
    }

    .county-name {
        width: 100%;
    }

        .county-results h1 {
            padding-top: 10px;
        }

    .county-results-reporting {
        width: 100%;
        margin: 0 0 0 10px;
        padding: 4px 0 0 17px;
        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 5px 0 0;
            text-align: right;
        }

    .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: 18%;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

        .precinct-results-databox5 h2 {
            margin: 1px 7px 0;
        }

    .precinct-results-databox6 {
        width: 20%;
        margin: 5px 5px 5px 0;
        float: right;
    }

        .precinct-results-databox6 h1 {
            font-size: 0.875em;
            padding: 0 10px 0 0;
            text-align: right;
        }

    .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 12px 0 0;
            text-align: right;
        }
    .wrapper-voter-turnout {
        margin: 10px;
    }
    input.voter-turnout, input.precincts-reporting {
        width: 100%;
        margin: 2px;
        max-width: calc(50% - 4px);
        border: 2px solid #194573;
    }

    .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 10px;
            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-icons {
        display: block;
        margin: 0 0 0 10px;
    }    
    .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 10px;
            width: 98%;
        }

    .precinct-no-selection {
        width: 98%;
        text-align: left;
        padding: 4px 0 0 10px;
    }
    .mobile-separator {
        width: calc(100% - 32px);
        height: 60px;
        float: left;
        border-top: 1px solid lightgray;
        padding: 16px 0;
        margin: 0 16px;
    }
    .turnout-results-box-a {
        width: calc(100% - 32px);
        padding: 16px 0 3px 0;
        height: auto;
        margin: 0 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
        .turnout-results-box-a h1 {
            margin: 5px 0px 5px 0px;
            height: auto;
            padding: 0;
            width: calc(100% - 130px);
        }
    .turnout-results-box-b, .turnout-results-box-c {
        width: 60px;
        height: 60px;
        margin: 0 16px 0 0;
    }

    .turnout-turnout-legend, .turnout-precinct-legend {
        width: calc(100% - 92px);
    }

    .doughnut-legend {
        height: 60px;
    }

        .doughnut-legend h1 {
            font-size: 15px;
            font-weight: bold;
            padding: 2px 0 2px 0;
            margin: 0;
        }

    .dough-inner {
        margin: -34px 0 0 0;
        width: 60px;
    }

        .dough-inner h1 {
            font-size: 9px;
        }

    input.precinct {
    }
    .county-head {
        display: block;
    }
    .county-identifier {
        padding: 3px 0 3px 0;
        margin: 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: -39px 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%;
        display: flex;
        flex-direction: row;
    }

    .county-list, .media-list {
        padding: 0 5px 0 5px;
    }

    .county-export-listitem {
        /*width: 40%;*/
        margin: 0 5% 0 5%;
    }

    /*.statewide-export-listitem:hover {
        background: #36ABC0;
    }*/

        .statewide-export-listitem:hover a {
            color: #000;
        }

    /*.county-export-listitem:hover {
        background: #36ABC0;
    }*/

        .county-export-listitem:hover a {
            color: #000;
        }   
#pnlResultsHeader, #pnlRecount {
    margin: 10px 10px 0;
}

    .footer {
        display: none;
    }
    .disclaimer {
        width: calc(100% - 30px);
        padding: 5px 15px;
        font-size: 14px;
    }
    .provisional-results-box-header {
        width: calc(100% - 92px); /*padding + chart width*/
        padding: 16px 0 8px 16px;
        float: left;
    }
    .provisional-results-box-header h1 {
        font-size: 18px;
        height: auto;
    }
    .provisional-chart-wrapper {
        height: 60px;
        width: 60px;
        float: right;
        margin: 14px 16px 0 0;
    }
    .provisional-chart-wrapper-mobile {
        margin-bottom: 16px;
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .sw-dough-inner {
        width: 60px;
        margin: -41px 0 0 0;
    }
    .int {
        font-size: 13px;
    }
    .sw-dough-inner .dec {
        font-size: 10px;
    }
    .provisional-results-b {
        float: left;
        height: auto;
        padding: 0 0 8px 16px;
    }
    .provisional-ballots {
        font-size: 15px;
    }
    .provisional-precinct-header {
        height: 42px;
        font-size: 13px;
    }
    .provisional-party-header {
        width: calc(100% - 192px);
        padding: 0 0 0 8px;
    }
    /*.provisional-party-header span {
        display: block;
    }*/
    .county-precinct {
        width: calc(100% - 192px);
        padding: 0 0 0 8px;
    }
    .county-cast {
        width: 85px;
    }
    .county-counted {
        padding: 0 8px 0 16px;
        width: 75px;
    }
    .provisional-totals-wrapper {
        font-size: 13px;
    }
    .provisional-totals {
        padding: 0 0 0 8px;
        width: calc(100% - 192px);
    }
    .odd, .even {
        font-size: 13px;
        height: auto;
        align-items: center;
    }
    .odd .county-precinct, .even .county-precinct {
        font-size: 11px;
        width: calc(100% - 160px);
    }
    .prov-rows .odd .county-cast, .prov-rows .even .county-cast {
        font-size: 11px;
        width: 53px;
    }
    .prov-rows .odd .county-counted, .prov-rows .even .county-counted {
        font-size: 11px;
    }
    .provisional-results-county {
        height: auto;
        width: calc(100% - 32px);
        padding: 16px 0 3px 0;
        margin: 0 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        border-bottom: 1px solid lightgray;
    }
    .provisional-results-county h1 {
        padding: 0;
        font-size: 18px;
        width: calc(100% - 130px);
        height: 36px;
    }
    .provisional-results-county a, .turnout-results-box-a a {
        padding: 0;
        font-size: 14px;
        width: 84px;
    }
    .provisional-results-a {
        height: auto;
        width: calc(100% - 32px);
        margin: 0 16px 16px;
        padding: 16px 0;
        border-bottom: 1px solid lightgray;
    }
    .provisional-button-wrapper {
        width: 100%;
        height: 35px;
        padding: 0;
        align-items: flex-start;
        justify-content: space-between;
    }
    input.provisional-precinct {
        position: unset;
        width: 60%;
        margin: 0;
        /*max-width: 180px;*/
    }
    .prov-export {
        top: -20px;
        left: 80px;
    }
    .odd:last-child, .even:last-child {
        padding-bottom: 16px;
    }
    .prov-export-container {
        right: 0px;
        min-width: 100px;
    }
    .search-container {
        width: 875px;
    }
    .textboxSmallTransparent {
        width: calc(100% - 100px);
    }
    .turnout-disclaimer {
        width: auto;
    }
}
@media only screen and (max-width: 768px) {
    .search-container {
        width: 763px;
    }
}
/*End of Mobile Styles*/
@media only screen and (max-width: 600px) {
    /*.county-reporting-leftcol {
        max-width: 500px;
    }*/
    .county-reporting-col1 {
        width: 65%;
    }
    .search-container {
        width: 595px;
    }
}
@media only screen and (max-width: 425px) {
    /*.county-reporting-leftcol {
        max-width: 325px;
    }*/
    .county-reporting-col1 {
        width: 50%;
    }
    input.voter-turnout, input.precincts-reporting {
        font-size: 3vw;
    }

    input.button-maps {
        width: 43%;
    }
    input.provisional-precinct {
        width: 60%;
    }
    .search-container {
        width: 420px;
    }
}
@media only screen and (max-width: 375px) {
    .contact-phone-number {
        white-space: nowrap;
        font-size: 4vw;
    }
    .county-reporting-leftcol {
        max-width: none;
    }
    .county-reporting-rightcol {
        width: 100%;
    }
    .search-container {
        width: 370px;
    }
}
@media only screen and (max-width: 320px) {
    .county-export-list {
        flex-direction: column;
    }
    .search-container {
        width: 315px;
    }
}
