/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Form Styling
 */


/* FIELDSETS
---------------------------------------- */
form {
	margin: 10px 10px;
}

fieldset {
	border: 0;
}
fieldset div.field {
	clear: left;
	overflow: hidden;
}
.FormHeading {
	clear: left;
	overflow: hidden;
}

/* ACTION BUTTONS
---------------------------------------- */
.Actions {
	margin-left: 114px;
}
input.action {
	padding: 2px;
	font-size: 11px ;
	font-family: "Gill Sans","Gill Sans MT", Tahoma, Arial, sans-serif;
}
input.action:hover,
input.action:focus {
	cursor: pointer;
}

/* FIELD FORMATING
---------------------------------------- */
form ul,
.typography form ul {
	list-style: none;
	margin: 0;
}

.middleColumn {
 	display: block;
	float: left;
	_display: inline;
	_zoom: 1;
	_float: none;
 	margin: 5px 10px 5px 10px;
	/* background: #E9E9E9; */
	padding: 4px;
	width: 306px;
}
.optionset .middleColumn {
	width: auto; /* styling apply-now page */
}

.field .message {
	display: block;
	float: left;
	clear: left;
	_display: inline; /* Display as inline-block instead of floating on IE */
	_zoom: 1;
	_float: none;
	margin: 0px 0px 9px 188px;
	width: 288px;
}

	#Sidebar .middleColumn {
		margin: 0 0 0 8px;
		display: inline;
	}
	
	div.tab .field .middleColumn {
		clear: none !important;
 		margin: 0 !important;
		width: auto;
	}
	
	.middleColumn .middleColumn {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}
		
	.middleColumn .message {
		margin: 5px 0 0 0;
	}	
		
/* INPUT BOXS
---------------------------------------- */

input.text, textarea, select {
	padding: 2px;
	border: 1px solid #9ea0a1;
	color: #000;
	font-size: 12px;
	font-weight: bold;
	width: 300px;
}

textarea {
	font-family: "Gill Sans","Gill Sans MT", Tahoma, Arial, sans-serif;
	font-size: 12px;
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}
.checkbox {
	width: 500px;
	margin: 0;
	margin: 0 0 0 120px !important;
	padding-top: 5px;
}
	ul li .checkbox {
		width: auto;
		margin: 0 !important;
	}
.middleColumn .optionset input,
.middleColumn .optionset label {
	float: none;
	display: inline;
}

/* SELECT DROPDOWN
---------------------------------------- */

select {
	width: auto;
}

/* LABELS
---------------------------------------- */
.typography label {
 	display: block;
	float: left;
	width: 175px;
	padding: 12px 0 0 0;
	color: #777;
	font-size: 12px;
	/* text-align: right !important; */
}
label.right {
	display:inline;
	float: none;
	text-align: left !important;
}

/* SEARCH BOX 
---------------------------------------- */
#SearchForm_SearchForm fieldset div.field {
	overflow: visible;
}
html #SearchForm_SearchForm {
	float: right;
	width: 210px;
	margin: 73px 5px 5px 5px;
}
#SearchForm_SearchForm label.left {
	float: none;
	display: none;
	margin: 0;
	padding:0;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 164px;
	margin: 0;
	padding: 2px;
	background-color: #a68b7e;
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 160px;
		border: none;
		color: #666;
	}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
	float: left;
	margin-top: 2px;
}
#SearchForm_SearchForm div.field {
	clear: none;
}
#SearchForm_SearchForm .Actions {
	margin-left: none;
}

/* Application Form */
.ApplicationPage .typography {
	padding-left: 10px;
	padding-right: 10px;
}

.ApplicationPage p {
	clear: left;
}

.ApplicationPage form {
	margin: 0
}

.typography #Form_ApplicationFormStep1 fieldset {
	margin-bottom: 20px;
}
.typography #Form_ApplicationFormStep1 h2 {
	clear: both;
}
.typography #Form_ApplicationFormStep1 fieldset div label.left {
	text-align: left;
}
#Form_ApplicationFormStep1 .checkbox {
	clear: both;
}
#Form_ApplicationFormStep1 .checkbox label {
	float: none;
}
#Form_ApplicationFormStep1 li {
	float: left;
	_display: inline; /* Display inline-block instead of floating on IE */
	_zoom: 1;
	_float: none;
	margin: 0 20px 0 0;
}
#Form_ApplicationFormStep1 li input {
	margin-right: 0.3em;
}

#Form_ApplicationFormStep1 h2, #Form_ApplicationFormStep2 h2 {
	margin: 18px 0 18px;
}

#Form_ApplicationFormStep1 p, #Form_ApplicationFormStep2 p {
	margin: 7px 0 7px;
}

.typography #Form_ApplicationFormStep2 label {
	float: none;
}

#Form_ApplicationFormStep2 fieldset {
	margin: 2em 0;
}

#Form_ApplicationFormStep2 .checkbox {
	margin: 5px 0 5px 120px !important;
}

/* --- BANK ACCOUNT NUMBER --- */

#BankAccountNumber_Holder .fieldgroupField, #IRDNumber_Holder .fieldgroupField {
	float: left;
	margin-right: .5em;
	_height: 1%;
}

#BankAccountNumber_Holder .fieldgroupField input, #IRDNumber_Holder .fieldgroupField input {
	width: auto;
	text-align: right;
}

.fieldFormatHint {
	color: #777;
	width: 250px;
	float: right;
	clear: right;
	margin-top: 1.1em;
	_height: 1%;
}

