.j2store-products-row div.span4 {
  background: #ebebeb;
  display: inline-block;
  width: 25%;
  margin-right: 2%;
  margin-bottom: 16px;
  padding: 16px 2%;
  position: relative;
  /* min-height: 390px; */
}

.j2store-thumbnail-image {
  min-height: 290px;
  vertical-align: middle;
}

.j2store-thumbnail-image a {
 display: inline-block;
  vertical-align: middle;
}

.j2store-thumbnail-image a img {
  width: 80% !important;
  margin: 10px 9%;
  height: auto;
  max-height:265px;
}

.j2store-products-row img {
  width: 80%;
  margin: 10px 9%;
  height: auto;
  max-height: 408px;
}

.simple-product {
  background: #ebebeb;
  width: 90%;
  min-height: 650px;
  padding:  0px 5%;
  position: relative; 
}

.simple-product .j2store-mainimage {
 float: right;
 height: 490px;
 padding-top: 46px;
}

.simple-product .j2store-addtocart-form {
 float: right;
 clear: right;
 
}


div.j2store-products-row div.span4 h2 {
 font-size: 1.1em;
 height: 42px;
 text-decoration: none;
}

div.j2store-add-to-cart {
 text-align: center;
}

a.j2store-product-quickview-modal, div.tax-text {
  display: none;
  font-size: 0px;
}

div.sale-price {
  font-size: 1.6em;
  color: #fff;
  font-weight: 700;
  right: 0px;
  padding: 4px 15px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 8px;
  background: #ee413c;
  z-index: 10;
}

div.span6.product-details-price {

  float: right;
  font-size: 2em;
}

table.j2store-cart-table {
  width: 100%;
}

table.j2store-cart-table th, table.j2store-cart-table td {
 text-align: left;
}

table.j2store-cart-table td {
 border-top: #f0f0f0 1px solid;
 padding: 5px 0px;
}

.j2store-cart .row {
 display: block;
 width: 100%;
}

.j2store-cart .row .col-md-12 {
 float: none;
 width: 100%;
 margin-bottom: 15px;
 padding: 0px;
}

.j2store-cart .row .col-md-6 {
 float: left;
}

.j2store-cart .row .col-md-6:nth-child(1) {
 width: 60%;
 background: #e2e2e2;
}

.j2store-cart .row .col-md-6:nth-child(2) {
 width: 29%;
}

table.j2store-cart-table td.cart-line-subtotal, table.cart-footer td {
 text-align: left;
}

div.j2store-cart-buttons {
 border-top: 1px solid #ccc;
 padding: 10px 0px;
 margin: 10px 0px 20px;
}

div.j2store-cart-buttons div.buttons-left {
 width: 30%; 
}

div.j2store-cart-buttons div.buttons-right {
 float: left;
}

div.cart-estimator-discount-block {
 line-height: 22px;
 padding: 10px;
 margin-top: 0px;
}

.j2store-cart h3 {
 margin: 0px 0px 5px;
}

.j2store-cart table.cart-footer {
 width: 100%;
}

.j2store-cart table.cart-footer th {
 text-align: left !important;
}

.j2store-cart table.cart-footer td {
 text-align: right;
}

.j2store-cart .cart-checkout-button {
}

.j2store-cart .cart-checkout-button a {
 	background: #06aa88;
    display: block;
    padding: 12px;
    text-decoration: none;
 	margin: 15px 0px 0px;
    color: #ffffff;
    font-size: 14px;
	text-align: center;
	text-decoration: none;
}

.j2store-cart .cart-checkout-button a:hover {
	box-shadow: 0px 0px 15px #777;
}

div.checkout-content div.row > div {
	width: 45%;
}

div.checkout-content label {
	display: inline-block;
	width: 40%;
	margin-right: 3%;
}

div.checkout-content textarea {
	height: 120px;
}

div.checkout-content input[type=text], div.checkout-content input[type=password], div.checkout-content select, div.checkout-content textarea  {
	margin: 0px 10px 10px 0px;
	width: 50%;
}

div.checkout-content span.j2store_field_required {
	position: absolute;
	margin-left: -10px;
}

div.tab-pane {
	display: none;
}

div.tab-pane.active {
	display: block;
	border: 1px solid #d2d2d2;
	padding: 16px;
}

div.tab-pane table {
	width: 100%;
}

div.tab-pane table tr td, div.tab-pane table tr th {
	text-align: left;
}

ul.nav-tabs {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

ul.nav-tabs li {
	display: inline-block;
	background: #f2f2f2;
}

ul.nav-tabs li.active {
	background: #ffffff;
	padding-bottom: 2px;
}

ul.nav-tabs li a {
	padding: 16px;
	display: inline-block;
	border: 1px solid #d2d2d2;
	border-bottom: none;
	border-radius: 6px 6px 0px 0px;
	text-decoration: underline;
}

div.row-fluid div strong {
	width: 50%;
	display: inline-block;
}

ul.loginLinks {
	list-style: none;	
	margin: 15px 0px 0px;
	padding: 0px;
}

ul.loginLinks li {
	display: inline-block;
}

ul.loginLinks li a {
	padding: 4px;
	margin-right: 15px;
	display: inline-block;
}

@media screen and (min-width : 0px) and (max-width : 480px) {
	

	.j2store-products-row div.span4 {
  	 background: #ebebeb;
  	 display: inline-block;
  	 width: 85%;
  	 margin-left: 5%;
	 margin-right: 5%;
     margin-bottom: 16px;
  	 padding: 16px 2%;
  	 position: relative;
    }

}


@media screen and (min-width : 480px) and (max-width : 820px) {
	

	.j2store-products-row div.span4 {
  	 background: #ebebeb;
  	 display: inline-block;
  	 width: 55%;
  	 margin-left: 20%;
	 margin-right: 20%;
     margin-bottom: 16px;
  	 padding: 16px 2%;
  	 position: relative;
    }

}

@media screen and (min-width : 320px) and (max-width : 960px) {
	


	div.j2store-cart-buttons {
	 width: 100%;
 	 float: none;
	 display: block;
	}

	div.j2store-cart-buttons div.buttons-left {
		width: 60%;
	}

	div.j2store-cart-buttons div.buttons-right {
		width: 30%;
	}

	.j2store-cart .row .col-md-6 {
	 float: none;
	 display: block;
	 width:93% !important;
	}

	div.checkout-content div.row > div {
		width: 90%;
	}

	div.checkout-content input[type=text], div.checkout-content input[type=password], div.checkout-content select, div.checkout-content textarea  {
		margin: 0px 10px 10px 0px;
		width: 50%;
	}


	div.checkout-content label {
		display: inline-block;
		width: 40%;
		margin-right: 2%;
	}

}