/**
 *	Form CSS file
 *
 *	@author Tim Brown
 *	@author Ollie Maitland
 */

/* Import form widget CSS */
@import 'form_widgets.css';

/**
 * Global styles
 */

input,textarea,button {
	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 {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	letter-spacing:1px;
	border-width:1px;
	background:#ffffff;	
	border-style:solid;
	border-color:#9b9b9b;
}

/**
 * Standarn-form
 */

 *html .standard-form .wrap .multi input{border:1px solid #ccc !important}

#standard-form, .standard-form {
	border-collapse:collapse;
	padding:0px;
	margin:0px;
}

#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;
}

div#question_type select{
	width:620px;
}

/* 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:230px;
	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:470px;
	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:280px;
	padding:0;
	margin:0;
	color: #9b9b9b;
}

#wrapper.layout0 #standard-form .wrap .hint, #wrapper.layout0 .standard-form .wrap .hint {
   width:245px;
}

#standard-form .wrap .multi, .standard-form .wrap .multi {
	line-height:2em;
	max-height:30em;
	overflow:auto;
}

#standard-form .wrap .multi input, .standard-form .wrap .multi input {
	margin-bottom:0.5em;
	margin-top:0.6em;
	width:6em;
	border:0;
	margin-left:4em;
}

#standard-form .wrap .multi input[type=text], .standard-form .wrap .multi input[type=text]{
	border:1px solid #ccc !important;
}

*html .standard-form .wrap .multi input{border:1px solid #ccc;}

#standard-form .wrap .multi input[type=text]:focus, .standard-form .wrap .multi input[type=text]:focus{
	border:1px solid #666 !important;
}

#standard-form .wrap .multi .hint, .standard-form .wrap .multi .hint {
	/* move in */
	
}

#standard-form .compact .hint, .standard-form .compact .hint {
	width:180px;
}

/**
 * Columns of inputs
 */
#standard-form .col, .standard-form .col {
	width:100px !important;
	margin-left:0 !important;
}

*html #standard-form .col, .standard-form .col {
	margin:0 !important;
	padding:0 !important;
	float:right !important;
}

/**
 * Long handle names
 */
#standard-form .long, .standard-form .long {
	width:100%;
	clear:both;
}

/* disabled input */
#standard-form .disabled, .standard-form .disabled {
	background:#eeeeee;
}

#standard-form label.inline, .standard-form label.inline {
	display:inline;
	float:none;
	padding:0px;
	border:0px;
}


/**
 * Input types
 */

/* small */
#standard-form .s, .standard-form .s {
	width:68px;
	border:1px solid #9B9B9B;
}

/* very small */
#standard-form .ss, .standard-form .ss {
	width:30px;
	border:1px solid #9B9B9B;
}

/* 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:1em;
	font-size:0.9em;
}

.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, .go {
 	font-family:Arial, Helvetica, sans-serif;
 	font-size:12px;
	letter-spacing:0;
 	background-color:#FF0000;
 	border:0;
 	font-weight:bold;	
	width:122px;
	height:22px;	
	font-weight:bold;
	color:#ffffff;
	padding:0px 0 4px 4px;
	text-align:left;
	background-image:url(../images/buttons/submit_bg.png);
}


#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;
	margin-right:2em;
}

#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;
	margin-right:5px;
}

#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;
	margin-right:10px;
}

input#submit, input.submit {
	margin:0px;
	padding:0px 0px 0px 4px;
	border:0;
	height:22px;
	width:122px;
}

#submit-course-availability #standard-form select, #submit-course-availability .standard-form select  {
	width:100%;
}