/*
*	title: Elections 2012 styles
*	author: robin.murphy@urn1350.net
*/

/* -- Drupal elements -- */

ul.primary {
	width: 920px;
	margin: 0;
	display: block;
	position: static;
}

ul.secondary {
	margin: 0;
	position: static;
	width: 920px;
}

#block-admin-display-form {
	clear: both;
}

#secondary .node-form {
	margin: 0 10px 10px 10px;
}

/* -- Primary section -- */

#page {
	clear: both;
}

#main {
	width: 940px;
	background: #fff;
	float: none;
	padding: 0;
}

#sidebar {
	display: none;
}

#elections-home {
	background: url('../../images/elections2014/main.jpg') left top repeat-y;
}

#elections-home h2 {
	margin: 0;
	font-family: "news-gothic-std-1", "news-gothic-std-2", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	background: url('../../images/elections2014/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;
}

#elections-home h2.live {
	margin: -10px -10px 10px -10px;
	font-size: 16px;
}

#column1 {
	width: 630px;
	float: left;
}

#column2 {
	width: 310px;
	float: right;
}

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

/* -- Column 1 -- */

#elections-header {
	max-height: 500px;
	background: #fff;
}

#elections-header .liveheader {
	background: #fff url('../../images/elections2014/header-bg.jpg') left top no-repeat;
}

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

#elections-filter h3 {
	float: left;
	margin: 0;
	padding: 0 15px 0 0;
	font-family: Georgia, Times, serif;
	color: #fff;
	font-style: italic;
	font-size: 16px;
	line-height: 35px;
	text-shadow: 0 1px 1px rgba(0,0,0,.4);
}

#elections-filter ul {
	float: left;
	margin: 5px 0 0 0;
	padding: 0;
	list-style: none;
}

#elections-filter ul li {
	float: left;
	margin: 0 5px 0 0;
}

#elections-filter ul li a:link, #elections-filter ul li a:visited  {
	background: url('../../images/elections2014/rgba.png') left -1200px repeat-x;
	border-radius: 25px;
	margin-right: 1px;
	height: 25px;
	line-height: 25px;
	padding: 0 10px;
	color: #fff;
	display: block;
	border: none;
}

#elections-filter ul li a.active:link, #elections-filter ul li a.active:visited  {
	background: url('../../images/elections2014/rgba.png') left -1500px repeat-x;
}

#elections-filter ul li a:hover, #elections-filter ul li a:active  {
	background: url('../../images/elections2014/rgba.png') left -1500px repeat-x;
	color: #fff;
}

/* Audio Stream */

.elections-container.hidden {
	display: none;
}

#elections-audio {
	float: left;
	width: 315px;
	background: #6a81b5 url('../../images/elections2014/section-blue-left.jpg') top left no-repeat;
}

#elections-audio .elections-wrapper, #elections-audio .elections-wrapper .antiscroll-inner {
	height: 635px;
	width: 315px;
}

#elections-audio h2 {
	margin-bottom: 0px;
}

.elections-container .title {
	font-size: 15px;
	padding: 0 0 0px 0;
	margin: 0;
	color: #fff;
	line-height: 18px;
}

.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 .time {
	font-family: Georgia, Times, serif;
	font-style: italic;
	color: #D1DED8;
	padding: 0;
	margin: 0;
}

#column2 .time {
	color: #e8ccc4;
}

#column2 .elections-container .time {
	color: #e8ccc4;
}

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

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

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

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

.audio-container.unextended {
	cursor: pointer;
}

/* Articles */

#elections-articles {
	float: right;
	width: 315px;
	background: #6a81b5 url('../../images/elections2014/section-blue.jpg') top left no-repeat;
}

#elections-articles .elections-wrapper, #elections-articles .elections-wrapper .antiscroll-inner {
	height: 300px;
	width: 315px;
}

.article-container .title {
	z-index: 1;
	padding: 0;
}

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

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

/* Videos */

#elections-videos {
	float: right;
	width: 315px;
	clear: right;
	min-height: 250px;
	background: #6a81b5 url('../../images/elections2014/section-blue.jpg') top left no-repeat;
}

#elections-videos .elections-wrapper, #elections-videos .elections-wrapper .antiscroll-inner {
	height: 300px;
	width: 315px;
}

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

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

.video-container a:link, .video-container a:visited {
	display: block;
	color: #fff;
	background: url('../../images/elections2014/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/elections2014/container-bg.png') -500px bottom no-repeat;
}

/* -- Column 2-- */

#column2 {
	min-height: 300px;
	background: #eee;
}

#column2 ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#column2 ul li {
	margin: 1px 0 0 0;
}

#column2 ul li a:link, #column2 ul li a:visited {
	background: url('../../images/elections2014/container-bg.png') left bottom no-repeat;
	display: block;
	padding: 10px;
	color: #fff;
	border-bottom: none;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	font-size: 15px;
}

#column2 ul li a:hover, #column2 ul li a:active {
	background: url('../../images/elections2014/container-bg-right.png') -500px bottom no-repeat;
}

#elections-candidate-hubs {
	background: #95442C url('../../images/elections2014/section-red.jpg') top left no-repeat;
}

#elections-textthestudio {
	background: #95442C url('../../images/elections2014/section-red.jpg') top left no-repeat;
}

#elections-textthestudio p {
    padding: 10px;
    color: #fff;
    margin-bottom: 0px;
}

#elections-textthestudio textarea {
    margin: 10px;
}

#elections-textthestudio input {
    margin: 0px 0px 10px 10px;
    background: #95442C;
    border-color: #ff0000;
    color: #eee;
}

#elections-programmes {
	background: #95442C url('../../images/elections2014/section-red.jpg') top left no-repeat;
}

#elections-programmes span.time {
	font-family: Georgia, Times, serif;
	font-size: 14px;
	text-shadow: none;
	padding: 3px 0px 0px 0px;
	display: block;
	font-style: italic;
}

#elections-programmes p {
    font-size: 12px;
    text-shadow: none;
    color: #eee;
    padding: 8px 5px 0px 0px;
}

#elections-programmes img {
    float: right;
    margin-top: -10px;
}

#elections-social {
	background: #95442C url('../../images/elections2014/section-red.jpg') top left no-repeat;
}

/* Tweets */

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

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

.tweet-container .message {
	font-size: 12px;
	line-height: 14px;
	margin: 0;
	padding: 0;
}

.tweet-container .time {
	font-size: 12px;
}

.tweet-container img {
	width: 40px;
	float: left;
	padding: 2px;
	background: url('../../images/elections2014/rgba.png') left -900px repeat-x;
	margin: 0 5px 5px 0;
}

/* No data */

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

p.edit {
	margin: 10px 0 0 0;
	padding: 0 0 0 22px;
	background: url('../../images/generic/icons/pencil.png') left center no-repeat;
}

p.edit a:link, p.edit a:visited {
	background: none;
	color: #fff;
}

p.edit a:hover, p.edit a:active {
	border-bottom: 1px solid #fff;
}