/*-----------------------------------------------------------------------------
 * validation.css
 *-----------------------------------------------------------------------------
 * Author:   Estelle Winterflood
 * Email:    cubecart@expandingbrain.com
 * Store:    http://cubecart.expandingbrain.com
 *-----------------------------------------------------------------------------
 * This file is common to several CubeCart 4 mods:
 * - Customer Image Upload
 * - Text Input Fields for Products
 * - Fully Flexible Contact Forms
 * - Force Selection of Product Options
 * - Advanced Contact Forms
 * - possibly more to come...
 *-----------------------------------------------------------------------------
 * Date:     December 23, 2007
 * Updated:  March 1, 2009
 *-----------------------------------------------------------------------------
 */

/**** NOTE ****/
/* If you customize this file, you will have to be careful when installing
 * any of the mods listed above, because this file is common to all of them.
 * Recommendation: rename this file e.g. "validation_custom.css" and then
 * update your styleTemplates/global/index.tpl with the new filename.
 */

/* Required fields, validation failed/passed */

input.required, textarea.required, select.required {
    /* Border color of required fields */
	/* border: 1px solid #70CDCC; */
}
input.validation-failed, textarea.validation-failed, select.validation-failed {
    /* Border color of required fields if validation has failed */
	border: 1px solid #FF3333;
}
input.validation-passed, textarea.validation-passed, select.validation-passed {
    /* Border color of required fields if validation is successful */
	border: 1px solid #B1D16C;
}

/* Field error messages */

.validation-advice, .custom-advice, label.error {
	margin-top: 5px;
	color: #FF0000;
	background-color: #FFFFFF; /* set this to fix problem in IE */
	font-weight: bold;
}


