/*
	Parallel 56
	Forms Stylesheet
	
	$Author: jstewart $
	$Date: 2006-10-23 15:20:28+01 $
	$Revision: 1.0 $	
*/

/* Entry Field styles */

input,
textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
}

fieldset select {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: normal;
} 

select {width: 18.7em;}

input,
textarea {
	width: 17.9em;
	padding: 0.2em;
}

fieldset textarea {height: 8em;}

/* Forms styles */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;	
}

@media screen {
	legend { display: none; }
}

fieldset label {
	display: block;
	text-align: left;
	float: left;
	width: 10em;
}

fieldset .formElement {
	float: left;
	clear:none;
	text-align:left;
}

fieldset div.row .formElement label {
	/* This class undoes all the work done to all labels */
	float: none;
	display: inline;
	text-align: left;
}

div.formElement.nolabel {width:auto;}

div.formElement .checkbox input {
	width: auto;
	height: auto;
}

div.formElement .checkbox label {
	position: relative;
	top: -2px;
	width: auto;
}

div.noLabel label {display: none;}
div.noLabel select {width: 28.7em;}

fieldset .submitRow input {width: auto;}

/* how to clear a series of floats, make the inner floats push the outer container WITHOUT a br clearboth */
fieldset .row:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

fieldset .row { display: inline-table;}

/* Hides from IE-mac \*/
* html fieldset .row { height: 1%; }
fieldset .row { display: block; }
/* End hide from IE-mac */

/* Error styles (common) */

div.errormessage {clear: both;}

/* Error styles (colour) */

div.errormessage {
	color: #A4001D;
	background: transparent no-repeat left 0.4em;
	text-align: left;
	font-size: 90%;
	padding-left:1em;
}

.errorborder {border-color: #A4001D;}

fieldset select.autowidth {width: auto;	border: 0;}

/* Mozilla select box annoyance */
html>body fieldset select.autowidth option:after {content:" ";}

/* CISSS Specific Form Styling */

/* Blue form */
fieldset {padding-top: 0.5em;}

div.submitRow,
div.row {
	background-color: #ebf5ff;
	padding: 1em 1em 0 1em;
}

fieldset#loginForm div.row {
	padding: 0.5em 1em 0.6em 1em;
}

div.row.authority {
	background-color: #cde6ff;
	padding-bottom: 0.75em;
	margin-bottom: 0.75em;
}

div.submitRow span,
div.row.formText {font-size: 90%;}

div.row.authority label {font-weight: bold;}

div.row span.dpHeading {
	font-weight: bold;
	font-size: 110%;
}

div.submitRow {
	text-align: right;
	padding-bottom: 1em;
}

div.submitRow span {float: left;}

div.submitRow input {
	border: 0;
	background-color: #0c53bc;
	color: #fff;
	font-weight: bold;
}

fieldset#loginForm div.submitRow {margin-top: 1em;}

/* Pink Form */
div.pink div.submitRow,
div.pink div.row {background-color: #f8ecfc;}

div.pink div.submitRow input {
	background-color: #ba5fd7;
}

fieldset div.row div.formElement label.hidden {display: none;}

input.smallBox {
	width: 3em;
	margin-right: 0.5em;
}

select.smallBox {
	width: 13em;
	margin-left: 0.5em;
}

fieldset#localFilter select.smallBox {margin-left:0;}

div.form div.pinkBlock {
	padding-bottom: 0.75em;
	color: #000;
}

/* Filter form */

fieldset#filter {
	background-color: #efeff1;
	text-align: right;
	padding-left: 6em;
	margin: 0.75em 0;
}

fieldset#filter div.submitRow,
fieldset#filter div.row  {background-color: #efeff1;padding: 0;}

fieldset#localFilter div.row,
fieldset#filter div.row {float: left;padding-bottom: 0.5em;}

fieldset#filter label {
	width: auto;
	padding-right: 1em;
	padding-top: 0.25em;
}

fieldset#filter div.submitRow input {margin-right: 0.5em;}

fieldset#localFilter {
	background-color: #f8ecfc;
	margin: 0.75em 0;
	padding:0;
}

fieldset#localFilter div.submitRow,
fieldset#localFilter div.row  {padding-top:0.75em;padding-bottom:0;}

fieldset#localFilter div.submitRow input {float: left;}
fieldset#localFilter div.submitRow {padding-top:2.9em;}