/* $Id: forms.css 1261 2008-03-29 19:42:45Z storance $ 
 *
 * Copyright 2006 Steven Torance
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at 
 *
 *		http://www.apache.org/licenses/LICENSE-2.0 
 *
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
form fieldset {
	margin: 15px 0;
	padding: 0.4em 0.8em 0.4em 0.8em;
	border: 1px solid #000;
	background-color: #505050;
}

form legend {
	padding: 0;
	font-size: 12pt;
	font-weight: bold;
	color: #efae00;
	text-transform: none;
	line-height: 1.2em;
	vertical-align: middle;
}

form input,form textarea {
	font-size: 8pt;
	vertical-align: middle;
	padding: 2px;
	margin: 2px;
	width: 200px;
}

form table input {
	width: 150px;
}

form select {
	font-size: 8pt;
	vertical-align: middle;
	width: 211px;
	color: #000;
	margin: 2px;
}

form textarea {
	font-size: 8pt;
	padding: 2px;
}

form textarea.large {
	width: 350px;
}

form input.radio,form input.checkbox {
	width: auto;
}

form div.oneOption {
	margin: 2px 2px 2px 0;
	padding: 2px;
	font-weight: bold;
	font-size: 8pt;
}

form dt {
	float: left;
	width: auto;
}

form dd+dd {
	padding-top: 5px;
}

form dt label,form dt .label {
	font-size: 1.2em;
	text-align: left;
	font-weight: bold;
	color: #efae00;
	margin-left: 10px;
}

form dd label {
	white-space: nowrap;
	margin: 0 10px 0 0;
	color: #efae00;
}

form label em,form .label em {
	color: #c00;
}

form fieldset dl {
	margin-bottom: 10px;
	font-size: 0.85em;
}

form fieldset dt {
	width: 45%;
	text-align: left;
	border: none;
	border-right: 1px solid #000;
	padding-top: 3px;
}

form fieldset dd {
	margin: 0 0 0 45%;
	padding: 0 0 0 5px;
	border: none;
	border-left: 1px solid #000;
	vertical-align: top;
}

/* Definitions list inside form fields */
form fieldset dd dl dt {
	width: auto;
	float: none;
	border: 0;
	font-weight: bold;
}

form fieldset dd dl dd {
	border: 0;
	margin: 0;
}

form fieldset.submit-buttons {
	text-align: center;
	border: none;
	background-color: transparent;
	margin: 0;
	padding: 4px;
	margin-top: -1px;
}

form p.submit-buttons {
	text-align: center;
	margin: 0;
	padding: 4px;
	margin-top: 10px;
}

form .submit-buttons input {
	padding: 3px 2px;
	width: auto;
}

form input:focus,form textarea:focus,form select:focus {
	background-color: #ffffe1;
}

form .submit-buttons input:focus {
	background-color: ButtonFace;
}

form dl.error {
	color: #000;
	border: 1px solid #c00;
	background: #fcc;
	padding: 10px 0 10px 0;
}

form select.units {
	width: auto;
	margin: 0 0 5px;
}

form select.time {
    width: 70px;
    margin:0 10px 5px 10px;
    padding:1px 0;
}

/* Entries Per page selector */
div.limit {
	float: right;
	height: 100%;
	padding: 0.5em;
	position: relative;
	text-align: center;
}

div.limit form {
	vertical-align: middle;
}

.limit label,.limit .label {
	color: #efae00;
	width: auto;
	float: none;
	display: inline;
	font-weight: bold;
	vertical-align: middle;
}

.limit .lightbg {
	color: #efae00;
}

.limit select {
	width: auto;
	margin: 0;
}