﻿html, body, div {
    float: none !important;
    font-size: 11px;
}

#print, .print {
    display: block;
}

.noprint {
    display: none;
}

p, div {
    margin: 0;
    margin-bottom: 2px;
}

.screen {
    display: none;
}


.print-county {
    border: 1px solid #000;
    padding: 20px;
}

    .print-county .name {
        font-size: 20px;
        font-weight: 600;
    }

.print-ballot {
    /*
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    padding: 20px;
        */
}

.print-ballot {
}


.page-break {
    -webkit-region-break-inside: avoid;
    page-break-after: always;
    position: relative;
}


.race {
    border: 1px solid #000;
    padding: 7px;
    width: 31%;
    display: inline-table;
    margin: 0px 10px 10px 0px;
    min-height: 500px;
}

    .race .name {
        font-size: 12px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .race tr.candidate td {
        padding: 5px;
        border: none;
        margin-bottom: 3px;
        vertical-align: top;
    }

    .race tr.candidate .candidate-name {
        margin-top: 7px;
    }

    .race .candidate .selection {
        margin-right: 20px;
    }


div.ballotInfo {
    position: fixed;
    bottom: 0;
}



#envelope {
    top: 430px;
    left: -200px;
    position: relative;
    page-break-before: always;
     -webkit-region-break-inside: avoid;
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
 
}

    #envelope #container {
        position: relative;
        width: 850px;
        height: 100%;
    }

        #envelope #container #address {
            position: absolute;
            top: 250px;
            left: 200px;
            z-index: 100;
        }

        #envelope #container img {
            position: absolute;
            z-index: 50;
        }

div.candidate-photo img {
    width: 150px;
    margin: 0px 20px 20px 0px;
}

div.print-col {
    border: 1px solid #000;
    padding: 10px;
    width: 45%;
    display: inline-table;
    margin: 0px 10px 10px 0px;
}

.no-table-break table {
    -webkit-region-break-inside: avoid;
    position: relative;
}


td.party-declaration {
    padding: 10px;
    font-size: 11px !important;
}

td.signature {
    font-size: 11px !important;
    padding: 10px 10px 10px 0px;
}


.stamp {
    float: right !important;
    height: 20px;
}

td.giving-info {
    font-size: 11px !important;
    width: 45%;
    vertical-align: top;
}