/* 

	to do: make sure all product images have margins and floats cleared
	
*/
.box {
  position: relative;
  display: block;
  margin: 25px;
}
@media (min-width: 64em) {
  .box {
    width: 30%;
    float: left;
    margin: 0 2.5% 25px 0;
  }
}

/* =Family List
---------------------------------------------------------------------
*/
.box.familyList {
  border: 1px solid #ccc;
  margin-bottom: 25px;
}

.box .family-header, .box .family-image, .box .family-footer {
  margin: 0;
  padding: 0;
  border: 0;
}

.box .family-header {
  width: 90%;
  padding: 15px 5% 0 5%;
}

.box .family-image {
  width: 90%;
  padding: 0 5%;
}

.box .family-image a {
  display: block;
}

.box .family-header img {
  float: none !important;
  margin: 0 !important;
}

.box .family-footer {
  width: 90%;
  padding: 15px 5%;
  background: #f6f6f6;
}

.box .family-footer p {
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

/* =Product List
---------------------------------------------------------------------
*/
@media (min-width: 64em) {
  .row {
    padding: 15px 0;
    margin: 15px 0;
    border-bottom: 1px solid #eee;
  }
}

.row.top {
  margin-top: 0;
  padding-top: 0;
}

.row.bottom {
  margin: 0;
  padding: 0;
  border: 0;
}

.price-current {
  font-weight: bold;
}

.price-original {
  font-weight: normal;
}

.sale {
  color: #d90d17 !important;
  font-weight: bold;
}

.strike {
  text-decoration: line-through;
}

.box.productList {
  text-align: center;
}

.box .product-header, .box .product-footer {
  width: 90%;
  padding: 10px 5%;
}

.box .product-header {
  padding-bottom: 0;
}

.box .product-footer h3 {
  font-weight: bold;
}

.box .product-footer p {
  margin: 0;
  margin-bottom: 4px;
}

.box .product-footer p.product-preview {
  line-height: 1.35;
}

.box.productList .product-image {
  display: block;
  width: 90%;
  padding: 5%;
  margin: 0;
  height: auto;
  overflow: hidden;
  text-align: center;
}
.box.productList .product-image img {
  float: none !important;
  display: inline-block !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* =Product Detail
---------------------------------------------------------------------
*/
.product-detail #product-images {
  position: relative;
}
@media (min-width: 64em) {
  .product-detail #product-images {
    float: left;
    width: 50%;
    margin: 0 5% 25px 0;
  }
}

.product-detail #product-images a#zoom {
  display: block;
  width: 60px;
  height: 21px;
  position: absolute;
  bottom: 1px;
  right: 1px;
  text-indent: -9999px;
  z-index: 100;
  background: url(/_assets/img/zoom-small.png) no-repeat 0 0;
}

.product-detail #product-images a#zoom:hover {
  text-decoration: underline;
}

.product-detail #product-images #product-stage {
  display: block;
  position: relative;
  min-height: 320px;
  padding: 10px 10px 24px;
  overflow: hidden;
  border: 1px solid #eee;
}

.product-detail #product-images #product-stage img {
  position: relative;
  margin: 0 auto;
  top: 0 !important;
  left: 0 !important;
}

#product-thumbs {
  padding: 4px 0;
}

#product-thumbs .thumb {
  position: relative;
  float: left;
  margin-right: 4px;
  width: 60px;
  height: 60px;
  padding: 3px;
  border: 1px solid #eee;
}

#product-thumbs .thumb img {
  float: none !important;
  margin: 0 !important;
  max-width: 60px;
  max-height: 60px;
}

#product-thumbs .thumb.current {
  border-color: #aaa;
}

#product-thumbs .thumb:hover {
  cursor: pointer;
}

#product-thumbs a span.thumb-arrow {
  display: block;
  position: absolute;
  top: -9px;
  left: 26px;
  width: 14px;
  height: 9px;
  background: url(/_assets/img/thumb-arrow-up.png) no-repeat 0 0;
}

@media (min-width: 64em) {
  #product-info {
    float: left;
    width: 45%;
  }
}

#product-info p {
  padding: 0;
  margin-bottom: 3px;
}

#product-info .price-current {
  font-weight: normal;
}

/* =Spinner
---------------------------------------------------------------------
*/
/* =Other stuff
---------------------------------------------------------------------
*/
.page-header-image {
  margin-bottom: 25px;
  border: 1px solid #f1f1f1;
  width: 600px;
}

/* =Fade in
---------------------------------------------------------------------
*/
.family-image img,
#product-thumbs .thumb img,
.box.productList .product-image img,
.product-detail #product-images #product-stage img {
  opacity: 0;
  left: 0 !important;
  top: 0 !important;
  max-width:100% !important;
  max-height:100% !important;
}
