/* form.css */

form.cakeform {
	margin: 0;
	padding: 0;
	font-size: 100%;
	width: 590px;
}

form.cakeform fieldset {
	clear: both;
	font-size: 100%;
	border-color: #d5d5d5;
	border-width: 1px;
	border-style: solid;
	padding: 10px;
	margin: 0;
}

form.cakeform fieldset legend {
	font-size: 150%;
	font-weight: normal;
	color: #000;
	margin: 0;
	padding: 0 5px;
	line-height: 150%;
}

form.cakeform label { font-size: 100%; }

form.cakeform label u {
	font-style: normal;
	text-decoration: underline;
}

form.cakeform input,
form.cakeform select,
form.cakeform textarea {
	font-size: 100%;
	color: #000;
    width: 200px;
}

form.cakeform textarea { overflow: auto; }

form.cakeform div {
	clear: left;
	display: block;
	width: 554px;
	zoom: 1;
	margin: 5px 0 0 0;
	padding: 1px 3px;
}
	form.cakeform div.clearer {
		clear: both;
	}

form.cakeform fieldset .notes {
	float: right;
	width: 158px;
	height: auto;
	margin: 0 0 10px 10px;
	padding: 5px;
	border: 1px solid #666;
	background-color: #ffffe1;
	color: #666;
	font-size: 88%;
}

form.cakeform fieldset .notes h4 {
	background-image: url("../img/icon_info.gif");
	background-repeat: no-repeat;
	background-position: top left;
	padding: 3px 0 3px 27px;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #666;
	color: #666;
	font-size: 110%;
}

form.cakeform fieldset .notes p {
	margin: 0em 0em 1.2em 0em;
	color: #666;
}

form.cakeform fieldset .notes p.last { margin: 0em; }

form.cakeform div fieldset {
	clear: none;
	border-width: 1px;
	border-style: solid;
	margin: 0 0 0 144px;
	padding: 8px 10px 8px 13px;
	width: 197px;
}

form.cakeform div fieldset legend {
	font-size: 100%;
	padding: 0 3px 0 9px;
}

form.cakeform div.required fieldset legend { font-weight: bold; }

form.cakeform div label {
	display: block;
	float: left;
	width: 130px;
	padding: 3px 5px;
	margin: 0 0 5px 0;
	text-align: right;
}

form.cakeform .optional label, label.optional { font-weight: normal; }

form.cakeform .required label, label.required { font-weight: bold; }

form.cakeform .checkbox label, form.cakeform .radio label {
	float: none;
	display: block;
	width: 500px;
	zoom: 1;
	padding: 0;
	margin: 1px 0 5px 0;
	text-align: left;
	vertical-align:middle;
}
form.cakeform .checkbox fieldset label, form.cakeform .radio fieldset label { width: auto; }

form.cakeform .checkbox input, form.cakeform .radio input {
	height: auto;
	width: auto;
	background-color: transparent;
	border-width: 0;
	padding: 0;
	margin: 2px 8px 0 0;
	float: left;
	clear: both;
	vertical-align:middle;
}

form.cakeform .checkbox input{  /*might need to add this too   form div.radio input    depending on how the form is designed you could change this or take it out completely */
	margin: 2px 8px 0 120px;
}







form.cakeform div img {
	border: 1px solid #000;
}

form.cakeform p.error {
	background-color: #ff0000;
	background-image: url("../img/icon_error.gif");
	background-repeat: no-repeat;
	background-position: 3px 3px;
	color: #fff;
	padding: 3px 3px 5px 27px;
	border: 1px solid #000;
	margin: auto 100px;
}

form.cakeform .error {
	background-color: #ffffe1;
	background-image: url("../img/required_bg.gif");
	background-repeat: no-repeat;
	background-position: top left;
	color: #666;
	border: 1px solid #ff0000;
}

form.cakeform .error p.error {
	background-image: url("../img/icon_error.gif");
	background-position: top left;
	background-color: transparent;
	border-style: none;
	font-size: 88%;
	font-weight: bold;
	margin: 0 0 0 118px;
	width: 200px;
	color: #ff0000;
}

form.cakeform div select, form.cakeform div textarea {
	width: 200px;
	padding: 1px 3px;
	margin: 0 0 0 0;
}

form.cakeform .datetime select, form.cakeform .date select {
	width: auto;
	padding: 0;
}

form.cakeform div input.inputText, form.cakeform div input.inputPassword {
	width: 200px;
	padding: 1px 3px;
	margin: 0 0 0 0;
}

form.cakeform div select.selectOne, form.cakeform div select.selectMultiple {
	width: 211px;
	padding: 1px 3px;
}



form.cakeform .submit {
	width: 214px;
	padding: 0 0 0 146px;
}

form.cakeform .submit {
	display: inline;
	float: left;
	text-align: left;
	width: auto;
	padding: 10px;
	margin: 0;
}

form.cakeform .submit input {
	color: #000;
	width: auto;
	padding: 0 6px;
	margin: 0;
}

form.cakeform .submit input{ margin: 0 0 0 5px; }

form.cakeform div small {
	display: block;
	margin: 0 0 5px 142px;
	padding: 1px 3px;
	font-size: 88%;
	zoom: 1;
}

form.cakeform textarea.expanding {
	overflow: auto;
	overflow-x: auto;
	overflow-y: visible;
}

form.cakeform div.wide label {
    float: none;
    display: block;
	text-align:left;
	margin:2px 0;
	padding:0;
}

form.cakeform div label.wide {
    width: 348px;
}

form.cakeform .wide input.inputText,
form.cakeform .wide input.inputPassword,
form.cakeform .wide input.inputFile,
form.cakeform .wide select,
form.cakeform .wide textarea {
	width: 344px;
	margin: 0;
}

form.cakeform .notes p, form.cakeform div small { line-height: 125%; }

form.cakeform .wide small { margin: 0 0 5px 0; }
