/* MedlemsDB2
 * ITK, Studentersamfundet i Trondhjem 2004
 */

body {
	background: white;
	color: black;
	font-family: sans-serif;
}

h1 {
	font-size: xx-large;
}
h2 {
	font-size: x-large;
}
h3 {
	font-size: large;
}

a {
	color: black;
}

th, td {
	border-right: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	text-align: left;
	vertical-align: top;
}

table {
	margin-bottom: 1em;
}

table.tablelist th {
	background-color: #ffffff;
}
table.tablelist tr:hover {
	background-color: #e6e6e6;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 1em;
}

.obligatorisk {
  color: red;
	margin-left: 3px;
	margin-right: 3px;
}

#header {
	background: #993333;
	color: white;
	vertical-align: middle;
	min-height: 34px; /* 18px img + 2x8px margin, to not push menu to the left*/
}
#header img {
	float: left;

	/* IE sucks */
	margin-top: 8px;
	margin-left: 8px;
	padding-right: 8px;
	padding-bottom: 8px;
}
#header h1 {
	font-size: 29px;
	text-align: right;
	margin: 0px;
	margin-right: 4px;
	padding: 0px;
}

a .selected {
	background: #e0e0e0;
	font-weight: bold;
	padding: 4px;
}

ul li {
	margin-top: 0.5em;
}

#footer {
	clear: both;
	background: #c0c0c0;
	color: black;
	margin-top: 1em;
	padding: 0em;
}
#footer #ssso {
	float: right;
	padding-left: 2px;
}
#footer .username {
	float: right;
	line-height: 34px;
	margin-top: 0em;
	padding-left: 2px;
	padding-right: 2px;
}
#footer .help {
	line-height: 34px;
	padding-left: 2px;
}
.disabled {
	text-decoration: line-through;
}
.outdated {
	color: gray;
}

.error, .error a {
	background: transparent;
	color: red;
}

.vote_registered {
	color: green;
	border: 1px solid black;
	background: #fafffa;
	padding: 4px;
	width: 50%;
}

.vote_undone {
	  color: yellow;
	  border: 1px solid black;
	  background: #a0a0a0;
	  padding: 4px;
	  width: 50%;
}

.table_header {
	background: #c0c0c0;
	color: black;
}
.num {
	text-align: right;
}

.box {
	border: 1px solid black;
	width: auto;
	float: right;
	text-align: center;
	padding: 0.5em;
	max-width: 40%;
}

/* menu */
.menu {
	color: black;
	line-height: 2.0em;
}
.menu div.odd, .menu div.even {
	float: left;
	padding: 0em;
	border-right: 1px solid black;
}
.menu div.odd, .menu div.rest {
	background: #c0c0c0;
}
.menu div.even {
	background: #f0f0f0;
}
.menu div p {
	margin: 0em;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

a:hover {
	text-decoration: none;
}

option.optgroup {
	color: #000;
	font-weight: bolder;
}

input.disabled {
	color: #000;
	background-color: #ccc;
	text-decoration: none;
}
