
input.validation-failed , textarea.validation-failed , select.validation-failed,
.validation-failed select {
	background-color:#000000;
}

input.frm_focus , textarea.frm_focus , select.frm_focus,
.frm_focus select {
	background-color:#ffffcc;
	/*border: 1px solid #3399ff;*/
}

/*IE*/
input, select , textarea {
	_behavior: expression(
		(function(el){
			if(typeof(behavior_onFocusIn) == 'undefined'){
				behavior_onFocusIn = function() {
					if(this.type == 'text' || this.type == 'textarea' || this.type == 'select-one'){
						this.className += ' frm_focus';
					}
				};
				behavior_onFocusOut = function() {
					if(this.type == 'text' || this.type == 'textarea' || this.type == 'select-one'){
						this.className = this.className.replace(/frm_focus/,'');
					}
				};
			}
			el.runtimeStyle.behavior = 'none';
			el.onfocusin  = behavior_onFocusIn;
			el.onfocusout = behavior_onFocusOut;
		}
	)(this));
}

/*firefox*/
input[type=text]:focus, select:focus, textarea:focus {
	background-color:#ffffcc;
	/*border: 1px solid #3399ff;*/
}

.validation-advice {
	margin: 5px 0;
	padding: 5px;
	/*background-color: #FF3300;*/
	color : #ff0000;
	font-weight: bold;
}

.custom-advice {
	margin: 5px 0;
	padding: 5px;
	background-color: #C8AA00;
	color : #FFF;
	font-weight: bold;
}
