/* Stephen Edited */

/*=== HTML5 display definitions -Robert ===*/

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/*=== Base ===*/
html {
  min-height: 100%;
  height: auto;
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* for non-css3 browsers */
  background-color: #F0E4C1;
  background: url(../images/brochure_background.png);
  background-repeat: repeat-x;
  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FAF5E7), to(#F0E4C1));
  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #FAF5E7, #F0E4C1);
  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #FAF5E7, #F0E4C1);
  /* IE 10 */
  background: -ms-linear-gradient(top, #FAF5E7, #F0E4C1);
  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #FAF5E7, #F0E4C1);
  background-size: auto; /*see if this helps with IE background scaling*/
}

body {
  margin: 0;
  font-size: 1em;
  line-height: 1.2em;
  background: transparent;
}

body, button, input, select, textarea {
  font-family: "Helvetica", Arial, sans-serif; color: #000;
}

/*=== Style Resets ===*/

p {
	margin: 0;
	padding: 0;
	line-height: 1.2em;
}
ul, li {
	margin: 0;
	padding: 0;
}
ul {
  list-style: none outside none;
}
/* last minute hack */
ul.bulleted li {
  list-style: outside;
}
a {
	margin: 0;
	padding: 0;
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
}

a img, :link img, :visited img, img {
  border: 0;
  } /*remove borders from images and links in IE*/

/*=== Global Styles ===*/

a:link, a:visited {
 color: #0066cc;
 }
a:hover {
  color: #0033cc;
}
a:focus {
  outline: 0 none;
}
hr {
	height: 1px;
	color: #ccc;
	background-color: #ccc;
}
h1, h2 {
	font-size: 1.4em;
	/*line-height: 1em;*/
	color: #336600;
	font-weight: normal;
	/*margin: 0.5em 0 0 0;*/
}
h4, h5, h6 {
line-height: 1em;
}
.clearfloat {
	clear: both;
	height: 0px;
	font-size: 1px;
	line-height: 0px;
}
.clearfix {
}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
body {

  font: 100% "Trebuchet MS", Tahoma, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #333;
}

body p {
	line-height: 1.2em;
	margin: 1em 0 0 0;
}

/*=== Broshure site Header Styles located in brochure.css ===*/
/*=== Brochure site Main Banner Styles found in brochure.css ===*/
/*=== Brochure site Sub Banner Styles found in brochure.css ===*/
/*=== Brochure Pages Content Styles found in brochure.css ===*/

/*Unused at the moment*/
/*#mainCopy {
 width: 550px;
 height: auto;
 font-size: 0.9em;
 position: relative;
 float: left;
}
#mainCopy ul li {
 list-style-position: outside;
	margin: 1em 2em;
	line-height: 1.2em;
}
.forIcons {
	margin: 1em 2em;
	line-height: 1.2em;
	list-style: none;
}

#sidebar {
  width: 280px;
  position: relative;
  float: left;
  margin: 0 0 0 30px;
}*/

/*=== Contact Form Widget Styles ===*/

ul#menu, ul#menu  li {
  list-style: none;
}

#formWidget {
 width: auto;
 height: 270px;
 float: left;
 clear: both;
 margin: 0px 0px 25px 20px;
}

#signupBox {
 width: 230px;
 height: 250px;
 background-color: transparent;
 background: url(/images/signupFormBack.jpg) top no-repeat;
 padding: 10px 20px;
}

.signUpCopy {
 color: #fff;
 font-size: 0.825em;
 margin-bottom: 20px;
 clear: both;
}

#tellFriendBox {
 width: 230px;
 height: 250px;
 background: url(/images/shareFormBack.jpg) top no-repeat;
 padding: 10px 20px;
 clear: both;
}

#signUpForm {
  clear: both;
}

#tabLinks {
  position: relative;
  float: left;
 height: 16px;
 font-family: Arial, Helvetica, sans-serif;
 font-size: 0.77em;
 font-weight: bold;
 padding: 0;
 margin: 0 0 20px 0;
 width: 175px;
 clear: right;
}

#tabLinks a {
	line-height: 1em;
}

#tabLinks a.signup {
	float: left;
	color: #ffffcc;
}
#tabLinks a.signup:hover {
	float: left;
	color: #660000;
}

#tabLinks a.tellafriend {
	float: right;
	color: #cc3300;
}

#tabLinks a.tellafriend:hover {
	float: right;
	color: #660000;
}

#tabLinks li {
  display: inline;
}

.formField {
	width: auto;
	height: 18px;
	background-color: #ffffff;
	border: #660000 solid 1px;
	margin: 0 0 10px 0;
	padding: 3px;
}

.formSelect {
	/*	width: auto;
	height: 24px;
	background-color: #ffffff;
	border: #660000 solid 1px; */
	margin: 0 0 20px 0;
	padding: 0;
}

.textareaField {
	width: auto;
	height: 90px;
	background-color: #ffffff;
	border: #660000 solid 1px;
	margin: 0 0 10px 0;
	padding: 3px;
}

.textareaField textarea {
	width: 220px;
 height: 90px;
	border: 0;
	overflow: hidden;
	font-size: 0.9em;
}

.textField {
	font-size: 0.9em;
	float: left;
	margin: 0;
	border: 0;
	line-height: 1em;
	padding: 1px;
	width: 220px;
}

.selectionMenu {
	font-size: 0.9em;
	float: left;
	margin: 0;
	line-height: 1em;
	padding: 0;
}

/*=== Footer Styles ===*/
/*=== Brochure Footer & Social Widget Styles in brochure.css ===*/

/*=== dashboard footer  styles ===*/
#footer {
  background: url(/images/agsFooterBack.gif) top center no-repeat;
  width: 864px;
  height: 100px;
  margin: 0 auto;
  text-align: left;
  padding: 25px 60px 0 60px;
  font-size: 0.7em;
}
#copyright {
  float: left;
}
#footerNav {
 color: :666666;
 float: right;
}
body.workbench #footerNav {
}
#footerNav a {
  color: #333333;
  text-decoration: none;
}
#footerNav a:hover {
  text-decoration: underline;
}
#footerNav a:visited {
  color: #333333;
  text-decoration: none;
}

/*=== Pop up overlays for privacy and terms ===*/

#pagePrivacy, #pageTerms  {
 /*overflow: auto;*/
 font-size: 0.8em;
 /*height: 380px;*/
}
#pagePrivacy h1, #pagePrivacy h2, #pageTerms h1, #pageTerms h2 {
 margin-top: 8px;
 color: #333;
}
#pageTerms h3, #pageTerms h4, #pageTerms h5, #pageTerms h6 {
 margin-top: 15px;
 line-height: 1em;
 font-size: 1.2em;
}
#pagePrivacy h3, #pagePrivacy h4, #pagePrivacy h5, #pagePrivacy h6 {
 margin-top: 15px;
 line-height: 1em;
 font-size: 1.2em;
}
#pagePrivacy ul, #pageTerms ul {
 color: #555;
 list-style: square;
 margin: 0 20px;
 padding: 0;
 line-height: 1.4em;
}
.helpRedText {
 color: #990000;
}
.helpBlueText {
 color: #0066cc;
}
#sb {
	border: 0;
	margin: 0;
	padding: 0;
	float: left;
	height: 23px;
	width: 74px;
	display: block;
	background: url(/images/submit.gif) no-repeat 0 0;
	cursor: pointer; /* hand-shaped cursor */
	cursor: hand; /* for IE 5.x */
}
#sb span {
	display: none;
}
#menu {
	list-style: none;
}

/*=== General Style ===*/

.left {
  float: left;
}
.right {
  float: right;
}
.clearLeft {
  clear: left;
}
.clearRight {
  clear: right;
}
.clear {
  clear: both;
}
.standout {
	padding: 1.5em 0 0 0;
	margin: 0;
	font-size: 1em;
	font-weight: bold;
	color: #336600;
	display:block;
	line-height: 1.5em;
}
.footnote {
	font-size: 0.8em;
}
.hidden {
  display: none;
}
.ag2warning {
  color: #ff6600;
}
.ag2problem, .problem {
  color: #cc0000;
}
.instructions {
  font-size: .75em;
  font-weight: normal;
}
.attention {
  color: #339933;
}

/*=== Global classes for adding css transparency ===*/
.transparent-25 {
  zoom: 1;
  filter: alpha(opacity=25);
  opacity: 0.25;
}

.transparent-50 {
  zoom: 1;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.transparent-75 {
  zoom: 1;
  filter: alpha(opacity=75);
  opacity: 0.75;
}

/* Brochure Pages */
/*=== moved to brochure.css ===*/

/* ===Customized Select Menu=== */

.select {
	position: absolute;
	width: 218px;
	height: 18px;
	padding: 3px 5px;
	color: #000;
	font-size: 0.9em;
	background: url(/images/selectMenu.jpg) top right no-repeat;
	overflow: hidden;
}
#p0, #p1 {
 width: 270px;
 text-align: left;
}
.q {
	font-size: 1.2em;
	font-style: italic;
	color: #993300;
	display: block;
	padding-top: 1.9em;
}
div .q:first-child {
	padding-top: 0;
}
#logoClick {
 width: 281px;
 height: 190px;
 float: left;
 padding: 0 0 0 56px;
 text-align: left;
}
.filler {
	min-height: 220px;
}
#createAccount {
  width: 600px;
  margin: 150px auto 20px auto;
}

/* ===CMS Styles=== */

body.media {
  text-align: left;
  font-size: 90%;
}
body.media #footer {
  background: none;
  padding: 25px 5px;
  margin: 0;
}
body.media #copyright {
  float: right;
}
#a-global-toolbar-wrapper {
  font-size: 85%;
  text-align: left;
  position: relative;
}
#a-media-plugin, #a-admin-container {
  width: 722px!important;
  background: #ffffff;
  border: 1px solid #cccccc!important;
  padding: 5px 15px;
  min-height: 300px;
  overflow: hidden;
}
#a-admin-filters-container {
  font-size: 85%;
}
#a-page-settings-form {
  border: 1px solid #cccccc;
  margin-top: 10px;
  padding: 10px;
}
.a-form-row {
  margin-top:0!important;
}
.a-form-row.help, .a-form-row .help, .a-form-help-text {
  background: none;
  text-transform: none;
  line-height: 12px;
}
.a-media-item-thumbnail, .a-media-item-title, .a-media-item-description, .a-media-item-meta {
  margin: 0;
}
.a-media-row {
  margin-bottom: 25px;
}
.content {
  clear: both;
  overflow: hidden;
}
.a-slot {
  font-size: 1em!important;
}
.a-navigation {
  float: right;
  padding: 10px;
  width: 160px;
}
.a-area-main-nav {
  /*background:transparent url(/images/navBack.gif) repeat-x scroll 0 0;*/
  float:right;
  /*height:33px;*/
  /*margin:105px 60px 0 0;*/
  /*width:496px;*/
  width: 75%;
  padding:0;
  z-index: 999;
}

.a-area-main-nav ul.a-controls .a-area-controls {
  width: 120px;
}


/*overide cms button placement*/

#pageMenu {
  position: absolute;
  text-align: left;
  z-index: 999;
  overflow: visible;
  background: #ffffff;
  opacity: 0.7;
  border: 1px solid #cccccc;
}
#pageMenuCancel {
  float: right;
  clear: left;
  display: block;
  border: 1px solid #cccccc;
  padding: 0 6px;
  margin: 2px;
}

.server-error {
  height: 60px;
  padding: 14px;
  width: 300px;
  font-size: .85em;
}

/* ===Facebox popups=== */

#facebox .ag2popup {
  width: 100%;
  height: 400px;
  overflow: auto;
  font-size: 0.8em;
}
.popbox {
  top: 120px;
  left: 220px;
}
body.public .popbox {
  top: 100%;
}
.popbox {
  background: url(/images/bg-grey-trans.png) repeat;
  padding: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  z-index: 9;
  position: absolute;
  min-width: 200px;
  max-width: 730px;
  -moz-box-shadow: 0px 3px 10px 0px #888;
  -webkit-box-shadow: 0px 3px 10px 0px #888;
  box-shadow: 0px 3px 10px 0px #888;
  text-align: left;
  font-size: .85em;
}
.popbox .flyout-inner {
  background: #ffffff;
}
.popbox .flyout-header {
  background: #f2f2f2;
}
.popbox .flyout-header.draggable {
  cursor: move;
}
.popbox .flyout-body {
  max-height: 480px;
  overflow-y: auto;
  padding: 10px;
}
.flyout-inner {
  background: #ffffff;
  width: 100%;
}
.flyout-header {
  text-align: left!important;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  height: 24px;
  border-bottom: 1px solid #666666;
  background: #f2f2f2;
  padding: 7px 5px 0 10px;
  min-width: 188px;
}


/* ===Info Blocks (used on farm info page, and workbench home, via cms=== */

.info-block {
	width: 760px;
	height: auto;
	text-align: left;
	margin: 0;
	clear: both;
	background-color: #fff;
	border: 1px solid #cccccc;
  -moz-border-radius: 5px;
	border-radius: 5px;
	padding-bottom: 15px;
}
.info-header {
  height: 15px;
  background: #f5f5e5;
  font-weight: bold;
  font-size: 1.1em;
  padding: 10px;
  -moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.info-block h2 {
  color: #339933;
}
.info-body {
  padding: 10px;
}

.choice {
  clear: none;
}

.remove-choice {
  clear: none;
}
