/*
	Election pages
*/

/*----- Begin:	Specific changes for move to new site	*/
#header				{	background-color: #0e4971;	}
#footer 			{	padding: 0 10px; background-color: #aed493;	}
#footer p			{	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
						padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
					}
/*----- End:	Specific changes for move to new site	*/

#Con				{	margin: 10px;	}
#Con h1				{	clear: both;	}
.Clear				{	margin-bottom: 70px; clear: both;	}

#NavBar				{	width: 100%;					}
#NavTrail 			{	font-size: small; float: left;	}
#NavTrail a			{	font-size: small; text-decoration: underline;	}
#NavTrail			{	padding-bottom: 10px; color: #999999;	}
#RefreshInfo		{	font-size: small; float: right; font-style: italic; color: #666666;	}

.Note				{	font-size: x-small; font-style: italic;	color: #555555; }
.Highlight1			{	font-weight: bold;	}
.Highlight2			{	font-weight: bold; font-size: large;	}

.Message			{	padding-top: 30px;	}

.AltCol 				{	background-color: #f9f9f9;	}

/* Electoral division list results */
#ElecRes 			{	width: 80%; border-collapse: collapse; /*border-spacing: 0px;*/	}
#ElecRes tr th		{	text-align: left; background-color: #8d8d7c; color: #ffffff; padding: 2px;	}
#ElecRes tr th.Div		{	width: 40%;	} 
#ElecRes tr th.Cand		{	width: 30%;	} 
#ElecRes tr th.Year		{	width: 7%;	} 
#ElecRes tr th.GainLoss	{	width: 7%; 	} 
#ElecRes tr.subHead	{	background-color: #e3ddd5;	}

/* Candidate list */
#CandList 				{	width: 95%; border-collapse: collapse; /*border-spacing: 0px;*/	}
#CandList tr th			{	text-align: left; background-color: #8d8d7c; color: #ffffff; padding: 2px;	}
#CandList tr th.DistrictElectDiv	{	width: 50%;	}
#CandList tr th.District{	width: 25%	}
#CandList tr th.ElectDiv{	width: 25%;	} 
#CandList tr th.Party	{	width: 10%;	} 
#CandList tr th.Name	{	width: 35%;	}  
#CandList tr.subHead	{	background-color: #e3ddd5;	}

/* Elect Div list */
#ElectDivList			{	width: 95%; border-collapse: collapse; /*border-spacing: 0px;*/	}
#ElectDivList tr th		{	text-align: left; background-color: #8d8d7c; color: #ffffff; padding: 2px;	}
#ElectDivList tr th.District {	width: 25%	}
#ElectDivList tr.subHead	{	background-color: #e3ddd5;	}

/* Electoral division results detail table */
#ResultTable			{	border: 1px solid #aaaaaa; border-collapse: collapse; margin: 20px 20px 20px 20px; font-size: small;	}
#ResultTable tr td, #ResultTable tr th								{	padding: 5px 5px 5px 5px;	}
#ResultTable tr td img												{	padding-right: 5px;	}
.RT_HeadCand2														{	width: 40%;  	}
.RT_HeadVotCurr, .RT_HeadVotPrev, .RT_HeadPerCurr, .RT_HeadPerPrev, .RT_HeadParty2	{	width: 10%;  	}

.RT_HeadCand1, .RT_HeadParty1, .RT_HeadCand2, .RT_HeadParty2, .RT_HeadCand3, .RT_HeadParty3, .RT_HeadVotCurr, .RT_HeadBlank,
.RT_HeadYearCurr, .RT_HeadVotCurr, .RT_HeadYearCurr, .RT_HeadPerCurr, .RT_SummaryText, .RT_SumVotCurr, .RT_SumPerCurr
																	{	background-color: #eeeeee;	}
.RT_PerPrev, .RT_HeadYearPrev, .RT_HeadPerPrev, .RT_HeadText, .RT_SumPerPrev
																	{	background-color: #dddddd;	}
.RT_TailElected														{	background-color: #ddffdd;	}
									
.RT_Cand, .RT_PerCurr, .RT_VotCurr, .RT_SumVotCurr, .RT_SumPerCurr, .RT_SumPerPrev, .RT_TailDiv, .RT_TailPartyCurr, .RT_TailPartyCurr2
																	{	font-weight: bold;	}
.RT_Cand div														{	font-weight: bold; margin-left: 20px; font-weight: normal;	}
.RT_HeadText														{	font-weight: normal; 	}

.RT_Party, .RT_VotCurr, .RT_PerCurr, .RT_PerPrev					{	vertical-align: top;	}
.RT_HeadCand2, .RT_HeadParty2, .RT_Cand, .RT_Cand div, .RT_Party	{	text-align: left; 	}
.RT_HeadText, .RT_VotCurr, .RT_PerCurr, .RT_PerPrev, .RT_SumVotCurr, .RT_SumPerCurr, .RT_SumPerPrev, 
.RT_TailPartyCurr, .RT_TailPartyCurr2, .RT_TailPartyPrev			{	text-align: center; 	}
.RT_SummaryText, .RT_TailGain										{	text-align: right;	}

.RT_HeadParty1, .RT_HeadParty2, .RT_HeadParty3, .RT_Party, .RT_VotCurr, .RT_PerCurr, .RT_PerPrev, .RT_SummaryText
.RT_HeadVotCurr, .RT_HeadVotPrev, .RT_HeadPerCurr, .RT_HeadPerPrev, .RT_SummaryText, .RT_SumVotCurr, .RT_SumPerPrev
																	{	border-right: 1px solid #aaaaaa;	}
.RT_HeadText, .RT_HeadVotCurr										{	border-left: 1px solid #aaaaaa;	}
.RT_HeadYearPrev, .RT_TailDiv, .RT_TailGain							{	border-top: 1px solid #aaaaaa;	}
.RT_Cand, .RT_Party, .RT_VotCurr, .RT_PerCurr, .RT_PerPrev, .RT_HeadYearCurr, .RT_HeadYearPrev, .RT_SumVotCurr, .RT_SumPerCurr, .RT_SumPerPrev,
.RT_HeadCand3, .RT_HeadParty3, .RT_HeadVotCurr, .RT_HeadVotCurr, .RT_HeadVotPrev, .RT_HeadPerCurr, .RT_HeadPerPrev
																	{	border-bottom: 1px solid #aaaaaa;	}

.RT_PerCurr, .RT_HeadPerCurr, .RT_HeadYearCurr, .RT_HeadBlank, .RT_SumPerCurr
																	{	border-right: 3px solid #aaaaaa;	}
.ElectdivNote	{	font-size: x-small; font-style: italic; padding-left: 20px;	}
.MultiINDNote	{	font-size: x-small; font-style: italic; 	}	

/* Candidate details */
#CandidateDetails					{	margin-left: 20px;	}
#CandidateDetails tr td.Label		{	color: #aaaaaa;	vertical-align: top; padding-right: 10px;	}
#CandidateDetails tr td img			{	padding-left: 10px;	}
#CandidateDetails tr td.Address		{	padding-bottom: 20px;	}

/* Candidate details */
.MultiCandDetails					{	margin-left: 20px; margin-bottom: 15px; width: 90%; border: 1px solid #cccccc;	}
.MultiCandDetails tr td.Label		{	color: #aaaaaa;	vertical-align: top; padding-right: 10px; width: 10%;	}
.MultiCandDetails tr td img			{	padding-left: 10px;	}


#SummaryCon					{	display: inline; }
#MapSmall					{	float: left;		}
#SummaryTableCon			{	float: left; padding-left: 50px;		}
/*	Summary Table	*/
#SummaryTable				{	border-collapse: collapse; position: relative; top: 50px; right: 10px; border: 1px solid #e3ddd5; }
#SummaryTable tr th			{	text-align: left; background-color: #e3ddd5; color: #000000; padding: 2px; font-size: small; font-weight: normal;	}
#SummaryTable tr td.Seats, #SummaryTable tr th.Seats
						{	text-align: center; padding: 0 20px 0 20px; 		}	

#SummaryTableConCompact		{	padding-left: 60px; clear: both; 	}
#SummaryTableCompact		{	border-collapse: collapse; position: relative; top: 50px; right: 10px; border: 1px solid #e3ddd5; }
#SummaryTableCompact tr th	{	text-align: left; background-color: #e3ddd5; color: #000000; padding: 2px; font-size: x-small; font-weight: normal;	}
#SummaryTableCompact tr td	{	font-size: x-small;	}	
#SummaryTableCompact tr td.Seats, #SummaryTableCompact tr th.Seats
						{	text-align: center; padding: 0 20px 0 20px; 		}	


#MapLargeKey				{	position: absolute; top: 650px; left: 700px; width: 200px; border: 1px solid #eeeeee;	}
#MapLargeKey table 			{	width: 100%; }
#MapLargeKey th				{	text-align: left; font-weight: bold;  }
#MapLargeKey td, #MapLargeKey th 	{	padding: 3px 3px 3px 3px; font-size: small;	}

#MapSmallKey				{	position: absolute; top: 480px; left: 30px; border: 1px solid #eeeeee; font-size: x-small; padding: 3px 3px 3px 3px;	}

