/*
 * Header, menus, contents
 */

html, body {
	position: absolute;
	margin: 0px;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

#header {
	width: 100%;
	background-color: #becce6;
	background-image: url( '../media/core.header-background.gif' );
	background-repeat: repeat-x;
	height: 60px;
}

#header-logo {
	border-top: 2px solid white;
	border-bottom: 2px solid white;
	border-left: 5px solid white;
	border-right: 5px solid white;
}

#header-scene {
	position: absolute;
	top: 0px;
	right: 0px;
}

#menu-top {
	position: absolute;
	top: 35px;
	right: 0px;
}

#menu-top th {
	vertical-align: top;
}

#menu-top td {
	background-image: url( '../media/core.menu-top-background.gif' );
	background-repeat: repeat-x;
	background-position: top right;
	white-space: nowrap;
}

#menu-top span {
	color: black;
	text-align: center;
	margin-left: 3px;
	margin-right: 3px;
	font-weight: bold;
}

#menu-top a {
	color: black;
}

#menu-left,#menu-right {
	vertical-align: top;
	position: absolute;
	top: 62px;
	padding-top: 2px;
	padding-left: 2px;
	vertical-align: top;
}

#menu-left h2 {
	border-bottom: 1px solid black;
	margin-top: 10px;
	margin-bottom: 10px;
}

#menu-left a {
	padding-left: 5px;
	display: block;
}

#footer {
	padding-top: 500px; /* For IE 5.5 */
	voice-family: "\"}\"";
	voice-family: inherit;
	padding-top: 0px; /* For not IE 5.5 */
	position: absolute;
	left: 0px; /* For Opera */
	width: 100%; /* For Firefox */
	bottom: 0px;
}

/*
 * Login screen
 */
#login table {
	width: 240px;
	border: 1px solid black;
}

#login table th {
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 6px;
	width: 50px;
}

#login table td {
	padding-top: 2px;
	padding-bottom: 2px;
	padding-right: 6px;
}

/*
 * Mozilla doesn't like #content width: 100%
 */
#content {
	vertical-align: top;
	padding-bottom: 20px;
}

/*
 * Error page
 */
#error-log {
	border: 1px solid #CCCCCC;
	padding: 3px;
	margin: 3px;
	display: none;
	height: 300px;
	width: 500px;
	overflow: auto;
}

/*
 * Forms
 */
 
.table-one-column {
	width: 80%;
}

.table-wide {
	width: 100%;
}

.table-tall {
	width: 100%;
}

.table-label-column {
	width: 25%;
	white-space: nowrap;
	vertical-align: top;
	padding-top: 3px;
}

.table-label-column-narrow {
	width: 10%;
	white-space: nowrap;
	vertical-align: top;
	padding-top: 3px;
}

.buttons {
	padding-top: 15px;
	padding-bottom: 15px;
}

.buttons input, .buttons img {
	margin-right: 2px;
}

.table-columns {
	width: 100%;
}

.form-control-widest {
	width: 100%;
}

.rich-spinner-input-container {
	width: 99%;
}

label .form-control-widest, .rich-calendar-exterior {
	width: auto;
}

.form-select-many {
	margin-bottom: 3px;
}

.form-select-many label input {
	position: relative;
	top: 2px;
}

.required {
	width: 1%;
	text-align: right;
	color: red;
	font-weight: bold;
	font-size: 10pt;
	padding-right: 2px;
}

#tooltip {
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
	padding: 1px;
	border: 1px solid #8080ff;
	background-color: #c0c0ff;
	font-weight: normal;
	opacity: .85;
	filter: alpha(opacity = 85) progid:DXImageTransform.Microsoft.Shadow(color='#444444',Direction=135,Strength=3);
}

.error {
	width: 98%;
	background-color: #ff8888;
	padding: 5px;
	margin-bottom: 10px;
	font-weight: bold;
}

textarea {
	height: 100px;
}

.highlighted-section {
	background-color: #ffff80;
	padding: 3px;
}