/* Forms Styles */
form {
  position: relative;
  overflow: hidden;
}

textarea {
 font-family: "Lucida Grande", "Trebuchet MS", Tahoma, Verdana, sans-serif;
 }

form .col1, form .col2 {
  width: 266px;
  float: left;
  padding: 25px 17px 15px 0;
  overflow: hidden;
}
.formContainer {
	width: 100%;
	padding: 0;
	margin: 0;
  overflow: hidden;
  clear: both; /* fixes Safari problem with login screen - does not affect form positioningin other applications */
}
.wide {
  width: 630px;
}
.formTop {
	height: 32px;
	background: #fff url(/images/formsTopBorder.gif) bottom repeat-x;
	margin: 0 auto;
	text-align: left;
	border-left: #ccc solid 1px;
	padding: 0 1px 0 0;
}
.formTab {
	display: block;
	height: 20px;
	width: 160px;
	background: url(/images/formsTab.gif) top right no-repeat;
	line-height: 1em;
	padding: 12px 3px 0 0;
	text-align: center;
	color: #006600;
}
.formWrap {
	height: auto;
	margin: 0 auto;
	padding: 30px 30px;
	background: #f7f3eb;
	border-left: #ccc solid 1px;
	border-right: #ccc solid 1px;
	border-bottom: #ccc solid 1px;
	text-align: left;
	overflow: hidden;
	position: relative;
}
.narrow {
  padding: 0 5px 0 20px;
}
.formWrap textarea {
  font-size: 1em;
}
.formWrap label {
  width: 150px;
  margin-right: 15px;
}
#formCaption {
	width: 250px;
	height: auto;
	font-size: 0.75em;
	line-height: 1.2em;
	margin: 0 0 10px 0;
}
.cssForm label {
	font-size: .85em;
	line-height: 1em;
}
.unrequired {
	border: #ccc solid 3px;
	margin: 0;
	color: #333;
	font-size: 1em;
	padding: 5px;
	width: 254px;
}
#invSearch .unrequired {
  float: left;
}
.required {
	border: #ff6600 solid 3px;
	margin: 0;
	color: #333;
	font-size: 1em;
	padding: 5px;
	width: 254px;
}
.formRow {
  margin-bottom: 15px;
}
/* end verbose bottom margin reset */
.formHelp {
  font-size: 0.75em;
  /*display:block;*/
}
#farmSelector, .ag2Select {
	border: #999 solid 1px;
	background: #fff;
	padding: 1px;
}
select.required, select.unrequired {
  width: 270px;
}
button, input[type="submit"] {
	border: 0 none;
	cursor: pointer;
	line-height: 1em;
}

/* rounded corners for all buttons */

.roundGray {
 font-family: Arial, Helvetica, sans-serif;
 font-weight: bold;
 color: #555;
 background-color: #fff;
	padding: 2px 8px;
 -moz-border-radius: 3px;
 -webkit-border-radius: 3px;
 border: 1px solid #555;
}
.roundRed {
 -moz-border-radius: 3px;
 -webkit-border-radius: 3px;
 border: 1px solid #cc0000;
}
.roundWhiteSmall {
 -moz-border-radius: 3px;
 -webkit-border-radius: 3px;
 border: 1px solid #fff;
}
a.userNav, a.userNav:visited {
 font-size: 0.85em;
 color: #555;
	margin: 0 5px 0 0;
}
a.userNav:hover {
	background: #555;
	color: #fff;
}
.send {
	font-weight: bold;
	font-size: 0.85em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	background: #cc0000;
	color: #fff;
	padding: 3px 6px;
	/* margin: -24px 0 0 800px; */
	float: right;
	clear: both;
	border: 0;
}
.save {
	font-weight: bold;
	font-size: 0.85em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	background: #336600;
	color: #fff;
	padding: 3px 6px;
	/* margin: -24px 0 0 800px; */
	float: right;
	clear: both;
	border: 0;
	border-radius: 3px;
 -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
}
a.help, a.help:visited {
 font-size: 0.85em;
 color: #0066cc;
 border: 1px solid #0066cc;
}
a.help:hover {
  background-color: #0066cc;
  color: #fff;
}
.find {
	background: #009900;
	font-weight: bold;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	padding: 4px 10px;
	border: 0;
	color: #fff;
}
a.edit {
 background: none;
 font-weight: bold;
 font-size: 1em;
 font-family: Arial, Helvetica, sans-serif;
 text-transform: uppercase;
 padding: 4px 10px;
 border: #cc0000 solid 1px;
 color: #cc0000;
 bottom: 15px;
 left: 11px;
}
a.edit:hover {
	background: #cc0000;
	color: #fff;
}
a.add {
	background: none;
	font-weight: bold;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	padding: 4px 10px;
	border: #cc0000 solid 1px;
	color: #cc0000;
}
a.add:hover {
	background: #cc0000;
	color: #fff;
}
.ag2Table a.add {
	float: right;
}
.formNote {
  clear: both;
  margin: 20px 0 10px 0;
  height: 15px;
  font-size: 0.7em;
  overflow: hidden;
}
.colorBar {
  height: 0;
  border: #ff6600 solid 2px;
  padding: 0;
  margin: 5px 8px 0 0;
  width: 12px;
  float: left;
}
/*#TODO: this is a hack. this label should be set in the sfApplyApplyForm.class.php like all the others */
#agreeCkBox {
	margin: -32px 0 20px 25px;
}

/* Terms Window */

#showTerms {
	float: right;
	width: 500px;
	height: 335px;
	overflow: auto;
	text-align: left;
	padding: 20px;
	border: #ccc solid 3px;
	background-color: #fff;
}
#showTerms p {
	line-height: 1.2em;
	font-size: 0.85em;
}
#showTerms h4 {
	line-height: 1em;
}
/* Strenght Meter */

.strenghtMeter {
	height: 50px;
	width: 280px;
}
.strenghtMeter span {
	font-size: 0.75em;
	color:#666666;
	float: left;
	padding: 0 33px 0 0;
	margin: 6px 0 0 0;
}
.strenghtMeter span.last {
	padding: 0;
}
.formError {
	color: #cc0000;
	font-size: 0.8em;
}
.formRowError input, .formRowError textarea {
	border-color: #cc0000;
}


/* The customized farm form */
#farmForm p {
  margin: 0 0 1em 0;
}
#farmForm h2 {
  line-height: 1.1em;
}
#farmForm h4 {
  font-size: 1.2em;
  margin-bottom: 5px;
  padding-left: 5px;
  text-decoration: underline;
}
#farmForm .col1 {
  float: left;
  width: 330px;
}
#farmForm .col2 {
  float: left;
  width: 460px;
  padding: 0 0 0 40px;
  overflow: hidden;
  border-left: 1px solid #cccccc;
  font-size: .9em;
}
#farmForm .section {
  width: 145px;
  float: left;
  padding-left: 25px;
  font-size: 1em;
  margin: 0 20px 20px 0;
}
#farmForm .section label {
  display: block;
  float: left;
  width: 110px;
  padding: 2px 0 1px 5px;
}
#farmForm .col2 .section .formRow {
  margin-bottom: 0;
  overflow: hidden;
  padding: 0;
}
#farmForm .col2 input[type="checkbox"] {
  margin-top: 2px;
}
#farmForm .formRow {
  width: 150px;
}
#farmForm .col1 .formRow {
  width: 210px;
}
#farmForm .required, #farmForm .unrequired {
  margin-bottom: 0;
}
#farmForm .section .formRow:hover {
  background-color: #fffef9;
}
#farm_photo {
  width: 254px;
  border: 2px solid #ccc;
}
.titlebar {
  overflow: hidden;
  margin-bottom: 10px;
}
.titlebar h2 {
  width: 200px;
  float: left;
}
.titlebar em {
  display: block;
  float: right;
}
.clear {
  clear: both;
}
.underline {
  text-decoration: underline;
}
.ui-datepicker-trigger {
  background: url(/images/icon-date-picker.gif) 5px 0 no-repeat;
}

/* Maps and places forms */

#placeFormContainer {
  overflow: hidden;
  padding:0;
}

.quicksave .send {
  float: none;
}
/* The Contact Us/Feedback form */

#feedbackForm input.required, #feedbackForm textarea {
  width: 292px;
}

#feedbackForm textarea {
  height: 200px;
}

/* Inventory Forms */
#seedFormContainer {
  font-size: 0.9em;
}


