.tx-simpleshop-pi1 {
	float:left;
}

.viewDetailLink {
	float:left;
	width:95px;
}

.tx-simpleshop-pi1 ul {
	padding: 0;
}
.tx-simpleshop-pi1 li {
	float: left;
	list-style: none;
	margin: 0 2px 0 2px;
	position: relative;
}
.tx-simpleshop-pi1 .detail li {
	list-style:disc inside;
}
.tx-simpleshop-pi1 .simpleshop-bar li a {
	display: block;
	height: 30px;
	width: 115px;
	text-indent: -10000px;
	background: transparent url(../Images/bg_section_sprite.png) no-repeat scroll 0 50px;
}
/*
	Settings for the hover background-image of the wine spectrum bar.
*/
.tx-simpleshop-pi1 .simpleshop-bar li a.section1 {
	background-position: 62px -18px;
}
.tx-simpleshop-pi1 .simpleshop-bar li a.section2 {
	background-position: 62px -75px;
}
.tx-simpleshop-pi1 .simpleshop-bar li a.section3 {
	background-position: 62px -133px;
}
.tx-simpleshop-pi1 .simpleshop-bar li a.section4 {
	background-position: 62px -192px;
}
.tx-simpleshop-pi1 .simpleshop-bar li a.section5 {
	background-position: 62px -249px;
}
.tx-simpleshop-pi1 .simpleshop-bar li a.section6 {
	background-position: 62px -307px;
}
.tx-simpleshop-pi1 .simpleshop-bar li a.section7 {
	background-position: 62px -366px;
}
.tx-simpleshop-pi1 .simpleshop-bar li a.section8 {
	background-position: 62px -423px;
}
/*
	Below: All the stuff for the shop part.
*/

.tx-simpleshop-pi1 .clearer {
	display:block;
	clear:both;
	visibility:hidden;
	height:0;
	border-width:0;
	margin:0;
	padding:0;
}
.tx-simpleshop-pi1 .sizeFilter a {
	border:1px solid #aaa;
	display:block;
	float:left;
	margin-right:5px;
	padding:3px;
	text-decoration:none;
	color: #000;
	background-color: #ccc
}
.tx-simpleshop-pi1 .product {
	width: 340px;
	min-height: 150px;
	position: relative;
	padding: 0 0 0 70px;
	margin: 10px 0 0 0;
}
.tx-simpleshop-pi1 .product li {
	float: none;
}
.tx-simpleshop-pi1 .product .prices {
}
.tx-simpleshop-pi1 .image {
	position: absolute;
	top: 0;
	left: 0;
}
.tx-simpleshop-pi1 .unitSize {
	display: block;
	float: left;
	width: 40px;
	text-align: right;
	margin-right: 5px;
}
.tx-simpleshop-pi1 .year {
	display: block;
	float: left;
	width: 50px;
	text-align: right;
	margin-right: 10px;
}
.tx-simpleshop-pi1 .unitPrice {
	display: block;
	float: left;
	width: 50px;
	text-align: right;
	margin-right: 10px;
}
.tx-simpleshop-pi1 .addToBasket a {
	text-decoration: none;
}
.tx-simpleshop-pi1 .addToBasket img {
	margin-left: 4px;
	border: none;
}
.tx-simpleshop-pi2 .basket {
	border: 1px solid #aaa;
}
.tx-simpleshop-pi2 .basket td {
}
.tx-simpleshop-pi2 .basket .size {
	text-align: right;
}
.tx-simpleshop-pi2 .basket .basketTitle {
	width: 125px;
}
.tx-simpleshop-pi2 .basket .quantity {
	width: 20px;
	text-align: right;
}
.tx-simpleshop-pi2 .basket .price {
	text-align: right;
	width: 45px;
}
.tx-simpleshop-pi2 .basket .buttons {
	text-align: right;
	width: 45px;
}
.tx-simpleshop-pi2 .basket img {
	border: none;
}
.tx-simpleshop-pi2 .basket .footer {
	border-top: 1px solid black;
}
.tx-simpleshop-pi2 .basket .basketTotal {
	font-weight: bold;
}
.tx-simpleshop-pi2 .basket .notes td {
	text-align: center;
	padding-top: 10px;
}
.tx-simpleshop-pi2 .basket .checkout td {
	text-align: center;
	padding-top: 10px;
	font-weight: bold;
}
.tx-simpleshop-pi2 .basket .basketQuantity {
	width:20px;
}
.tx-simpleshop-pi1 .detail {
	position: absolute;
	left: 90px;
	top: 10px;
	width: 310px;
	border: 1px solid #aaa;
	background-color: #fff;
}
.tx-simpleshop-pi1 .detail .detailTitle {
	font-weight: bold;
	width: 125px;
}
.tx-simpleshop-pi1 #simpleshop_checkout {
	width: 550px;
}
.tx-simpleshop-pi1 #simpleshop_checkout label {
	width: 150px;
	float: left;
}
.tx-simpleshop-pi1 #simpleshop_checkout .errors {
	border: 1px solid red;
}
.tx-simpleshop-pi1 #simpleshop_checkout .separator {
	display: none;
}
.tx-simpleshop-pi1 #simpleshop_checkout input, .tx-simpleshop-pi1 #simpleshop_checkout textarea, .tx-simpleshop-pi1 #simpleshop_checkout select {
	width: 235px;
}
#simpleshop_checkout .formidable-rdrstd-rdtwrap {
	clear: both;
}
#simpleshop_checkout .terms label {
	position: relative;
	left: 150px;
	width: 240px;
}
#simpleshop_checkout .terms #simpleshop_checkout_terms {
	width: 20px;
	position: absolute;
	left: 120px;
}
.tx-simpleshop-pi1 #simpleshop_checkout #simpleshop_checkout_submit {
	width: 150px;
	margin-left: 150px;
}
.tx-simpleshop-pi1 table.detail td {
	vertical-align:top;
}
.tx-simpleshop-pi1 table.detail td.detailTitle, .tx-simpleshop-pi1 table.detail td.description {
	width:99%;
	padding:10px 2px 10px 10px;
}
.tx-simpleshop-pi1 table.detail td.closeLink {
	padding:10px 2px 10px 10px;
}
.tx-simpleshop-pi2 table.basket td.basketTitle {
	padding: 10px 2px 10px 10px;
}
.tx-simpleshop-pi2 table.basket tr.buttonUpdate td {
	padding:10px 2px 10px 2px;
}
.tx-simpleshop-pi2 table.basket tr.notes td {
	padding:10px;
	text-align:left;
}
.tx-simpleshop-pi2 table.basket tr.checkout td {
	padding:10px;
	text-align:left;
}
.tx-simpleshop-pi1 .detail li {
	list-style:disc inside;
}

#basketCheckout .basket_summary{
	width:600px;
}
.basketHeader{
	height:20px;
	background-color:#ffff99;
}
.basketHeader td{
	font-weight:bold;
	font-size:12px;
	text-align:left;
}
.data_row1 td, .data_row2 td{
	font-size:12px;
}
.quantity {
	width:60px;
}
.productNumber {
	width:100px;
}
.price {
	width:80px;
}
.total {
	width:100px;
}
.data_total, .data_grandtotal {
	text-align:right;
}
.errorStyle {
	color:red;
}

.tx-simpleshop-pi1 #simpleshop_checkout .member_type label{
	clear:both;
	float:none;
	width:auto;
}

.tx-simpleshop-pi1 #simpleshop_checkout .member_type input{
	width:auto;
}

ul.member_type li{
	float:left;
	display:block;
	width:400px;
}
ul.member_type{
	padding-left:150px;
}

.tx-simpleshop-pi1 #simpleshop_checkout input.zip {
  width:60px;
  margin-right:10px;
}

.tx-simpleshop-pi1 #simpleshop_checkout input.place {
  width:165px;
}
.tx-simpleshop-pi1 ul.formError {
	list-style-type: disc;
}
.tx-simpleshop-pi1 ul.formError li {
	float: none;
	color: #FF0000;
	list-style-type: disc;
}


/* ==========================================================================
   Z3 Shop Styles
   ========================================================================== */

.popover {
	max-width: 400px !important;
}
.z3shop .listitem {
	border: 1px solid #d8d9da;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-bottom: 20px;
}

.z3shop .listitem-header {
	position: relative;
}

.z3shop .listitem-image {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f2f2;
	overflow: hidden;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	min-height: 150px;
}
.z3shop .listitem-image .image {
	max-width: 100%;
	max-height: 100%;
	padding: 34px 12px 12px 12px;
}
@media (min-width: 500px){
	.z3shop .listitem-image {
		padding-bottom: 100%;
		position: relative;
	}
	.z3shop .listitem-image .image {
		padding: 0;
		position: absolute;
		max-width: calc(100% - 25px);
		max-height: calc(100% - 50px);
		left: 50%;
		top: 50%;
		-webkit-transform: translate(-50%, calc(-50% + 12px));
		-ms-transform: translate(-50%, calc(-50% + 12px));
		transform: translate(-50%, calc(-50% + 12px));
	}
}

.z3shop .listitem-image.no-image {
	background-image: url("../Images/lignum_logo_white.png");
	background-repeat: no-repeat;
	background-position: center;
}
.z3shop .listitem-imageoverlay {
	position: absolute;
	top: 0;
	right: 0;
	padding: 2px 10px;
	background-color: rgba(255,255,255,0.8);
	border-bottom-left-radius: 3px;
	border-top-right-radius: 4px;
}

.z3shop .listitem-title {
	margin-top: 0;
}

.z3shop .listitem-desc {
	padding: 10px;
}

.z3shop .listitem-price {
	padding: 10px;
}

.z3shop .listitem-footer {
	border-top: 1px solid #d8d9da;
	padding: 10px;
}

.z3shop .listitem-moreinfo {
	display: inline-block;
	cursor: pointer;
	outline: none;
}
.z3shop .listitem-download {
	 display: inline-block;
	 float: right;
	 margin-right: 5px;
 }

.z3shop .listitem-download .link-disabled {
	color: #666;
	cursor: not-allowed;
	filter: alpha(opacity=65);
	opacity: .65;
}

/*  Layout Masonry */
@media (min-width: 768px){
	.masonry-columns {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
		-webkit-column-gap: 1.25rem;
		-moz-column-gap: 1.25rem;
		column-gap: 1.25rem;
		orphans: 1;
		widows: 1;
	}
	.masonry-columns .listitem {
		display: inline-block;
		width: 100%;
	}
}

/* Flex layout */
.flex-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -10px;
	margin-left: -10px;
}
.flex-row .flex-col {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 10px;
	padding-left: 10px;
}
.flex-row .flex-col .listitem {
	height: calc(100% - 20px);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}
.flex-row .flex-col .listitem-desc {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
}

@media (min-width: 500px){
	.flex-row .flex-col {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 768px){
	.flex-row .flex-col {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
}

/* Basket */
.basket-container {
	border: 1px solid #d8d9da;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #f0f1f2;
	padding: 10px;
	margin: 20px 0;
}

@media(min-width: 1800px){
	.basket-container {
		max-width: 330px;
		position: sticky;
		top: 10px;
		display: block;
		margin-right: -350px;
		position: -webkit-sticky;
		position: sticky;
		float: right;
		margin-top: 0;
	}
}

.basket-container .basket {
	width: 100%;
}
.basket-container h3 {
	margin-top: 0;
}
.basket-container .basket-item td {
	border-bottom: 1px solid #ccc;
	line-height: 1.3;
	padding-top: 5px;
	padding-bottom: 5px;
	word-break: break-word;
}
.basket-container .basketTitle {
	padding-right: 10px;
}
.basket-container .quantity,
.basket-container .quantity input {
	width: 30px;
}
.basket-container .price {
	width: 60px;
}
.basket-container .buttons {
	width: 40px;
	white-space: nowrap;
}
.basket-container .buttons a {
	text-decoration: none;
}
.basket-container .footer td{
	padding-top: 5px;
	padding-bottom: 5px;
	border-top: 2px solid #ccc;
}
.basket-container .footer .price {
	font-weight: bold;
}
.basket-container .button-primary {
	display: inline-block;
	margin: 10px 0;
	color: #fff;
	background: #00529b;
	font-weight: bold;
	padding: 5px 10px;
	text-decoration: none;
}


/* CHECKOUT */
.z3shop #basketCheckout .basket_summary {
	width: 100%;
}
.z3shop #winespectrum_checkout {
	width: 100%;
}
.z3shop .form-horizontal .control-label {
	text-align: left;
}
