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

form {
	width: auto;
	float: left;
	clear: left;
}

#SideContent form {
	margin-right: 32px;
	margin-top: 60px;
	margin-bottom: 15px;	
}



form h3 {
	color: red;
	font-weight: bold;
	font-size: 15px;
	padding: 10px;
	padding-right: 30px;
	background:#fff url(../images/ajax-loader.gif) center right no-repeat;
	width: auto;
	float: left;
}

/* FIELDSETS
---------------------------------------- */
fieldset {
	border: 0;
}

/* ACTION BUTTONS
---------------------------------------- */
input.action {
	float: right;
	padding: 5px 15px; 
	border: 1px solid #d9d9d9;
	background-color: white;
}
input.action:hover,
input.action:focus {
	cursor: pointer;
	background:#fff url(../images/arrow-grey.png) left center no-repeat;
}

input.action:active {
	color: #000;
	background:#fff url(../images/arrow-grey-on.png) left center no-repeat;
}

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}
.middleColumn {
 	display: block;
	clear: none;
}
	#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;
	}

.required {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
-moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
background:#FED0D0 none repeat scroll 0 0;
border:1px solid #FED0D0;
float:none;
margin: 10px;
margin-left: 0px;
padding:6px;
width:532px;
}
	
/* INPUT BOXS
---------------------------------------- */
input, textarea {
	color: #666;
	margin: 5px 0;
	float: left;
	clear: none;
}
input.text, textarea, select {
	padding: 2px 5px;
	border: 1px solid #d9d9d9;
	border-top: 1px solid #b3b3b3;
	width: 286px;
	height: 20px;
}

.registration input {
	margin-bottom: 15px;
}

textarea {
	height:97px;
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}

.security label {
	width: 150px;
	clear: both;
	float: left;
}

.security label.right {
	border: 1px solid red;
}



#Remember {
	display: none;
}

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

select {
	width: auto;
}

/* LABELS
---------------------------------------- */
label {
	margin-top: 5px;
 	display: block;
	float: left;
	clear: left;
}

#SideContent label {
	width: 55px;
}

#SideContent.registration label {
	width: 300px;
}
.typography label {
	color: #666;
}

label.right {
	display:inline;
}
/* SEARCH BOX 
---------------------------------------- */
#Search {
}
	input#SearchForm_SearchForm_Search {
		float: left;
		width: 107px;
		height: 12px;
		padding: 3px;
		margin-left: 5px;
		font-size: 11px;
		-moz-background-clip:border;
		-moz-background-inline-policy:continuous;
		-moz-background-origin:padding;
		-moz-border-radius: 9px;		
		-webkit-border-radius: 9px;
		border-radius: 9px;
	}
	
	#Search label {
		float: left;
		font-size: 11px;
		margin-top: 7px;
		font-weight: bold;
	}
	
	input#SearchForm_SearchForm_action_results {
		display: none;
	}
/*#Sidebar input.action {
	font-size: 1.2em;
	float: right;
	padding: 1px;
	margin: -22px 10px 0 0;
}*/

#Sidebar form {
	font-size: 1.1em;
}

#Sidebar input.action {
	font-size: 0.9em;
}

#Sidebar form,
#Sidebar fieldset {
	margin: 14px 0;
	width: 180px;
}

#Sidebar legend {
	width: 100%;
	color:#666;
	padding-bottom: 3px;
}

#Sidebar input {
	color: #fff;
	border: none;
	background: #999;
	height: 20px;
	margin: 2px 0;
	line-height: 1.5em;
	padding: 0 1px;
}

	#Sidebar input#NewsletterName {
		width: 164px;
		display: block;
	}
	
	#Sidebar input#NewsletterEmail {
		width: 144px;
	}
	
	#Sidebar input#NewsletterSubmit {
		text-indent: 100px;
		color: #999;
		width: 20px;
		background:#999 url(../images/submitarrow.png) top left no-repeat;
		margin-left: -4px;
		position: relative;
	}


/* EXCEPTIONS */
#Form_RegistrationForm_Category
{
	padding: 0;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 300px;
}

/* MOLLOM
---------------------------------------- */
#SideContent .mollom label {
	clear: both;
	width: auto;
}

.mollom input {
	clear: left;
	width: 80px;
	float: left;
	margin: 5px 10px 0 0;
}

.mollom .mollom-captcha {
        float: left;
        width: auto;
}
