/* ------------ form stylesheet for mental images -------------- */
/*							APRIL 2009							 */
/* --------------------------------------------------------------*/


/* --- RESET - BLUEPRINT FRAMEWORK FRAGEMENTS --- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

a img { border: none; }
a { outline: none; }

legend, caption { display: none; }


/* --- base --- */

body {
	background: #fff;
	color: #737474;
	font: 12px Arial, Helvetica, sans-serif;
	line-height: 150%;
	width: 500px;
}

p {
	margin-bottom: 9px;
}

form {
	background: #f4f4f4;
	color: #616162;
	font-size: 1em;
}


/* --- positioning for the form elements --- */

.form_row {
	border-bottom: 1px solid #fff;
	float: left;
	padding: 5px 10px;
	width: 96%;
}
		.column {
			float: left;
		}
		.collapse {
			border-bottom: 1px solid #f4f4f4 !important;
			float: none;
		}
		.final_row {
			/*border-bottom: 10px solid #fff !important;*/
		}
		.cleared {
			background: #fff !important;
			border-top: 1px solid #e6e7e8;
			float: none !important;
		}
fieldset.last { /* for getting rid of the grey bg */
	background: #fff !important;
	border-top: 10px solid #fff;
	display: block;
	margin-bottom: 20px;
}

/* TODO: This hacks in an extra stylesheet */
* html fieldset.last { padding-top: 10px;}
* +html fieldset.last { padding-top: 10px;}


div#contact_phone { /* default state is hidden */
	display: none;
}

/* --- form elements --- */

/* - label - */

label,
.label_fake {
	clear: left;
	display: block;
	float: left;
	width: 210px;
}
		.checkboxlabel {
			display: block;
			clear: none;
			float: left;
			margin-left: 4px;
			padding: 1px;
		}
				.airy { /* for more whitespace */
					margin-bottom: 5px;
				}
				.mute { /* making some labels invisible */
					display: none;
				}
		span.label {
			float: left;
			margin: 0 30px 0 3px;
		}
span.text_info { /* there is additional text not being directly a label */
	display: block;
	float: left;
	width: 180px;
}

/* form fields */

input, textarea, select {
	border: 1px solid #b5b5b5;
	color: #525052;
	float: left;
	font: 1em Arial, Helvetica, sans-serif;
	padding: 2px;
	width: 260px;
}
		select {
			width: 266px;
		}
		input.rs_radio,
		input.checkbox {
			border: none;
			height: auto;
			width: auto;
		}
		input.rs_radio {
			margin-left: 0;
		}
		
		input.checkbox {
			clear: left;
			float: left;
		}
				.spaced { /* keeping the radios away from each other */
					margin-left: 30px;
				}

/* textareas */

textarea {
	height: 85px;
	margin: 4px 0 9px;
	width: 471px;
}
		.moreinfo {
			clear: left;
			float: left;
			margin-right: -6px;
			width: 260px;
		}

/* linkage */

a.more_link {
	background: url(/re-css/interface_elements/link_arrow.gif) no-repeat left 5px;
	color: #737474;
	display: block;
	margin: 10px 0 30px;
	padding-left: 13px;
	text-decoration: none;
}
		a:hover.more_link {
			background: url(/re-css/interface_elements/link_arrow_over.gif) no-repeat left 5px;
			color: #515252;
		}
a.document_link {
	background: url(/re-css/interface_elements/link_document.gif) no-repeat left 2px;
	color: #737474;
	font-weight: 400;
	margin: 10px 10px 00;
	padding-left: 17px;
	text-decoration: none;
}
* html a.document_link {
	background: url(/re-css/interface_elements/link_document.gif) no-repeat left 3px;
}
* +html a.document_link {
	background: url(/re-css/interface_elements/link_document.gif) no-repeat left 3px;
}
		a:hover.document_link {
			background: url(/re-css/interface_elements/link_document_over.gif) no-repeat left 2px;
		}
		a:hover.more_link,
		a:hover.document_link {
			text-decoration: underline;
		}

/* buttons */

button.submit_link  /* realityserver_more_link */ {
	color: #5e6e66;
	font: 1em Arial, Helvetica, sans-serif;
	font-weight: 700;
	background: url(/re-css/interface_elements/link_arrow_grey.gif) no-repeat left 5px;
	text-decoration: none;
	float: left;
	padding: 1px 12px 2px 10px;
	border-width: 0;
	cursor: pointer;
	width: auto;
	overflow: visible;
}
		button.submit_link:hover {
			background: url(/re-css/interface_elements/link_arrow_over.gif) no-repeat left 5px;
			color: #515252;
			text-decoration: underline;
		}
body:first-of-type button.submit_link { /* targeting safari 3 */
	background: url(/re-css/interface_elements/link_arrow_grey.gif) no-repeat left 3px;
	padding-left: 15px;
} 
* html button.submit_link { padding-left: 15px; }
* +html button.submit_link { padding-left: 15px; }

/* errormessages */

div.rs_error {
	background: #fa7500;
	color: #fff;
	display: none;
	font-weight: 700;
	width: 100%;
}
		span.message_error {
			display: block;
			float: none;
			padding: 2px 0 2px 10px;
			width: 100%
		}
/* TODO - keep this in an extra stylesheet */
* html .rs_error span.message_error {
	width: auto;
}


/* --- helper --- */

.clear:after {
	display:block; 
	visibility:hidden; 
	clear:both; 
	height:0; 
	content: "."; 
}

/*ie6 - invalid helper  TODO: Should reside in an extra stylesheet */
* html .clear { display:inline-block; }
