/* @override 
	http://civicscience-widgets.s3.amazonaws.com/cox-media-group/ajc/ajc-article-v3-min.css
	http://civicscience-css.s3.amazonaws.com/clients/cox/austin-statesmen-v2.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 {
	width: 300px;
	display: table;
	font: 12px/18px Arial,Helvetica,sans-serif;
	border: 1px solid #ddd;
	width: 298px;
}

.civicscience.ballotbox .poll_body.loading {
    background: url(http://civicscience-css.s3.amazonaws.com/testing/loader.gif) no-repeat;
    background-size: 80%;
    height: 22px;
    width: 22px;
    opacity: .8;
    margin: 10px 0;
}

.civicscience.ballotbox .poll_body{
	padding: 10px 10px 0;
}

.ballotbox .header {
	color: #333;
	font-weight: bold;
	font-family: "Oswald", sans-serif;
	font-size: 20px;
	text-transform: uppercase;
	font-size: 20px;
	padding: 20px 10px;
	border-bottom: 1px solid #ddd;
	
}

.ballotbox .question_text {
	font-size: 14px;
	font-family: Arial,Helvetica,sans-serif;
	font-weight: bold;
}

.ballotbox ul.answer_options {
	margin: 8px 0 8px 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;
}

.ballotbox.click ul.answer_options li label {
	font-size: 12px;
	margin: 0 0 0 6px;
	font-family: Arial,Helvetica,sans-serif;
	display: table;
	font-weight: normal;
	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;
	    margin: 2px 10px 0 0;
}



/*************** @group Touch Widget ******************/


.ballotbox.touch{
	background: #f0f0f0;
	width: 100%;
}

.ballotbox.touch .header{
	font-size: 16px;
	text-rendering: optimizeLegibility;
	background-color: #ddd;
	color: #333;
	text-shadow: 0 1px 0 #fff;
	padding: 10px ;
	font-weight: bold;
}

.ballotbox.touch .question_text{
	padding: 0 10px;
	margin: 10px 0;
	color: #555;
	font-size: 15px;
	line-height: 21px;
}

.ballotbox.touch ul.answer_options{
	margin: 0 10px 0;
}

.ballotbox.touch ul.answer_options li input[type="radio"] {
	display: none;
}

.ballotbox.touch ul.answer_options li input[type="radio"] + label {
	font-size: 12px;
	color: #555;
	border: 1px solid #ebebeb;
	background: #fff;
	padding: 10px;
	border-radius: 5px;
	font-weight: normal;
	margin: 5px 0 0;
	display: block;
	cursor: pointer;
}

.ballotbox.touch ul.answer_options li input[type="radio"] + label:hover {
	background: #f9f9f9;
}

.ballotbox.touch ul.answer_options li input[type="checkbox"] {
	display: none;
}

.ballotbox.touch ul.answer_options li input[type="checkbox"] + label {
	font-size: 14px;
	color: #000;
	border: 1px solid #222;
	background: url(http://civicscience-css.s3.amazonaws.com/clients/default/images/checkbox_unchecked.png) no-repeat;
	background-size: 12px;
	background-color: #fff;
	background-position: 6px 6px;
	padding: 5px 5px 5px 26px;
	border-radius: 5px;
	font-weight: normal;
	margin: 5px 0 0;
	display: block;
	cursor: pointer;
}
 
.ballotbox.touch ul.answer_options li input[type="checkbox"]:checked + label {
	background: url(http://civicscience-css.s3.amazonaws.com/clients/default/images/checkbox_checked.png) no-repeat;
	background-size: 12px;
	background-color: #fff;
	background-position: 6px 6px;
}

.ballotbox.touch .radio + input[type="submit"] {
	display: none;
}

.ballotbox.touch .checkbox + input[type="submit"] {
	font-size: 14px;
	color: #fff;
	background: #000;
	padding: 10px 10px;
	border-radius: 5px;
	display: table;
	margin:  -10px 0 10px 0;
	width: 100%;
	text-align: center;
}

.ballotbox.touch .answer_results{
	margin: 10px;
	font-size: 14px;
}

.ballotbox.touch .answer_percentage{
	margin: 0 10px 0 0;
	color: #555;
}

.ballotbox.touch .answer_text{
	color: #555 !important;
}

.ballotbox.touch input.submit{
	display: none;
}

.ballotbox.touch .detailed_results{
	margin: 0 10px;
}

.ballotbox.touch .detailed_results a{
	color: #2171b8;
	text-decoration: none;
}

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

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

.ballotbox.touch div.wrap_up{
	margin: 0 0 20px;
	padding: 10px 10px 0;
}

/*************** @group END Touch Widget ******************/

.ballotbox input.submit{
	padding: 6px 14px;
	background-color: #1368b2;
	color: #fff;
	font-size: 12px;
	font-family: "Oswald", sans-serif;
	text-transform: uppercase;
}

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

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

.ballotbox .answer_results {
	display: table;
	width: 100%;
	font-size: 12px;
	font-weight: normal;
	margin: 15px 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;
}
