/*===========================================================================================*
 * RE-USABLE CORE CSS-FRAMEWORK                                                              *
 * Resets and formats basic HTML elements, providing a blank canvas to build CSS styles on.  *
 * Optix Solutions Ltd / Tom Harman 2005                                                     *
 *===========================================================================================*/

 
/* =RESET UNIVERSAL MARGIN / PADDING *********************************************************/
html, body, div, form, fieldset {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, dd, address, table {
	margin: 0 0 1em 0;
	padding: 0;
}

/* =FONTS ************************************************************************************/
html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address, abbr , input, select, textarea, table, td, th {
	font-size: 100%;
	/*font-family: Verdana, Arial, Helvetica, sans-serif;*/
}

address, abbr { 
	font-style: normal 
}

/* =COLOURS **********************************************************************************/
body, a {
	color: #000;
}

body {
	background-color: #fff;
}

/* =LINKS ************************************************************************************/
a { 
	text-decoration: none;
	/*font-weight: normal */
}

a:hover { 
	text-decoration: underline; 
}

/* =LISTS ************************************************************************************/
dt	{ 
	font-weight: bold; 
}

ul { 
	list-style: none;
}

li, dd, blockquote {
	margin-left: 1em;
}

/* =IMAGE ************************************************************************************/
img {
	border: none;
}

/* =TABLE ************************************************************************************/
table {
	border: none;
}

/* =MISC *************************************************************************************/
hr {
	display: none;
}

div.hr {
	height: 1px;
	margin: 1.5em 1em;
	border-bottom: 1px solid #333;
}

/* =FORMS ************************************************************************************/

/* setup default widths */

form {
	width: 100%;
}

fieldset div input, fieldset div textarea  {
	width: 48%;
}

label, div.fm-multi label {
	width: 46%;
}

div.padOut {
	margin-left: 50.5%;
}

/* default button colours */	

#fm-submit input {
	border: 1px solid #333;
	padding: 2px 1em;
	background: #777;
	color: #fff;
	width: auto;
	font-weight: bold;
}

/* setup other form attributes */

fieldset, legend {
	border: none 
}

fieldset div input, fieldset div textarea  {
	color: #333;
	font-weight: normal;
	border: 1px solid #aaa;
	padding: 1px
}

legend {
	margin: 1em 0;
	padding: 0 .5em;
	background: transparent;
	font-size: 1.3em;
	font-weight: bold;
}

.fm-multi input {
	border: none;
}

label, div.fm-multi label {
	float: left;
	padding: 0 1em;
	text-align: right;
}

fieldset div {
	margin-bottom: .5em;
	padding: 0;
	display: block;
}

fieldset div select {
	padding: 1px;
}

div.fm-multi div {
	margin: 0;
}

div.fm-multi input {
	width: 1em;
	clear: both;
}

div.fm-multi label {
	display: block;
}

#fm-submit {
	clear: both;
	text-align: left;
}

input:focus, textarea:focus {
	background: #fafafa;
	color: #000;
}

div.fm-req {
	font-weight: bold;
}

div.fm-req label:before, div.fm-req p:before {
	content: "* ";  /*does not work in IE */
}

/* =TOOLS ************************************************************************************/

.clearer {
	clear: both;
	height: 1px;
	margin: 0;
	padding: 0;
	font-size: 1px;
	line-height: 1px;
}

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
}

/* image replacement on list elements or div.h1 elements */
ul.replace li a, div.replace h1 {
	display: block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: left top;
	height: 0px !important;
}

/* used for accessability / commented out due to SEO black hat implications */
/*.accessibility {
	position: absolute;
	top: -999em;
	left: -999em;
}*/

/* =GENERIC OUTPUT STYLES ********************************************************************/

/* Default style for generic errors */
.error { 
	color: #a00;
	font-weight: bold;
}

.error ol li {
	list-style-type: lower-roman;
	list-style-position: inside;
	margin-left: 0;
	padding-left: 1em;
	text-indent: 1em;
	font-weight: normal;
}

.notice { 
	font-weight: bold;
}

.message { 
	
}

/* GENERIC =LAYOUT STYLES ********************************************************************/

/* Don't specify a width with this id name later! only specify widths for div#content */
div#content-stretch {
	width: 100%;
}
