.textfieldRequiredMsg, 
.textfieldInvalidFormatMsg, 
.textfieldMinValueMsg,
.textfieldMaxValueMsg,
.textfieldMinCharsMsg,
.textfieldMaxCharsMsg,
.textfieldValidMsg {
	display: none;
}

.textfieldRequiredState .textfieldRequiredMsg, 
.textfieldInvalidFormatState .textfieldInvalidFormatMsg, 
.textfieldMinValueState .textfieldMinValueMsg,
.textfieldMaxValueState .textfieldMaxValueMsg,
.textfieldMinCharsState .textfieldMinCharsMsg,
.textfieldMaxCharsState .textfieldMaxCharsMsg
{
	display: inline; color: #CC3333; font-size:12px; line-height:12px;
}
 
.textfieldValidState input, input.textfieldValidState { }

input.textfieldRequiredState, .textfieldRequiredState input, 
input.textfieldInvalidFormatState, .textfieldInvalidFormatState input, 
input.textfieldMinValueState, .textfieldMinValueState input, 
input.textfieldMaxValueState, .textfieldMaxValueState input, 
input.textfieldMinCharsState, .textfieldMinCharsState input, 
input.textfieldMaxCharsState, .textfieldMaxCharsState input {
	background-color: #ffe0e0;
}

.textfieldFocusState input, input.textfieldFocusState {
	background-color: #f2f2f2;
}

.textfieldFlashText input, input.textfieldFlashText{
	color: red !important;
}







.selectRequiredMsg, .selectInvalidMsg { display: none; }
.selectRequiredState .selectRequiredMsg,
.selectInvalidState .selectInvalidMsg { display: inline; font-size:12px; line-height:12px; color: #C00; }

select.selectRequiredState, .selectRequiredState select,
select.selectInvalidState, .selectInvalidState select { background-color: #ffe0e0; }

.selectFocusState select, select.selectFocusState { }









.textareaRequiredMsg,
.textareaMinCharsMsg,
.textareaMaxCharsMsg,
.textareaValidMsg {
	display:none;
}

.textareaRequiredState .textareaRequiredMsg,
.textareaMinCharsState .textareaMinCharsMsg,
.textareaMaxCharsState .textareaMaxCharsMsg
{
	display: inline; font-size:12px; line-height:12px; color: #C00;
}
textarea.textareaRequiredState, .textareaRequiredState textarea, 
textarea.textareaMinCharsState, .textareaMinCharsState textarea, 
textarea.textareaMaxCharsState, .textareaMaxCharsState textarea {
	background-color:#ffe0e0;
}

.textareaFocusState textarea, textarea.textareaFocusState {
	background-color:#f2f2f2;
}

/* This class applies only for a short period of time and changes the way the text in the textarea looks like.
 * It applies only when the widget has enforce max chars enabled and the user tries to type some more.
 */
.textareaFlashState textarea, textarea.textareaFlashState{
	color:red !important;
}


