/** Generic Form styling - Baldwins (sean@silverstripe.com) **/

form * {
	font-size: 12px;
}
	form fieldset {
		border: none;
	}
		.message {
			color: #000 !important;
			padding: 5px 10px;
			background: #fff;
			margin: 10px 0;
			border: 1px solid #c6d0d6;
		}
			.message a {
				text-decoration: underline;
				color: #fff;
			}
			.message.good {
				color: #9ce80b !important;
			}
				.message.good a {
					color: #9ce80b !important;
				}
			.message.bad {
				border: 1px dotted #f26026 !important;
				color: #f26026 !important;
			}
				.message.bad a {
					color: #f26026 !important;
				}
			.message.warn,
			.message.warning {
				border: 1px dotted #de984b !important;
				color: #de984b !important;
			}
				.message.warn a,
				.message.warning a {
					color: #de984b !important;
				}
		span.message {
			width: 300px;
		}
		form div.field {
			margin-top: 15px;
			width: 100%;
			clear: left;
		}
		form label {
			color: #333;
		}
			form label.left {
				float: left;
				width: 10em;
				padding: 3px;
			}
		form .FormHeading {
			font-size: 18px;
		}
		form input.text,
		form textarea,
		form select,
		form .numeric,
		.calendardate input {
			padding: 1px;
		}
			form .numeric {
				width: 25px;
				margin-right: 3px;
			}
			form input.year {
				width: 35px;
			}
		.checkboxsetfield span {
			display: block;
		}
		/* wont margin the label properly without the extra .05 */
		.checkboxset .optionset {
			padding-left: 10.05em;
		}
			.optionset li {
				list-style-type: none !important;
			}
			.dmycalendardate span {
				display: block;
			}
		p.checkbox {
			padding: 10px 3px 0 10.5em;
		}
		form .Actions {
			width: 335px;
			margin: 10px 0;
			text-align: right;
    	}
			#Sidebar form .Actions {
				width: 98%;
			}
			form .Actions input {
				padding: 2px 3px;
				margin: 0 2px;
			}
