@import "form-tb.css";

html, body {
	margin: 0;
	font-family: sans-serif;
}

a:link {
	color: #00a;
}

a:visited {
	color: #008;
}

div#header h1 {
	color: white;
	background: #00a;
	border-bottom: 2px solid #ccf;
	margin: 0;
	padding-left: 1em;
	letter-spacing: 2px;
}

div#navigation {
	float: left;
	width: 15em;
	margin-top: 2em;
	margin-left: 1em;
	background: #ccf;
	border: 1px solid #00a;
}

div#navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

div#navigation li a {
	padding: 0 0.5em;
	display: block;
}

div#navigation li a:hover {
	background: #00a;
	color: white;
	font-weight: bold;
	text-decoration: none;
}

div#navigation h2 {
	margin: 1em 0.5em 0.1em -0.5em;
	padding: 0 0.2em;
	font-size: 100%;
	border: 1px outset #ccf;
	background: #00a;
	color: white;
}

div#navigation li.role {
	clear: both;
	padding-left: 0.5em;
	margin-bottom: 0.1em;
}

div#navigation li.role a {
	display: inline;
}

div#navigation li.role a:hover {
	font-weight: normal;
}

div#navigation li.role span {
	float: left;
	width: 5em;
}

div#content {
	margin: 2em 1em 0em 18em;
	padding: 0.5em;
	border: 2px groove #00a;
}

div#content h1 {
	margin: 0 0 1em 0;
	color: #00a;
	border: 1px solid #00a;
}

div#content h2 {
	color: #00a;
	border-bottom: 1px solid #00a;
}

div#content h3 {
	color: #00a;
	margin-left: 0.5em;
}

div#footer {
	border-top: 1px solid #00a;
	margin: 1em 0 0 2em;
	text-align: right;
	font-size: small;
	padding: 0.2em 1em;
}

div#content form {
	margin-top: 1em;
}

div#content div.error-message h1 {
	color: red;
	border: 0;
	font-style: italic;
	padding-left: 0.5em;
}

div.error {
	background: #fcc;
	border: 1px solid red;
	padding: 0.5em;
}

.field-error-message {
	margin-top: 0.2em;
	display: block;
	font: bold smaller sans-serif;
	background: #fcc url(../images/error.png) top left no-repeat;
	padding-left: 20px;
}

div.error-message {
	color: red;
}

div.preview {
	border: 2px groove #00a;
	font-size: smaller;
	width: 90%;
	margin: 1em auto;
	padding: 3px;
}

a.button, input.button {
	background: #eee;
	color: black;
	border: 1px outset black;
	padding: 1px;
	text-decoration: none;
	font-size: 90%;
	padding: 0 0.5em;
}

a.button:hover, input.button:hover {
	background: #ddd;
}

table {
	border: 1px solid black;
	border-collapse: collapse;
}

thead {
	background: #ccf;
}

th {
	padding: 0 0.5em;
}

table caption {
	display: none;
}

tr {
	border: 1px solid black;
}

td {
	padding: 0 2px;
}

tr.even {
	background: #eef;
}

div.buttons-bar {
	margin-top: 1em;
}

div.buttons-bar .button {
	margin: 0 0.5em;
}

table.election-votes td,
table.election-pairwise-matrix td,
table.election-ratings td {
	text-align: center;
}

table.vote {
	border: none;
}

table.vote tr {
	border: none;
}

.diff-new {
	background-color: #80ff80;
}

.diff-old {
	background-color: #ff8080;
}

table.history {
	margin-top: 2em;
}

table.history td {
	padding: 0.2em 1em;
	border: none;
}

hr {
	color: #00a;
	background-color: #00a;
	border: none;
	height: 1px;
}

div.balloon-help {
	display: none;
}

pre {
	border: 1px solid #ccf;
	background: #ddf;
	padding: 0.5em;
}

div.dropdown {
	margin: 0;
	padding: 0;
	width: 10em;
	float: left;
	margin-right: 1em;
	font-size: 80%;
}

div.dropdown ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #ccc;
	border-top: 0;
	display: none;
}

div.dropdown span {
	display: block;
	border: 1px solid #ccc;
	background: white url(../images/v.png) top right no-repeat;
}

div.dropdown:hover span {
	background: #eee;
}

div.dropdown span:after {
	content: "...";
}

div.dropdown:hover span:after {
	content: "";
}

div.dropdown li {
	padding: 0;
}

div.dropdown:hover ul {
	display: block;
	background: white;
	/*background: url(../images/ntbg.png);*/
}

div#commands a {
	display: block;
	color: black;
	border: 1px solid white;
	text-decoration: none;
	padding-left: 0.3em;
}

div#commands a:hover {
	background: #eee;
	border: 1px outset black;
}

div#commands a:active {
	border: 1px inset black;
}
	
div.formHelp {
	font-size: 80%;
	color: gray;
}

