/* 
Form styles for Quote form Tri Five Webdesign
/* -- Contact area styles -- */
/* -- Forms styles --*/

.formDiv {
	height: auto;
	margin: 10px 0px 0px;
	position: relative;
	float: left;
	width: 500px;
	font-size: 12px;
	font-weight: normal;
	border-top: #0000FF;
	border-right: #0000FF;
	border-bottom: #0000FF;
	border-left: #0000FF;
	padding-top: 0px;
}

.formDiv p{
	position: relative;
	width: 100%;
	text-align: left;
	margin: 5px;
}
.formDiv fieldset {
	background: #eecf60;
}

.formDiv form {
	width: 450px;
	margin-left: 10px;
	margin-top: 0px;
}
.formDiv .form_input {
	text-align: center;
	margin: 0px;
	padding: 0px;
	height: auto;
	width: 150px;
	clear: left;
}

.clear {
	clear:both;
	}
	
.formDiv input, .formDiv select {
	width: 150px;
	margin-top: 0px;
	margin-left: 5px;
	}
/* reset width for non-text inputs */
.formDiv input.radio, .formDiv input.checkbox {
  width: auto;
  float: left;
}
.formDiv input.submit, .formDiv input.clear {
  width: auto;
}

.formDiv label.button {
	width: auto;
	float: left;
	margin: 5px;
	}
.formDiv fieldset legend {
	color: #000000;
	display: inline;
	font-size: 16px;
	font-weight: bold;
}

 /*Set Form styling for event submittal form*/
.formDiv textarea {
	width: 250px;
	height: 150px;
	float: left;
}
.formDiv .formLabel {
	display: block;
	line-height: 15px;
	height: 12px;
	float: left;
}

.formKey {
	top: 0px;
	left: -4000px;
	position: absolute;
	visibility: hidden;
}
.fsubmit {
	text-align: center;
}

/* display labels next to form elements, add a class for when you want them to stack */
.formDiv label {
	font-size: 14px;
	font-weight: bold;
	float:left;
	margin-right: 1em;
	width: 100px;
	text-align: left;
	margin-left: 1em;
}
.formDiv label.top {
	display:block;
	float:none;
	}
/*style feedback message */
.formDiv label .feedback {
	position: absolute;
	margin-left: 6em;
	left: 200px;
	font-weight: bold;
	color:#901010;
	padding: 0 0 5px 20px;
	background: url(../images/notice.gif) no-repeat left top;
	/* so IE doesn't freak out */
	width: 200px;
	top: -12px;
}
	
.formDiv label em {
	color: #FF0000;
}

div.group1, div.group2, div.group3 {
	float:left;
	width: 200px;
	padding-left: 10px;
	margin-left: 10px;
	}


/* --these styles use attribute selectors and the focus pseudo-selector to style form elements
in DOM compliant browsers. Other browseres (such as IE6 will ignore these
and render the default form */
fieldset[id=contactSubmit] {
}
legend[class=contactLegend] {
}
input:focus, textarea:focus {
	border: 2px solid #630;
	}

/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/

* html .threepxfix{
	margin-left: 3px;
}


/* SpryValidationTextField.css - version 0.4 - Spry Pre-Release 1.6.1 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */


/* These are the classes applied on the error messages
 * which prevent them from being displayed by default.
 */ 
.textfieldRequiredMsg, 
.textfieldInvalidFormatMsg, 
.textfieldMinValueMsg,
.textfieldMaxValueMsg,
.textfieldMinCharsMsg,
.textfieldMaxCharsMsg,
.textfieldValidMsg {
	display: none;
}

/* These selectors change the way messages look when the widget is in one of the error states.
 * These classes set a default red border and color for the error text.
 * The state class (e.g. .textfieldRequiredState) is applied on the top-level container for the widget,
 * and this way only the specific error message can be shown by setting the display property to "inline".
 */
.textfieldRequiredState .textfieldRequiredMsg, 
.textfieldInvalidFormatState .textfieldInvalidFormatMsg, 
.textfieldMinValueState .textfieldMinValueMsg,
.textfieldMaxValueState .textfieldMaxValueMsg,
.textfieldMinCharsState .textfieldMinCharsMsg,
.textfieldMaxCharsState .textfieldMaxCharsMsg
{
	display: inline;
	color: #ff0000;
	background: #CCCCCC;
}



/* The next three group selectors control the way the core element (INPUT) looks like when the widget is in one of the states: * focus, required / invalid / minValue / maxValue / minChars / maxChars , valid 
 * There are two selectors for each state, to cover the two main usecases for the widget:
 * - the widget id is placed on the top level container for the INPUT
 * - the widget id is placed on the INPUT element itself (there are no error messages)
 */
 
 /* When the widget is in the valid state the INPUT has a green background applied on it. */
.textfieldValidState input, input.textfieldValidState {
	background-color: #B8F5B1;
}

/* When the widget is in an invalid state the INPUT has a red background applied on it. */
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: #FF9F9F;
}

/* When the widget has received focus, the INPUT has a yellow background applied on it. */
.textfieldFocusState input, input.textfieldFocusState {
	background: #FFFF33;
}

/* This class applies only for a short period of time and changes the way the text in the textbox looks like.
 * It applies only when the widget has character masking enabled and the user tries to type in an invalid character.
 */
.textfieldFlashText input, input.textfieldFlashText {
	color: red !important;
}

/* When the widget has the hint message on, the hint text can be styled differently than the user typed text. */
.textfieldHintState input, input.textfieldHintState {
	/*color: red !important;*/
}
