/* @UTILS
===========================================================================*/

/* -- csshover -- */
	/* IE6 hack to fix :hover so it works on all elements, for more information see http://www.xs4all.nl/~peterned/csshover.html */
	* html body {
	   behavior: url(resources/js/csshover3.htc);
	}

/* -- clearfix -- */
	.clearfix { display: inline-block; }
	.clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
	* html .clearfix { height: 1%; }
	.clearfix { display: block; }

/* -- grid -- */
	/* for more information see http://github.com/stubbornella/oocss/wiki */
	.line:after,.lastUnit:after{clear:both;display:block;visibility:hidden;overflow:hidden;height:0 !important;line-height:0;font-size:xx-large;content:" x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";}
	.line{*zoom:1;}
	.unit{float:left;}
	.size1of1{float:none;}
	.size1of2{width:50%;}
	.size1of3{width:33.33333%;}
	.size2of3{width:66.66666%;}
	.size1of4{width:25%;}
	.size3of4{width:75%;}
	.size1of5{width:20%;}
	.size2of5{width:40%;}
	.size3of5{width:60%;}
	.size4of5{width:80%;}
	.size1of6{width:16.66666%;}
	.size2of6{width:33.33333%;}
	.size3of6{width:50%;}
	.size4of6{width:66.66666%;}
	.size5of6{width:83.33333%;}
	.lastUnit{display:table-cell;float:none;width:auto;*display:block;*zoom:1;_position:relative;_left:-3px;_margin-right:-3px;}

/* @GLOBAL
===========================================================================*/

	strong {
		font-weight: bold;
	}

   .hoRep, .hoRep a, .hoRep {
		color: #1e523e!important;
	}

   .senate, .senate a {
		color: #93463b!important;
	}

   h3.senate {
       margin-top: 25px;
       padding-top: 0px;
       padding-right: 20px;
       padding-bottom: 0px;
       padding-left: 20px;
   }

   h3.hoRep {
       margin-top: 25px;
       padding-top: 0px;
       padding-right: 20px;
       padding-bottom: 0px;
       padding-left: 20px;
   }

   h3.footer {
       margin-top: 25px;
       padding-top: 0px;
       padding-right: 20px;
       padding-bottom: 0px;
       padding-left: 20px;
   }

   h3.footerNoIndent {
       margin-top: 25px;
       padding-top: 0px;
       padding-right: 20px;
       padding-bottom: 0px;
       padding-left: 0px;
   }

/* @STRUCTURE
===========================================================================*/

	body, html {
		height: 100%;
		min-width: 980px;
	}

	/* IE6 hack for min and max width */
	* html body,
	* html html {
		width: expression(document.body.clientWidth < 978? "980px" : "auto");
	}

	body {
		background: url(../images/background.photo.jpg)  no-repeat center top;
	}

	#backgroundContainer {
		background: url(../images/background.gradient.png)  repeat-y center top;
	}

	#container	{
		margin: 0 auto;
		max-width: 1600px;
		min-width: 980px;
		padding: 0 20px 40px;
		position: relative;
	}

	/* IE6 hack for min and max width */
	* html #container {
		width: expression(document.body.clientWidth < 978? "980px" : document.body.clientWidth > 1602? "1600px" : "auto");
	}

/* @HEADER
=========================================================================== */

	#header {
		color: #fff;
		font-family: "Lucida Grande", "Segoe UI", Arial, sans-serif;
		padding-top: 108px;
	}

	#header a {
		color: #fff;
	}

/* -- logo -- */
	#logo {
		background-image: url(../images/logo.png);
		display: block;
		float: left;
		height: 53px;
		left: 40px;
		position: absolute;
		text-indent: -9000px;
		top: 14px;
		width: 358px;
	}

	/* IE6 hack to support transparent logo */
	* html #logo, *html #logo:hover {
		background-image: none;
		cursor: pointer;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='resources/images/logo.png', sizingMethod=scale);
	}

/* -- siteTools -- */
	#siteTools {
		float: right;
		font-size: .917em; /* 11px */
		position: absolute;
		right: 40px;
		text-align: right;
		top: 10px;
	}

	#siteTools ul {
		margin: 0 0 8px 0;
	}

	#siteTools li {
		display: inline;
		color: #d6eaf1;
	}

	#siteTools a {
		color: #fff;
	}

	/* -- siteSearch -- */
		#siteSearch {
			padding-top: 2px;
		}

		#siteSearch input,
		#siteSearch select {
			margin-right: 7px;
			width: 130px;
		}

		#siteSearch button {
			background: url(../images/tools.search.go.png);
			border: none;
			height: 20px;
			text-indent: -9000px;
			width: 24px;
		}

		#siteSearch button:hover {
			cursor: pointer;
		}

		#siteSearch a {
			display: block;
			padding-top: 2px;
		}

/* -- quickLinks -- */
	#quickLinks {
		background: url(../images/quicklinks.shadow.png)  repeat-x left bottom;
		padding-bottom: 1px;
	}

	/* IE6 hack to support transparent shadow */
	* html #quickLinks {
		background-image: none;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='resources/images/quicklinks.shadow.png', sizingMethod=scale);
	}

	.quickLinksBar {
		float: left;
		height: 41px;
		margin: 0;
		width: 49.99%;
	}

	.quickLinksBar .first {
		padding-left: 12px;
	}

	.quickLinksBar li {
		float: left;
		line-height: 41px;
		padding-right: 20px;
	}

	.quickLinksBar .first {
		height: 41px;
		padding-right: 10px;
	}

	#quickLinksHoRep {
		background: url(../images/quicklinks.horep.bg.left.png)  no-repeat left top;
	}

	/* IE6 hack due to poor alpha transparency support */
	* html #quickLinksHoRep {
		background: url(../images/quicklinks.horep.bg.left.gif)  no-repeat left top;
	}

	#quickLinksSenate {
		background: url(../images/quicklinks.senate.bg.right.png)  no-repeat right top;
	}

/* IE6 hack due to poor alpha transparency support */
	* html #quickLinksSenate {
		background: url(../images/quicklinks.senate.bg.right.gif)  no-repeat right top;
	}

	#quickLinksSenate .first {
		background: url(../images/quicklinks.senate.bg.left.png)  no-repeat left top;
	}

	.liveIndicator a {
		background-position: left top;
		background-repeat: no-repeat;
		display: block;
		height: 16px;
		position: relative;
		text-indent: -9000px;
		top: 13px;
		width: 35px;
	}

	#quickLinksHoRep .liveIndicatorIsLive a {
		background-image: url(../images/quicklinks.hoRep.liveIndicator.isLive.png);
	}

	#quickLinksHoRep .liveIndicatorNotLive a {
		background-image: url(../images/quicklinks.hoRep.liveIndicator.notLive.png);
	}

	#quickLinksSenate .liveIndicatorIsLive a {
		background-image: url(../images/quicklinks.senate.liveIndicator.isLive.png);
	}

	#quickLinksSenate .liveIndicatorNotLive a {
		background-image: url(../images/quicklinks.senate.liveIndicator.notLive.png);
	}

/* -- primaryNav -- */

	#primaryNav ul {
		margin: 10px 0 0 0;
	}

	#primaryNav .rootMenu {
		height: 41px;
		float: left;
		position: relative;
	}

	#primaryNav  .rootMenu a {
		background: url(../images/navigation.primary.bg.left.png) no-repeat right top;
		display: block;
		height: 41px;
	}

	#primaryNav .rootMenu a:hover, #primaryNav .rootMenu a:focus {
		background: url(../images/navigation.primary.bg.left.hover.gif) no-repeat right top;
		cursor: pointer;
	}

	#primaryNav .first a {
		background: url(../images/navigation.primary.bg.left.png) no-repeat left top;
	}

	/* IE6 hack to support alpha transparency */
	* html #primaryNav .firstRootMenu a {
		background-image: none;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='resources/images/navigation.primary.bg.left.png', sizingMethod=scale);
	}

	#primaryNav .first a:hover, #primaryNav .first a:focus {
		background: url(../images/navigation.primary.bg.left.hover.png) no-repeat left top;
	}

	/* IE6 hack to support alpha transparency */
	* html #primaryNav .firstRootMenu a:hover {
		background-image: none;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='resources/images/navigation.primary.bg.left.hover.png', sizingMethod=scale);
	}

	#primaryNav .lastRootMenu a {
		background: url(../images/navigation.primary.bg.right.png) no-repeat right top;
	}

	/* IE6 hack to support alpha transparency */
	* html #primaryNav .lastRootMenu a {
		background-image: none;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='resources/images/navigation.primary.bg.right.png', sizingMethod=scale);
	}

	#primaryNav .lastRootMenu a:hover, #primaryNav .lastRootMenu a:focus {
		background: url(../images/navigation.primary.bg.right.hover.png) no-repeat right top;
	}

	/* IE6 hack to support alpha transparency */
	* html #primaryNav .lastRootMenu a:hover {
		background-image: none;
		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, src='resources/images/navigation.primary.bg.right.hover.png', sizingMethod=scale);
	}

	#primaryNav span {
		background-position: left top;
		background-repeat: no-repeat;
		display: block;
		height: 41px;
		margin: 0 auto;
		text-indent: -9000px;
	}

	#primaryNav a {
		border-left: solid 1px #333;
		border-right: solid 1px #5e5e5e;
	}

	#primaryNav .first a {
		border-left: none;
	}

	#primaryNav .last a {
		border-right: none;
	}

	#primaryNavHome {
		width: 9.3%;
	}

	#primaryNavHome span {
		background-image: url(../images/navigation.primary.item.home.png);
		width: 33px;
	}

	#primaryNavHome a:hover span, #primaryNavHome a:focus span{
		background-image: url(../images/navigation.primary.item.home.hover.png);
	}

	#primaryNavParliamentaryBusiness {
		width: 21.94%;
	}

	#primaryNavParliamentaryBusiness span {
		background-image: url(../images/navigation.primary.item.parliamentaryBusiness.png);
		width: 156px;
	}

	#primaryNavParliamentaryBusiness a:hover span, #primaryNavParliamentaryBusiness a:focus span {
		background-image: url(../images/navigation.primary.item.parliamentaryBusiness.hover.gif);
	}

	#primaryNavSenatorsandMembers {
		width: 19.79%;
	}

	#primaryNavSenatorsandMembers span {
		background-image: url(../images/navigation.primary.item.senatorsAndMembers.png);
		width: 136px;
	}

	#primaryNavSenatorsandMembers a:hover span, #primaryNavSenatorsandMembers a:focus span{
		background-image: url(../images/navigation.primary.item.senatorsAndMembers.hover.gif);
	}

	#primaryNavNewsandEvents {
		width: 14.9%;
	}

	#primaryNavNewsandEvents span {
		background-image: url(../images/navigation.primary.item.newsAndEvents.png);
		width: 93px;
	}

	#primaryNavNewsandEvents a:hover span, #primaryNavEvents a:focus span {
		background-image: url(../images/navigation.primary.item.newsAndEvents.hover.gif);
		width: 93px;
	}

	#primaryNavAboutParliament {
		width: 17.04%;
	}

	/* IE8 hack  for incorrect width calculation */
	#primaryNavAboutParliament { width: 16.98%\9 }

	#primaryNavAboutParliament span {
		background-image: url(../images/navigation.primary.item.aboutParliament.png);
		width: 116px;
	}

	#primaryNavAboutParliament a:hover span, #primaryNavAboutParliament a:focus span {
		background-image: url(../images/navigation.primary.item.aboutParliament.hover.gif);
		width: 116px;
	}

	#primaryNavVisitParliament {
		width: 16.84%;
	}

	/* IE8 hack  for incorrect width calculation */
	#primaryNavVisitParliament { width: 16.8%\9 }

	#primaryNavVisitParliament span {
		background-image: url(../images/navigation.primary.item.visitParliament.png);
		width: 105px;
	}

	#primaryNavVisitParliament a:hover span, #primaryNavVisitParliament a:focus span {
		background-image: url(../images/navigation.primary.item.visitParliament.hover.png);
		width: 105px;
	}

	/* Webkit hack to counter for percentage rounding error, see http://css-tricks.com/percentage-bugs-in-webkit/ */
	@media screen and (-webkit-min-device-pixel-ratio:0) {
		#primaryNavAboutParliament {
			width: 17.05%;
		}

		#primaryNavVisitParliament {
			width: 17%;
		}
	}

	#primaryNav .subMenu {
		border-bottom: solid 1px #444;
		display: none;
		margin: 0;
		left: 0;
		position: absolute;
		top: 41px;
		width: 100%;
	}

	#primaryNav .subMenu a,
	#primaryNav .last .subMenu a {
		background: #f5f5f5;
		border-top: solid 1px #a2a2a2;
		border-left: solid 1px #444;
		border-right: solid 1px #444;
		color: #444444;
		filter: none;
		height: auto;
		padding: 7px 20px;
	}

	#primaryNav .subMenu a:hover, #primaryNav .subMenu a:focus {
		cursor: pointer;
	}

	/* IE6 hack to fix gaps between menu items */
	* html #primaryNav .subMenu a {
		zoom: 1;
	}

	#primaryNav .subMenu .first a {
		border-top: solid 1px #5e5b5c;
	}

	#primaryNav li:hover .subMenu, #primaryNav li:focus .subMenu {
		display: block;
	}

	#primaryNav .subMenu a:hover,
	#primaryNav .subMenu a:focus,
	* html #primaryNav .lastRootMenu .subMenu a:focus,
	* html #primaryNav .lastRootMenu .subMenu a:hover {
		background: #fff;
		color: #333;
		filter: none;
		text-decoration: none;
	}



/* -- secondaryNav -- */

	#secondaryNavWrapper {
		background-color: #dfdfdf;
		padding-top: 10px;
	}

	#secondaryNav {
		background: #fff;
		border-top: solid 1px #ccc;
		clear: both;
		float: none;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		line-height: 7px;
		margin: 0;
		padding: 0;
		width: auto;
	}

	#secondaryNav ul.secondaryNavOff {
		float: none;
		padding: 6px 0px 0 0px;
		border: 0px solid red;
		margin: 0 auto;
		text-align: center;
		list-style: none;
	}

	#secondaryNav li {
		float: left;
	}

	#secondaryNav ul.secondaryNavOn {
		float: none;
		width: 72em;
		padding: 6px 0px 0 0px;
		border: 0px solid red;
		margin: 0 auto;
		/*float:right;*/
		text-align: center;
		list-style: none;
	}


/* @CONTENT
=========================================================================== */

	#contentWrapper {
		background-color: #dfdfdf;
		border-top: solid 1px #b8b8b8;
		padding: 10px 20px 30px 20px;
	}

	#content {
		background-color: #fff;
		margin: 0;
	}

	#content table {
		background-color: #fff;
	}

/* @FOOTER
=========================================================================== */

	#footer {
		background: #ffffff;
		font-family: "Lucida Grande", "Segoe UI", Arial, sans-serif;
		font-size: .917em;
		height: auto;
		line-height: 1.6em;
		padding: 5px 10px 30px 10px;
		clear:both;
		margin-left:1px;
		margin-right:1px;
	}

	#footer ul {
      margin: 0 0 0 0;
	}

	#footer h3 {
		color: #444;
		font-size: 1.09em;
		font-weight: bold;
	}

	#footer a {
		color: #045f85;
	}

	#footerHouses {
		width: 21.1%;
	}

	#footerQuickLinks {
		width: 78.9%;
	}

	#footer ul {
		padding: 0 20px;
	}
