/*
	Filename: forms.css
	Description: Sets styles for forms

	Based on Jeff Howden's CSS-only, Table-less Forms
	http://jeffhowden.com/code/css/forms/
	http://jeffhowden.com/styles/form.css
*/

form {
	min-width: 500px;
	max-width: 550px;
	width: 500px;
	}

form fieldset {
	clear: both;
	padding: 5px;
	border: none;
	}

form fieldset legend {
	font-weight: normal;
	color: #000;
	padding: 0 5px;
	}

label u {
	font-style: normal;
	text-decoration: underline;
	}

textarea {
	padding: 2px 0 2px 0;
	overflow: auto;
	}

textarea, input.textinput {
	border: 1px solid;
	border-color: #737373 #666 #666 #666;
	}

form div {
	clear: left;
	display: block;
	padding: 1px 3px 1px 3px;
	}

form fieldset div.notes {
	color: #666;
	background: #ffffe1;
	float: right;
	width: 158px;
	height: auto;
	margin: 0 0 10 10px;
	padding: 5px;
	}

form fieldset div.notes h4 {
	color: #666;
	background: transparent url(/resources/icon_info.gif) top left no-repeat;
	padding: 3px 0 3px 27px;
	}

form fieldset div.notes p {
	margin: 0em 0em 1.2em 0em;
	color: #666;
	}

form div fieldset {
	clear: none;
	border: none;
	padding: 0 5px 5px 5px;
	}

form div fieldset legend {
	padding: 0 3px 0 9px;
	}

form div.required fieldset legend {
	font-weight: bold;
	}

form div label, form div p.label {
	display: block;
	float: left;
	width: 80px;
	padding: 3px 5px;
	margin: 0 0 5px 0;
	text-align: right;
	}

form div p.data {
	padding-top: 3px;
	}

form div p.label {
	font-weight: bold;
	}

form div p.data, form div p.label {
	margin-bottom: 3px;
	}

form div.optional label, label.optional {
	font-weight: normal;
	}

form div.required label, label.required {
	font-weight: bold;
	}

form div label.labelCheckbox, form div label.labelRadio {
	float: none;
	display: block;
	width: 200px;
	margin: 0 0 5px 142px;
	text-align: left;
	}

form div fieldset label.labelCheckbox, form div fieldset label.labelRadio {
	margin: 0 0 5px 0;
	width: 170px;
	}

p.error {
	color: #fff;
	background: #ff0 url(/resources/icon_error.gif) 3px 3px no-repeat;
	margin: auto 100px;
	padding: 3px 3px 5px 27px;
	}

form div.error {
	color: #666;
	background: #ffffe1 url(/resources/required_bg.gif) top left no-repeat;
	}

form div.error p.error {
	color: #ff0;
	background: transparent url(/resources/icon_error.gif) top left;
	font-weight: bold;
	margin: 0 0 0 118px;
	width: 200px;
	}

form div input, form div select, form div textarea {
	padding: 1px 3px;
	margin: 0;
	}

form div input, form div select {
	width: 200px;
	}

form div textarea {
	width: 300px;
	}

form div input.inputFile {
	width: 211px;
	}

form div select.selectOne, form div select.selectMultiple {
	width: 211px;
	padding: 1px 3px;
	}

input:focus, textarea:focus {
	background: #ffc;
	}

input.inputCheckbox, input.inputRadio {
	display: inline;
	width: 14px;
	height: 14px;
	background: transparent;
	border: 0;
	margin: 0 0 0 140px;
	}

form div.submit {
	padding: 0 0 0 90px;
	}

form div.submit div {
	display: inline;
	float: left;
	text-align: left;
	width: auto;
	padding: 0;
	margin: 0;
	}

form div input.inputSubmit, form div input.inputButton, input.inputSubmit, input.inputButton {
	color: #000;
	background: #ccc;
	width: auto;
	padding: 0 6px;
	margin: 0;
	}

form div.submit div input.inputSubmit, form div.submit div input.inputButton {
	margin: 0 10px 0 0;
	cursor: pointer;
	}

form div p.note {
	display: block;
	margin: 0 0 5px 142px;
	padding: 1px 3px;
	}
