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

@media screen, projection {
/* FIELDSETS
---------------------------------------- */
form {
	margin: 10px 10px;
}

fieldset {
	border: 0;
}
fieldset h6{
	color:#333333 !important;
	line-height:20px !important;
	font-weight:normal !important;
}
fieldset div.field,
fieldset p.field {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0 0 15px 0;
}
.FormHeading {
	clear: left;
	overflow: hidden;
}

/* ACTION BUTTONS
---------------------------------------- */
.Actions {
	margin-left: 125px;
}
input.action {
	padding: 2px;
	font-size: 11px;
}
input.action:hover,
input.action:focus {
	cursor: pointer;
}

/* FIELD FORMATING
---------------------------------------- */
form ul,
.typography form ul {
	list-style: none;
	margin: 0;
}
	form ul li {
		margin-top: 2px !important;
	}
.middleColumn {
 	display: block;
	float: left;
 	margin: 0px 20px;
	/* background: #E9E9E9; */
	padding: 0 4px;
	width: 306px;
}
	#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: 0;
	}
	
form .recaptcha {
	display: block;
	margin-left: 300px !important;
}
	form .recaptcha #recaptcha_widget_div {
		padding-left: 22px;
	}
	form .recaptcha .message {
		display: block;
		margin: 0;
	}
	
/* INPUT BOXS
---------------------------------------- */

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

textarea {
	font-size: 12px;
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}
.checkbox {
	width: 500px;
	margin: 0;
	margin: 0 0 10px 134px !important;
}
	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: 300px;
	padding: 4px 0 0 0;
	color: #777;
	font-size: 12px;
	text-align: right !important;
}
label.right {
	display:inline;
	float: none;
	text-align: left !important;
}
label.FormHeading {
	display: block;
	margin:10px 0 20px;
	padding: 0;
	width:100%;
	font-weight: bold;
	text-align: left !important;
}

/* FORM ERROR
---------------------------------------- */
.validationError input.text, 
.validationError textarea, 
.validationError select {
	border:1px solid #DC1313;
}
.required {
	background:none;
	border: none;
	color:#DC1313;
	margin: 0 !important;
	padding:5px;
	width: 246px;
	font-weight: bold;
}

/* SEARCH BOX (Override styles)
---------------------------------------- */
#SearchForm {
	float: right;
	text-align: right;	
	padding-right: 10px;
}
#SearchForm div.field {
	width: 180px;
}
html #SearchForm_SearchForm {
	text-align: right;
	margin: 0;
}
#SearchForm_SearchForm fieldset {
	margin: 10px 0 5px 0;
	float: right;
	width: 184px;
	background: #fff;
	line-height: 0.8em;
}

#SearchForm_SearchForm fieldset div.field,
#SearchForm_SearchForm fieldset p.field {
	overflow: visible;
	margin: 0;
}
#SearchForm .middleColumn {
	clear: none;
	display: inline;
	margin: 0;
	padding: 0 0 0 0;
	width: 160px;
	background: #fff;
}
#SearchForm input {
	float: right;
	width: 160px;
	border: none;
	color: #666;
	padding: 4px 3px 3px 3px;
}
	#SearchForm input.text {
		font-size: 11px;
		font-weight: normal;
		height: 14px;
	}
#SearchForm input.action {
	float: right;
	width: 17px;
	background: #FFF;
	padding: 3px;
	cursor: pointer;
}

}