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


/* FIELDSETS
---------------------------------------- */
fieldset {
	border: 0;
	font-size: 1.2em;
}

/* ERRORS
----------------------------------------- */
span.message {
	display: block;
	clear: both;
	font-size: 9px;
	margin-left: 180px;
}
	.required,
	.validation	 {
		color: #f00;
	}
.typography fieldset h3 {
	margin: 10px 0 20px 0;
	width: 100%;
	border-top: 1px dotted #ffa500;
	padding-top: 10px;
	font-size: 11px;
}

/* ACTION BUTTONS
---------------------------------------- */
input.action {
	padding: 2px;
	font-size: 1em;
	font-family: Verdana, Tahoma, Sans-serif;
}
input.action:hover,
input.action:focus {
	cursor: pointer;
}

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}

/* INPUT BOXS
---------------------------------------- */

input.text, textarea, select {
	padding:4px;
	background: #fff url(../images/input-bg.gif);
	border: 1px solid #bdbdbd;
	color: #333;
	float: left;
	font-size: 12px;
	width: 220px;
}

textarea {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 12px;
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}
fieldset div.field {
	clear: both;
	display: block;
	margin-bottom: 12px;
	overflow: hidden;
}
	fieldset div.field:after {
    	content: ".";
    	display: block;
    	height: 0;
    	clear: both;
    	visibility: hidden;
    }
	.fieldset div.field {display: inline-block;}  /* for IE/Mac */

div.field.line{
	clear: none;
}
div.field.line2 {
	margin-left: 180px;
}

#DonationForm_Form input#DonationForm_Form_action_donate {
	display: block;
	width: 125px;
	background: #e9880f url(../images/form-submit.gif) no-repeat;
	line-height: 27px;
	padding-top: 27px;
	height: 0px;
	text-align: center;
	color: #fff;
	border: none;
	font-size: 10px;
}
/* SELECT DROPDOWN
---------------------------------------- */

select {
	width: 226px;
}

.typography p.checkbox {
	display: block;
	clear: both;
	padding: 0 0 10px 0;
	overflow: hidden;
}
	.typography ul.optionset {
		margin: 0px;
	}
		.typography ul.optionset li {
			margin: 0;
		}
	.typography p.checkbox input,
	.optionset input {
		float: left;
		margin-top: 2px;
		margin-left: 180px;
	}
	.typography p.checkbox label,
	.optionset label {
		float: left;
		width: 250px;
		margin-left: 10px;
		display: block;
		text-align: left;
	}
	p#ReceiveInfoOfRegularDonor {
		margin-bottom: 0;
	}
/* LABELS
---------------------------------------- */
label {
	float: left;
	display: block;
	line-height: 18px;
	width: 180px;
	font-size: 11px;
}

.typography label.right {
	display: inline;
	width: 100%;
	float: right;
}

/* Selection Group
----------------------------------------- */
form ul.SelectionGroup {
	margin-left: 180px;
	margin-bottom: 8px;
	overflow: hidden;
}
	form ul.SelectionGroup li {
		padding: 0;
		margin: 0;
		width: 234px;
	}	
		form ul.SelectionGroup li div.field {
			
		}
		form ul.SelectionGroup li.selected {
			
		}
		form ul.SelectionGroup li input {
			margin-right: 8px;
		}
		form ul.SelectionGroup li.selected div.field {
			margin: 0;
		} 
			form ul.SelectionGroup li.selected div.field label {
				display: inline;
				float: left;
				width: 100px;
			}
			form ul.SelectionGroup li.selected div.field input {
				float: right;
				width: 120px;
			}