/***************/
/* main layout */
/***************/
body { margin: 0; padding: 0; margin-top: 12px; }

#bodyWrapper { width: 995px; margin: auto; }

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


/*******************/
/* header elements */
/*******************/
#header { margin-bottom: 20px; }

#header #logo   { float: left; }
#header #search { padding-top: 38px; text-align: right; color: #b29a46; line-height: 3em; }
#header #search span  {
	font-family: 'Times New Roman', Times, serif;
	font-size: 2.917em;
	margin-left: 14px;
}
#header #search input.text {
	background: #fcfcfc;
	border: 1px solid #eae8e8;
	color: #b29a46;
	margin-left: 20px;
	padding: 2px 3px 4px;
}
#header #search input { margin-left: 10px; }

/* navigation */
ul#nav    { margin-top: 23px; }
ul#nav li { float: left; }
ul#nav li a {
	background: transparent url(../images/nav.png) no-repeat scroll 0 0;
	display: block;
	height: 30px;
}
ul#nav li a span { display: none; }

#nav #nav-home                  { background-position:    0px 0px; width: 64px; }
#nav #nav-furniture-collections { background-position:  -64px 0px; width: 166px; }
#nav #nav-special-offers        { background-position: -230px 0px; width: 122px; }
#nav #nav-finishes-and-fabrics  { background-position: -352px 0px; width: 146px; }
#nav #nav-how-to-order          { background-position: -498px 0px; width: 120px; }
#nav #nav-news-and-press        { background-position: -618px 0px; width: 117px; }
#nav #nav-about-newtons         { background-position: -735px 0px; width: 131px; }
#nav #nav-contact-us            { background-position: -866px 0px; width: 111px; }

#nav #nav-home:hover                  { background-position:    0px -28px; width: 64px; }
#nav #nav-furniture-collections:hover { background-position:  -64px -28px; width: 166px; }
#nav #nav-special-offers:hover        { background-position: -230px -28px; width: 122px; }
#nav #nav-finishes-and-fabrics:hover  { background-position: -352px -28px; width: 146px; }
#nav #nav-how-to-order:hover          { background-position: -498px -28px; width: 120px; }
#nav #nav-news-and-press:hover        { background-position: -618px -28px; width: 117px; }
#nav #nav-about-newtons:hover         { background-position: -735px -28px; width: 131px; }
#nav #nav-contact-us:hover            { background-position: -866px -28px; width: 111px; }


/* general uls that don't want to look like uls */
ul.clean    { list-style: none; margin: 0; padding: 0; }
ul.clean li {  margin: 0; padding: 0; }

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

#home-side   { float: left;  width: 305px; }
#home-middle { float: left;  width: 470px; }
#home-right  { float: right; width: 176px; }

#side { float: left;  width: 178px; padding-left: 29px; overflow: hidden; }
#main { float: right; width: 732px; }

.flash_heading { margin: 0; }

#side-news     { margin-top: 40px; width: 183px; margin-left: -10px; }
#side-brochure { display: block; margin-top: 20px; }
#side-account  { display: block; margin-top: 10px; margin-left: -29px; }


#news-headline {
	color: #a38d3f;
	font: 1.5em/1.22em Georgia, 'Times New Roman', Times, serif;
	margin-bottom: 10px;
}

hr {
  margin: 18px 0;
  border-bottom: solid #666 1px;
  height: 1px;
  border-top: none;
  border-left: none;
  border-right: none;
}

#brochureForm { margin-top: 17px; }
#brochureForm input,
#brochureForm textarea,
#brochureForm select { border: 1px solid #000; }

#home-whats-new {
	background: transparent url(../images/whats-new-bg.png) no-repeat scroll 0 0;
	display: block;
	height: 161px;
	width: 149px;
	
	padding-top:  40px;
	padding-left: 26px;
}

/*********/
/* items */
/*********/
.item              { margin-bottom: 10px; }
.item .itemHeader  {  }
.item .itemTitle   { font-weight: bold; font-size: 1.2em;}
.item .itemDate    { font-style: italic; }
.item .itemContent {  }
.item .itemImage   { float: left; margin-right: 5px; margin-bottom: 5px; }
.item .itemMore    {  }

#itemBack          {  }

/*****************/
/* photo gallery */
/*****************/
div.galleryItem { /* one gallery item */
  width: 100px;
  height: 100px;
  float: left;
  margin: 5px;
}

/*******************/
/* footer elements */
/*******************/
#footer { font-size: 0.917em; color: #939393; }
#footer a,
#footer a:link,
#footer a:visited { color: #939393; text-decoration: none; }
#footer a:hover,
#footer a:active { color: #252525; text-decoration: underline; }

#copyright { float: left; width: 49%; text-align: left; }
#links     { float: right; width: 49%; text-align: right; }


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

.required { color: #f00; }

/* 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: 5px;
}

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

#brochureForm div.formrow label { width: 155px; }
#brochureForm div.formrow.indent { margin-left: 165px; } /* label width + label margin-right, override as above */

#searchForm label { font-weight: bold; }
#searchForm select { width: 178px; }

/* message and error boxes, not just useful in contact form */
#messages,
#errors,
#warnings,
#info { margin-bottom: 10px; }
.message { border: 1px solid #080; background: #efe; color: #080; padding: 3px 5px; margin-bottom: 15px; float: left; } /* you may need to clearfix this */
.message.nomargin { margin-bottom: 0; } /* if before something with a margin-top */
.message.info { border-color: #880; background: #ffe; color: #880; } /* info box in yellow */
.message.warn { border-color: #f40; background: #ffe; color: #f40; } /* warning box in orange */
.message.error { border-color: #f00; background: #fee; color: #f00; } /* error box in red */