/* General
====================================================================== */
.UniForm {
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
	/* user prefs */
	padding: 10px 0;
}

.UniForm fieldset {
	border: none;
	margin: 0;
	padding: 0;
	/* user prefs */
	margin: 0 0 30px 0;
	padding: 10px 0 10px 0;
	border: 1px solid #666;
}

.UniForm fieldset legend {
	color: #000; /* Reset IE */
	margin: 0;
	padding: 0;
	/* user prefs */
	margin: 0 0 .5em 0;
	font: bold small-caps 150%/100% "lucida grande", "lucida sans unicode", "trebuchet ms", arial, verdana, sans-serif;
	letter-spacing: .1em;
	color:  #555;
}

.CtrlHolder { /* This is the main unit that contains our form "modules" */
	overflow: hidden;
	margin: 0;
	padding: 0;
	clear: both;
	/* user prefs */
	background: #f9f9f9;
	margin: 0;
	padding: 7px 4px;
}

.ButtonHolder {
	overflow: hidden;
	clear: both;
	/* user prefs */
	background: #f9f9f9;
	border: 1px solid #ccc; border-width: 1px 0;
	margin: 10px 0 0 0;
	padding: 10px;
	text-align: right;
}

.ResetButton {
}

.SubmitButton {
}

.UniForm .InlineLabel {
	width: auto;
	float: none;
	display: inline;
	/* user prefs */
	margin: 0 2em 0 0;
	font-weight: normal;
}

.UniForm .InlineLabel input {
}

/* Highlighting the rows on input focus */
.Focused {
	background: #FFFCDF url(img/uf_focused.png);
	border: 1px solid #EFE795; border-width: 1px 0;
	padding: 6px 4px;
}




/* Styles for form controls where labels are inline with input elements
   ( Set the class to the parent to .InlineLabels )
====================================================================== */
.InlineLabels .CtrlHolder {
}

.InlineLabels label,.InlineLabels .Label {
	float: left;
	margin: .3em 0 0 0;
	padding: 0;
	line-height: 100%;
	/* user prefs */
	width: 30%; 
	font-weight: bold;
}

.InlineLabels .TextInput,
.InlineLabels .FileUpload {
	float: left;
	/* user prefs */
	width: 68%;
	border: 2px solid #dfdfdf;
}
.InlineLabels .FileUpload > input {
}

.InlineLabels .SelectInput {
	float: left;
	/* user prefs */
	width: 69%;
	border: 2px solid #dfdfdf;
}

.InlineLabels textarea {
	float: left;
	width: 68%;
	/* user prefs */
	border: 2px solid #dfdfdf;
	height: 12em;
}

.InlineLabels .FormHint {
	clear: both;
	/* user prefs */
	color: #999;
	margin: .5em 0 0 30%;
	padding: 3px 0;
	font-size: 80%;
}

/* InlineLabels esthetics */
.InlineLabels .FormHint strong { 
	padding: 0 0 0 14px; 
	background: url(img/icon_alert.png) 0 0 no-repeat;
	display: inline-block;
}




/* Styles for form controls where labels are above input elements
   ( Set the class to the parent to .BlockLabels )
====================================================================== */
.BlockLabels .CtrlHolder {
}

.BlockLabels label,
.BlockLabels .Label {
	display: block;
	float: none;
	margin: .3em 0;
	padding: 0;
	line-height: 100%;
	width: 60%;
	/* user prefs */
	font-weight: bold;
	width: auto;
}

.BlockLabels .Label {
	float: left;
	margin-right: 3em;
}

.BlockLabels .TextInput {
	float: left;
	width: 60%;
	/* user prefs */
	border: 2px solid #dfdfdf;
}

.BlockLabels .SelectInput {
	float: left;
	width: 60%;
	/* user prefs */
	border: 2px solid #dfdfdf;
}

.BlockLabels textarea {
	display: block;
	float: left;
	width: 60%;
	/* user prefs */
	border: 2px solid #dfdfdf;
	height: 12em;
}

.BlockLabels .FormHint {
	float: right;
	margin: 0;
	width: 38%;
	clear: none;
	/* user prefs */
	color: #999;
	font-size: 80%;
	font-style: italic;
}

/* blockLabels esthetics */
.BlockLabels .CtrlHolder {
	border: 1px solid #dfdfdf; border-width: 1px 0;
	margin-top: -1px;
}

.BlockLabels .Focused {
	padding: 7px 4px;
}




/* Focus
====================================================================== */
.CtrlHolder .TextInput:focus {
	border-color: #DFD77D;
}

div.Focused .TextInput:focus {
}

div.Focused .FormHint {
	color: #000;
}




/* Required asterisk styling, use if needed
====================================================================== */
label em, .Label em {
	display: block;
	position: absolute; left: 28%;
	font-style: normal;
	font-weight: bold;
}
.BlockLabels label em,
.BlockLabels .Label em {
	position: static;
	display: inline;
}




/* Messages
====================================================================== */ 
.UniForm #error_msg {
	background: #ffdfdf url(img/uf_error.png);
	border: 1px solid #df7d7d; border-width: 1px 0;
	margin: 0 0 1em 0;
	padding: 1em;
}

.UniForm .Error, .UniForm .BlockLabels.CtrlHolder.Error {
	background: #ffdfdf url(img/uf_error.png);
	border: 1px solid #df7d7d; border-width: 1px 0;
	position: relative;
}

.UniForm #error_msg dt,
.UniForm #error_msg h3 {
	margin: 0 0 .5em 0;
	font-size: 110%;
	line-height: 100%;
	font-weight: bold;
	color: #000;
	padding: 2px 0 2px 18px;
	background: url(img/icon-error.png) 0 0 no-repeat;
}

.UniForm #error_msg dd {
	margin: 0;
	padding: 0;
}

.UniForm #error_msg ol {
	margin: 0;
	padding: 0;
}

.UniForm #error_msg ol li {
	margin: 0;
	padding: 2px;
	list-style-position: inside;
	border-bottom: 1px dotted #df7d7d;
	position: relative;
}

.UniForm .ErrorField {
	margin: 0 0 3px 0;
}

.UniForm .InlineLabels .ErrorField{
	margin-left: 30%;
}

.UniForm .ErrorField strong {
	background: #FFE2E2;
	padding: 1px 3px 3px 3px;
}
.CtrlHolder.Error input,
.CtrlHolder.Error input:focus {
	border-color: #DF7D7D;
}

.CtrlHolder.Error.Focused {
	padding: 7px 4px;
}

.IAgree {
	margin: 8px 0 0 0;
}
