/*
Smart Files Oy SmartSite CMS Poll system style file
Written by Tomi Kulmala <tomi.kulmala@smartfiles.fi> on 02/2010
*/

div.pollContainer {
	/*background-color: #f0f0f0;*/
	margin: 15px 15px 0 15px;
	/*padding: 5px;*/
	text-align:left;
}

div.pollName {
	font-weight: bold;
	border-bottom: 1px solid #000;
	padding-bottom:5px;
}

div.pollQuestionContainer {
	padding: 5px 0;
}

div.pollQuestion {
	font-weight: bold;
	margin:5px 0;
}

div.pollOptions {
	
}

div.pollOption {
	margin: 2px 0;
}

div.pollButtons {
	padding-top: 10px;
	border-top: 1px solid #eee;
	text-align: right;
}

span.pollButton {
	cursor: pointer;

	padding: 3px 6px;
	border: 2px solid #ccc;
}

span.pollButton:hover {
	background-color: #ddd;
}

div.poll_percents {
	margin-top:5px;
}

div.poll_total_votes {
	font-weight:bold;
	margin-top:5px;
}

div#noActivePolls {
	margin: 15px 10px 0 15px;
}

div.total_percents {
	margin-top:5px;
}

div#newPollQuestion {
	margin-top: 5px;
}

/* ---------------------------------------------------------*/
/* ADMIN 											*/

table.poll_admin_table {
	width: 100%;
}

table.poll_admin_table td {
	vertical-align: top;
}

table.poll_admin_table td.topic {
	width: 180px;
	font-weight: bold;
}

table.poll_admin_table tr:nth-child(even) {
	background: #fff;
}

table.poll_admin_table tr:nth-child(odd) {
	background: #f7f7f7;
}

input.poll_formfield {
	width:100%;
}

input.poll_optionfield {
	width:200px;
}

img.poll_option_add_button, img.poll_option_delete_button {
	cursor:pointer;
	margin-bottom: -3px;
}

div.poll_option {
	margin: 2px 0;
}

input.poll_field_error {
	border: 2px solid #c00;
}

img.ui-datepicker-trigger {
	margin: 0 0 -2px 6px;
}

/* -------------------------------------------------------*/