form {
    margin: 0;
    padding: 0;
    width: 100%;
	clear: both;
}
form fieldset {
    clear: both;
    float: left;
    border: 1px groove #c00;
    margin: 10px 0 0 0;
    width: 100%;
}
form fieldset.hidden {
    border: 0;
}
form fieldset legend {
    white-space: nowrap;
    background-color: #990000;
	color: #fff;
    font-weight: bold;
	margin: 0 0 10px 0;
	padding: 3px;
    display: block;
	border: 1px solid #333;
}
form fieldset ol {
    margin: 0;
    padding: 0;
}
form fieldset li {
    display: block;
    list-style: none;
	min-height: 30px;
	max-height: 45px;
    margin: 0;
	float: none;
    clear: both;
}

form pre{
    margin: 0 0 0 10px; padding: 0;
}

form label {
    margin: 0 0 0 5px;
}
form label.element {
    display: block;
    float: left;
	width: 36%;
    padding: 0;
    margin: 5px 0 0 0;
    font-weight: bold;
    text-align: right;
}
form input, form textarea {  width: auto; }
form select {  width: auto; margin-left: 10px; }
form textarea {
    overflow: auto;
}
form br {
    clear: left;
}
form div.element {
    float: left;
    margin: 5px 0 0 10px;
    padding: 0;
}
form li.reqnote {
    font-size: 90%; 
    margin: 10px 0 0 10px;
}
form span.error, form span.required {
    color: red;
}
form div.element-error {
    float: left;
    margin: 5px 0 0 10px;
    padding: 3px;
	border: dotted 1px #c00;
	background-color: #ff9;
}