/**
 * CSS for PSMRC ShopSuey storefront prices on product page
 */

/* category header */
main > div > h3[CategoryID] {
	
}

	main > div > h3[CategoryID]:hover {
		color: #908573;
		text-shadow: 1px 1px 0px white;
		cursor: pointer;
	}

/* prices table */
main > div table.ShopSuey-storefront-prices {
	margin: 0px 0px 35px 20px;
}

	/* prices table on catalog index */
	main > div table.ShopSuey-storefront-prices.catalog-index {
		margin: 0px 0px 35px 50px;
	}
	
		/* product name on catalog index */
		main > div h4 {
			display: inline-block;
			margin: 10px 0px 20px 25px;
		}

		/* products/prices container on catalog index page */
		main > div > div[CategoryID] {
			visibility: hidden;
			height: 0px;
			opacity: 0;
			transition: opacity 0.1s linear 0s;
		}
			/* when shown */
			main > div > div[CategoryID].show {
				visibility: visible;
				height: auto;
				opacity: 1;
				transition: opacity 0.2s linear 0s;
			}

	/* prices row */
	main > div table.ShopSuey-storefront-prices tr:nth-child(odd) {
		
	}
	
		/* SKU */
		main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.SKU {
			font-size: 15px;
			padding-right: 10px;
		}
			/* hide SKU when empty */
			main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.SKU:empty {
				width: 0px;
				padding: 0px;
			}
	
		/* description */
		main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.Description {
			padding-right: 50px;
		}
			
			/* pretext on description */
			main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.Description > span.pretext {
				color: #3b3027;
			}
		
			/* description on catalog index page */
			main > div table.ShopSuey-storefront-prices.catalog-index tr:nth-child(odd) > td.Description {
				width: 600px;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}
	
		/* prices row cell */
		main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td {
			padding-right: 25px;
			font-size: 21px;
		}
		
			/* price orig cell (hide when no sale) */
			main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.price-orig {
				width: 0px;
				opacity: 0;
				
				text-align: right;
				padding-right: 5px;
			}
				
				/* price when no sale */
				main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.price-orig.onsale {
					width: auto;
					opacity: 1;
					padding-right: 10px;
					
					font-size: 16px;
					text-decoration: line-through;
				}
		
			/* price result cell */
			main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.price-result {
				text-align: right;
				padding-right: 5px;
			}
				
				/* price result when onsale */
				main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.price-result.onsale {
					color: red;
					font-weight: bold;
					text-shadow: 1px 1px 0px rgba(255,255,255,.5);
				}
			
			main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.currency {
				font-size: 11px;
				color: #1D1C1B;
				margin-right: 25px;
			}
		
			/* no padding on last price row cell */
			main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.cart {
				width: 95px;
				padding-right: 0px;
				font-size: 17px;
				font-weight: bold;
				white-space: nowrap;
			}
			
				/* add-to-cart unavailable for admin previews */
				main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.cart.admin-preview * {
					color: rgba(0,0,0,.25);
					text-decoration: line-through;
					cursor: default;
				}
			
			/* stock */
			main > div table.ShopSuey-storefront-prices tr:nth-child(odd) > td.stock {
				padding-left: 15px;
				font-size: 13px;
				color: rgba(0,0,0,.65);
				white-space: nowrap;
			}
	
	/* price row border element */
	main > div table.ShopSuey-storefront-prices tr:nth-child(even) > td > span {
		display: inline-block;
		width: 90%;
		height: 1px;
		margin: 1px auto 5px 10px;
		
		font-size: 0px;
		
		background: #C2B498;
	}
	
		/* price row spacer */
		main > div table.ShopSuey-storefront-prices tr:nth-child(even) > td.SpaceAfter {
			height: 20px;
		}
	
			/* hide span on price row spacer */
			main > div table.ShopSuey-storefront-prices tr:nth-child(even) > td.SpaceAfter > span {
				display: none;
			}