/* colors */
html,body { background-color: #fff; }

a { color: #3F78F9;}
a:active, a {outline: none;}

#sidebar .deal { border-color: #bbb;}

#products.comparison { border-color: #ccc;}

#products, 
form.ps-filter,
.ps-pagination,
#sidebar .deals,
.discounts .photo-wrap,
.suggested-products,
.filter-list {border:1px solid #ccc;}

.hproduct { border-color: #ddd;}

#search-input,
.suggested-merchant a { border-color: #444; }

.suggested-merchant img { border-color:#999; }

.product-group-count,
.product-group-price-range, 
.retail-price, 
.price,
.deals #products .description { color: #333; }

#search-input,
h2,
#sidebar h3,
#sidebar .deal .notes,
.ps-summary,
.suggested-products .price, 
.suggested-products .list-price, 
.suggested-products .you-save,
.discounts .save,
.deals #products .notes { color: #444; }

#suggested-merchants h3,
.search-current, 
.search-next, 
.page,
.hproduct .merchant, 
.hproduct .merchant a,
h3.product-group, 
.back-link,
#sidebar.deals li span {color:#555;}

#site-info {color: #666;}

#sidebar .deal .code,
.retail-price,
.product-detail .in-stock,
.product-detail .you-save,
.suggested-products .list-price,
.deals #products .code {color:#cc0000;}

a.page { color:#3F78F9; }

.discounts .discount{ color:#fff; }

/* header */
#page {
  padding: 15px 0 27px 0;
}

#header {
  height: 112px;
  position: relative;
}

#headerimg h1 {
  margin: 0;
  padding: 0;
}

#headerimg .description {
  display: none;
}

#search-form {
  position: absolute;
  right: 30px;
  top: -10px;
}

#search-form div {margin-top:0px;font-size:11px;color:#444;padding-bottom:2px;margin-left:-4px;}
#search-form div input {vertical-align:middle;margin-top:-2px;}

#search-input {
  border-style: inset;
  border-width: 1px;
  font-size: 13px;
  font-weight: bold;
  height: 20px;  
  padding-top: 3px;
  vertical-align: top;
  width: 222px;
}

#tabs {
  position: absolute;
  right: 30px;
  top: 50px;  
}

#tabs, #tabs li {list-style-type:none;margin:0;padding:0;float:left;}
#tabs li {height:38px;
padding:0 0 0 18px;
margin-left:4px;
position:relative;
}

#tabs li a {text-decoration:none;color:#8F8F8F;font-size:16px;margin:0;padding:8px 0 0 0;float:right;padding-right:18px;height:38px;font-weight:bold;}
#tabs li.active a {color:#7D7976;}

/* footer */
#footer {
  margin-bottom: 27px;
}

#site-info {
  font-weight: bold;
  padding: 18px 0 18px 180px;
  text-align: center;
}

/* sidebar */
form.ps-filter {
  margin-bottom: 18px;
}

#sidebar h2 {
  font-size: 15px;
  padding: 7px 0 12px 9px;
}

#sidebar h3 {
  font-size: 14px;  
  margin-bottom: 0;
  padding-left: 18px;
}

#sidebar select {
  margin: 0 0 18px 18px;
  width: 190px;
}

#sidebar .deal {  
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  margin: 18px;
  padding-bottom: 18px;
}

#sidebar .deal .merchant img {display:block;margin:0 auto;}
#sidebar .deal .merchant {text-align:center;}
#sidebar .deal .merchant a {text-decoration:none;}
#sidebar .deal .notes {font-size:11px;text-align:center;}
#sidebar .deal .name {text-align:center;}

/* suggested merchants */
#suggested-merchants h3 {margin:0;}
#suggested-merchants {padding-left:30px;height:135px;overflow:hidden;}
.suggested-merchant {
  width:150px;
  height:95px;
  margin-bottom:9px;
  text-align:center;
  float:left;
  margin-right:9px;
}

.suggested-merchant img {
  display: block;
  margin: 12px auto 9px auto;
  border-style: solid;
  border-width: 1px;
}

.suggested-merchant a {font-weight:bold;text-decoration:none;}
.suggested-merchant a:hover {text-decoration:underline}

/* pagination */
.ps-pagination {
  position: relative;
  margin: 0 0 0 10px;
  border-bottom: none;
  height: 37px;
}
.ps-summary {font-style:italic;font-size:14px;float:left;padding:7px 0 0 9px;}
.results-pages {float:right;padding:7px 9px 0 0;}
.search-current, .search-next, .page {float:left;width:22px;text-align:center;font-weight:bold;font-size:14px;}


/* products */
#products {
  margin: 0 0 0 10px;
  border-top: none;
  padding-top: 18px;
}

#products .products-wrap {
  padding: 0 18px;
}

.hproduct {
  clear: left;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-style: dotted;
  border-width: 2px;
}

.photo-wrap {height:125px;width:125px;float:left;text-align:center;}
.photo {
  max-width: 125px;
  max-height: 125px;
  width: expression(this.width > 125 ? 125 : true);
  margin:0 auto;
}
.hproduct .name {font-size:14px;}
.hproduct .description {font-size:12px;}
.hproduct .name, .hproduct .description, .hproduct .merchant {margin-left:135px;}
.hproduct .merchant {font-style:italic;padding-top:5px;}

.pricing {float:right;text-align:center;padding:0;width:165px;}
.product-group-price-range, .retail-price, .price {font-weight:bold;font-size:16px;}
.retail-price {font-size:14px;font-style:italic;}
.product-group-count {font-size:14px;font-weight:bold;font-style:italic;}
.ps-button {margin-top:5px;margin-bottom:4px;}

/* comparison page */
h3.product-group {font-size:24px;margin-bottom:0;}
.back-link {font-size:12px;font-style:italic;cursor:hand;cursor:pointer;}
#products.comparison {
  border-style: solid;
  border-width: 1px;
}

.comparison .products-wrap {padding:0 18px;}
.comparison .pricing {float:left;width:110px;}
.comparison .photo-wrap {float:left;margin-right:10px;}
.comparison .info {float:left;margin:0;width:260px;padding:0;}
.comparison .description, .comparison .name {margin:0;}
.comparison .merchant {text-align:center;}

/* product detail page */
.product-detail .hproduct {padding:18px 30px;border-bottom:none;}
.product-detail .photo-wrap {width:250px;height:250px;}
.product-detail .photo-wrap table, .product-detail .photo-wrap td {width:250px;height:250px;}
.product-detail .photo-wrap td {vertical-align:middle;text-align:center;}
.product-detail .photo {
  max-width:250px;
  max-height:250px;
  width: expression(this.width > 250 ? 250 : true);
}
.product-detail .pricing {float:none;width:250px;}
.product-detail .price {font-size:18px;}
.product-detail .product-description {float:right;margin-left:0;padding-left:0;width:380px;padding-top:27px;}
.product-detail .description, .product-detail .name, .product-detail .merchant {margin-left:0;padding-left:0;}
.product-detail .name {font-size:20px;font-weight:bold;line-height:24px;}
.product-detail .merchant {font-weight:bold;padding-bottom:9px;}
.product-detail .in-stock {font-size:16px;}   
.product-detail .you-save {font-weight:bold;font-style:italic;}
                
/* suggested products */
.suggested-products .hproduct {margin-right:18px;margin-left:18px;}
.suggested-products .photo-wrap {width:50px;height:50px;}
.suggested-products .photo {
  max-width:50px;
  max-height:50px;
  width: expression(this.width > 50 ? 50 : true);
}
.suggested-products .name {margin-left:9px;font-size:11px;}
.suggested-products .pricing {float:none;width:auto;text-align:left;padding-left:9px;padding-top:5px;}
.suggested-products .price, .suggested-products .list-price, .suggested-products .you-save {font-size:11px;font-weight:bold;}
.suggested-product-details {margin-left:50px;}

/* discounts */
.discounts #products {padding-right:0;}
.discounts #products .products-wrap {padding-left:18px;padding-right:0;}
.discounts .hproduct {clear:none;position:relative;border:none;float:left;margin-right:18px;width:315px;height:166px;}
.discounts .discount {position:absolute;top:12px;right:0;font-weight:bold;text-align:center;font-size:20px;width:69px;}  
.discounts .photo-wrap {height:75px;width:75px;position:absolute;left:10px;top:32px;background:#fff;}
.discounts .photo {
  max-height:75px;
  max-width:75px;
  width: expression(this.width > 75 ? 75 : true);
}
.discounts .name {margin-left:95px;padding-top:32px;font-size:12px;margin-right:65px;}
.discounts .pricing {float:none;margin-left:95px;text-align:left;}
.discounts .price {font-size:16px;padding:0;margin-top:3px;line-height:16px;}
.discounts .save {font-style:italic;}
.discounts .retail-price {font-size:13px;margin-top:0;line-height:13px;}
.discounts .merchant {font-size:11px;position:absolute;top:140px;left:10px;text-align:left;margin-left:0;}

/* deals */
#sidebar.deals ul, #sidebar li {list-style-type:none;margin:0;padding:0;}
#sidebar.deals li {padding-bottom:3px;}
#sidebar.deals ul {padding-bottom:18px;padding-left:18px;}
#sidebar.deals li {font-weight:bold;}
#sidebar.deals li span {font-size:80%;}
.deals #products {padding-right:0;}
.deals #products .deal {clear:none;position:relative;border:none;float:left;margin-right:18px;margin-bottom:18px;width:312px;height:166px;}
.deals #products .merchant {padding-left:15px;padding-top:9px;}
.deals #products .merchant img {display:block;}
.deals #products .name {padding-left:15px;padding-top:35px;font-weight:bold;font-size:14px;padding-right:75px;}
.deals #products .notes {position:absolute;left:15px;font-size:11px;top:168px;}
.deals #products .description {padding-left:15px;font-size:11px;padding-right:15px;}

.filter-list {margin-bottom:18px;}
#sidebar .filter-list h3 {padding-left:18px;padding-top:7px;padding-bottom:9px;}
.discounts .hproduct h2, #products .deal h2 {position:absolute;font-size:18px;top:-5px;}