/***************/
/* main layout */
/***************/
body { margin: 0; padding: 0; min-width: 650px; }

#bodyWrapper { margin: auto; }

/* specific link colours for this site */
a:link    { color: #060; text-decoration: none; }
a:visited { color: #060; text-decoration: none; }
a:hover   { color: #090; text-decoration: underline; }
a:active  { color: #090; text-decoration: underline; }


ul.nav {
  margin:0;
  padding: 0;
  list-style: none;
  font-size: 91.67%;
}

ul.nav li { display: block; }

ul.inline { display: inline; }

ul.inline li {
  display: inline;
  margin: 0 0 0 4px;
}

hr {
	border-bottom: dashed #000 1px;
	height: 1px;
	border-top: none;
	border-left: none;
	border-right: none;
}

ul.nav ul.nav { margin-left: 10px; }
ul.nav ul.nav ul.nav { margin-left: 20px; }

/*******************/
/* header elements */
/*******************/

#header {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  text-align: center;
  color: #060;
}

#header #headerContainer {
  background: #fff url('../images/header_mid.jpg') top center repeat-x;
  position: relative;
  height: 100px;
  margin: 0 auto;
  text-align: left;
}

#header #headerContainer #leftNav {
  background: transparent url('../images/header_left.jpg') top center no-repeat;
  width: 506px;
  height: 100px;
}

#header #headerContainer #rightNav {
  background: transparent url('../images/header_right.jpg') top right no-repeat;
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 53px 10px 0 0;
  color: #999;
}

#header #headerContainer #rightNav h2 {
  display: inline;
  margin: 0;
  padding: 0;
}

#header #headerContainer #rightNav a:link,
#header #headerContainer #rightNav a:visited { color: #999; }
#header #headerContainer #rightNav a:hover,
#header #headerContainer #rightNav a:active { color: #666; }

#header #headerContainer #nav {
  position: absolute;
  top: 100px;
}


/********************/
/* content elements */
/********************/

#mainContainer {
  position: relative;
  top: 20px; /* the header bottom nav links take up space on IE */
  left: 0px;
  width: 100%;
}

#mainContainer #contentPane {
  padding: 0 225px 45px 222px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

#mainContainer #leftBar {
  background: #fff url('../images/leftbar.png') top right no-repeat;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 180px;
  min-height: 434px;
  padding: 13px 10px 45px;
}

#mainContainer #rightBar {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 200px;
  text-align: center;
  padding: 47px 0 45px;
}

#mainContainer #rightBar #featuredProduct {
  background: #fff url('../images/featured.png') top center no-repeat;
  padding: 36px 0 15px;
}

#mainContainer #rightBar #basket {

  padding: 9px 7px 5px 7px;
  text-align: left;
  color: #999;
}

#footer {
  position: fixed;
	width: 99%;
  min-width: 500px;
  bottom: 0px;
  height: 30px;
  padding: 10px 10px;
  background: #fff;
  color: #4d8a40;
  font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  font-size: 109.6%;
}

#footer #innerFooter {
  border-top: 1px solid #060;
  padding-top: 10px;
  padding-right: 7px;
}


/***********************/
/* general form styles */
/***********************/
#contactform { float: left; }  /* the contact form itself */
#contact     { float: right; } /* contact info or whatever on right */

/* all form elements are contained within a formrow div, with a label and
 *  then the element, this is the best way (but still not good) to emulate
 *  a table */
div.formrow {
	clear: both;
	text-align: left;
	margin-bottom: 10px;
}

div.formrow label {
	float: left;
	text-align: right;
	margin-right: 10px;
	width: 80px; /* default width for a default form, add new form ids and override */
}
div.formrow.indent { margin-left: 90px; } /* label width + label margin-right, override as above */

/* message and error boxes, not just useful in contact form */
div.box { border: 1px solid #080; color: #080; padding: 3px 5px; margin-bottom: 15px; float: left; } /* you may need to clearfix this */
div.box.nomargin { margin-bottom: 0; } /* if before something with a margin-top */
div.box.error { border-color: #f00; color: #f00; } /* error box in red */