/*
 * Controls the icons that are displayed according to the specified rules, 
 * depending on the validity of the data entered
 */
/*
 "zpStatusImg" class images for form fields -- apply appropriate rules here.
 The script auto-applies one of each of these CLASS attributes to a series of
	nested <span>s with an innermost .zpStatusImg class <span> we style:
 1) "zpIsRequired" or "zpNotRequired".
 2) "zpIsEmpty" or "zpNotEmpty".
 3) "zpIsEditing" or "zpNotEditing".
 4) "zpIsValid" or "zpNotValid".
	5) Always "zpStatusImg", this is the one styled.
*/

.zpFormBasic span.zpStatusImg {
 padding: 0px 12px;
 height: 18px;
 line-height: 18px;
 background-repeat: no-repeat;
 background-position: center 3px;
 opacity: 0.66;
 filter: alpha(opacity=66);
 margin-left:5px;
 display: inline-block;
 float: none;
 padding-top: 1px;
 padding-bottom: 6px;
 vertical-align: top;

}

.zpFormBasic .zpIsEditing span.zpStatusImg {
	opacity: 1.0;
	filter: alpha(opacity=100);
}

.zpFormBasic .zpIsRequired span.zpStatusImg {
	background-image: url(icons/required.gif);
}

.zpFormBasic .zpIsRequired .zpNotEmpty .zpNotValid span.zpStatusImg {
	background-image: url(icons/required_invalid.gif);
}

.zpFormBasic .zpNotEmpty .zpNotValid span.zpStatusImg {
	background-image: url(icons/invalid.gif);
}

.zpFormBasic .zpIsValid span.zpStatusImg {
	background-image: url(icons/validated.gif);
}

.zpFormBasic .zpIsFetching span.zpStatusImg {
	background-image: url(icons/fetching.gif) !important;
}

/*
 * Controls the look and feel of the form
 */
.zpFormBasic .errOutput{
	background-color: #C70032;
	padding: 10px;
	margin-bottom: 20px;
	font-weight: bold;
	color: white;
	display: none;
}

.zpFormBasic .fieldError {
	font-weight: bold;
}

.zpFormBasic input {
	background:#F5F1F2;
	border: solid 1px #8484A1;
	margin-bottom: 5px;
}

.zpFormBasic input:focus, .zpFormBasic textarea:focus {
	background-color: #F1F5F2;
}

.zpFormBasic textarea {
	background:#F5F1F2;
	border: solid 1px #8484A1;
	margin-bottom: 5px;
}

.zpFormBasic .zpFormLabel {
	padding-right: .2em;
	width: 10em;
	font-family: verdana, arial, sans-serif;
	font-size: 13px;
	margin-top: 8px;
	float: left;
	clear: left;
}

.zpFormBasic .zpConsole {
	background-color: #dddddd;
	width:80%;
	border: 1px dotted black;
	padding:.3em;
}

.zpFormBasic {
	background: #F1F2F8;
	padding: 20px;
	border: dashed 1px black;
}

.zpFormBasic .button{
	background: url("button_bg.gif");
	margin-right: 5px;
	height: 22px;
	line-height: 16px;
	font-family: Arial;
}


.zpFormBasic fieldset{
	margin: 10px 0px;
	padding: 10px;
	border: solid 1px #D9C4C8;
}

* html .zpFormBasic fieldset{
	padding-top: 10px;
}

.zpFormBasic legend{
	font-family: Verdana, Alial, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #9195D2;
	padding: 3px 5px;
}

* html .zpFormBasic legend{
	margin-bottom: 10px;
}

.zpFormBasic .zpFormError{
	font-family: Verdana, arial, sans-serif;
	font-size: 12px;	
	color: #F73460;
  	padding-left: 10px;
  	font-weight: normal;
  	vertical-align: top;
  	line-height: 20px; 
  	display: inline-block;
}

.zpFormBasic .multipleButton{
	margin-left: 10px; 
	width: 24px;
	font-size: 15px;
	vertical-align: top;
	margin-top: 2px;
	text-align: center;
	line-height: 10px;
	padding-top: 1px;
	font-size: 11px;
}

.zpFormBasic select {	
	font-family: "MS Sans Serif" , Arial, Tahoma, Verdana, sans-serif;
	height: 19px;
	line-height: 19px;
	background:#F5F1F2;
	border: solid 1px #8484A1;
	margin-bottom: 5px;
}
