

.content article 
{
    margin: 0 !important;
}

.content 
{
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
}


.breadcrumb 
{
    padding-left: 0 !important;
}


.results-page-header 
{
    text-align: center;

    /* curb excessive whitespace from page template */
    margin-top: 0;
    padding-top: 0;
}



.map-and-results-container 
{
}

#map 
{
    display: inline-block;
    width: 59%;
    height: 500px;
}

.results-container 
{
    display: inline-block;
    width: 39%;
    min-height: 500px;
    vertical-align: top;
    padding-left: 0.5em;
}



#contest 
{
  width: 100%;
  margin-bottom: 15px;
}


.candidates-table-container 
{
    min-height: 247px; /* TODO: make statistics and buttons stick to bottom of results-container instead of this hack */
}

.candidates-table 
{
    margin-bottom: 0 !important;
}

.candidates-name-header-cell 
{
    text-align: left;
    font-weight: bold;
    vertical-align: bottom;
}

.candidates-total-header-cell {
    padding-right: 4px;
    text-align: right;
    font-weight: bold;
    vertical-align: bottom;
}

.candidates-table tr:nth-child(even) 
{
  background-color: #f0f3f6;
}

.candidate-name-cell 
{
    text-align: left;
}

.candidate-percent-cell 
{
    text-align: right;
}

.candidate-total-cell {
    width: 62px;
    text-align: right;
    padding-right: 4px;  
}

.candidate-color-cell {
    width: 22px;
    padding-left: 4px;
    text-align: left;

    vertical-align: middle;
    line-height: 0 !important; /* required for vertical-align */
}

.candidate-color-cell span {
  display: inline-block;
  width: 12px;
  height: 12px;
}



.statistics-table {
    margin-bottom: 30px !important;
}

#statistics-header-label-cell {
    text-align: left;
    font-weight: bold;
}

#statistics-header-value-cell {
    text-align: right;
    font-weight: bold;
    padding-right: 4px;
}

.statistics-table tr:nth-child(even) {
  background-color: #f0f3f6;
}

.statistics-label-cell {
    text-align: left;
    padding-left: 4px;
}

.statistics-value-cell {
    text-align: right;
    padding-right: 4px;
}



#results-updated-cell {
    font-style: italic;
}


.button-container {
    display: inline-block;
    width: 49%;
    text-align: center;
}

.button-container button {
    width: 100%;
    font-weight: bold;
}


.district-precinct-button-container {
    padding-right: 0.25em;
}


.refresh-button-container {
    padding-left: 0.25em;
}


#district-precinct-button {
    background-color: #2acd1f;
}


#refresh-button {
    background-color: #00a2e8;
}



