/**
 * shopp.css
 * Found Pearl Press layout & styles for Shopp pages
 *
 * @author Hiroki based on Jonathan Davis' stuff
 * @package shopp
 **/


/**
 * Shopp style resets
 * These styles override the theme's styles for shopp-specific shopping pages in the catalog.css file in the plugin directory... so not meant to be edited
 
 * So these styles override the styles that Shopp saw fit to not let us edit.
 **/
#shopp,
br.clear,
div.clear,
#shopp br.clear,
#shopp div.clear,
#shopp div.description,
#shopp .products, 
#shopp .products ul,
#shopp .products li.row,
#shopp .category,
#shopp #cart,
#shopp #cart table { clear: none; }
#shopp { position: static; }  /* relative is NOT ok. covers links in rightside bar */
#shopp ul { list-style: none; text-indent: 0; text-align: left; padding: 0; margin: 0; } /* this might be ok */
#shopp li { background: none; padding: 0; margin: 0; }
#shopp li:before,
#shopp-cart,
#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: auto; } /** HERE */
#shopp .products ul li { display: block; float: none; }
#shopp .products li.row { display: block; width: auto; }

#shopp .products .frame { width : auto; text-align: left; }
#shopp .products .frame img { display: inline; float : none; }

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

/* Product Grid (Default View) */
#shopp ul.products li.product { width: auto; }

/**
 * Shopp Forms
 **/
#shopp form ul { width: auto; clear: none; line-height: 120%; }
#shopp form ul li { text-indent: 0; clear: none; display: block; padding: 4px 0; margin: 0; }
#shopp form label { clear: none; display: inline; }
#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 span input { margin: 0 0 5px 0; }
#shopp form ul li div input,
#shopp form ul li div select { width: auto; }
#shopp form ul li div.left { display: block; width: 100px; float: left; margin: 0; clear: none; }   
#shopp form ul li div.right { display: block; width: 100px; float: none; margin: 0 0 0 100px; clear: none; }
#shopp form ul li.half { display: block; width: 100px; float: left; clear: none; }
#shopp form ul li.half.right { display: block; float: right; }
#shopp form ul li span { float: none; padding: 0 ; display: inline; text-align: left; }
#shopp form ul li span label,
#shopp form div label { clear: none; }

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

/**
 * Shopp Catalog Tag Cloud
 **/

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

#shopp .tagcloud li,
.shopp.tagcloud li { display: inline; margin-right: 10px; line-height: inherit; 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: static; }
/*
#shopp .views .grid { background: url('<?php echo $pluginuri; ?>core/ui/icons/grid.png') no-repeat; }
#shopp .views .list { background: url('<?php echo $pluginuri; ?>core/ui/icons/list.png') no-repeat; }
*/

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

#shopp .gallery { float: none; 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: static; margin: 0 !important; }

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

#shopp .gallery .previews li.fill { position: relative; }
#shopp .gallery .previews li.active { visibility: visible; }
#shopp .gallery .thumbnails { margin-top: 10px; display : none }
#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; }
*/



/** end of fixing shopp hard-coded styles, until an upgrade, of course */




















#shopp .gallery .previews li {
    display: none;
    position : static; 
    width : auto;
    height: auto;
    line-height: 120%;
    margin: 0;
    text-align: left;
}

#shopp .gallery .previews li.active {
    display : block;
}


/* Generic Shopp Styles */

#shopp .submit {
}

#shopp form {
}

#shopp form.product ul.options {
    list-style: none;
}

#shopp form ul {
}

#shopp form label {
}

#shopp form ul li span label,
#shopp form div label {
}

/*
* Breadcrumb (same on all pages)
*/
#shopp ul.breadcrumb {
    display : block;
    margin: 0px 0 10px 0;
    padding : 0;
    list-style : none;
}

#shopp ul.breadcrumb li {
    display : inline;
    margin : 0;
    padding : 0;
    list-style : none;
}

#shopp ul.breadcrumb li a {
    color : #727272;
}

#shopp ul.breadcrumb li.current,
#shopp ul.breadcrumb li.current a {
    color : #444;
    text-decoration : none;
}

#shopp ul.categories {  }
#shopp #new {  }



/**
* Catalog/Category controls
**/
#categoryheadercontainer {
    margin : 16px 0 0 0;
    height : 30px;
}

#categorysortcontainer {
    float : right;
    padding : 3px 0 0 0;  /* to v-align it w/ the category title on the left side of the page */
    width : 190px;
    text-align : right;
}

#categorysortcontainer form {
    display : inline;
    margin : 0;
    padding : 0;
}

/*
* View chooser (grid, list)
*/
/* list/grid view selector (ajaxy) */
.catalogviewerpickercontainer {
    display : none;    /* disable for now */
    float : right;
    width : 100px;
}

#shopp .views {
    display : inline;
}

#shopp .views button { border: none; background: none; width: 16px; height: 16px; padding: 4px; cursor: pointer; }
#shopp .views button:hover { background-color: #ebebeb;}
#shopp .views li { display: inline;  padding: 2px; }


#shopp .orderby { float: right; }    /* Haven't seen this yet, so not styled correctly */


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


#shopp .original { text-decoration: line-through; }

.filters.enabled a.cancel:before { content: "["; }
.filters.enabled a.cancel { font-weight: bold; }
.filters.enabled a.cancel:after { content: "]"; }

/*
* Category/Core Catalog List View
*/

.largethumbcontainer {
    float : left;
    width : 150px;
    text-align : right;
}

.categorytitle {
    margin : 0 0 10px 0;
}

#ieroot #shopp.list ul.products {   /* compensate for the mistery line IE is adding */
    margin-top : -12px;
}

#shopp.list ul.products li.product {
    margin : 0 0 15px 0;
    padding : 0 0 15px 0;
    float: none;
    width: auto;
    border-bottom : 1px solid #d9d9d9;
}

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

#shopp.list ul.products li img {
    display : inline ;
    float : none;
    margin : 0px;
}

#shopp ul.products li .name,
#shopp ul.products li .summary,
#shopp ul.products li .savings,
#shopp ul.products li .price {
    margin : 0;
}

#shopp ul.products li.product .details {
    margin-left : 160px;
}

#shopp ul.products li.product .summarycontainer {
    margin : 12px 0 0 0;
}

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

#shopp.list ul.products li .listview {
    display: block;
}

#shopp.list ul.products h3.producttitle {
    margin-top : 0;
    font-family : Palatino Linotype, Palatino, Georgia, serif;
    font-size : 18px;
    line-height : 1em;
    color : #d6824f;
}

#shopp.list ul.products h3.producttitle a {
    color : #d6824f;
}



/**
* Product Detail (Center)
*/
#productdetailoutercontainer {
    
}

#productdetailcontentcontainer {
    margin-left : 163px;
}

#productdetailcontentcontainer h2 {
    color : #d6824f;
}

#productdetailcontentcontainer #productdetailpriceline, .productdetailpriceline {
    margin-top : -14px;
    font-size : 11px;
    color : #898989;
}

#productdetailcontentcontainer #productdetailpriceline strong, .productdetailpriceline strong {
    color : #000;
}

#productdetailcontentcontainer #productdetailpriceline .sale, .productdetailpriceline .sale {
    color : #000;
    font-size : 13px;
}

#productdetailcontentcontainer strong em {
    font-style : normal;
    color : #d6824f;
}


/*
* Product Detail Left Sidebar
*/
#productdetailleftsidebarcontainer {
    margin : 0 0 13px 0;
    float : left;
    width : 158px;
    font-size : 11px;
}

#productdetailleftsidebarcontainer em {
    color : #d6824f;
    font-style : normal;
}

#productdetailleftsidebarcoverthumbcontainer {
    padding : 0 0 0 4px; /* helps align with "look inside" image */
}

#productdetailleftsidebarcoverthumbcontainer img {
    max-width : 150px;
    height : auto;
    max-height : auto;
    text-align : left;
}

#productdetailleftsidebarcoverthumbcontainer .hiddenthumblink {
    display : none;
}

#productdetailleftsidebarlookinside {
    margin : 4px 0;
}


/*
* Product Detail Left Sidebar Specs
*/
#productdetailleftsidebardetail {
    margin : 4px 0 0 0;
    padding : 0 4px; /* helps align with "look inside" image */
}

#productdetailleftsidebardetail p:first-child {
    margin-top : 0;
}


#productdetailleftsidebarcontainer ul {
    display : block;
    margin : 0;
    padding : 0;
    list-style : none;
}

#productdetailleftsidebarcontainer ul li {
    display : block;
    margin : 0 0 2px 0;
    padding : 0;
    list-style : none;
}

#productdetailleftsidebarcontainer ul li label {
    color : #d6824f;
}

/** these don't do anything really */
#shopp .gallery { margin: 0; }
#shopp .gallery ul.previews li.thumbnails ul { margin: 0; }
#shopp .gallery ul.previews li.thumbnails li { margin: 0; }

 
 /*
#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 { }*/

/**
* Sidebar shopping cart
*/
#sidebar #sidecartboxcontainer {
    margin : 0 0 3px 0;
    border : 1px solid #d2d2d2;
    padding : 9px;
    background : #e2e2e2;
}

#sidecartboxcontainer h2 {
    margin-top : 0;
}

.widget_shoppcartwidget .widgettitle {
    display : none;
}

#sidebar #cartquantitiycontainer {
    margin : 0 0 12px 0;
    text-align : center;
}

#sidebar #cartvariationscontainer {
    display : block;
    margin : 0;
    padding : 0;
    list-style : none;
}

#sidebar #cartvariationscontainer li {
    display : block;
    margin : 0 0 3px 0;
    padding : 0;
    list-style : none;
}

#sidecartboxcontainer input.addtocart {
    display : none;
}

#sidebar #sidecartcontentsofcart {
    padding : 0 0 0 13px;
}

#sidecartgrid {
    border-collapse : collapse;
    border : 0;
}

#sidecartgrid th,
#sidecartgrid td {
    text-align : left;
    vertical-align : top;
}

#sidecartgrid td {
    padding : 3px 0 0 0;
    font-size : 11px;
}

#sidecartgrid td a {
    text-decoration : none;
    line-height : 100%;
    color : #2a4d94;
}

#sidecartgrid td a:hover {
    text-decoration : underline;
}

#sidecartgrid .productcell {
    padding-right : 3px;
    width : 138px;
}

#sidecartgrid .productcell a .option {
}

#sidecartgrid .quantitycell {
    width : 28px;
}

#sidecartgrid .pricecell {
    width : 39px;
}

#sidecartgrid .money {
    text-align : right;
}

#sidebar #sidecartshortnav a {
}

#sidebar #sidecartshortnav p {
    margin : 3px 0;
}

#sidebar .proceedtocheckoutlink {
    color : #7c922e;
    font-weight : bold;
}

/**
 * Shopping Cart
 **/

#shopp #cart {
    width: auto;
}

#shopp #pagetitlewithlinkcontainer {
    width : 285px;
}

#shopp #pagetitlewithlinkcontainer .pagetitle {
    margin-bottom : 20px;
}

#shopp #pagetitlewithlinkcontainer .pseudobreadcrumbcontinushoppingconainer {
    float : right;
    padding : 4px 0 0 0;
}

#shopp #pagetitlewithlinkcontainer .pseudobreadcrumbcontinushoppingconainer a {
    font-size : 14px;
    font-weight : bold;
    text-decoration : none;
}

#shopp .cartright {
    float : right;
    width : 120px;
    text-align : right;
}

#shopp #empty-button,
#shopp #cartgrid input[type="button"],
#shopp #cartgrid input[type="submit"],
#shopp #cartgrid button {
    font-size : 11px;
}

#shopp #cartgrid {
    margin : 0 0 20px 0;
    padding : 0;
    width : auto;
    border-collapse : collapse;
}

#shopp #cartgrid a {
    color : #2a4d94;
    text-decoration : none;
}

#shopp #cartgrid a:hover {
    text-decoration : underline;
}

#shopp #cartgrid th {
    text-align : left;
    font-weight : bold;
}

#shopp #cartgrid th,
#shopp #cartgrid td {
    padding : 3px 9px 3px 0;
}

#shopp #cartgrid th.itemcell,
#shopp #cartgrid td.itemcell {
    padding-left : 6px;
    width : 425px;
}

#shopp #cartgrid th.quantitycell,
#shopp #cartgrid td.quantitycell {
    width : 120px;
}

#shopp #cartgrid .money, 
#shopp #cartgrid .totals th,
#shopp #cartgrid .buttons td {
    text-align : right;
    white-space : nowrap;
}

#shopp #cartgrid th.pricecell,
#shopp #cartgrid td.pricecell {
}

#shopp #cartgrid tr.headerrow th,
#shopp #cartgrid tr.footerrow td,
#shopp #cartgrid tr.footerrow th {
    background : #e2a783;
}

#shopp address { font-style: normal; }

#shopp #cartgrid .incartselectlistcontainer ul,
#shopp #cartgrid .incartselectlistcontainer li,
#shopp #cartgrid .incartselectlistcontainer span,
#shopp #cartgrid .incartselectlistcontainer {
    margin : 0;
    padding : 0;
    text-align : right;
}

#shopp #cart .proceedtocheckoutcontainer {
    float : right;
    width : 340px;
    font-size : 16px;
}

#shopp #cart .proceedtocheckoutcontainer .linksep img {
    vertical-align : middle;
}

#shopp #cart .proceedtocheckoutcontainer a {
    text-decoration : none;
    font-weight : bold;
}

#shopp #cart .proceedtocheckoutcontainer a.proceedtocheckoutlink {
    margin : 0;
    color : #7c922e;
}

/**
 * Checkout 
 **/

#shopp #cartgrid.summarygrid {
    margin-bottom : 0;
}

#shopp #cartgrid.summarygrid  th.itemcell,
#shopp #cartgrid.summarygrid  td.itemcell {
    width : 490px;
}

#shopp #cartgrid .selectshippingmethod h3 {
    margin : 3px 0;
    font-size : 14px;
}

#checkoutformcontainer #same-shipping {
    margin : 0 4px 2px 0;
    padding : 0;
    vertical-align : middle;
}

#checkoutformcontainer .fieldrowcontainer {
    margin : 0 0 3px 0;
}

#checkoutformcontainer .fieldrowcontainer label {
    display : block;
    float : left;
    width : 130px;
}

#checkoutformcontainer .fieldrowcontainer .fieldcontainer {
    margin : 0 0 6px 137px;
}

#shopp #checkoutformcontainer .fieldrowcontainer .textfield {
    width : 130px;
    border : 1px solid #ddd;
    padding : 2px;
    font-size : 11px;
}

#shopp #shipping-methods { padding-left: 0; }
#shopp #shipping-methods li { margin-top: 0; }
#shopp #shipping-methods input { margin-left: 0; }

#shopp #errors { color: #990000; }

#shopp #shippinginfoform {
    float : right;
    margin : -6px 0 0 0;
    width : 400px;
}

#shopp #shippinginfoform #shipping-address-fields {
    display : block !important;
}

#shopp #shippinginfoform #shipping-address-fields [disabled] {
    border : 1px solid #aaa;
    background : #ddd;
    font-size : 11px;
}

#shopp #shippinginfoform #shipping-address-fields input[disabled] {
    padding : 2px;
}

/*
* Confirm order page
*/
#shopp #confirmordercontainer #pagetitlewithlinkcontainer {
    width : 285px;
}


/**
 * Order Receipt
 **/
#shopp #receipt {
    margin: 0;
}

#shopp #receipt address {
    font-style: normal;
}

#shopp #receipt #receiptaddressescontainer {
    width : 490px;
}

#shopp #receipt fieldset {
    margin : 0 0 30px 0;
    border: 1px solid #dadada;
    padding: 10px;
    width: 200px;
}

#shopp #receipt fieldset.shipping {
    float : right;
}

#shopp #receipt fieldset legend {
    display: block;
}

#shopp #receipt table.transaction {
    margin : 0 0 10px 0;
    padding : 0;
    border-collapse : collapse;
}

#shopp #receipt table.transaction th {
    padding : 0 10px 3px 0;
    width: 120px;
    text-align: right;
}

#shopp #receipt #cartgrid {
    clear : both;
}

#shopp #receipt td {
}

#shopp #receipt th { }

#shopp #receipt th, 

#shopp #receipt td { padding: 3px; }

#shopp #receipt .order .item {  }

#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 {
}

#shopp #receipt .receiptdonowlinks {
    font-size : 16px;
    color : #7c922e;
    text-align : center;
}

#shopp #receipt .receiptdonowlinks a {
    text-decoration : none;
    font-weight : bold;
}

#shopp #receipt .receiptdonowlinks .linksep img {
    vertical-align : middle;
}

@media print {
    #shopp #receipt .receiptdonowlinks {
        display : none;
    }
}

/**
* Order review form page
*/
.shopporderreviewcontainer #shopp form {
    display : block;
    margin : 0;
    padding : 0;
}

.shopporderreviewcontainer #shopp form ul,
.shopporderreviewcontainer #shopp form ul li {
    display : block;
    margin : 0;
    padding : 0;
    list-style : none;
}

.shopporderreviewcontainer #shopp form ul li {
    width : 310px;
}

.shopporderreviewcontainer #shopp form ul li span {
    display : block;
}

/** i don't like doing this... i feel dirty. sorry Jesus. Shopp made me do it. */
.shopporderreviewcontainer #shopp form ul li span label {
    display : block;
    margin : 0 0 7px 0;
    padding : 1px 0 0 0;
}

.shopporderreviewcontainer #shopp form ul li span input {
    display : block;
    float : right;
    width : 200px;
}

.shopporderreviewcontainer #shopp form ul li span input[type="text"] {
    width : 200px;
}

.shopporderreviewcontainer #shopp form ul li span input[type="submit"] {
    clear : right;
    width : 80px;
}

