fieldset {
	width: 500px;
	padding: 10px 5px;
	margin: 20px 0;
	position: relative;
}

legend {
	color: white;
	font-weight: bold;
	padding: 0 5px;
}

fieldset#preferences label {
	margin-left: 25px;
	width: 90%;
	background-color: transparent;
	font-size: 10px;
}

label {
	display: block;
	width: 95%;
	margin: 3px 10px;
	position: relative;
	line-height: 22px;
	background-color: #3e5e87;
	padding-left: 5px;
}

#customtextlabels {
	display: block;
	width: 95%;
	margin: 3px 10px;
	position: relative;
	line-height: 22px;
	background-color: #10356A;
	padding-left: 5px;
	color:#FFFFFF;
}

label input {
	position: absolute;
	right: 0px;
	top: 0px;
}

#customlabel {
	display: block;
	width: 95%;
	margin: 3px 10px;
	position: relative;
	line-height: 22px;
	padding-left: 5px;
	font-size:11px;
}

.textfieldlarge
{
	width: 50%;
	margin-left:30px;
}

#submit-wrapper {
	position: relative;
}

* html #submit-wrapper {
	height: 1%;
}

#submit-wrapper input {
	position: absolute;
	right: 10px;
	top: 10px;
}

.error {
	color: red;
}

.formatting-instructions {
	color: red;
}

fieldset .formatting-instructions {
	float: right;
	margin: 1em;
	visibility: hidden;
}
label .formatting-instructions {
	position: absolute;
	padding: 0 0.5em;
	margin: 0;
	top: 3px;
	right: 2px;
	font-size: 9px;
	background-color: #FFCCCC;
	line-height: 1.75em;
}
