/*##########################################
Name: Default styling for Niceforms v.0.9
Author: Lucian Slatineanu

Redesign : 2creativo.net - enero 2007
##########################################*/



form { width: 355px; 
       padding: 10px;
}

fieldset {
    border: solid #FFFFFF 2px;
}

input, textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color: #404040;
}

label {
	color:#009900;
	padding-left:2px;
	line-height:15px;
	vertical-align:top;
	display:block;
}


/** Text Inputs **/
.textinput, .textinputHovered {
	width:236px;
	height:15px;
	background:url(../files/form/input.gif) no-repeat left top;
	border:none;
	padding:4px 8px;
}
.textinputHovered {	background-position:left bottom;}
.textinput:hover {	background-position:left bottom;}


/** Text Area **/
.textarea, .textareaHovered {
	width:336px;
	height:125px;
	background:url(../files/form/textarea.gif) no-repeat left top;
	border:none;
	padding:4px 8px;
}
.textareaHovered {	background-position:left bottom;}
.textarea:hover {	background-position:left bottom;}


/** Buttons **/
.buttonSubmit, .buttonSubmitHovered {
	width:69px;
	height:26px;
	font-weight:bold;
	padding:2px 5px;
	background:url(../files/form/button.gif) no-repeat left top;
	cursor:pointer;
	border:none;
}
.buttonSubmit {	color:#FFF;}
.buttonSubmitHovered {background-position:left bottom; color:#000000;}
.buttonSubmit:hover {background-position:left bottom; color:#000000;}



/**  Validation Style **/

input.disabled {
	border: 1px solid #F2F2F2;
	background-color: #F2F2F2;
}

input.required, textarea.required {
	color : #000;
	/* border: 1px solid #00A8E6; */
}
input.validation-failed, textarea.validation-failed {
	border: 1px solid #FF3300;
	color : #FF3300;
/* padding: 5px 5px 0; */
background-color: #FF3300; 
}
input.validation-passed, textarea.validation-passed {
	color: #006600;
	/* border: 1px solid #00CC00; */
}

.validation-advice {
	margin: 0 0 5px 0;
	width:346px;
	padding: 3px;
background-color:  #FF3300; 
border:1px solid #FF3300;
	color : #FFF;
	/* font-weight: bold; */
}

.custom-advice {
	margin: 5px 0;
	padding: 5px;
	background-color: #99cc33;
	color : #FFF;
	font-weight: bold; 
}
