/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

    audio:not([controls]) {
        display: none;
    }

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
    font-family: sans-serif;
    color: #222;
}

body {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #B3D4FC;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #B3D4FC;
    color: #fff;
    text-shadow: none;
}

a {
    color: #00e;
}

    a:visited {
        color: #551a8b;
    }

    a:hover {
        color: #06e;
    }

    a:focus {
        outline: thin dotted;
    }

    a:hover, a:active {
        outline: 0;
    }

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

dfn {
    font-style: italic;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

ins {
    background: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background: #ff0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

pre, code, kbd, samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

    q:before, q:after {
        content: "";
        content: none;
    }

small {
    font-size: 85%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

ul, ol {
    margin: 1em 0;
    padding: 0 0 0 40px;
}

dd {
    margin: 0 0 0 40px;
}

nav ul, nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

nav a, a:visited {
    text-decoration: none;
}

    nav a:hover {
        text-decoration: underline;
        color: black;
    }

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

/*svg:not(:root) { overflow: hidden; }*/

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

label {
    cursor: pointer;
}

legend {
    border: 0;
    *margin-left: -7px;
    padding: 0;
    white-space: normal;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button, input {
    line-height: normal;
}

    button, input[type="button"], input[type="reset"], input[type="submit"] {
        cursor: pointer;
        -webkit-appearance: button;
        *overflow: visible;
    }

        button[disabled], input[disabled] {
            cursor: default;
        }

    input[type="checkbox"], input[type="radio"] {
        box-sizing: border-box;
        padding: 0;
        *width: 13px;
        *height: 13px;
    }

    input[type="search"] {
        -webkit-appearance: textfield;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }

        input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

    button::-moz-focus-inner, input::-moz-focus-inner {
        border: 0;
        padding: 0;
    }

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

    input:valid, textarea:valid {
    }

    input:invalid, textarea:invalid {
        background-color: #f0dddd;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: black;
    padding: 0.2em 0;
}



/* ===== Primary Styles ========================================================
   Author: RockSolid
   ========================================================================== */

body {
    min-width: 800px;
    font-size: 16px;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

header {
    background-image: url("../SubEventFiles/subeventbanner.jpg");
    background-repeat: no-repeat;
    background-color: #fff;
    height: 117px;
    min-width: 800px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.links {
    border-top: 1px solid #9B9B9B;
    border-bottom: 1px solid #9B9B9B;
    text-align: right;
    background-color: #FF3;
    padding-right: 10px;
    min-width: 800px;
    width: 100%;
    position: fixed;
    top: 117px;
    right: 0;
    z-index: 100;
}

    .links ul li {
        display: inline-block;
    }

#lang-picker {
    position: relative;
}

    #lang-picker ul {
        display: none;
    }

    #lang-picker:hover ul {
        border: 1px solid #9B9B9B;
        border-top: 0;
        text-align: center;
        position: absolute;
        top: 22px;
        background: #FF3;
        height: 50px;
    }

a, a:visited {
    color: black;
    text-decoration: underline;
    /*
  color: #404040;
  text-decoration: none;
  */
}

    a:hover {
        color: #404040;
        text-decoration: none;
        /*
  color: black;
  text-decoration: underline;
  */
    }

#lang-picker:hover ul.es {
    width: 73px;
    left: -10px;
}

#lang-picker:hover ul.en {
    width: 100%;
}

#lang-picker:hover a {
    text-decoration: underline;
}

#lang-picker:hover ul a {
    text-decoration: none;
}

    #lang-picker:hover ul a:hover {
        text-decoration: underline;
    }

#lang-picker ul li {
    display: block;
    margin-top: 2px;
}

#lang-picker:hover ul,
#lang-picker ul:hover {
    display: block;
}

#container {
    margin-top: 141px;
}

.sidebar {
    background-color: #E4E4E4;
    width: 246px;
    position: fixed;
    top: 141px;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
    -moz-box-shadow: 0 0 5px 2px #CCC;
    -webkit-box-shadow: 0 0 5px 2px #CCC;
    box-shadow: 0 0 5px 2px #CCC;
}



    .sidebar ul {
        list-style: none;
        padding: 10px 0;
        margin: 0;
    }

        .sidebar ul li {
            cursor: pointer;
            padding: 5px 10px;
        }

        .sidebar ul span {
            width: 100%;
            display: block;
            padding: 0 2px;
        }

            .sidebar ul li:hover span,
            .sidebar ul span:hover {
                background-color: #3A3A3A;
                color: #fff;
            }

        .sidebar ul ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .sidebar ul ul li {
                text-decoration: none;
            }

    .sidebar a {
        display: block;
        width: 100%;
    }

    .sidebar a, a:visited {
        color: #404040;
        text-decoration: none;
    }

        .sidebar a:hover {
            color: black;
            text-decoration: underline;
        }



.content {
    position: relative;
    background-color: #fff;
    min-width: 550px;
    padding: 0 10px;
    text-align: center;
    margin-left: 270px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

    .content .date {
        text-align: right;
    }

    .content table {
        margin: 0 auto;
    }

h1,
h2 {
    margin: 10px 0;
}

h2 {
    font-size: 1.3em;
}

.default .options {
    text-align: left;
    width: 500px;
    vertical-align: middle;
    margin-bottom: 40px;
}

    .default .options td {
        text-align: left;
        padding: 4px;
        vertical-align: middle;
    }

    .default .options .name {
        text-align: left;
        border-top: 2px solid #EEE;
    }

    .default .options .total,
    .pic-list .options .total {
        background-color: #EEE;
        font-weight: 800;
        text-align: center;
    }

.default .table1 .qty,
.default .table2 .qty,
.default .table3 .qty,
.pic-list .table1 .qty,
.pic-bar-list .table1 .qty,
.pic-bar-list .table2 .qty,
.pic-bar-list .table3 .qty,
.pic-list .table1 .qty,
.pic-list .table2 .qty,
.table .stats .qty,
.table-senatorial-district .stats .qty {
    text-align: right;
}

.default .votes {
    width: 500px;
    margin-bottom: 20px;
}

    .default .votes th,
    .default .table1 th,
    .default .table2 th,
    .pic-bar-list .table1 th,
    .pic-bar-list .table2 th {
        background-color: #666;
        color: #fff;
        line-height: 21px;
    }

.default .stats,
.pic-bar-list .stats,
.pic-list .stats {
    margin: 20px auto;
    width: 550px;
}

.default .table1,
.default .table2,
.pic-bar-list .table1,
.pic-bar-list .table2,
.pic-list .table1,
.pic-list .table2 {
    vertical-align: top;
    display: inline-table;
    font-size: 0.75em;
}

.default .table1,
.pic-bar-list .table1,
.table-senatorial-district .table1,
.pic-list .table1 {
    width: 30%;
    margin-right: 10px;
}

.default .table2,
.pic-bar-list .table2,
.table-senatorial-district .table2,
.pic-list .table2 {
    width: 60%;
}

.default section,
.pic-bar-list section {
    margin: 20px auto;
}

.default-list table {
    width: 550px;
    margin: 20px auto;
    text-align: left;
    font-size: 0.9em;
}

.default-list a,
.default-list a:visited {
    color: #CCC;
    text-decoration: none;
}

    .default-list a:hover {
        color: #fff;
        text-decoration: underline;
    }

.default-list th,
.default-list td {
    padding: 4px;
    text-align: left;
}

.default-list th {
    font-size: 11px;
    background-color: #666;
    color: #fff;
}

.default-list .votes {
    text-align: right;
}

.default-list .total {
    border-top: 2px solid #AAA;
    font-weight: 800;
}

.pic-bar-list .options {
    width: 550px;
    margin: 20px auto;
    text-align: left;
    font-size: 0.75em;
    font-weight: 800;
}

    .pic-bar-list .options th {
        background-color: #666;
        color: #fff;
    }

    .pic-bar-list .options td {
        padding: 4px;
        vertical-align: middle;
    }

.pic-bar-list th,
.pic-bar-list td {
    text-align: left;
}

.pic-bar-list .votes {
    text-align: center;
}

.pic-bar-list .stats th,
.pic-bar-list .stats td {
    text-align: left;
}

.main-list table {
    width: 300px;
    margin: 20px auto;
    text-align: center;
    font-size: 0.9em;
}

.main-list th,
.main-list td {
    padding: 4px;
}

.main-list th {
    background-color: #666;
    color: #fff;
}

.index-list table {
    width: 450px;
    margin: 20px auto;
    text-align: center;
    font-size: 0.9em;
}

.index-list th,
.index-list td {
    padding: 4px;
}

.index-list th {
    background-color: #666;
    color: #fff;
}

/*.pic-list .table1 {
    vertical-align: top;
    font-size: 0.75em;
    width: 20%;
}*/

    .pic-list .table1 th,
    .pic-list .table3 th {
        text-align: center;
    }


    .default .table1 td,
    .default .table2 td,
    .default .table3 td,
    .pic-list .table1 td,
    .pic-list .table2 td,
    .pic-list .table3 td,
    .table .stats td,
    .table-senatorial-district .stats td {
        text-align: left;
    }

.pic-list .table3 {
    vertical-align: top;
    font-size: 0.7em;
    width: 20%;
    margin: 20px auto;
}

.pic-list th {
    background-color: #666;
    color: #fff;
}

.pic-list .options {
    width: 600px;
    margin: 20px auto;
    text-align: left;
    font-size: 0.75em;
    font-weight: 800;
}

    .pic-list .options th {
        background-color: #666;
        color: #fff;
    }

    .pic-list .options td {
        padding: 4px;
        vertical-align: middle;
    }

.pic-list th {
    text-align: center;
}

.pic-list td {
    text-align: left;
}

.pic-list .votes {
    text-align: center;
}

.pic-list section {
    text-align: center;
    margin: 20px auto;
}

.tabular-report .wrap {
    width: 700px;
    margin: 0 auto;
}

.tabular-report h3,
.tabular-report h4 {
    text-align: left;
}

.tabular-report h3 {
    border-bottom: 2px solid #999;
}

.tabular-report .table {
    border-collapse: collapse;
    font-size: 0.85em;
    width: 600px;
    margin: 20px auto;
}

    .tabular-report .table tr,
    .tabular-report .table td,
    .tabular-report .columns tr,
    .tabular-report .columns td {
        border: 1px solid #C9C9C9;
    }

    .tabular-report .table td {
        padding: 4px;
    }

    .tabular-report .columns td {
        padding: 2px;
    }

.tabular-report .columns {
    display: inline-block;
    vertical-align: top;
    margin: 0 1px;
    font-size: 0.9em;
}



.tabular-report .votes {
    width: 500px;
    margin: 30px auto;
}

    .tabular-report .votes th {
        background-color: #666;
        color: #fff;
        line-height: 21px;
    }

.tabular-report .ballot-votes {
    margin: 40px auto;
}

    .tabular-report .ballot-votes tr,
    .tabular-report .ballot-votes td {
        text-align: left;
        padding: 0 6px;
    }

    .tabular-report .ballot-votes td {
        padding-left: 5px;
        padding-right: 5px;
    }

    .tabular-report .ballot-votes .td-votes {
        text-align: center;
    }


.tabular-report .special-votes {
    border-top: 2px solid #999;
    margin: 20px auto;
}

    .tabular-report .special-votes tr,
    .tabular-report .special-votes td {
        text-align: left;
    }

    .tabular-report .special-votes td {
        padding-left: 5px;
        padding-right: 5px;
    }

    .tabular-report .special-votes .td-votes {
        text-align: center;
    }

.table .results {
    width: 800px;
    font-size: 0.75em;
}

    .table .results td {
        text-align: center;
        width: 10%;
    }

    .table .results .logos td {
        vertical-align: middle;
    }

    .table .results .names td {
        vertical-align: middle;
    }

    .table .results .total {
        font-weight: 800;
    }

.table .table1 th,
.table .table2 th {
    background-color: #666;
    color: #fff;
    line-height: 21px;
}

.table .stats {
    margin: 20px auto;
    width: 800px;
}

.table .table1,
.table .table2 {
    vertical-align: top;
    display: inline-block;
    font-size: 0.75em;
}

.table .table1 {
    margin-right: 10px;
}

.table section {
    margin: 20px auto;
}

.table-senatorial-district .results {
    width: 800px;
    font-size: 0.75em;
}

    .table-senatorial-district .results td {
        text-align: center;
        width: 6%;
        padding: 0 6px 0 6px;
    }

    .table-senatorial-district .results .logos td {
        vertical-align: middle;
        text-align: left;
    }

    .table-senatorial-district .results .logos {
        vertical-align: middle;
        text-align: left;
    }

    .table-senatorial-district .results .logos-mod {
        width: 40px;
        height: 42px;
        padding: 2px 0 2px 0;
    }

    .table-senatorial-district .results .names td {
        vertical-align: middle;
    }

    .table-senatorial-district .results .names {
        vertical-align: middle;
        text-align: left;
    }

    .table-senatorial-district .results .peini {
        vertical-align: middle;
    }

    .table-senatorial-district .results .values {
        vertical-align: middle;
    }

    .table-senatorial-district .results .nivel {
        vertical-align: middle;
        font-weight: 800;
    }

    .table-senatorial-district .results .total {
        font-weight: 800;
        vertical-align: middle;
    }



.table-senatorial-district .table1 th,
.table-senatorial-district .table2 th {
    background-color: #666;
    color: #fff;
    line-height: 21px;
}

.table-senatorial-district .stats {
    margin: 20px auto;
    width: 800px;
}

.table-senatorial-district .table1,
.table-senatorial-district .table2 {
    vertical-align: top;
    display: inline-table;
    font-size: 0.75em;
}

.table-senatorial-district .table1 {
    margin-right: 10px;
}

.table-senatorial-district section {
    margin: 20px auto;
}

.mapdetail {
    background-color: white;
    width: 525px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
}

    .mapdetail table {
        width: 525px;
    }

.mapinfo {
    width: 550px;
    margin: 20px auto;
}

.mapinfotable {
    width: 99%;
}

    .mapinfotable th {
        background-color: #666;
        font-size: small;
        font-weight: bold;
        color: #fff;
    }

.mapstats {
    width: 150px;
    float: left;
}

.maplegend {
    width: 400px;
    float: right;
}

.maplegendtext {
    text-align: left;
    font-size: small;
}

.reportOption {
    width: 400px;
}

.defaultNote {
    font-size: small;
    font-style: italic;
}

.party-vote table {
    width: 650px;
}

.error {
    width: 380px;
    padding: 30px 20px 50px;
    border: 1px solid #b3b3b3;
    border-radius: 4px;
    margin: 20px auto;
    box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
    background: #fcfcfc;
    overflow: auto;
}

    .error h1 {
        color: gray;
    }

.politicalEntityImage {
    width: 60px;
    height: 60px;
}

.votingOptionImage {
    width: 60px;
    height: 60px;
}

.textWithShadow {
    text-shadow: 1px 1px 10px black;
    filter: Shadow(Color=#000000, Direction=125, Strength=2)
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir {
    display: block;
    border: 0;
    text-indent: -999em;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
    *line-height: 0;
}

    .ir br {
        display: none;
    }

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* =============================================================================
   Print Styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }
    /* Black prints faster: h5bp.com/s */
    a, a:visited {
        text-decoration: underline;
    }

        a[href]:after {
            content: " (" attr(href) ")";
        }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }
    /* Don't show links for images, or javascript/internal links */
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }
    /* h5bp.com/t */
    tr, img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }

    nav {
        display: none;
    }

    #container {
        margin-top: 0;
    }

    .content {
        margin-left: 0;
    }
}
