/*
	Forms Stylesheet for  Innovation


*/

/* Font styles */

input,
select,
textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
}

input.button  {
	font-weight: bold;
}

input {
	font-size: 100%;
}

fieldset label {
	display: block;
	margin-bottom: 0.5em;
	padding-top: 2px;
}

/* Main Form styles */

fieldset input,
fieldset textarea,
fieldset select {
	width: 90%;
}



fieldset input.button { width: auto; }


fieldset select {
	width: 91.25%;
}


fieldset .submitrow {
	text-align: right;
}

fieldset textarea {
	height: 5em;
}

fieldset input.autowidth {
	width: auto;
	border: 0;
}

fieldset select.autowidth { width: auto; }


fieldset {
	padding: 0 0 1em 0;
	border: 0;
	margin-top: 1em;
}

fieldset fieldset.autogenerated { margin: 0; padding: 0; border: 0; }

@media screen {
	fieldset legend { display: none; }
}	

fieldset.wideForm { margin-right: 20%; } /* Changed from padding */

fieldset.inline { margin: 0 0 1em 0; }
fieldset.highlight { padding-top: 1em; margin-bottom: 1em; }
fieldset.inline select { width: 90%; margin-right: 2%; }
																/* Advanced form styles */

fieldset div.postcode input,
fieldset div.telephone input {
	width: 20%;
	margin-right: 1em;
}


fieldset div.datefields input { width: 9%; }

fieldset div.datefields input.day { }
fieldset div.datefields input.month { }
fieldset div.datefields input.year { width: 15%; }

/* Scrollable lists */
fieldset div.scrollable {
	width: 100%;
	height: 6.5em;
	overflow: scroll;
	border-top: 2px solid #eeeeee;
	border-bottom: 2px solid #eeeeee;
}

fieldset div.scrollablepadding {
	padding: 0.25em 0;
}

div.scrollable ul {
	width: 80%;
	list-style: none;
	margin: 0;
	padding: 0;
}

div.scrollable ul li { 
	white-space: nowrap;
}

div.scrollable ul li ul { font-size: 100%; }

fieldset div.labelabove .formElement { width: 100%; }

fieldset div.labelabove textarea { width: 100% }

fieldset input.autowidth,
fieldset label.autowidth input,
fieldset div.autowidth input,
fieldset span.autowidth input {
	width: auto;
	border: 0;
	background: transparent;
	margin-right: 0.5em;
}

fieldset div.formElement.labelsonright { width: 100%;  }

fieldset select.autowidthkeepborders {
	width: auto;
}

fieldset input.autowidthkeepborders {
	width: 50%;
}

fieldset .labelsonright input {
	float: left;
	/* Required to fix slight floating bug in safari / mac firefox */
	width: 0.98em;
	margin-left: 0;
	background: transparent;
}

fieldset .labelsonright label {
	float: left;
	width: auto;
}



/* Hack required because of crazy form layout */
fieldset div.radiolist.hiddensecond { text-align: right; }
fieldset div.radiolist.hiddensecond label.option1 { float: left; }
fieldset div.radiolist.hiddensecond label.option3 { margin-left: 0.25em; }

fieldset div.labelabove label { margin-bottom: 0.5em; text-align: left; }

fieldset div.formElement div label { width: auto; }
fieldset div.labelabove div.formElement.twocol div {
	width: 49%;
	float: left;
}

fieldset.wideForm div.submitrow { margin-right: 4%; }
html>body fieldset.wideForm div.submitrow { margin-right: 1.5%; }
																
																/* Main form structure */

fieldset label {
	width: 44%;
	margin-right: 0 !important;
	display: block;
	float: left;
	color:#666;
	font-weight: bold;
}

span.mandatory { color:#ff0000; }

fieldset .formElement {
	float: left;
	width: 56%;
	position: relative;
}

* html fieldset .row { padding: .25em 0 .25em 0; } 

fieldset .formElement label {
	/* This class undoes all the work done to all labels */
	float: none;
	font-weight: normal;
	display: inline;
	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-block;	
	margin-bottom: 0.5em;
	
}

/* Hides from IE-mac \*/
* html fieldset .row { height: 1%; }
fieldset .row { display: block; }
/* End hide from IE-mac */



/* Error styles (common) */

fieldset input.errorborder,
fieldset textarea.errorborder,
fieldset select.errorborder {
	margin-bottom: 0;
}

fieldset div.errormessage {
	clear: both;
	padding: 0;
	margin: 0;
}

fieldset div.labelsonright div.errormessage {
	padding: 0;
	margin: 0;
}

fieldset .errorborder {
	border-style: solid;
	border-width: 1px 1px 2px 1px !important;
}

																/* Error styles (colour) */

fieldset div.errormessage {
    display: inline;
	color: #F60200;
	background: none;
	text-transform: lowercase;
	font-style:italic;
}

div#secondColumn p.errormessage {
	color: #F60200;
}

fieldset .errorborder {
	border-color: #f60200 !important;
}

fieldset div.labelsonright div.errormessage {
	background: 0;
}


																
.checklist div.autowidth { clear: both; }
.checklist div.autowidth input { float: left; }
.checklist div.autowidth label { float: left; width: 85%; }

.labelabove label { width: 100%; float: none; }
.labelabove .checklist.twocol div.autowidth { width: 50%; float: left; clear: none; }
.labelabove div.autowidth label { width: auto; }
html>body .labelabove div.autowidth label { width: 85%; }
.labelabove { clear: both; }		



.button, .loginSubmission{
	background-color: #CACACB;
	color:#000;
	font-weight:bold;
	border:none;
	padding: .2em .5em;
	text-transform: lowercase;
}




fieldset.searchForm { width: 66%; }
fieldset.searchForm label { font-weight: bold; color:#666; }
fieldset div.formElement { text-align: right; }
fieldset div.submitrow { width: auto; }
														
