/* BASE STYLES */

body {
  background:#ededed url(images/gradient.png) left top repeat-x;
  font-family:"Trebuchet MS", Trebuchet, sans-serif;
}

h1, h2 {
  font-size:1.6em;
}

h1 {
  margin:.8em 0;
}

#primary h1 {
  color:#e79044;
  margin:-2em 0 1em 0;
  padding:0;
}

#primary.single-post h1 {
  color:#000;
  margin:0 0 .8em 0;
}

input, #search input {
  background:#fff;
  border:1px inset #bbb;
  padding:1px 2px;
}

#header, #primary, #secondary, #ancillary, #footer {
  width:850px;
  margin:0 auto;
}

#secondary {
  padding:5px 0;
}

.inside {
  width:auto;
  margin:0;
  padding:0 12px;
  min-width:400px;
  max-width:1000px;
}

/* HEADER SECTION */

#header {
  background:#fff url(images/header-images/logo-bottom-header.jpg) left top no-repeat;
  height:257px;
  margin:58px auto 0 auto;
}

#header .inside {
  padding:0;
}

#header .logo-placement {
  position:relative;
  top:-58px;
}

#header h2 { 
  display:none;
}

#headernav {
  list-style:none;    
  position:relative;
  top:-95px;
  margin-right: 15px;
  padding:1px 0;    /* Was 2 px */
  background:transparent; 
  text-align:right;
  font-weight:bold;
  font-size:1.1em; 
}

#headernav li {
  list-style:none;
  display:inline;
  padding:5px 5px;        
}

#headernav li a:link, #headernav li a:visited {
  color: #FFF;
  text-decoration:none;   
}

/* MAIN SECTION */

#primary.twocol-stories .story {
  float:left;
  width:500px;
  margin:0 25px 0 0;
}

#primary.twocol-stories .secondary {
  background:#f3f3f3;
  float:left;
  width:300px;
  margin:0 !important;
}


#primary .secondary {
  margin-right:15px;
}

#primary {
  background:#fff;
  padding-top:1.2em;
}

#secondary {
  background:#f3f3f3;
}

#primary .primary {
  float:left;
  width:64%;
}
  

#primary .secondary {
  float:left;
  width:30%;
  margin-left:4%;
}

#primary .details {
  clear:both;
  border:none;
  padding:1.8em 0;
}

#primary .read-on {
  display:block;
  border-bottom:1px solid #000;
  padding-bottom:.2em;
  margin-top:-3.2em;
}

#primary h3 {
  margin-bottom:0;
}

#primary h3 a {
  border:none;
  font-size:1.4em;
}

#secondary {
  background-color:#e3e6ff;
}

/* BLUE SECTION */

#ancillary {
  background:#235074;
  color:#fafafa;
  padding-bottom:20px;
}

#ancillary a, #ancillary a:link {
  color:#fafafa;
  text-decoration:underline;
}

#ancillary h2, #ancillary h3, #anicillary h4 {
  color:#fafafa;
}

#ancillary .block h2, #ancillary .block h3 {
  border-bottom:1px dashed #fafafa;
  padding:0 0 5px 0;
  margin:0 0 15px 0;
}

#ancillary ul, #ancillary li {
  border:none;
  list-style-type:none;
  margin-left:0;
}

#ancillary ul {
  margin:0 0 1.8em 0;
  padding:0;
}

#ancillary .date {
  color:#fff;
  padding:0;
}  

/* SEARCH BOX */

#header .inside {
  overflow:hidden;
  height:144px;
  position:relative;
}

#search {
  position:absolute;
  bottom:6px;
  right:12px;
  width:220px;
  margin:0;
  -moz-opacity:1.0;
  text-align:right;
  padding-right:20px;
  background:url(images/search-button.png) 100% 50% no-repeat;
}

#search:hover{
  -moz-opacity:1.0;
}

#search .searchimg{
  display:none;
}

#search input{ 
  width:175px; 
  font-size: 0.85em; 
  margin-top:2px;
}

#search input:focus{
  background:#fff;
}

/* NEWSLETTER SECTION */

#newsletterForm {
  background:#fcfbfb url(images/form-box-bottom.png) center bottom no-repeat;
  color:#444;
}

#newsletterForm form {
  padding:2px 5px;
  background:url(images/form-box-top.png) center top no-repeat;
  margin:0;
}

/* IMAGE CLASSES */

img.left {
  margin:7px 10px 5px 0;
  padding:0;
}

img.right {
  margin:7px 0 5px 10px;
  padding:0;
}

/* FRONTPAGE ADS */

#featured-product {
  background:#fff; 
  padding-top:10px;
  margin-top:-10px;
  background:#fff url(images/featured-product.png) 5px 0 no-repeat;
}

#advertisement {
  background:#fff;
  padding-top:20px;
  background:#fff url(images/advertisement.png) 5px 10px no-repeat;
}
