html, body {
    background: #ffffff;
    font-family: Raleway;
    font-size: 16px;
    font-color: #121212;
    line-height: 1.6em;
    text-align: center;
}

h1 {
    margin: 20px 0px;
    text-align: center; 
    font-size: 50px;
    line-height: 50px;
    font-family: 'Open Sans';
    letter-spacing: -0.03em;
    font-weight: 600;
}

a {
    color:#0c556d;
}

a:hover{
    color:#33ccff;
    text-decoration:underline;
}

h1 a {
    text-decoration:none;
    color:#121212;
}

h1 a:hover {
    text-decoration:none;
    color:#0c556d;
}

h2 { 
    text-align: left; 
    font-size: 30px;
    font-family: 'Open Sans';
    letter-spacing: -0.03em;
    font-weight: 600;
    padding-left: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 { 
    text-align: left; 
    font-size: 24px;
    line-height: 1.2em;
    font-family: 'Open Sans';
    letter-spacing: -0.03em;
    font-weight: 600;
    padding-left: 10px;
    margin: 10px 0px;
}

select {
    font-family: Raleway;
    font-size: 16px;
    font-color: #121212;
    line-height: 1.6em;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
}

table tr th {
    border-bottom: 1px #121212 solid;
    font-weight: 700;
    font-family: Raleway;
}

table tr td {
    border-bottom: 1px #cdcdcd solid;
    font-weight: 400;
}

table tr th.left,td.left {
    text-align: left;
}

table tr th.right,td.right {
    text-align: right;
}

table tr td.left {
    font-family: Raleway;
}

table tr td.right {
    font-family: 'Ubuntu Mono', monospace;
}

.container {
    margin: 0 5%;
    text-align: center;
    display: grid;    
    grid-template-columns: repeat(9, 1fr);
    grid-gap: 5px;
    grid-template-areas:
        "h h h h h h h h h"
        "c c c c c c c c c"
        "r r r g g g a a a"
        "e e e d d d n n n"
        "f f f f f f f f f";
}

.header {
    grid-area: h;
}

.content {
    margin: 30px 0px 0px;
    padding: 0 10px;
    grid-area: c;
}

.content2 {
    margin-top: 30px;
    grid-area: c;
    text-align: left;
}

.content2 h3 {
    margin: 40px 0px 0px;
}

.content2 h3.center {
    margin: 40px 10px 0px;   
    text-align: center;
}

.content2 p {
    line-height: 1.6em;
}

.content2 p.center {
    margin: 20px 15px;
    text-align: center;
}

span.num {
    font-size: 19px;
    font-weight: 600;
}

#chartdiv {
    margin-top: 40px;
}

#race {
    grid-area: r;
    border-right: 1px #cdcdcd solid;
}

#gender {
    grid-area: g;
    border-right: 1px #cdcdcd solid;
}

#age {
    grid-area: a;
}

#race2 {
    grid-area: r;
}

#gender2 {
    grid-area: g;
}

#age2 {
    grid-area: a;
}

#early {
    grid-area: e;
    border-right: 1px #cdcdcd solid;
}

#dayof {
    grid-area: d;
    border-right: 1px #cdcdcd solid;
}

#novote {
    grid-area: n;
}

#earlyvoters {
    grid-area: e;
}

.threeup {
    margin-top: 40px;
}

p.txt {
    padding: 5px 10px;
    text-align: left;
    font-size: 16px;
}

.countylist {
    margin: 60px auto;
    width: 650px;
}

.desktop {
    display: inline;
}

.mobile {
    display: none;
}

.countylist table {
    margin: 10px auto;
}

.countylist table tr th,td {
    padding: 10px 0px;
}

.countylist table tr th.left {
    font-family: Raleway;
    font-weight: 700;
    font-size: 18px;
    text-align: left;
    width: 200px;
}

.countylist table tr th.right {
    font-family: Raleway;
    font-weight: 700;
    font-size: 18px;
    text-align: right;
    width: 90px;
}

.countylist table td.left {
    font-family: Raleway;
    font-size: 16px;
    text-align: left;
    width: 200px;
}

.countylist table td.right {
    font-family: 'Ubunto Mono', monospace;
    font-size: 16px;
    text-align: right;
    width: 90px;
}


.tabular {
    margin: 40px auto;
    max-width: 375px;
    min-width: 345px;
    text-align: left;
}

.tabular p.txt {
    padding: 5px 15px 2px;
}

.tabular table {
    width: 345px;
}

.tabular table tr th {
    padding: 5px 2px;
    font-size: 16px;
}

.tabular table tr th.left {
    width: 28%;
}

.tabular table tr th.right {
    width: 24%;
}

.tabular table tr th.right2 {
    width: 36%;
    text-align: right;
}

.tabular table tr.data td {
    padding: 15px 1px 4px;
    font-size: 16px;
    line-height: 16px;
    border: none;
}

.tabular table tr.perc {
    border-bottom: 1px #cdcdcd solid;
}

.tabular table tr.perc td {
    padding: 4px 1px 12px;
    font-family: 'Ubuntu Mono', monospace;
    text-align: right;
    font-size: 13px;
    line-height: 13px;
}

.tabular table tr.justdata{
    border-bottom: 1px #cdcdcd solid;
}

.tabular table tr.justdata td {
    padding: 15px 1px 12px;
    font-size: 16px;
    line-height: 16px;
}

.tabular table tr.justdata td.left {
    font-family: 'Raleway';
    text-align: left;
}

.tabular table tr.justdata td.right2 {
    font-family: 'Ubuntu Mono', monospace;
    text-align: right;
}
    


.row {
    padding: 0px 10px;
}

.third {
    position: relative;
    width: 31%;
    float: left;
    text-align: left;
}

.third p {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 18px;
    line-height: 24px;
    text-align: left;
}

.right p {
    text-align: right;
}

.type p {
    font-family: Raleway;
    font-size: 18px;
    line-height: 24px;
}

.third p.title {
    font-family: Raleway;
    font-weight: 700;
    margin: 15px 0px 10px;
}

.top {
    border-bottom: 1px #cdcdcd solid;
    font-family: Raleway;
}

.spacer {
    margin-top: 20px;
}

.footer {
    margin-top: 60px;
    padding-top: 10px;
    border-top: #898989 1px solid;
    height: 65px;
    grid-area: f;
}

@media screen and (max-width: 900px) {
    .third p {
        font-size: 16px;
        line-height: 22px;
    }
}

@media screen and (max-width: 750px) {
    html, body {
        font-size: 14px;
        line-height: 20px;
    }

    .container {
        margin: 0 3%;
        grid-template-areas:
            "h h h h h h h h h"
            "c c c c c c c c c"
            "r r r r r r r r r"
            "g g g g g g g g g"
            "a a a a a a a a a"
            "e e e e e e e e e"
            "d d d d d d d d d"
            "n n n n n n n n n"
            "f f f f f f f f f";
    }



    h1 {
        font-size: 34px;
    }

    #race {
        border-right: none;
    }

    #gender {
        border-right: none;
    }

    #early {
        border-right: none;
    }

    #dayof {
        border-right: none;
    }

    .third p {
        font-size: 16px;
    }

    .countylist {
        width: 485px;
    }

    .countylist table tr th.left {
        font-size: 16px;
        width: 110px;
    }

    .countylist table tr th.right {
        font-size: 16px;
        width: 75px;
    }

    .countylist table tr td.left {
        font-size: 14px;
        width: 110px;
    }

    .countylist table tr td.right {
        font-size: 14px;
        width: 75px;
    }
}

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

    h1 {
        margin: 10px 0px;
    }

    h2 {
        font-size: 24px;
        padding-left: 0px;
    }

    h3 {
        font-size: 20px;
        padding-left: 0px;
    }

    p {
        padding-left: 0px;
    }

    p.txt {
       padding: 5px 0px;
       font-size: 14px;
    }

    span.num {
        font-size: 16px;
    }

    .container {
        margin: 0;
    }

    .content {
        margin: 10px 0px 0px;
    }

    .content2 {
        margin: 10px 10px 0px;
    }

    .threeup {
        margin-top: 20px;
    }

    .tabular {
        margin-top: 20px;
    }

    .tabular p.txt {
       padding: 5px 0px 2px;
    }

    .tabular table {
        width:100%;
    }

    #age2,#gender2,#race2 .tabular table {
        width:100%;
    }

    .third p {
        font-size: 16px;
        line-height: 20px;
    }

    #race, #gender, #age, #early, #dayof, #novote {
        padding: 0px 10px;
    }

    .row {
        padding: 0px;
    }

    .countylist {
        width: 350px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: inline;
    }

    .countylist table tr th.left {
        font-size: 14px;
        min-width: 100px;
    }

    .countylist table tr th.right {
        font-size: 14px;
        min-width: 50px;
    }

    .countylist table tr td.left {
        font-size: 14px;
        min-width: 100px;
    }

    .countylist table tr td.right {
        font-size: 14px;
        min-width: 50px;
    }
}



