﻿/* *********************************** */
/* ***** Election Night Returns ****** */
/* *********************************** */


#outerwrapper
{
    margin: 0 auto 0 auto;
    width: 80%;
}


/*** Menus ***/

.resultScopeTabMenu a
{
    text-decoration: none;
    color: #fff;
    padding: 8px 14px;
    background: #124b91;
    display: inline-block;
    border-radius: 2px;
}


.stdLinkButton{
    text-decoration: none;
    color: #fff;
    padding: 8px 25px;
    background-color: #124b91;
    display: inline-block;
    border-radius: 2px;
}

.countyPickerListItem{
    display: inline-block;
    width: 24%;
    line-height: 50px;
}

/*{
    text-align: left;
    margin: 0px auto 0px auto;
    background: url(/electionnight/images/tabs/baseline.jpg) repeat-x left bottom;
  
    border: 0px;
   height: 30px;
   overflow: hidden;
   padding: 0px;
  
} 

.resultScopeTabMenu table 
{
    border-collapse: collapse;
    padding: 0px;
    margin: 0px;
    height: 30px;
}

.resultScopeTabMenu td
{
    border-collapse: collapse;
    padding: 0px;
    margin: 0px;
    height: 30px;
    border: 0px;
      
}

.resultScopeTabMenu .activeBody a
{
    color: white;
    font-weight: bold;
    display: inline-block;
    padding-bottom: 5px;
}

.resultScopeTabMenu .inactiveBody a
{
    color: blue;
    font-weight: bold;
    display: inline-block;
    padding-bottom: 5px;
}

.resultScopeTabMenu .leftEndActive
{
    width: 9px;
    background: url(/electionnight/images/tabs/leftEndBlue.jpg) no-repeat left bottom;
    height: 30px;

}

.resultScopeTabMenu .leftEndInactive
{
    width: 9px;
    background: url(/electionnight/images/tabs/leftEndSilver.jpg) no-repeat left bottom;
    height: 30px;
}

.resultScopeTabMenu .activeBody
{
    background: url(/electionnight/images/tabs/bodyBlue.jpg) repeat-x left bottom;
    text-align: left;
    height: 30px;
}

.resultScopeTabMenu .inactiveBody
{
    background: url(/electionnight/images/tabs/bodySilver.jpg) repeat-x left bottom;
    text-align: left;
    height: 30px;
}

.resultScopeTabMenu .rightEndActive
{
    width: 23px;
    background: url(/electionnight/images/tabs/rightEndBlue.jpg) no-repeat left bottom;
    height: 30px;
}

.resultScopeTabMenu .rightEndInactive
{
    width: 26px;
    background: url(/electionnight/images/tabs/rightEndSilver.jpg) no-repeat left bottom;
    height: 30px;
}

.resultScopeTabMenu .activeToInactiveSeparator
{
    width: 23px;
    background: url(/electionnight/images/tabs/blueToSilver.jpg) no-repeat left bottom;
    height: 30px;
}

.resultScopeTabMenu .inactiveToActiveSeparator
{
    width: 22px;
    background: url(/electionNight/images/tabs/silverToBlue.jpg) no-repeat left bottom;
    height: 30px;
}

.resultScopeTabMenu .inactiveToInactiveSeparator
{
    width: 23px;
    background: url(/electionNight/images/tabs/silverToSilver.jpg) no-repeat left bottom;
    height: 30px;
}

*/

/*** Results Display ***/

/* Statistics Block*/

.generalStatisticsBlock{
    padding: 7px;
    background-color: #e8e8e8;
}

.electionTitle{
    
    text-transform: uppercase;
}

.electionScope{
    text-transform: uppercase;
}

.enrStatsItem{
    padding: 0px 30px 10px 0px;
    display: inline-block;
}


/*.generalStatisticsBlock {
    background-color: silver;
    margin: auto auto;
    text-align: left;
    padding: 5px;
    border: 1px solid gray;
    -webkit-border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
}

.generalStatisticsTable{
    padding: 0px 0px 0px 0px;
    width: 100%;
          
}


.generalStatisticsTable td
{
    vertical-align: top;
    padding: 0px 7px 7px 7px;
  
}

#statNumbersCol1{
    width: 50%;
}

#statNumbersCol2{
    width: 50%;
}*/

.countyTitle
{
    font-size: 16pt;
    font-weight: bold;
    font-family: Arial,Helvetica,Verdana;
    color: #343434;
    width: 100%;
    
}

.electionTitle{
    font-size: 12pt;
    font-weight: bold;
    font-family: Arial, Helvetica, Verdana;
    color: #343434;
   /* border-bottom: 1px solid #555555; */
    padding-bottom: 2px;
    width: 100%;
    margin: 2px 2px 2px 0px;
}

.lastUpdated{
    font-size: 10pt;
    font-family: Arial,Helvetica,Verdana;
}

.jopCreditBlock{
    /*margin-top: 5px; */
    text-align: left;
    font-size: 12pt;
    /* color: #343434; */ 
    /* color: maroon; */
    margin-bottom: 10px;
    background-color: #eeeeee;
    border: 1px solid #888888;
    /*padding: 5px; */
    padding: 5px 10px 5px 10px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

#disclaimerBlock{
    color: #343434;
    /* border-top: 1px dashed #454545; */
    padding-top: 3px;
}

#resultsBlock{
    width: 100%;
    padding: 0px;
    margin: 0px;
}


/* Contest List */
.contestWrapper{
    width: 100%;
    padding: 0px;
    margin: 0px;
    border-collapse: collapse;
}

.contestWrapper > tbody > tr > td{
    padding: 0px 0px 7px 0px;
    background-color: white;
    border-collapse: collapse;
}

.contestTable
{
    width: 100%;
    border-spacing: 0px;
    border-collapse: collapse;
    margin: 0 auto 0 auto;
    padding: 0px;    
} 

.contestTable > tbody > tr > td {
    width: 100%;
    border-spacing: 0px;
    border-collapse: collapse;
    margin: 0px;
    border: 0px;
}

.enrContestHeader {
    /* background-color: maroon; */
    /*background-color: #ff554c; */
    /*background-color: #eb4038; */
    background-color: #c5342e;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Candidate List*/

.candidatesWrapper{
    width: 100%;
    border-collapse: collapse;
    margin: 0px;
    padding: 0px;
}

/*.candidatesWrapper > tbody > tr > td{
    padding: 0px;
    background-color: transparent;
}

.candidatesWrapper > tbody > tr > td > table{
    background-color: transparent;
} */

.enrCandidatesHeader{
    font-weight: bold;
    padding: 0px;
}

/*.candidatesWrapper > tbody > tr:nth-child(even) > td{
    background-color: red;
}

.candidatesWrapper > tbody > tr:nth-child(odd) > td{
    background-color: green;
} */

.enrCandidateListItemRow{
    padding: 0px;
    margin: 0px;
 
}

.enrAltCandidateListItemCol{
    padding: 10px 0px 10px 0px;
    margin: 0px;
    background-color: #e8e8e8;
}

.enrCandidateListItemCol{
    padding: 10px 0px 10px 0px;
    margin: 0px;
    background-color: #eeeeee;
}

 .enrCandNameCol{
        width: 35%;
    }

 .enrCandGraphCol{
     width: 45%;
 }

 .enrCandVotePerCol{
    width: 10%;
 }

 .enrCandVoteNumCol{
    width: 10%;
 }

 /*********************************************************/
 /* On Candidate Rows that are delegate categories,       */
 /* we are bolding the candidate name and hiding the rest */
 /*********************************************************/

 .dlgtCategory .enrCandNameCol{
     font-weight: bold;

 }

 .dlgtCategory .enrCandGraphCol div{
     visibility: hidden;
 }

 .dlgtCategory .enrCandVotePerCol div{
     visibility: hidden;
 }

 .dlgtCategory .enrCandVoteNumCol div{
     visibility: hidden;
 }

 /*  End Delegate Row Fix*/

/* Pager Block */
.enrPagerBlock{
    width: 100%; 
    border-collapse: collapse;
    margin: 0px;
}

/*
.enrCandidatesTable {
    width : 100%;
    border-spacing: 0px;
    border-collapse: collapse;
    padding: 0px;
    margin: 0px;
 }

.enrCandidatesHeader
{
    vertical-align: bottom;
    background-color: white;
    border-collapse: collapse;
    border-spacing: 0px;
    padding: 5px 5px 0px 5px;
    margin: 0px;
}

.enrCandidateListItemCol {
    border-top: 1px solid #aaaaaa;
    background-color: #ededed;
    padding: 3px;
}

.enrAltCandidateListItemCol{
    border-top: 1px solid #aaaaaa;
    background-color: #dadada;
    padding: 3px;
    }
*/
.enrCandidatesFooter{
    /* border-top: 1px solid #aaaaaa; */
    padding: 0px;
    display: inline-block;
    /*background-color: transparent;*/
}

.numberValue{
    text-align: right;
    width: 100%;
}



/* Contest List */

/*
.contestWrapper{
    width: 100%;
}

.contestTable
{
    width: 100%;
    border: 1px solid #000000;
    border-spacing: 0px;
    border-collapse: collapse;
    margin: 0 auto 0 auto;
}

.contestTable.td {
    border-spacing: 0px;
    border-collapse: collapse;
    margin: 0px;
    border: 0px;
}

.enrContestHeader
{
    width: 100%;
    background-color: maroon;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}
*/


/* Candidate List*/

/*
.enrCandidatesTable {
    width : 100%;
    border-spacing: 0px;
    border-collapse: collapse;
    padding: 0px;
    margin: 0px;
 }

.enrCandidatesHeader
{
    vertical-align: bottom;
    background-color: white;
    border-collapse: collapse;
    border-spacing: 0px;
    padding: 5px 5px 0px 5px;
    margin: 0px;
}

.enrCandidateListItemCol {
    border-top: 1px solid #aaaaaa;
    background-color: #ededed;
    padding: 3px;
}

.enrAltCandidateListItemCol{
    border-top: 1px solid #aaaaaa;
    background-color: #dadada;
    padding: 3px;
    }

.enrCandidatesFooter{
    background-color: white;
    border-top: 1px solid #aaaaaa;
    padding: 3px;
}

.numberValue{
    text-align: right;
    width: 100%;
}
*/


/*****     Media Queries     *****/
@media screen and (max-width: 1000px) {
   #outerwrapper{
       width: 100%;
   }
    
     .hideOnMobile{
        display: none;
    }

    .enrCandNameCol{
        width: 40%;
    }

    .enrCandVotePerCol{
        width: 30%;
    }

    .enrCandVoteNumCol{
        width: 30%;
    }
}

@media screen and (max-width: 500px) {
        
    .resultScopeTabMenu a {
        text-decoration: none;
        text-align: center;
        color: #fff;
        padding: 8px 14px;
        margin-bottom: 5px;
        background: #124b91;
        display: block;
        border-radius: 2px;
        width: 100%;     
    }

    .countyPickerListItem{
        width: 49%;
    }
}