@media print {
  #mainContent ul.mailinbreakout {
    margin: 0;
    float: right;
    font-size: 0.85em;
    color: #444;
    line-height: 1em;
  }
  #mainContent ul.mailinbreakout li {
    list-style-type: none;
    text-align: right;
  }
}


#pageHeader { 
	background: #003051 url(../img/elections_background.gif) top right no-repeat;
}

#mainContent {background: #fff url(../img/background.gif) top right no-repeat;}


#control-panel { display: none; }

#mainContent div.navigation {
	margin-bottom: 1em;
	float: right; 
	width: 190px;
}

#mainContent div.raceResults {
	padding-bottom: 2em; 
}

/* IE 5.5/6 fix */
* html #mainContent .raceResults {
	width: 95%;
}

#mainContent div.navigation div.content {
	padding: 0.4em 1em; 
	background-color: #eee; 
  background: rgba(240,240,240,.9);
	margin: 0 0 1em 0; 
	border: 1px solid #ccc;
  -webkit-border-radius: .5em;
  -moz-border-radius: .5em;
  border-radius: .5em;
}

#mainContent h2 { 
	line-height: 1.3em; 
	padding-bottom: 0.7em;
	font-size: 1.3em;
	font-weight: bold;
}

#mainContent table.formbox tr th {
	padding: 1px;
	font-size: 0.8em;
	font-weight: normal;
}

#mainContent table.formbox {background-color: #fff;}

#mainContent div.results {
	margin-right: 190px; 
	padding: 0 1em 0 0;
}

#mainContent table {
  margin-top: 0.6em;
}

#mainContent .smalltext { 
	font-size: 0.8em; 
	color: #777;
}

#mainContent table.results tr th {
  font-size: 1em; 
  padding: .3em .2em;
}

#mainContent table.results tr td {

/*  Somehow this directive is enough to wreck the responsive tables...
padding: 0.2em;
*/
} 


#mainContent table.results tr th.candidate { }
#mainContent table.results tr th.votes { text-align: right; width: 20%; }
#mainContent table.results tr th.percent { text-align: right; width: 14%; }

#mainContent a.viewbutton {
  font-weight: normal;
  color: #333;
  background: #ddd;
  background: rgba(220,220,220,.8);
  -moz-border-radius: .4em;
  -webkit-border-radius: .4em;
  border-radius: .4em;
  text-decoration: none;
  padding: 0.4em;
  margin-bottom: 0.5em;
}

#mainContent a.viewbutton:hover {
  background: #aaa;
  background: rgba(0,0,0,.5);
  color: #fff;
}

#mainContent a.mailballots {
  float: right;
}

#mainContent .precinctsreporting {
  padding-bottom: 1em;
}

hr {
  margin: 1em 1em 2em 1em; height: 0.3em; background-color: #777; width: 80%; border-width: 0;
}

#mainContent .disclaimer {
  padding: 1em 0;
  font-size: 0.8em;
}

#byPrecinct {
  display: none;
  border: 1px solid rgba(150,150,150,.4);
  background: rgba(0,0,0,.1);
  padding: 0.3em;
  margin: 0.4em 0;
  -webkit-border-radius: .5em;
  -moz-border-radius: .5em;
  border-radius: .5em;
}

#byPrecinct ul {
  margin: 0;
  padding: 0 0 0 2em;
}


#mainContent ul li.reporting { 
  color: #555;
  margin: 0 0 0 1em;
}
  
#mainContent ul li.reporting a { 
	background: url(/election/results/img/check.gif) right no-repeat; 
	padding-right: 18px;
}

#mainContent .mailinbreakout {
  display: none;
}

#mainContent ul.mailinbreakout {
  margin: 0;
  float: right;
  font-size: 0.85em;
  color: #444;
  line-height: 1em;
  display: none;
}
#mainContent ul.mailinbreakout li {
  list-style-type: none;
  text-align: right;
}


#mainContent .navigation h3 { line-height: 1.4em; padding-top: 0; }
#mainContent .navigation div { line-height: 1.4em; }

#mainContent .navigation a { font-weight: normal; }


/* This could be done better. */

#mainContent .statewide .navigation div.statewide a { font-weight: bold; }
#mainContent .races .navigation div.races a { font-weight: bold; }
#mainContent .ga-senator .navigation div.ga-senator a { font-weight: bold; }
#mainContent .ga-representative .navigation div.ga-representative a { font-weight: bold; }
#mainContent .delegates .navigation div.delegates a { font-weight: bold; }
#mainContent .mailballots .navigation div.mailballots a { font-weight: bold; }

#mainContent .barrington .navigation div.barrington a { font-weight: bold; }
#mainContent .bristol .navigation div.bristol a { font-weight: bold; }
#mainContent .burrillville .navigation div.burrillville a { font-weight: bold; }
#mainContent .centralfalls .navigation div.centralfalls a { font-weight: bold; }
#mainContent .charlestown .navigation div.charlestown a { font-weight: bold; }
#mainContent .coventry .navigation div.coventry a { font-weight: bold; }
#mainContent .cranston .navigation div.cranston a { font-weight: bold; }
#mainContent .cumberland .navigation div.cumberland a { font-weight: bold; }
#mainContent .eastgreenwich .navigation div.eastgreenwich a { font-weight: bold; }
#mainContent .eastprovidence .navigation div.eastprovidence a { font-weight: bold; }
#mainContent .exeter .navigation div.exeter a { font-weight: bold; }
#mainContent .foster .navigation div.foster a { font-weight: bold; }
#mainContent .glocester .navigation div.glocester a { font-weight: bold; }
#mainContent .hopkinton .navigation div.hopkinton a { font-weight: bold; }
#mainContent .jamestown .navigation div.jamestown a { font-weight: bold; }
#mainContent .johnston .navigation div.johnston a { font-weight: bold; }
#mainContent .lincoln .navigation div.lincoln a { font-weight: bold; }
#mainContent .littlecompton .navigation div.littlecompton a { font-weight: bold; }
#mainContent .middletown .navigation div.middletown a { font-weight: bold; }
#mainContent .narragansett .navigation div.narragansett a { font-weight: bold; }
#mainContent .newshoreham .navigation div.newshoreham a { font-weight: bold; }
#mainContent .newport .navigation div.newport a { font-weight: bold; }
#mainContent .northkingstown .navigation div.northkingstown a { font-weight: bold; }
#mainContent .northprovidence .navigation div.northprovidence a { font-weight: bold; }
#mainContent .northsmithfield .navigation div.northsmithfield a { font-weight: bold; }
#mainContent .pawtucket .navigation div.pawtucket a { font-weight: bold; }
#mainContent .portsmouth .navigation div.portsmouth a { font-weight: bold; }
#mainContent .providence .navigation div.providence a { font-weight: bold; }
#mainContent .richmond .navigation div.richmond a { font-weight: bold; }
#mainContent .scituate .navigation div.scituate a { font-weight: bold; }
#mainContent .smithfield .navigation div.smithfield a { font-weight: bold; }
#mainContent .southkingstown .navigation div.southkingstown a { font-weight: bold; }
#mainContent .tiverton .navigation div.tiverton a { font-weight: bold; }
#mainContent .warren .navigation div.warren a { font-weight: bold; }
#mainContent .warwick .navigation div.warwick a { font-weight: bold; }
#mainContent .westgreenwich .navigation div.westgreenwich a { font-weight: bold; }
#mainContent .westwarwick .navigation div.westwarwick a { font-weight: bold; }
#mainContent .westerly .navigation div.westerly a { font-weight: bold; }
#mainContent .woonsocket .navigation div.woonsocket a { font-weight: bold; }
