/**
 * 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 .views { display: inline; position: absolute; right: 0; top: 0; }
#shopp .views button { border: none; background: none; cursor: pointer; padding: 2px; }
#shopp .views button:hover { background-color: #ebebeb; border: 1px solid #777; }
#shopp .views li { display: inline; }
#shopp .orderby { float: right; }

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

/* Each product in a category has a containing frame */
#shopp ul.products li.product div.frame { padding: 10px; }

#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; line-height: 110%; }
#shopp ul.products li .details { float: none; /*width: 125px;*/ }

/* Hide the product summary in the grid view */
#shopp ul.products li .summary { display: none; }
#shopp ul.products li .listview { display: none; }

#shopp ul.products img { display: block; }

#shopp .price { font-weight: bold; line-height: 1.5; margin: 0; display: none; }
#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 { float: none; width: 100%; clear: both; padding-bottom: 10px;}
#shopp.list ul.products li.product {  border-bottom: 1px solid #ddd; }
#shopp.list ul.products li div.frame { width: 100%;  text-align: left; }
#shopp.list ul.products li img { float: left; margin-right: 10px; }
#shopp.list ul.products li .details { float: left; width: 65%;}
#shopp.list ul.products li .listview { display: block; }

#shopp ul.breadcrumb { margin: 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 { margin: 5px 10px 5px 0; }
#shopp .gallery ul.previews li.thumbnails ul { margin: 10px 0 10px 0; }
#shopp .gallery ul.previews li.thumbnails li { margin: 0 5px 0 0; }

/**
 * Category List Widget
 **/
ul.shopp_categories { margin: 0 0 0 20px; }
ul.shopp_categories li { font-size: 13pt; }
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 { font-size: 9pt; }
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 .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 big { display: block; margin: 10px 0; }
#shopp #cart big a.right { float: right; }

/* 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%; }

/**
 * Shopp style resets
 * These styles override the theme's styles for shopp-specific shopping pages
 **/
#shopp,
br.clear,
div.clear,
#shopp div.description,
#shopp .products, 
#shopp .products ul,
#shopp .products li.row,
#shopp .category,
#shopp #cart,
#shopp #cart table { clear: both; }
#shopp { position: relative; }
#shopp ul { list-style: none; text-indent: 0; text-align: left; padding: 0; margin: 8px 0 0; }
#shopp li { background: none; padding: 0; margin: 0; }
#shopp li:before,
#shopp-cart:before,
#shopp-cart ul li:before,
#shopp-cart #shopp-cart-ajax ul li:before,
#shopp ul.breadcrumb li:before { content: ""; }
#shopp div.hidden { display: none; }

#shopp .products, #shopp .products ul { width: 100%; margin: 0; padding: 0;}
#shopp .products ul li { display: block; float: left; }
#shopp .products li.row { display: block; width: 100%; }

#shopp .products .frame { width: <?php echo $gallery_thumbnail_width; ?>px; text-align: center; }
#shopp .products .frame img { display: inline; }

#shopp ul.paging { clear: none; display: inline; }
#shopp ul.paging li { display: inline; margin-left: 5px;}

/* Product Grid (Default View) */
#shopp ul.products li.product { width: <?php echo $products_per_row; ?>%; }

/**
 * Shopp Forms
 **/
#shopp form ul { width: 100%; clear: both; line-height: 1; }
#shopp form ul li { text-indent: 0; clear: both; display: block; padding: 4px 0; margin: 0; }
#shopp form label { clear: both; display: block; }
#shopp form ul li label.inline { display: inline; clear: none; }
#shopp form ul li:before { content: ""; }
#shopp form ul li div.inline { width: auto; clear: both; }
#shopp form ul li div.inline input { width: auto;  }
#shopp form ul li div.inline label { clear: none; display: inline; }
#shopp form ul li input,
#shopp form ul li select { margin: 0 0 5px 0; }
#shopp form ul li div input,
#shopp form ul li div select { width: 100%; }
#shopp form ul li div.left { display: inline; width: 47%; float: left; margin: 0; clear: left; }
#shopp form ul li div.right { display: inline; width: 47%; float: right; margin: 0; clear: right; }
#shopp form ul li.half { display: inline; width: 47%; float: left; clear: none; }
#shopp form ul li.half.right { display: inline; float: right; }
#shopp form ul li span { float: left; padding: 0 5px 0 0; display: inline-block; text-align: left; }
#shopp form ul li span label,
#shopp form div label { clear: both; }

/* Positions the cart's "default button" way off the screen to hide it, but keep it active */
#hidden-update { position: absolute; left: -999em; }

/**
 * Shopp Catalog Tag Cloud
 **/

#shopp .tagcloud,
.shopp.tagcloud { padding: 0; width: 100%; }

#shopp .tagcloud li,
.shopp.tagcloud li { display: inline; margin-right: 10px; line-height: 1.2; padding: 0; background-image: none; }
.shopp.tagcloud li.level-1 { font-size: 30px; }
.shopp.tagcloud li.level-2 { font-size: 24px; }
.shopp.tagcloud li.level-3 { font-size: 20px; }
.shopp.tagcloud li.level-4 { font-size: 18px; }
.shopp.tagcloud li.level-5 { font-size: 14px; }
.shopp.tagcloud li.level-6 { font-size: 12px; }
.shopp.tagcloud li.level-7 { font-size: 11px; }

/**
 * Categories
 **/

#shopp .category { position: relative; }
#shopp .views .grid { width: 15px; height: 15px; background: url('<?php echo $pluginuri; ?>core/ui/icons/grid.png') no-repeat 50% 50%; }
#shopp .views .list { width: 15px; height: 15px; background: url('<?php echo $pluginuri; ?>core/ui/icons/list.png') no-repeat 50% 50%; }

/**
 * Product Page Gallery
 **/
#shopp form.product label { clear: none; display: inline; }

#shopp .gallery { float: left; display: block; }
#shopp .gallery ul { display: block; margin: 0; padding: 0 !important; position: relative; list-style: none !important; text-indent: 0; width: auto; }
#shopp .gallery ul li:before { content: ""; }
#shopp .gallery .previews { position: relative; margin: 0 !important; }
#shopp .gallery .previews li { position: absolute; width: <?php echo $gallery_small_width; ?>px; height: <?php echo $gallery_small_height; ?>px; line-height: <?php echo $gallery_small_height; ?>px; visibility: hidden; top: 0; left: 0; margin: 0; display: block; text-align: center; }

#shopp .gallery .previews li img { display: inline; vertical-align: middle; margin-top: -3px; }

#shopp .gallery .previews li.fill { position: relative; }
#shopp .gallery .previews li.active { visibility: visible; }
#shopp .gallery .thumbnails { margin: 10px 0; width: 360px; }
#shopp .gallery .thumbnails ul { padding: 0; }
#shopp .gallery .thumbnails li { position: relative; display: inline; visibility: visible; height: auto; line-height: 1; top: auto; left: auto; margin: 0 0 0 10px; }
#shopp .gallery .thumbnails li.first { margin-left: 0; }
#shopp .gallery .thumbnails li img { cursor: pointer; }

/**
 * Debug Console
 **/
#overlay { position: absolute; left: 0; width: 100%; opacity: 0.6; background-color: #000; margin: 0; }
#debug.shopp { position: absolute; left: 25%; top: 100px; width: 50%; margin: 0 auto; height: 300px; overflow-y: auto; background: #fff; border: 5px solid #999; text-align: left; padding: 10px; font: 12px/1 "Lucida Grande",monospace; }
#debug.shopp.overlay { position: absolute; width: 100%; height: 100%; background: #000; top: 0; left: 0; padding: 0; opacity: 0.8; border: none; }
#debug.shopp h3 { font: bold 15px/1 "Lucida Grande",monospace;  margin-top: 0; }
#debug.shopp li { margin-bottom: 6px; }

/* Custom Styling*/
.product p { text-align: left; }
ul.products a { font-size: 8pt; }
ul.products a:hover { color: #0080CC; }
div.category h1, div.entry h1, .post h1 { font-size: 13.5pt; font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, sans-serif; font-weight: bold; letter-spacing: 1px; color: #333; text-align: left; }
div.contactus { margin-top: 15px; }
div.contactus a:visited { color: #0066CC; }
.subcategories-list { margin: 25px 0 0 !important; }
.subcategories-list li { float: left; text-align: center; width: 145px; height: 130px; }
.subcategories-list img { display: block; margin: 0 auto; }

/* Coded Out */

.price, .shopp-orderby-menu, .product .addtocart { display: none; }
.hide { display: none; }