/**
 *	Form CSS file
 *
 *	@author Tim Brown
 *	@author Ollie Maitland
 */


/**
 * Global styles
 */

input,textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	letter-spacing:1px;
	border-width:1px;
	background:#ffffff;	
	border-style:solid;
	border-color:#9b9b9b;
	padding:3px;
}

select {
	border:1px solid #9b9b9b;	
}

/**
 * Standarn-form
 */

 #standard-form, .standard-form {
	border-collapse:collapse;
	padding:0px;
	margin:25px;
	width:500px;
	margin-left:85px;
	font-size:12px;
}

#standard-form fieldset, .standard-form fieldset {
	position:relative;
	padding:0;
	margin:0;
	border:0;	
}

#standard-form legend, .standard-form legend {
	color:#555555;
}

#standard-form fieldset input,
.standard-form fieldset input {
	width:204px;
	padding:3px;
	padding-left:6px;
}

#standard-form textarea, .standard-form textarea {
	width:90%;
	height:12em;
	padding:3px;
	padding-left:6px;
}

#standard-form select, .standard-form select {
	width:212px;
	border:1px solid #9b9b9b;
	margin-bottom:2px;
}

#standard-form option, .standard-form option {
	padding:2px;
}

/* Mozilla highlighting */
#standard-form 	input[type=text]:focus,
#standard-form	input[type=password]:focus, 
#standard-form	textarea:focus,
.standard-form	input[type=text]:focus,
.standard-form	input[type=password]:focus,
.standard-form	textarea:focus {
	border: 2px solid;
	margin:-1px;
	border-color: #9b9b9b;
}


#standard-form	textarea:focus,
.standard-form	textarea:focus {
	margin:0;
}

#standard-form .error, 
.standard-form .error {
	border-color:red;
}

#standard-form .field
.standard-form .field {
	/* required for IE6 */
}

#standard-form .handle, #standard-form label,
.standard-form .handle, .standard-form label {
	float:left;
	width:180px;
	font-weight:normal;
	border-top-color:#ececec;
	border-top-width: 1px;
	border-top-style: solid;
	padding-top:0.75em;
	padding-bottom:0.75em;
	padding-right:20px;
	line-height:1.5em;
	clear:both;
	color:#000;
}

#standard-form .handle, #standard-form label.optional,
.standard-form .handle, .standard-form label.optional {
	font-weight:normal;
}

#standard-form label span,
.standard-form label span,
.required_field_note span {
	color:#C8181A;
	font-size:120%;
	/*margin-left:-0.25em;*/
	margin-right:0.1em;
	margin-top:0.25em;
}

#standard-form .wrap, .standard-form .wrap {
	float:left;
	padding-top:0.75em;
	padding-bottom:0.75em;
	width:250px;
	border-top-color:#ececec;
	border-top-width: 1px;
	border-top-style: solid;	
}

/* different layout form widths */
#wrapper.layout1 #standard-form .wrap, #wrapper.layout1 .standard-form .wrap {
	width:500px;
}

#wrapper.layout2 #standard-form .wrap, #wrapper.layout2 .standard-form .wrap {
	width:600px;
}

#standard-form label.compact, .standard-form label.compact {
	width:180px;
}

#standard-form div.compact, .standard-form div.compact {
	width:300px;
}

#standard-form .wrap .hint, .standard-form .wrap .hint {
	float:right;
	width:200px;
	color: #9b9b9b;
}

#standard-form .wrap .multi, .standard-form .wrap .multi {
	line-height:2em;
}

#standard-form .wrap .multi input, .standard-form .wrap .multi input {
	margin-bottom:0.75em;
}

#standard-form .wrap .multi .hint, .standard-form .wrap .multi .hint {
	/* move in */
	width:320px;
}

/**
 * Columns of inputs
 */
#standard-form .col, .standard-form .col {
	width:5em;
	height:1.2em;
	margin:0.25em;
	border:0;
}

/**
 * Long handle names
 */
#standard-form .long, .standard-form .long {
	width:100%;
	clear:both;
}


/* disabled input */
#standard-form .disabled, .standard-form .disabled {
	background:#EEE;
}


/**
 * Input types
 */

/* small */
#standard-form .s, .standard-form .s {
	width:68px;
}

/* box stub */ 
#standard-form .stub, .standard-form .stub {
	width:120px;
}


/* Force button to be inline post-padding on <label> and <input /> tags */
button {
	height:30px;
	margin-bottom:-5px;
}

/**
 * General button styles
 */

 #button {
	margin-top:1em;
	margin-bottom:0px;
 }
 
 #button .desc {
	margin-left:2em;
	font-size:0.85em;
}

.layout0 #button .go, .layout0  button,
.layout1 #button .go, .layout1  button
{
	background:#fff;
	font-weight:bold;
	border:solid 1px #999;
	width:200px;
	color:#555;
}

.layout0 #button .go,.layout0  button {
	width:160px;
}

.layout1 #button .go, .layout1  button {
	width:180px;
}

#standard-form .go, .standard-form .go,
#standard-form .go, .standard-form .go {
 
 	font-size:1em;
 	border:solid 1px #616365;
 	font-weight:bold;	
	width:12em;
	height:2em;	
	font-weight:bold;
	color:#404040;
	padding:0.25em 0 0.25em 0.5em;
	text-align:center;
}


#standard-form .go-wrap, .standard-form .go-wrap {
	text-align:left;
	padding-left: 200px;
	margin-left:1.0em;
	border-top-color:#ececec;
	border-top-width: 1px;
	border-top-style: solid;
	padding-top: 10px;
}

#standard-form .reset-wrap, .standard-form .reset-wrap {
	float:left;
	padding-left:1.0em;
	border-top-color:#ececec;
	border-top-width: 1px;
	border-top-style: solid;
	padding-top: 10px;
}

#standard-form .go-block, .standard-form .go-block {
	text-align:right;
	padding-right:10px;		
}


#standard-form span.required_field_note, .standard-form span.required_field_note {
	float:right;
}

input#submit, input.submit {
	margin:0px;
	padding:0px;
	border:0;
	height:22px;
	width:122px;
}