﻿/* 
 wFORMS 2.0 Stylesheet - VHGDesign Theme - Jan. 2007 - 
 by VHG Design - http://www.vhg-design.com
 
 See http://www.formassembly.com/wForms
 
 To be used along with wforms-jsonly.css
 This stylesheet and the associated images are Copyright (c) 2005 Cedric Savarese (http://www.4213miles.com)	
 and licensed under the Creative Commons Attribution-ShareAlike License (http://creativecommons.org/licenses/by-sa/2.0/) 
*/

form {
	padding: 10px;
	height: expression('1%'); /* IE Pick-a-boo bug fix */
	font-family: "Trebuchet MS", Trebuchet, Arial, sans-serif;
	font-size: 12px;
		background: white;
	margin-top: 6px;
}
fieldset {
	position: expression('relative'); /* Fixes IE problem with fieldset+legend boundaries */;
	padding: 10px 10px 15px 10px;
	background-color: #FAFAFA;
	margin: 0px 0 20px 0;
	background: white url('wforms_bg.gif') repeat-x 50% bottom;
	border: 2px solid #62B7FF;
}
fieldset fieldset  {
	border: 1px solid #ccc;
	background-color:#FFF;
}
legend {
	/* Fixes IE problem with fieldset+legend boundaries */;line-height: 32px;
	background: center;
	color: #62B7FF;
	font-weight: bold;
	font-size: large;
	margin-right: 7px;
	margin-left: 7px;
	padding-bottom: 7px;
	padding-right: 4px;
	padding-left: 4px;
}
fieldset fieldset legend {
	font-size: 12px;
}
.label {
	color: #333;
	font-size: small;
}
label {
	color: #333;
	font-size: small;
	vertical-align: middle;
}
/* .label is typically used on a span or p tag to label a radio or checkbox group */
.label  {
	display: -moz-inline-box;
	display: inline-block;	
	width: expression; /* Min-width for IE6 */
	min-width: 6em;
	padding: 0 2px;
	margin: 0 4px 0 0;
	height: 26px;
}
label.preField  {
	display: -moz-inline-box;
	display: inline-block;
	width: expression; /* Min-width for IE6 */
	min-width: 6em;
	padding: 0 2px;
	margin: 0 4px 0 0;
	height: 26px;
	right: 0px;
}
.label { display: block; width: auto; }

label.postField  {
	margin-left: 4px;
	margin-right: 4px;
}
textarea {
	padding: 0;
	vertical-align: top;
	margin: 4px 0 1px 0;
	border: 2px solid #62B7FF;
}
input {
	background: url('field_bg.gif') repeat-x 50% bottom;
	border: 2px solid #62B7FF;
	height: 25px;
	margin: 2px 0;
}
input[type=password] {
	width: 170px;
	height: 22px;
	background: url(field_bg.gif) bottom repeat-x;
	border: 2px solid #62B7FF;
}
input[type=text] {
	width: 200px;
	height: 22px;
	background: url(field_bg.gif) bottom repeat-x;
	border: 2px solid #62B7FF;
}
select {
	border: 2px solid #62B7FF;
	padding: 0;
	margin: 2px 0 1px 0;
	background: #EFEFF4;
	height: 21px;
	line-height: 21px;
}
.reqMark {
	color: red;
	margin: 0 3px;	
}

.submit {
  border: 1px solid #000000;
  background-color: #FFFFFF;
  padding: 2px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12px;
  cursor: default;
 
}
#submitpad {
	padding: 5px;
	background-color: #B30000;
	margin: 0px;
	border-width: 3px;
	border-color: #B30000;
	border-spacing: 0;
}

/* Form Builder Related Rules */
/* ========================== */
/* Form or Fieldset instruction paragraph. */
.instructions {
	margin: 1.5em 0;
}
/* Ties together a label and its checkbox or radio */
.oneChoice {
	white-space: nowrap; 
}
.oneChoice input {
	vertical-align: middle;
	border: none 0;
	background: transparent;
	height: 16px;
}
/* wForms Related Rules */
/* ==================== */
/* Field w/ a validation error */
.error {	/* deprecated since wForms v0.92 */
	/*border: 1px solid #F00;*/
}
.errFld {
	/*border: 1px solid #F00;*/
}
/* Styling for message associated with a validation error. */
.errorMsg { /* deprecated since wForms v0.92 */
	color: #CC3333 !important;
	display: inline;

}
.errMsg {	
	color: #CC3333 !important;
	display: inline;
  border: 2px solid #F00;
  font-size: 110%;

}
/* Field-Hint with focus */
.field-hint {
	color: red;
	float: right;
	clear: right;
	width: 275px;
	font-size: 100%;
  font-weight:bold;
	line-height: 100%;
	padding: 0 0 0 0px;
	height: 13px;
}

/* Field-Hint without focus */
.field-hint-inactive {
	color: #666;
	float: right;
	clear: right;
	width: 250px;
	font-size: 90%;
	line-height: 100%;
	padding: 0 0 0 0px;
	height: 13px;
}
/* Repeat Behavior  */
.repeat {
	border: 2px solid #62B7FF;
	background-color: #FFFFFF;
	margin: 0px 0 3px 0;
	padding-right: 6px;

}
.removeable {
	border: 2px solid #62B7FF;
	background-color: #FFF;
	padding-right: 6px;	
}
/* Links generated by the Repeat Behavior */
a.duplicateLink:visited {
	margin: 10px 10px 0 0;
	font-weight: bold;
	text-align: right;
	color: #ff6705;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 2px solid #62B7FF;
	float: right;
}	
a.duplicateLink:link {
	margin: 10px 10px 0 0;
	font-weight: bold;
	text-align: right;
	color: #ff6705;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 2px solid #62B7FF;
	float: right;
}	
a.duplicateLink:hover {
	border-bottom: 2px dotted #ff6705;
}
a.duplicateLink:focus {
		outline: none;
	}

a.duplicateLink:active {
		outline: none;
	}

a.removeLink:visited {
	margin: 10px 10px 0 0;
	font-weight: bold;
	text-align: right;
	color: #ff6705;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 2px solid #62B7FF;
	float: right;
}

a.removeLink:link {
	margin: 10px 10px 0 0;
	font-weight: bold;
	text-align: right;
	color: #ff6705;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 2px solid #62B7FF;
	float: right;
}
a.removeLink:hover {
	color: red;
	border-bottom: 2px dotted red;
}
/* Switch Behavior Classes */
.onstate-az {
	display: block;
}

.onstate-ay {
	display: block;
}

.onstate-ax {
	display: block;
}

.onstate-aw {
	display: block;
}

.onstate-av {
	display: block;
}

.onstate-au {
	display: block;
}

.onstate-at {
	display: block;
}

.onstate-as {
	display: block;
}

.onstate-ar {
	display: block;
}

.onstate-aq {
	display: block;
}

.onstate-ap {
	display: block;
}

.onstate-ao {
	display: block;
}

.onstate-an {
	display: block;
}

.onstate-am {
	display: block;
}

.onstate-al {
	display: block;
}

.onstate-ak {
	display: block;
}

.onstate-aj {
	display: block;
}

.onstate-ai {
	display: block;
}

.onstate-ah {
	display: block;
}

.onstate-ag {
	display: block;
}

.onstate-af {
	display: block;
}

.onstate-ae {
	display: block;
}

.onstate-ad {
	display: block;
}

.onstate-ac {
	display: block;
}

.onstate-ab {
	display: block;
}

.onstate-aa {
	display: block;
}

.onstate-z {
	display: block;
}

.onstate-y {
	display: block;
}

.onstate-x {
	display: block;
}

.onstate-w {
	display: block;
}

.onstate-v {
	display: block;
}

.onstate-u {
	display: block;
}

.onstate-t {
	display: block;
}

.onstate-s {
	display: block;
}

.onstate-r {
	display: block;
}

.onstate-q {
	display: block;
}

.onstate-p {
	display: block;
}

.onstate-o {
	display: block;
}

.onstate-n {
	display: block;
}

.onstate-m {
	display: block;
}

.onstate-l {
	display: block;
}

.onstate-k {
	display: block;
}

.onstate-j {
	display: block;
}

.onstate-i {
	display: block;
}

.onstate-h {
	display: block;
}

.onstate-g {
	display: block;
}

.onstate-f {
	display: block;
}

.onstate-e {
	display: block;
}

.onstate-d {
	display: block;
}

.onstate-c {
	display: block;
}

.onstate-b {
	display: block;
}

.onstate-a {
	display: block;
}

/* offstate classes for the Switch Behavior are in wforms-jsonly.css */

/* Buttons */
.actions {
	padding-top: 15px;
	text-align: center;
	clear: right;
}
.primaryAction {
	display: inline;
}
.secondaryAction {
	color: grey;
	display: inline;
}
.secondaryAction:hover {
	color: black;
}

.margin15tb {
	margin-top: 15px;
	margin-bottom: 15px;
}
.clearBoth {
	clear: both;
}
.noMargin {
	margin-right: 11px;
	margin-top: 0px;
	margin-bottom: 0px;
}

label.preFieldSameLine {
	display: -moz-inline-box;
	display: inline-block;
/* Min-width for IE6 */	min-width: 6em;
	padding: 0 2px;
	margin: 0 4px 0 0;
	height: 26px;
	right: 0px;
}
.comments {
	display: inline-block;
	padding-bottom: 10px;
	padding-left: 14px;
}

