form {
	margin: auto;
	width: 90%;
	padding-bottom: 8px;
}

form p.instructions {
	font-size: 75%;
	float: left;
}

form div.success {
	text-align: center;
	color: #090;
	font-weight: bold;
	margin-bottom: 15px;
}

form div.failure {
	text-align: center;
	color: #F00;
	font-weight: bold;
	margin-bottom: 15px;
}

form div.buttons {
	text-align: center;
}

form div.buttons input {
	border: solid 1px black;
}

form fieldset {
	margin-bottom: 10px;
        margin-left: 10px; /* added cuz IE did not display right */
	border: solid 1px black;
	/*background-color: #CCC;*/
	padding: 8px;
}

form fieldset legend {
	border: solid 1px black;
	background-color: #669;
	padding: 1px 5px;
	font-variant: small-caps;
	color: #FFF;
}

form fieldset legend label {
	float: none;
	width: 100%;
	cursor: normal;
}

form fieldset label {
	float: left;
	width: 20%;
	cursor: text;
}

form fieldset label.text {
	padding-top: 5px;
}

form fieldset label.required {
	padding-top: 5px;
	color: #AA0000;
}

form fieldset p.instructions span.required {
	color: #AA0000;
}

form fieldset input {
        float: right;
	width: 70%;
	border: solid 1px black;
}

form fieldset textarea {
	margin: auto;
	width: 95%;
	border: solid 1px black;
}

form div.controls {
	text-align: center;
	font-size: 75%;
}

form div.controls select {
	font-size: 100%;
}

form div.controls input {
	font-size: 100%;
	border: solid 1px black;
}