
/* Rules for the ivote vote widget go here */

div.ivoteWidget {
	padding: 5px;
}

div.ivoteWidget.waiting {
	cursor:progress;
}

div.ivoteWidget div.voteQuestion {
	font-size: 1.4em;
	font-weight: bold;
}

div.ivoteWidget ul.voteOptions {
	margin: 0 0 8px 4px;
}

div.ivoteWidget ul.voteOptions li {
	line-height: 1.6em;
	margin-bottom: 8px;
	padding: 1px;
}

div.ivoteWidget ul.voteOptions li.odd {
	
}
div.ivoteWidget ul.voteOptions li.even {
	
}

div.ivoteWidget ul.voteOptions li > img.voteOptionImage {
	/*display: block; */
	margin-top: 5px;
	margin-bottom: 3px;
	vertical-align: bottom;
	/*float: left; */
}

.voteOptionImage {
	vertical-align: bottom;
}
/*
div.ivoteWidget ul.voteOptions li > span.inputHolder > * {
	padding-top: 4px;
}
*/	
div.ivoteWidget ul.voteOptions label {
	padding-left: 5px;
	position: relative;
	top: -1px;
	cursor: pointer;

}

div.ivoteWidget ul.voteOptions p {
	line-height: 350%;
}

div.ivoteWidget div.voteSubmit input[type=submit], div.ivoteWidget div.voteAgain input[type=submit] {
    cursor: pointer;
    padding: 5px 9px;
    border: none;
    color: #fff;
    font-weight: bold;
    background-color: #666;
    font-family: inherit;
}

div.ivoteWidget div.voteSubmit input[type=submit]:hover, div.ivoteWidget div.voteAgain input[type=submit]:hover {
	background-color: #1F527B;
}

div.ivoteWidget div.voteDisclaimer, div.ivoteWidget div.voteTerms {
	padding: 3px 2px;
	background-color: #ddd;
}

div#nonJSLink {
	padding:2px;
	margin:5px;
	background-color: #ddd;
	width:120px;
	text-align: center;
}

div.ivoteWidget div.voteDisclaimer {
	font-size: 0.85em;
	line-height: 1.3em;
}

div.ivoteWidget div.voteError {
	color: #c00;
}
div.ivoteWidget > div {
	padding-bottom: 5px;
}

/* For id buttons */
div.ivoteWidget div.voteLogin p {
	padding-top: 5px;
}

div.ivoteWidget div.voteLogin a.signin {
	background-image: url("../img/logo-bbcid-ivote.png");
	background-position: 9px center;
	background-repeat: no-repeat;
	color: #FFFFFF;
	line-height: 1.2em;
	padding: 5px 9px 4px 28px;
	text-decoration: none;
	width: 50px;
	background-color: #666;
}

div.ivoteWidget div.voteLogin a.signin:hover {
	background-color: #1F527B;
}

/* Results layouts */
div.ivoteWidget div.voteCurrentResults table.ivoteResults td {
	padding: 3px;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults.bar {
    width: 98%;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults td.optionName {
    font-weight: bold;
    width: 55%; 
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults td.optionName span {
	position: relative;
	top: 50%;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults td.optionName img.voteOptionImage {
	display: block;
	margin-top: 5px;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults td.optionImage {
	width: 175px;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults.bar td.optionPercent div.barContainer {
    width: 60%;
    display: block;
    float: left;
    background-color: #eaeaed;
    height: 1.6em;
	margin: 0 4px 0 0;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults.bar td.optionPercent div.barContainer > div {
    background-color: #738C9C;
    display: inline-block;
    height: 100%;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults.bar td.optionPercent {
	min-width: 105px;
}

div.ivoteWidget div.voteCurrentResults table.ivoteResults.bar td.optionPercent span.numberContainer {
    font-size: 0.9em;
    display: block;
    float: left;
}

div.ivoteWidget div.voteResultsContainer.hidden, div.ivoteWidget div.voteThanks.hidden, div.ivoteWidget div.voteAgain.hidden, div.ivoteWidget div.voteContent.hidden, div.ivoteWidget div.idMessage.hidden, div.ivoteWidget div.voteAlreadyVoted.hidden, div.ivoteWidget div.ukOnlyMessage.hidden, div.ivoteWidget div.voteLogin.hidden{
	display: none;
}

/* Specifics for RTL languages */
div.ivoteWidget.RTL ul.voteOptions label {
	padding-right: 5px;
	margin: 0;
}

div.ivoteWidget.RTL {
	direction: rtl;
}

/* MULTIMEDIA LAYOUT */

/* For audio clips: */
div.ivoteWidget .previewable {
	height: 37px;
	width: 37px;
	display: inline-block;
	margin: 1px 1px -8px;
}

div.ivoteWidget .previewable_hidden {
	display: none;
}

div#ivoteEMP {
 	width:1px;
 	height:1px;
 	overflow:hidden;
 	visibility:hidden;
 	padding-bottom:0;
 	padding-left:0;
 	padding-right:0;
 	padding-top:0;
 }
            
div.ivoteWidget .previewable .button_container {
	position: relative;
	width: 37px;
	height: 37px;
/*	display:none; */
}

div.ivoteWidget .previewable .button_container a {
	text-decoration:none;
}

div.ivoteWidget .previewable canvas {
	left: 0px;
	background-color:transparent;
	position:absolute;
}
div.ivoteWidget canvas div {/* FIX FOR IE8 */
	height: auto !important;
	width: auto !important;
	visibility: visible !important;
	overflow: visible !important;
} 
/*
div.ivoteWidget .previewable .previewItem {
	position: absolute;
	top: 5px;
	left: 5px;
	display: block;
	width: 18px;
	height: 18px;
	overflow:hidden;
	z-index: 2;
	background: transparent url('../img/ivote-audio-icons.png') no-repeat 0px 0px;
	outline:none;
} 
*/
/*div.ivoteWidget .previewable .previewItem {*/
div.ivoteWidget .previewable .previewItem, .button_container {	
	-webkit-border-radius: 37px;
	-moz-border-radius: 37px;
	border-radius: 37px;
	border: none;
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	outline: none;
	top: 0;
	left: 0;
	z-index: 20;
	text-indent: -10000px;
	cursor:pointer;
} 

.play_button {
    overflow:hidden;
	background:url('../img/16/play_white.png') no-repeat 13px 10px;
}

.stop_button {
	background:url('../img/16/stop.png') no-repeat 13px 10px;
}

.loading_button{
	background:url('../img/loading.gif') no-repeat 12px 11px;
}


/*IE hack for transparency*/
div.ivoteWidget .previewItem {*background: transparent url('../img/ivote-audio-loading.gif') no-repeat 0px 0px;}
/*
div.ivoteWidget .previewable .button_container .playing:hover {
	background-position: 0 -80px;
}
*/
div.ivoteWidget .previewable .button_container .playing { 
	background-position: 0 -60px;
}
/*
div.ivoteWidget .previewable .button_container .loading, .button_container .loading:hover {
	background-position: 0 -40px;
}
div.ivoteWidget .previewable .previewItem:hover {
	background-position: 0 -20px;
}
*/
div.ivoteWidget .previewable .button_container .loading span {
	background: transparent url('../img/ivote-audio-loading.gif');
	display:block;
	height:100%;
	width:100%;
}

table.ivoteResults td.optionAudio {
	padding: 0;
	width: 28px;
}

table.ivoteResults td.optionAudio .previewable {
	margin: 0 0 -3px;
}

.video_option {
	display: inline;
	vertical-align: -80%;
}