/* @override 
	http://civicscience-css.s3.amazonaws.com/clients/pg/css/power-source.css */

.ballotbox,
.ballotbox div,
.ballotbox span, 
.ballotbox form, 
.ballotbox label, 
.ballotbox input,
.ballotbox .poll_title,
.ballotbox .poll_body,
.ballotbox .question_text,
.ballotbox .answer,
.ballotbox .answer .control,
.ballotbox .answer .answer_text,
.ballotbox .result,
.ballotbox .result .percent,
.ballotbox .result .answer_text,
.ballotbox .buttons,
.ballotbox .detailed_results,
.ballotbox .wrap_up {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	width: auto;
	color: #222; 
	text-decoration: auto;
	text-align: left;
}

.ballotbox {
	font: 12px/18px Arial,Helvetica,sans-serif;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.civicscience.ballotbox .poll_body.loading {
    background: url(http://civicscience-widgets.s3.amazonaws.com/default/alt-loader-fff-bg.gif) no-repeat;
    width: 100px;
    height: 60px;
    opacity: .9;
    margin: 20px auto;
}

.ballotbox .header {
	font-size: 22px;
	font-weight: bold;
	margin: 0;
	color: #333;
	font-weight: bold;
}

.ballotbox .question_text {
	font-size: 18px;
	margin: 8px 0 10px !important;
	line-height: 22px;
	border-top: 1px solid #ccc !important;
	padding: 14px 0px 4px!important;
	font-weight: 200;	    
}

.ballotbox ul.answer_options {
	margin: 2px 0 12px 0;
	list-style: none;
	padding: 0;
}

/****************** @group Desktop Widget *******************/

.ballotbox.click ul.answer_options li {
	padding: 2px 0;
}

.ballotbox.click ul.answer_options li input{
	display: table;
	float: left;
	width: 16px;
	margin: 2px 10px 0 0 !important;
}

@-moz-document url-prefix() { 
	.ballotbox.click ul.answer_options li input{
		margin: 3px 10px 0 0 !important;
	}
}

@media (max-width: 720px) {

 .ballotbox.click ul.answer_options li{
	margin: 0;
 }
	 
 .ballotbox.click ul.answer_options li label {
  	background: #efefef;
  	width: 100%;
  	padding: 6px 0;
  	border-radius: 5px;
  	margin: 0 !important;
  	cursor: pointer;
  }
  
   .ballotbox.click ul.answer_options{
   	display: table;
   	width: 100%;
   }
  
 .ballotbox.click ul.answer_options li input{
  	display: none;
  }
  
  .ballotbox.click ul.answer_options li input[type=radio]:checked+label {
    background: #ddd;
    border: 1px solid #ddd;
    color: #666;
   }
   
   .ballotbox ul.answer_options li input[type=radio] + label {
     font-size: 1em;
     color: #999;
     border: 1px solid #ddd;
     background: #f9f9f9;
     padding: 8px ;
     border-radius: 5px;
     font-weight: 400;
     margin: 0;
     margin: 4px 0;
     width: 96%;
   }

}


.ballotbox.click ul.answer_options li label {
	display: table;
	font-weight: normal;
	font-size: 12px;
	color: #444;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	cursor: pointer;
}

.ballotbox.click ul.answer_options li input[type="radio"] {

}

.ballotbox.click ul.answer_options li input[type="checkbox"] {
	margin: 0 0 0 4px;
}


.ballotbox input.submit{
	  margin: 7px 0;
	  background: #16437C;
	  font-size: .8em;
	  display: table;
	  color: #FFF;
	  text-align: center;
	  white-space: nowrap;
	  padding: 6px 12px;
	  font-size: 14px;
	  border-radius: 2px;
	  cursor: pointer;
}

.ballotbox input.submit:hover{
	cursor: pointer;
	opacity: .9;
}

/*************** @group Answer portion of the widget ******************/

.ballotbox .answer_results {
	display: table;
	width: 100%;
	font-size: 12px;
	font-weight: normal;
	margin: 2px 0 4px;
}

.ballotbox .answer_results .answer {
	margin: 0 0 10px 0;
}

.ballotbox .answer_percentage {
	width: 40px;
	float: left;
}

.ballotbox .answer_text {
	display: table;
	margin: 0 0 10px;
	border-bottom: 1px solid #ddd;
	padding: 0 0 5px;
}

.ballotbox .progress_bar {
	margin: 10px 0 10px;
	font-size: 9px;
	color: #000;
	font-weight: normal;
	float: left;
	width: 140px;
}

.ballotbox.question_1 .progress_bar::before {

}

.ballotbox.question_2 .progress_bar::before {

}

.ballotbox.question_3 .progress_bar::before {

}


.ballotbox .controls {
	height: 20px;
	margin: 0 0 10px 0;
	display: table;
	width: 100%;
}

.ballotbox .controls .next {
	float: right !important;
	padding: 5px 10px;
	background: #dcdcdc;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
}

.ballotbox .controls .next::after {
	content: ">>";
}

.ballotbox .controls .previous {
	float: left;
	padding: 5px 10px;
	background: #dcdcdc;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 12px;
	text-align: center;
}

.ballotbox .controls .previous::after {
	content: "<<";	
}

.ballotbox .detailed_results a{
	color: #2171b8;
	text-decoration: none;
	font-size: 13px;
}

.ballotbox div.wrap_up{
	margin: 12px 0 16px;
}

.ballotbox div.wrap_up .end_title{
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 10px;
}

.ballotbox div.wrap_up .end{
	font-size: 12px;
}

.ballotbox div.wrap_up a{
	color: #2171b8;	
	text-decoration: none;
}

.ballotbox .footer {
	font-size: 9px;
	color: #000;
	font-weight: 300;
	float: right;
}

.civicscience.ballotbox ul.answer_options::after{
	display: none;
}
