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

form {
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
	color:#666666;
	margin: 15px 0px 5px 0px;
}
.FormHolder {
	width: 395px;
}
.message {
	color: red;
	margin: 5px 0px;
	font-weight: bold;
}

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

/* ACTION BUTTONS
---------------------------------------- */
form .actions { text-align: right; }
form .actions input { 
	clear: both;
	color: white;
	margin: 5px 26px 0px 0px;
	font-family: arial, verdana, sans-serif;
	font-size: 12px;
	border:1px solid #003764;
	background-color:#EAF4FB;
	color: black;
}

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}
form .fieldgroup .fieldgroupField {
	display: inline;
}

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

input.text, textarea, select {
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
	border:1px solid #003764;
	width: 55%;
	background-color:#EAF4FB;
	height: 17px;
	margin: 1px 0px;
}
form .fieldgroup .fieldgroupField input.text {
	width: auto;
}

textarea {
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
}

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

select {
	width: auto;
}

/* LABELS
---------------------------------------- */

label.right {
	display:inline;
	text-align: left;
}
form label.left { 
	float:left;
	color: #000;
	text-align:left;
	line-height: 1.5em;
	padding: 0px;
	margin: 3px 0px 1px 0px;
}
form label.left { width:150px; }
form .phonenumber label.left { width:89px; }
form #OtherPerson label.left { 
	width:50px;
	color: #666666;
}
form .checkboxset label.left {
	width: 100%;
	color: #666666;
}
form #Groups label.left {
	color: #666666;
}
form #OtherPerson .text { width:86%; }

/* optionset/checkbox */
form .checkbox,
form .checkboxsetfield li { float: left; width: 49%; margin: 1px 0px; }
form .checkbox input,
form .checkboxsetfield input { float: left; width: 15px; margin-right: 5px; }
form .checkboxLast { width: 100%; margin: 0px; }
form .checkboxLast input { width: 15px; padding: 0px; }
form .checkboxsetfield li label {
	text-align: left;
}

form #Groups ul {
	padding: 0;
}

form .optionset_item {
	width: 100px;
}
form .optionset .middleColumn {
	float: left;
	width: 220px;
	margin: 3px 0px;
}
	form .optionset .middleColumn ul {
		padding: 0;
	}

form hr {
	border: 0;
	border-bottom:1px solid #003764;
	clear:both;
	margin-bottom:10px;
	margin-top:30px;
}


.formDivider { /* maybe a title? */
	border-bottom: 1px solid #003764;
	width: 100%;
	margin-top: 30px;
	margin-bottom: 10px;
	clear: both;
}


