/*
*************************************************
andCulture Form Styles - Base
Version:	0.50 | September 18, 2009
Author:		andCulture, info@andCulture.com
Notes:		This stylesheet contains styles which control positioning
 			for various form layouts. In most cases, this stylesheet
			will not need to be edited. Place all custom form styling
			and visual treatments in "forms-custom.css."
*************************************************
*/


/*-------------------------------------------
	SHARED STYLES (BLOCK & INLINE LABELS)
-------------------------------------------*/

/* LABELS */
.ac-form .label {
	margin: 0;
}

/* NOTES */
.ac-form p.note {
	margin: .5em 0 1em 0;
	clear: left;
	font-style: italic;
}

/* NO LABELS */
.ac-form .no-labels label {
	display: none;
}

/* MULTIPLE FIELDS ON SAME LINE */
.ac-form div fieldset.multi div {
	float: left;
}
.ac-form div fieldset.multi div:first-child label {
	display: inherit;
}

/* RADIO & CHECKBOX SETS */
.ac-form div fieldset.switches {
	min-height: 2em;
	width: auto !important;
	display: block;
}
.ac-form div fieldset.switches label {
	width: auto;
}
.ac-form div fieldset.switches select {
	vertical-align: middle;
}

/* LINE OF TEXT WITH A CHECKBOX */
.ac-form div label.line {
	margin-right: 0;
	float: none;
}


/*-------------------------------------------
	BLOCK LABELS
-------------------------------------------*/

/* LABELS */
.block-labels label,
.block-labels .label {
	display: block;
}

/* RADIO & CHECKBOX SETS */
.ac-form div fieldset.switches.block-labels label {
	display: block;
	float: none;
}


/*-------------------------------------------
	INLINE LABELS
-------------------------------------------*/

/* CONTAINERS */
.inline-labels div {
	position: relative;
}

/* LABELS */
.inline-labels label,
.inline-labels .label {
	float: left;
	position: relative;
}

/* RADIO & CHECKBOX SETS */
.ac-form div fieldset.switches.inline-labels label {
	float: left;
}


/*-------------------------------------------
	INLINE LABELS (RIGHT ALIGNED)
-------------------------------------------*/

/* LABELS */
.inline-labels.right div label,
.inline-labels.right div .label {
	text-align: right;
}

/* REQUIRED FIELDS */
.inline-labels.right div em {
	position: absolute;
	top: 0;
}

/* RADIO & CHECKBOX SETS */
.inline-labels.right div fieldset.switches label {
	padding: 0;
	width: auto;
	text-align: left;
}


/*-------------------------------------------
	ERRORS
-------------------------------------------*/

.ac-form label.error {
	display: block;
	float: none;
}
