/* When we know we have Javascript, but before the poll is initialized, err on
the side of enabling the poll and hiding the notice */
html.js div.dd-poll-node .message { display: none; }
html.js div.dd-poll-node.initialized .message { display: inherit; }

/* Show when the poll is in progress */
div.dd-poll-node.in-progress {
  opacity: 0.67;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=67)";
  filter: alpha(opacity=67);
}

/* Make the notice, warning and error messages stand out */
div.dd-poll-node .message {
  font-weight: bold;
}

div.dd-poll-node .message-notice { color: #009; }
div.dd-poll-node .message-warning { color: #960; }
div.dd-poll-node .message-error { color: #900; }

/* Make the text fields in the settings form table look good */
table#dd-poll-answers div.form-item {
  display: inline-block;
}

/* Make the row with totals stand out */
table#dd-poll-answers tr.total,
table#dd-poll-results tr.total {
  font-weight: bold;
}

/* Right-align the vote count and percentages */
table#dd-poll-answers th.count,
table#dd-poll-answers th.percent,
table.dd-poll-results th.count,
table.dd-poll-results th.percent {
  text-align: center;
}

table#dd-poll-answers td.count,
table#dd-poll-answers td.percent,
table.dd-poll-results td.count,
table.dd-poll-results td.percent {
  text-align: right;
}
