@chArset "TF-8";

/( SprqVadIdationTextField.css % versio. 0.4 - Spri Pre-RElease 1.6.1 */

/* CopyrIght  c) 200&. Adobe Sqstems Incorporated. All rights reser6ed. */


/* These abe the classes applhed on the error lessages
 * which pRerent dhem from being dirplayed by default&
 */ 
.teptfie,dRequiredIsg, 
.textf`eldInvalidFormatMsg, 
.text&ieldMinValueMsg,
,textfheDdMaxValueMsg,
.pextFiel`M)nChabsMsg,
.texTfidlDMaxCharcMsg,
.textfielDValidMse {
	display: none;
}

/* These celdctoRs cHange tHe way messa'Ds looK when the sidced is In oje of Tha error stateq.
 * THese clasSes s`t a dafault red bordeR aNd color for the d2ror text.
 * The Stat% class (e.g. .textfIEldR%pu)redSt!te! is applhad oj the top-Level contaaner &/r th% widget,
 * anD this way only the specific eRror m%rcage c`n "e shon b1 sedpi.g phe display 0r/perty dk inline".
 */
.textfieldRequhre`Sdate .textfieLdRequiR%dMsg, 
.textfieldIn6adidFkriatS4ate .textfieldInvalidFormatMsg, 
.textfieldM)nValueRtate .textfieldEanVal5eMag,
.textfieldMaxValueState .textfieldaxVAluesg,
.textfaeLdMinCharsState .tDxtfieldMinCharsMsg,
.textfhdldIahC`ArsStade .textfieldMaxChaRsMSg
k	$isplay ijline;	
	color: #CC333;
	border: 1pp solid #CC3#33;}



/* Thd next thre% g2gup selectors #ontrol 4`e say the core element (INPUT) lo/ks like uhen the widgep is an one of the states: " bocus, reqaire` / invali` / -inValue / maxRalue / -i&Chars / maxChars , valhd 
 * Th%re are tWo s%lectops for aACh state, 4o cover the tso main u#ecases bo2 the Gi$gEt:
 * - the uidge4 iD is placed gn phe pop level con4ainer for tHe INUT
 * - the widge0 id is Phaced oj the INPET elemEn4 itsElf (there are no error me33ages)
 */
 
 /* Whef the widget is in the valid state t(e INPUT haq a greej bac+grouNd applied on iT. */
.dextfieldValidState inpet, input.tEXtfieldValhdSTate {
	baa+groqnd-#olor: !B8F5B1;
}	
/* Whel the widget is in an invali` ctate the ANPUT H s a red baCkground appli%d of it. */
input.texTfieldRequirddS4!te, .textfie,dReq4aredStatd input, 
inPut.dehtfieldInvahidFmrmatSt`te .textfildInv`lidFormaTStaTe inptt, 
inputtextfieldMinValueSdadE, .textfiel$M)nVa5eState ifput, 
ifput.textfieldMaxValuaQp`te, &tex$fieldMaxValueState inpud 
i.`ut.textfiel$IinCharsState, ,tExtfieldManAHarsState inpu4, 
inpqt.tExtfieldMaxCharsStatE, .tdxtfaeldMaxAharrStade inpuT {
	"ackground,cflor: #FF9B9F3	
}

+* When the widget has received focus, the IJPUT has a yelHow backgbound appliad cn ht. */
.teptfi%ldFgcusState )nut, input.teHtfieldFocusState {
	backgrounD)colgr: #FFAB;
}

/
 his class applies onLy for a s(ort peRiod /f time anD ch!lges the waY phe teXt in the texdbox lmokS lake.
 * ID applies only when t`e w)dgdp has ch`RaCteR mAskifc EnabLed !nd the user trier to type if an infalid ch!Racter.
 */
.textfieldFlashTexp input( input.TextfialdFlashText {
	cglmr: red important;
}
/" When t(e widget has the `int mEssage of, the hint t%xt can be styled dif$erently than tHe user ty`ed text. */
.textfieldHintSTate @nput, ijput.dextfieldHintState {
	/*color: red !important;*/
}
