/** Overall **/


/** All fields **/
form.fields li.focused {
	background-color: #fff7c0 !important;
}
form.fields label {
	color: #444;
	font-size: 0.95em;
	line-height: 1.25em;
	font-weight: bold;
}
form.fields li .hint {
	font-size: 0.8em;
	line-height: 0.8em;
}
form.fields fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

/** Top-level fields **/


/** Second-level fields **/


/** Sections **/
form.fields li.section {
	padding: 1.5em 0 0.5em 0;
}
form.fields li.section h3 {
	border-bottom: 1px solid #999;
	font-size: 140%;
	margin: 0;
	padding: 0 0 0.1em 0;
}

/** Choices **/
form.fields div.choices div label {
	font-size: 1.0em;
}
form.fields div.choices div div.specify label {
	font-size: 0.8em;
	font-weight: normal;
	line-height: 1em;
}
form.fields li div.limited-choices {
	border: 1px solid #ccc;
}

/** Multi-fields **/
form.fields li div {
	color: #444;
}
form.fields li div label {
	font-size: 0.8em;
	font-weight: normal;
	line-height: 1em;
}
form.fields li div.modifier {
	font-size: 0.8em;
}
form.fields li div.modifier input {
	height: 2em;
}
form.fields li div.modifier label {
	font-size: 1em;
	line-height: 2em;
}

/** Field sizing and positioning **/


/** Buttons **/
form.fields li.buttons input {
	font-size: 120%;
	margin-right: 5px;
	cursor: pointer;
}

/** Disabled **/
form.fields li.disabled,
form.fields li.disabled label,
form.fields li.disabled .hint,
form.fields div.diabled,
form.fields div.disabled label,
form.fields div.disabled .hint {
	color: #888;
}
form.fields li.disabled input,
form.fields li.disabled select,
form.fields li.disabled textarea,
form.fields div.disabled input,
form.fields div.disabled select,
form.fields div.disabled textarea {
	background-color: #eee;
}
form.fields li.disabled .required-indicator,
form.fields div.disabled .required-indicator {
	display: none;
}

/** Errors **/
form.fields li.error {
	background-color: #f3dcdd;
	color: red;
}
form.fields li.error div.message {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
form.fields li.error h3 {
	margin: 0.5em 0 0 0;
}
form.fields li.error p {
	margin: 0.4em 0
}
form.fields li.error div.message {
	display: block;
	margin: 0.2em 0;
	width: 100%;
}
form.fields li.error div.message li {
	list-style: disc;
	margin: 0.25em 0;
	padding: 0;
}
form.fields li.error label,
form.fields li.error div.message {
	color: red;
}
form.fields li.error input, form.fields li.error textarea {
	background: #fff;
	border: 1px solid #ef5959;
	border-left: 1px solid #ff8f8f;
	border-top: 1px solid #ff8f8f;
}
form.fields li.error input.radio {
	background: transparent;
	border: none;
}

/** Element-specific **/
input.text, textarea, select {
	background: #fff url(../images/fieldbg.gif) repeat-x top;
	border-left: 1px solid #c3c3c3;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #c3c3c3;
	border-top: 1px solid #7c7c7c;
	font-size: 1.2em;
	line-height: 1.4em;
}
input[type=text],
input[type=password],
textarea {
	width: auto;
}

/** Context-specific **/
form.fields li div.name-honorificPrefix, form.fields li div.name-honorificSuffix {
	width: 6%;
}
form.fields li div.name-givenName {
	width: 26%;
}
form.fields li div.name-additionalName {
	width: 20%;
}
form.fields li div.name-familyName {
	width: 36%;
}

form.fields li div.phone-number {
	width: 60%;
}
form.fields li div.phone-extension {
	width: 20%;
}
form.fields li div.name-honorificPrefix input, form.fields li div.name-honorificPrefix select, form.fields li div.name-honorificPrefix textarea,
form.fields li div.name-givenName input, form.fields li div.name-givenName select, form.fields li div.name-givenName textarea,
form.fields li div.name-additionalName input, form.fields li div.name-additionalName select, form.fields li div.name-additionalName textarea,
form.fields li div.name-familyName input, form.fields li div.name-familyName select, form.fields li div.name-familyName textarea,
form.fields li div.name-honorificSuffix input, form.fields li div.name-honorificSuffix select, form.fields li div.name-honorificSuffix textarea,
form.fields li div.phone-number input, form.fields li div.phone-number select, form.fields li div.phone-number textarea,
form.fields li div.phone-extension input, form.fields li div.phone-extension select, form.fields li div.phone-extension textarea{
	width: 100%;
}

