/* Form styles */

label					{ font-weight: bold; cursor: pointer; cursor: hand; }
label.required small	{ font-weight: normal; font-size: 85%; }
label.error, p.error, p.error label	{ color: #930; }
p.error					{ font-size: 90%; }
p.error label			{ font-weight: normal; }

fieldset			{ margin: 1em 0; padding: 0.5em; border: 2px solid #DEF; }
fieldset.controls	{ padding: 0; border: 0; }
fieldset.section	{ padding: 0; border: 0; }
fieldset.final		{ border-top: 2px solid #DEF; }

/* Fixes weird behavior in earlier versions of Gecko, where inline inputs would have no spacing between them */
fieldset.controls input.button	{ margin-right: 4px; }

p.controls	{ margin: 0.5em 0; }
p.optional	{ text-align: right; }

fieldset p			{ margin: 0.5em 0; }
legend				{ font-size: 120%; font-weight: bold; color: #369; background-color: white; padding: 0 0.25em; }

input, textarea, select, optgroup
{
	font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
	font-size: 100%;
}
input.text, textarea
{
	background: white url("images/shadow_white_down.gif") repeat-x;
	border: 1px solid #9AB;
	padding-left: 2px;
	margin-top: 1px;
}

input.text:focus,
textarea:focus		{ border-color: #68B; background: #DEF url("images/shadow_lightblue_down.gif") repeat-x; }

input.text.error,
textarea.error		{ background: #FCA url("images/shadow_orange_down.gif") top left repeat-x; border-color: #930; }

table	{ font-size: 1em; }
table.list textarea	{ vertical-align: text-top; }

input.button, button
{
	color: white;
	font-weight: bold;
	border: 1px solid #234;
	border-bottom-width: 2px;
	background-color: #678;
}

input.button[disabled]	{ background-color: #CDE; border-color: #9AB; color: #9AB; }

input.save,
input.update	{ background-color: #393; border-color: #036; }


input.edit,
input.confirm	{ background-color: #369; border-color: #030; }

input.add
{
	background-color:	#0000BB;	
}



input.cancel	{ background-color: #C90; border-color: #930; }
input.delete	{ background-color: #900; border-color: #300; }
input.action	{ background-color: #99C; border-color: #446; }

label.scheme	{ font-weight: normal; font-family: "Courier New", Courier, monospace; }
input.numeric	{ text-align: right; padding-right: 2px; }
input.sequence	{ margin: 0 1px 1px 0; vertical-align: middle; }

@media print
{
	p.controls,
	fieldset.controls	{ display: none; }
	input.button,
	input.sequence		{ display: none; }

	input.text			{ border: 0; padding: 0; background: transparent; display: inline; }
}
