/*
*	title: Candidate hub styles
*	author: robin.murphy@urn1350.net
*/

#hub-wrapper {
	margin: -10px;
	background: url('../../images/elections2012/hub-bg.jpg') left top repeat-y;
}

.elections-wrapper, .elections-wrapper .antiscroll-inner {
	max-height: 890px;
	width: 315px;
}

/* -- Header -- */

#hub-header {
	height: 110px;
	background: url('../../images/elections2012/hubheader.jpg') no-repeat;
	position: relative;
}

#hub-header h1 {
	margin: 0;
	padding: 0;
	bottom: 10px;
	left: 10px;
	font-size: 34px;
	position: absolute;
	font-family: Impact, Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 1px 2px 1px rgba(0,0,0,.2);
	font-weight: normal;
}

span.hide {
	display: none;
}

/* -- Nav -- */

#hub-nav {
	background: url('../../images/elections2012/filter.png') center center repeat-x;
	padding: 0;
	height: 35px;
}

#hub-nav ul.upper-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	height: 35px
}

#hub-nav ul.upper-nav li {
	float: left;
	margin: 0px;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
}

#hub-nav ul.upper-nav li a:link, #hub-nav ul.upper-nav li a:visited {
	display: block;
	height: 35px;
	padding: 0 10px;
	background: none;
	border-bottom: none;
	border-right: 1px solid #CEA500;
	line-height: 35px;
	color: #fff;
}

#hub-nav ul.upper-nav li a:hover, #hub-nav ul.upper-nav li a:active {
	background: url('../../images/elections2012/rgba.png') left top repeat-x;
	color: #fff;
}

#hub-nav ul.sub-nav {
	position: absolute;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #DCB001;
	display: none;
	z-index:100;
}

#hub-nav ul.upper-nav li:hover ul.sub-nav {
	display: block;
}

#hub-nav ul.sub-nav li {
	font-size: 15px;
	margin: 0;
	padding: 0;
	float: none;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	font-weight: normal;
	letter-spacing: 0;
}

#hub-nav ul.sub-nav li a:link, #hub-nav ul.sub-nav li a:visited {
	background: none;
	border-top: 1px solid #cfa500;
	color: #fff;
}

#hub-nav ul.sub-nav li a:hover, #hub-nav ul.sub-nav li a:active {
	background: #cfa500;
	color: #fff;
}

span.rightarrow {
	background: url('../../images/elections2012/rightarrow.png') right center no-repeat;
	padding-right: 25px;
}

span.downarrow {
	background: url('../../images/elections2012/downarrow.png') right center no-repeat;
	padding-right: 30px;
}

/* -- Main content -- */

#hub-candidates {
	width: 315px;
	float: left;
	min-height: 350px;
	background: #6a81b5 url('../../images/elections2012/section-blue-left.jpg') top left no-repeat;
}

#hub-content-stream {
	width: 315px;
	min-height: 350px;
	float: right;
	background: #6a81b5 url('../../images/elections2012/section-blue-hubs.jpg') top left no-repeat;
}

#hub-wrapper h2 {
	margin: 0;
	font-family: "news-gothic-std-1", "news-gothic-std-2", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	background: url('../../images/elections2012/h2.png') left center repeat-x;
	font-size: 14px;
	color: #fff;
	text-shadow: 0px 2px 0 rgba(0,0,0,.2);
	padding: 0 10px;
	height: 35px;
	line-height: 35px;
	font-weight: bold;
}

#hub-wrapper .wrapper {
	padding: 10px;
}

/* Content Stream */

.elections-container .title {
	font-size: 14px;
	padding: 0;
	margin: 0;
	color: #fff;
	line-height: 18px;
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.elections-container .ts {
	text-transform: uppercase;
	font-weight: bold;
	color: #5765AD;
	background: #fff;
	position: absolute;
	padding: 2px 5px;
	font-size: 12px;
	white-space: nowrap;
	left: 316px;
	top: 10px;
	display: none;
	z-index: 2;
}

.elections-container:hover .ts {
	display: block;
}

.elections-container .time {
	font-family: Georgia, Times, serif;
	font-style: italic;
	color: #D1DED8;
	padding: 0;
	margin: 0;
}

#hub-wrapper .elections-container .wrapper {
	padding: 10px;
}

#hub-wrapper .audio-container .wrapper {
	
}

.audio-container {
	background: url('../../images/elections2012/container-bg.png') left bottom no-repeat;
	margin: 1px 0 0 0;
	border-bottom: none;
	position: relative;
	z-index: 2;
}

.audio-container .player {
	padding: 0;
	clear: both;
	margin: 10px 0 0 0;
}

.audio-container:hover {
	background: url('../../images/elections2012/container-bg.png') -500px bottom no-repeat;
	margin: 1px 0 0 0;
}

.video-container a:link, .video-container a:visited {
	display: block;
	color: #fff;
	background: url('../../images/elections2012/container-bg.png') left bottom no-repeat;
	margin: 1px 0 0 0;
	border-bottom: none;
	position: relative;
	z-index: 1;
}

.video-container a:hover, .video-container a:active {
	background: url('../../images/elections2012/container-bg.png') -500px bottom no-repeat;
}

.article-container a:link, .article-container a:visited {
	display: block;
	color: #fff;
	background: url('../../images/elections2012/container-bg.png') left bottom no-repeat;
	margin: 1px 0 0 0;
	border-bottom: none;
	position: relative;
	z-index: 1;
}

.article-container a:hover, .article-container a:active {
	background: url('../../images/elections2012/container-bg.png') -500px bottom no-repeat;
}

.video-container img {
	float: left;
	width: 80px;
	margin: 0 10px 0 0;
	padding: 2px;
	background: url('../../images/elections2012/rgba.png') left -900px repeat-x;
}

/* Candidates */

#hub-candidates .wrapper {
	padding: 0 10px 0 10px;
}

.candidate {
	clear: both;
	padding: 10px 0 10px 10px;
	margin: 1px -10px 0 -10px;
	background: url('../../images/elections2012/container-bg.png') left bottom no-repeat;
}

.candidate img {
	float: left;
	padding: 3px;
	width: 70px;
	background: url('../../images/elections2012/rgba.png') left -900px repeat-x;
	margin: 0 10px 0 0;
}
.candidate .details {
	float: left;
}

#main .candidate h3 {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,.2);
	margin: 0;
	padding: 0 0 10px 0;
	font-size: 16px;
}

#main .candidate a:link, #main .candidate a:visited {
	background: url('../../images/elections2012/rgba.png') left -300px repeat-x;
	padding: 0;
	border-bottom: none;
	color: #fff;
	display: block;
	float: left;
	font-size: 12px;
}

#main .candidate a:active, #main .candidate a:hover {
	background: url('../../images/elections2012/rgba.png') left -900px repeat-x;
	border-bottom: none;
	color: #fff;
}

.candidate p {
	margin: 0;
	padding: 0 0 5px 0;
}

.candidate p span {
	padding: 3px 6px 3px 25px;
	display: block;
}

.candidate p.manifesto span {
	background: url('../../images/generic/icons/page_white_text.png') 5px center no-repeat;
}

.candidate p.campaign_video span {
	background: url('../../images/generic/icons/television.png') 5px center no-repeat;
}

.candidate p.campaign_fb span {
	background: url('../../images/generic/icons/1330901846_facebook.png') 5px center no-repeat;
}

.candidate p.edit span {
	background: url('../../images/generic/icons/pencil.png') 5px center no-repeat;
}

.nodata {
	color: #fff;
	text-align: center;
	font-size: 12px;
	background: url('../../images/elections2012/nodata.png') center 10px no-repeat ;
	padding: 90px 30px 0 30px;
	text-shadow: 0 1px 0 rgba(0,0,0,.1);
}