/**
 * shopp.css
 * Generic layout & styles for Shopp pages
 *
 * @author Jonathan Davis
 * @package shopp
 **/

/* Generic Shopp Styles */

#shopp .submit { text-align: right; }
#shopp form { text-align: left; }
#shopp form.product ul.options { list-style: none; }
#shopp form ul { line-height: 1; }
#shopp form label { font-size: 14px; font-weight: bold; padding-bottom: 3px; }
#shopp form ul li span label,
#shopp form div label { font-size: 11px; font-weight: normal; padding-bottom: 8px; }

/**
 * Catalog/Category
 **/

.categories ul li a.current { font-weight: bold; }
#shopp .category { position: relative; }
#shopp .orderby { float: right; }

#shopp .subcategories { padding: 10px 0; margin-bottom: 10px;}

#shopp ul.products { list-style: none; margin: 0; padding: 0;}
#shopp ul.products li .name,
#shopp ul.products li .summary,
#shopp ul.products li .savings,
#shopp ul.products li .price { margin-top: 0; margin-bottom: 0; }
#shopp ul.products li div.price { float: left;}

#shopp .price { font-weight: bold; line-height: 1.5; margin: 0; }
#shopp .original { text-decoration: line-through; }
#shopp .sale { font-size: 150%; }

/* Faceted menu cancel filter link styles */
.filters a.cancel:before { content: "["; }
.filters a.cancel { font-weight: bold; }
.filters a.cancel:after { content: "]"; }
.filters a.cancel:hover { text-decoration: none; }

/* Product List View */
#shopp.list ul.products li.product { float: left; clear: both; margin: 0 0 25px 0; padding: 0 0 29px 0; width: 680px; background: url(../images/divider-white.jpg) left bottom no-repeat;}
#shopp.list ul.products li table.details { margin: 0 0 1em 0; width: 420px; border-collapse: collapse;}
#shopp.list ul.products li table.details tbody td { padding: 3px 0; font-size: .875em; text-align: center; background: #f1f2ce; border: 1px solid #fff;}
#shopp.list ul.products li table.details thead th { padding: 3px 0; font-size: .875em; font-weight: normal; text-align: center; background: #c8d772; border: 1px solid #fff;}
#shopp.list ul.products li .info { float: right; width: 420px;}
#shopp.list ul.products li .info p { font-size: .875em;}
#shopp.list ul.products li .info div.price { float: left; width: 137px;}
#shopp.list ul.products li .info p.quantity { float: left; margin: 8px 0 0 0;}
#shopp .addtocart { cursor: pointer; float: right; margin: 0; padding: 0; width: 183px; height: 40px; color: transparent; text-indent: -9999px; text-transform: capitalize; background: url(../images/button-add-to-cart.jpg) left top no-repeat; border-width: 0;}
#shopp .addtocart:hover { background-position: 0 -40px;}

#shopp ul.breadcrumb { margin: 0 0 10px 0; }
#shopp ul.breadcrumb li { background: none; padding: 0; display: inline; margin-left: 0; text-indent: 0; }

#shopp ul.categories { float: left; margin-right: 20px; }

/* Category Pagination */
#shopp ul.paging { /* placeholder for your styles - inherited defaults: clear: none; display: inline-block; */ }
#shopp ul.paging li { /* placeholder for your styles - inherited defaults: display: inline-block; margin-left: 5px; */ }
#shopp ul.paging li a { /* page links default styling */ }
#shopp ul.paging li a:hover { /* page links hover styling */ }
#shopp ul.paging li.active { /* currrent page style */ }
#shopp ul.paging li.disabled { /* style for disabled previous/next links */ }
#shopp ul.paging li.previous a,
#shopp ul.paging li.next a { /* previous/next link style */ }

/**
 * Product Pages
 **/
#shopp .column { float: left; }
#shopp .column.first { width: 65%; }
#shopp .column.second { float: right; width: 35%; }

#shopp .original { text-decoration: line-through; }
#shopp form.product ul,
#shopp form.product ul li,
#shopp form.product ul li label { clear: none; }
#shopp ul.variations label { display: block; }
#shopp dl { clear: both; }
#shopp dl dt { font-weight: bold; float: left; margin-right: 10px; clear: left; }
#shopp dl dd { display: block; clear: right; }

#shopp .gallery { float: left; margin: 0; padding: 0; width: 240px;}
#shopp .gallery ul { float: left; list-style: none; margin: 0; padding: 0; width: 240px;}
#shopp .gallery ul.previews li img { float: left; margin: 0; width: 228px !important; width /**/: 230px; height: 124px !important; height /**/: 126px; border: 1px solid #7faa12;}
#shopp .gallery ul.thumbnails li { float: left; padding: 0; margin: 0; width: 80px;}
#shopp .gallery ul.thumbnails li img { display: inline; float: left; margin: 0; width: 68px !important; width /**/: 70px; height: 48px !important; height /**/: 50px; border: 1px solid #c8d772;}
#shopp .gallery ul.thumbnails li:hover img { border: 1px solid #7faa12;}

/**
 * Category List Widget
 **/
ul.shopp_categories { /* category list container */ }
ul.shopp_categories li { /* category listing containers */ }
ul.shopp_categories li a { /* category link default styles */ }
ul.shopp_categories li a:hover { /* category link hover styles */ }
ul.shopp_categories li span { /* categpry product count styles */ }
ul.shopp_categories li.current { /* currently viewed category container */ }
ul.shopp_categories li.current a { /* currently viewed category link style */ }
ul.shopp_categories li.current a:hover { /* currently viewed category link hover style */ }
ul.shopp_categories li ul.children { /* sub-category list container */ }
ul.shopp_categories li ul.children li { /* sub-category listing container */ }
ul.shopp_categories li ul.active { /* active sub-category container */ }

/* Collapsed sub-category menus example
ul.shopp_categories li ul.children { display: none; }
ul.shopp_categories li ul.active { display: block; }
*/

/**
 * Side Products Widget
 **/
.sideproduct { margin-top: 20px; }
.sideproduct h3 { margin-top: 0; }

/**
 * Shopping Cart 
 **/
#shopp #cart { width: 100%; }
#shopp #cart table { padding: 10px 0; width: 100%; }
#shopp #cart th { text-align: left; font-weight: bold; }
#shopp #cart th, #shopp #cart td { padding: 3px; }
#shopp #cart .checkout-button { overflow: hidden; float: right; width: 165px; height: 40px; text-indent: -9999px; background: url(../images/button-checkout.jpg) left top no-repeat;}
#shopp #cart .checkout-button:hover { background-position: 0 -40px;}
#shopp #cart .continue-shopping { overflow: hidden; float: left; width: 257px; height: 40px; text-indent: -9999px; background: url(../images/button-continue-shopping.jpg) left top no-repeat;}
#shopp #cart .continue-shopping:hover { background-position: 0 -40px;}
#shopp #cart .item { width: 50%; }
#shopp #cart .money, 
#shopp #cart .totals th,
#shopp #cart .buttons td { text-align: right; white-space: nowrap; }
#shopp #cart .totals.total th,
#shopp #cart .totals.total td { font-size: 130%; }
#shopp #cart .remove { font-size: 9px; }

#shopp #cart address { font-style: normal; }
#shopp #cart p { display: block; margin: 10px 0; }
#shopp #cart p a.right { float: right; }

#shopp #cart .thumbnail { width: 68px !important; width /**/: 70px; height: 48px !important; height /**/: 50px; border: 1px solid #c8d772;}

/* External checkout buttons */
#shopp .xcheckout { display: block; clear: both; text-align: right; }
#shopp .xcheckout button { border: none; margin: 0; padding: 0; }

/**
 * Shopping Cart Widget
 **/
#shopp-cart.widget p.status { margin-bottom: 10px; }

/**
 * Checkout 
 **/
#shopp #shipping-methods { padding-left: 30px; }
#shopp #shipping-methods li { margin-top: 5px; }
#shopp #shipping-methods input { margin-left: -16px; }

#shopp #errors { color: #990000; }

/**
 * Order Receipt
 **/
#shopp #receipt { position: relative; margin: 20px 0; }
#shopp #receipt address { font-style: normal; }
#shopp #receipt fieldset { float: left; width: auto; width: 42%; padding: 10px; border: 1px solid #dadada; margin-bottom: 30px; }
#shopp #receipt fieldset.shipping { width: 42%; float: right; }
#shopp #receipt fieldset legend { display: block; }
#shopp #receipt table.transaction { clear: both; width: 100%; margin-bottom: 10px; }
#shopp #receipt table.transaction th { text-align: right; width: 80px; padding-right: 10px;}

#shopp #receipt .order { width: 100%; clear: both; border: none; }
#shopp #receipt td { border: none; }
#shopp #receipt th { font-weight: bold; text-align: left; border: none; }
#shopp #receipt th, 
#shopp #receipt td { padding: 3px 0; }
#shopp #receipt .order .item { width: 50%; }
#shopp #receipt .order .money, 
#shopp #receipt .order .total,
#shopp #receipt .order .buttons td { text-align: right; }
#shopp #receipt .order .totals.total th,
#shopp #receipt .order .totals.total td { font-size: 130%; }