/*
*************************************************
andCulture Form Styles - Custom
Version:	0.35 | October 7, 2008
Author:		andCulture, info@andCulture.com
Notes:		Wherever you see "REQUIRED" it means that the property and
			value must exist (for layout purposes). You may adjust it's
			value. All other properties are optional.
*************************************************
*/


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

.block-labels div > div,
.inline-labels div > div {
	margin-bottom: 1em;
}


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

/* LABELS */
.inline-labels label,
.inline-labels .label {
	margin-top: 6px;
	margin-right: 5px;
	width: 120px; /* REQUIRED */
}

/* NOTES */
.inline-labels p.note {
	margin-left: 125px; /* REQUIRED */
}

/* BUTTONS */
.inline-labels div.buttons {
	margin-left: 125px; /* REQUIRED */
}


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

/* REQUIRED FIELDS */
.inline-labels.right div label,
.inline-labels.right div .label {
	padding-right: 5px;
	width: 115px; /* REQUIRED */
}
.inline-labels.right div em {
	top: 3px;
	left: 115px; /* REQUIRED */
}

/* LINE OF TEXT WITH A CHECKBOX */
.inline-labels div label.line {
	margin-left: 125px; /* REQUIRED */
}


/*-------------------------------------------
	FORM ELEMENTS
-------------------------------------------*/

label, input {
	font-size: 1.1em;
}
legend {
	margin: .5em 0;
	font-size: 1.8em;
}
textarea {
	padding: 3px;
	width: 200px;
	border: 1px solid #A3C1B9;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
}
input[type=text] {
	padding: 3px;
	width: 200px;
	border: 1px solid #A3C1B9;
}
input[disabled=disabled] {
	border-color: #CCC;
}
input[required=required] {
	border: 1px solid red;
}
select {
	padding: 1px;
	width: 200px;
	border: 1px solid #A3C1B9;
}
input[type=submit],
input[type=button] {
	padding: 3px 3px 2px 3px;
	border: 1px solid #999;
	color: #666;
	font-size: 1.1em;
}


/*-------------------------------------------
	STATUS MESSAGES (loading, error, success)
-------------------------------------------*/

/* STATUS SUMMARY */
.ac-form  div.status {
	margin-bottom: 1em;
	border-width: 1px;
	border-style: dashed;
	padding: 5px;
}
.ac-form  div.status.error {
	border-color: #c7491e;
	background-color: #ffe8e0;
}
.ac-form  div.status.success {
	border-color: #6ead1c;
	background-color: #f2ffe0;
}
.ac-form  div.status p {
	margin: 0;
}

/* INLINE ERRORS (INPUTS) */
.ac-form div.error > label,
.ac-form div.error .label {
	color: #F00;
}
.ac-form div.error input[type=text],
.ac-form div.error input[type=password],
.ac-form div.error input[type=file],
.ac-form div.error textarea,
.ac-form div.error select {
	border: 1px solid #F00;
}

/* INLINE ERRORS (ERROR MESSAGES) */
.ac-form p.status {
	margin-top: .5em;
	display: none;
}
.inline-labels p.status {
	margin-left: 125px; /* REQUIRED */
}
.ac-form p.error-msg {
	padding: 5px;
	border: 1px dashed #F00;
	background: #FEE;
}
.ac-form div.error p.error-msg {
	display: block;
}

	/* AJAX CLASSES */
	.ac-form div.loading p.loading-msg, 
	.ac-form div.success p.success-msg {
		display: block;
	}
	.ac-form div.loading p.loading-msg {
		/* REMEMBER TO STYLE WITH A BACKGROUND IMAGE LOADING SPINNER OF YOUR CHOICE! */
	}


/*-------------------------------------------
	SITE SPECIFIC STYLING
-------------------------------------------*/

.ac-form fieldset > div {
	margin-bottom: 1em;
}

