/**
 * 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;*/ margin-bottom: 0; }
#shopp form ul li span label,
#shopp form div label { font-size: 11px; font-weight: normal; /*padding-bottom: 8px;*/ margin-bottom: 0; }

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

#shopp .category .subcategories { padding: 10px 0; margin-bottom: 10px; }
#shopp .category .subcategories ul { padding: 10px 0 0 20px; margin-bottom: 10px; }
#shopp .category .subcategories li { display: inline-block; margin-right: 20px; vertical-align: top; }

#shopp .slideshow,
#shopp .carousel { margin: 20px 0; overflow: hidden; }

/* 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; }
#shopp ul.products li .details { float: none; }

/* 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; }
#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%; overflow: hidden; padding-bottom: 10px;}
#shopp.list ul.products li.product {  border-bottom: 1px dotted #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: 75%; }
#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 { margin-left: 0; }
#shopp ul.paging li { /* placeholder for your styles - inherited defaults: display: inline-block; margin-left: 5px; */ }
#shopp ul.paging li a { margin:0 5px; padding: 0; }
#shopp ul.paging li a:hover { /* page links hover styling */ }
#shopp ul.paging li.active { color:#b5121a;font-weight: bold; }
#shopp ul.paging li.disabled { padding: 0; }
#shopp ul.paging li.previous a,
#shopp ul.paging li.next a { padding: 0;margin: 0 5px 0 0; }


/**
 * 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 form.product ul { width: auto; }
#shopp ul.variations label { display: block; }
#shopp dl { overflow: hidden; }
#shopp dt { clear:left; float:left; text-align: right; width:50%; margin-right: 1em; }
#shopp dd { clear:right; width:50%; padding-left: 50%; }

#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 { /* 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; border: 2px #fff solid; }
#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; }

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

#shopp ul.account li { display: inline-block; width: 200px; padding-top: 18px; }

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

#shopp .shopp-errors { color: #990000; }
#shopp input.error { background: #ffdddd; }
#shopp label.error { color: #990000; font-weight: bold; }

.clickwrap-terms { overflow: auto; height: 200px; border: 1px solid #333; padding: 0.5em; margin-bottom: 1em; }

/**
 * Order Receipt
 **/
#shopp #receipt { position: relative; margin: 20px 0; }
#shopp #receipt address { font-style: normal; }
#shopp #receipt fieldset { padding: 10px; border: 1px solid #dadada; margin: 20px 0 30px; }
#shopp #receipt fieldset legend { display: block; }
#shopp #receipt table { overflow: hidden; }
#shopp #receipt table.transaction th { text-align: left; }
#shopp #receipt .labels { width: 100%; }
#shopp #receipt table.labels td { vertical-align: top; }

#shopp #receipt .order { width: 100%; overflow: hidden; 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 td.qty { text-align: center; }
#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 */
.shopp_page { margin-top: 14px;}
.pagination-shopp {border:1px solid #ddd;border-left:none;border-right:none;margin:3px 0;}
.pagination-shopp-top {margin-bottom:20px;}
.pagination-shopp-bottom {margin-top:20px;}
article.shopp_product span.subtitle,
section.shopp_archive span.subtitle { display: block; font-size: 0.7em; }
.alert-box a,.alert-box a:link {color:#fff;text-decoration:underline;}
.alert-box a:hover,.alert-box a:focus {color:#fff;text-decoration:none;}
.addtocart.button.small {font-size:.90em;}
.centertext {text-align:center;}
.offer_buttons {text-align:right;}

@media only screen and (max-width: 767px) {
	.offer_buttons {text-align:center;}
}
.alert-box.secondary a, .alert-box.secondary a:link { color: #15599D; }
.alert-box.secondary a.button, .alert-box.secondary a.button:link { color: #fff; text-decoration:none;}
.alert-box.secondary.login h5 {color:#999;}
.alert-box.secondary.login .large-4.columns {border-right:1px dotted #999;}
div.alert-box.secondary p {font-weight:normal;}
#shopp table thead tr th, #shopp table tfoot tr th, #shopp table tbody tr td, #shopp table tr td, #shopp table tfoot tr td { font-size: 1em; }
.shopp_product_description p {font-size:12px;}
h2.shopp_section {margin-top:20px;background-color:#b5121a;color:white;padding:5px 5px 0 20px;font-size:1em;}


/* shopp archive page */
#shopp div.category section {border-bottom:1px dotted #ddd;padding-bottom:1em;padding-top:1em;}
#shopp .details h4.name {margin-top:0;}


#shopp div.category section:last-of-type  {border-bottom:none;}
#shopp div.category section:nth-child(odd)  {background-color:#f7f7f7;}
#shopp .post_content.shopp_archive .ten.columns {padding-left:0;}
#shopp .post_content.shopp_archive .two.columns {text-align:center;}
#shopp .post_content.shopp_archive .row.headline .four.columns {text-align:center;}
#shopp .post_content.shopp_archive .row.headline .four.columns p.price {margin-top:.5em;}
#shopp .post_content.shopp_archive .row.headline .four.columns p.savings {margin-top:.5em;}
#shopp .post_content.shopp_archive .listview {line-height:1.33em;}
#shopp .post_content.shopp_archive .listview h4 {color:#999;font-size:1em;margin-bottom:.25em;}

@media only screen and (max-width: 480px) {
.listview {
    margin-top: 10px;
}
}

/* shopp single page */
.upper {text-transform:uppercase;}
#shopp  dl.details  {border-top:1px dotted #ddd;}
#shopp .details dt {text-align:right;width:30%;padding:4px;border-bottom:1px dotted #ddd;}
#shopp .details dd {text-align:left;width:100%;padding:4px;border-bottom:1px dotted #ddd;margin-bottom:4px;}

#shopp	div.showtags dl:first-of-type {margin-top:30px;}
#shopp .shopp_filedin dt {text-align:left;width:60px;padding:4px;}
#shopp .shopp_filedin dd {text-align:left;width:100%;padding:4px;margin-bottom:4px;}

#shopp form.formbox {padding:10px;background-color:#FFFFF7;border:1px solid #ddd;}

#shopp .product_content  ul {margin-left:2em;}
#shopp .product_content  ul li {list-style-type:disc;list-style-position:outside;}
div.product_image {float:right;margin:0 0 0 10px;border:1px solid #999;padding:10px;background-color:#f7f7f7;} /*#main article.type-shopp_product */
#main article div.product_image img {margin-bottom:0;padding-bottom:0;} /*#main article.type-shopp_product */

#shopp form.product ul.variations label {float:left;width:130px;clear:both;}
#shopp ul.variations select {float:left;margin-left:0;}

#shopp ul.addons {margin-top:10px;}
#shopp form.product ul.addons label {float:left;width:130px;clear:both;}
#shopp ul.variations select {float:left;margin-left:0;}

#shopp p.quantity  {margin-top:10px;}
#shopp p.quantity label {float:left;width:130px;clear:both;}


#shopp p.quantity input.selectall {float:left;margin-left:0;width:50px;height:2em;margin-right:20px;font-size:.9em;}
#shopp p.quantity .whattobuy {float:left;}
#shopp p.addtocart {text-align:right;}

#shopp .product_summary h4 {font-size:1em;}
#shopp .product_summary  {margin-bottom:2em;}


/* Shop cart page*/
table.cart thead tr th, table.cart tfoot tr th, table.cart tbody tr td, table.cart tr td, table.cart tfoot tr td,
#checkout table thead tr th, #checkout table tfoot tr th, #checkout table tbody tr td, #checkout table tr td, #checkout table tfoot tr td {font-size:1em;}

/* shopp checkout page */
#shopp form ul#shipping-methods li span label{font-size:1em;}
#shopp #checkout .alert-box.secondary input[type="text"]  {margin-bottom:0;}
#shopp #checkout .alert-box.secondary select {margin-bottom:5px;width:100%;}
#shopp #checkout .alert-box.secondary label {font-size:1em;color:#666;margin-bottom:5px;}
#shopp #checkout .alert-box.secondary {margin-bottom:40px;}
#shopp #checkout .alert-box.secondary h4 {margin:0 0 .5em 0}
.column.centered.shopp_page.checkout_page, .columns.centered.shopp_page.checkout_page {margin-top:54px;}
#main.shopp_page.checkout_page {border-right:none;}

/* Summary Page*/
#shopp #receipt.shopp.web-receipt table {border:none;width:100%;}
#shopp #receipt.shopp.web-receipt table th, #shopp #receipt.shopp.web-receipt table td {padding:.25em 1em;}
#shopp .alert-box.secondary.billing {min-height:220px;background-color:#F5F5F5;}
#shopp .alert-box.secondary.billing address{line-height:1.33em;}
#shopp table.order.widefat  {width:100%;}
#shopp table.order.widefat th.total {text-align:right;padding-right:2em;}
#shopp .alert-box.secondary.outlinebox {background-color:transparent;border:2px solid #ccc;margin:30px 0;padding:0 20px;}

/* Search */
form#searchform.shopp  label {
    margin-bottom: 5px;
    margin-top: 5px;
}
form#searchform.shopp .multiple-select {
	height:200px;
	padding:10px;
}
form#searchform.shopp h2 {
	font-size:1.25em;
	color:#B5121B;
}
form#searchform.shopp h2.new_section {margin-top:30px;margin-bottom:0;}

section.post_content.shopp_archive {
	margin: 1em 0;
	padding: 1em 0;
	border-top: 1px dotted #d6d6d6;
}

body.tag .category .view-by, body.tag .category .breadcrumb, body.tag .category .shopp_product_description {
	display: none;
}

#shopp .edit-cart-button {margin: 10px 0;}

#shopp .alert-box.secondary.login a.button.red {
	font-weight: bold;
	text-align: center;
}

@media only screen and (max-width: 480px) {
	#shopp .button.continue, #shopp .button.checkout {
	    width: 100%;
	    padding-left: 0;
	    padding-right: 0;
	}
	#shopp .edit-cart-button .button, #shopp .alert-box.secondary.login a.button.red {
	    width: 100%;
	}
}

.shopp-product #content {
    margin-top: -9px;
} /* added to fix tab navigation appearance on shopp product pages */
