/* Column Left */
/* Main Product Image */
#productMainImage {
  position: relative;
}

/* loading image */
#productMainImage:before {
  background: url(../images/loading.svg) no-repeat center center;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.7);
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  vertical-align: middle;
  text-align: center;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  transition: 0.5s all;
}

#productMainImage.is--loading:before {
  opacity: 1;
  z-index: 2;
}

#productMainImage a {
  display: block;
}

#productMainImage img {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

#productMainImage .imgLink,
#productMainImage br {
  display: none;
}

/* Additional Images */
.additional-images {
  margin-top: 15px;
}

.additional-images:not(.owl-carousel) {
  margin-left: -5px;
  margin-right: -5px;
  overflow: hidden;
}

.additional-images.owl-carousel {
  margin-left: 0;
  margin-right: 0;
  padding: 0 15px;
}

.additional-images.owl-carousel .owl-buttons {
  display: block;
}

.additional-images .owl-wrapper-outer {
  z-index: 1;
}

.additional-images:not(.owl-carousel) div {
  float: left;
  width: 20%;
}

.additional-images:not(.owl-carousel) div,
.additional-images .owl-item {
  padding: 0 5px 1px;
}

.additional-images a {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 4px;
  display: block;
}

.additional-images a.current,
.additional-images a:hover {
  border-color: #3300ff;
}

.additional-images span {
  display: block;
  position: relative;
}

.additional-images span:before {
  content: "";
  display: inline-block;
  padding-top: 120%;
}

.additional-images span span,
.additional-images img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  height: auto;
  max-height: 100% !important;
}

/* overwrite nmx-owl-carousel */
.nmx-owl-carousel .owl-buttons {
  top: 50%;
}

.additional-images .owl-buttons > div {
  height: 18px;
  line-height: 18px;
}

.additional-images .owl-prev,
.additional-images .owl-next {
  margin-left: 0;
  margin-right: 0;
}

.additional-images .owl-prev:before {
  border-width: 6px 10.4px 6px 0;
}

.additional-images .owl-next:after {
  border-width: 6px 0 6px 10.4px;
}

/* column right */
/* product title */
h1 {
  margin-bottom: 0;
}

/* product reviews */
.info-rating {
  margin-bottom: 12px;
  margin-top: 9px;
}

.rating-wrap--details {
  overflow: hidden;
}

.rating-wrap--details .nmx-rating-wrap {
  float: left;
  margin-bottom: 0;
}

.rating-wrap--details .review-stars {
  font-size: 21px;
}

.rating-wrap--details .review-qty {
  vertical-align: middle;
}

/* price */
.nmx-product-price {
  margin-bottom: 14px;
}

/* no need for it because add to cart button will have the same content */
.productinfo .call-price-badge {
  display: none;
}

/* Attributes */
.wrapperAttribsOptions {
  clear: left;
  overflow: hidden;
}

.attributesComments {
  margin-bottom: 5px;
  font-size: 16px;
}

.attributesComments:empty {
  display: none;
}

form .wrapperAttribsOptions br {
  display: block;
}

.wrapperAttribsOptions .inputLabel,
.wrapperAttribsOptions label,
.qty-wrapper label {
  font-size: 14px;
  font-weight: bold;
}

.wrapperAttribsOptions .inputLabel,
.qty-wrapper label {
  margin-bottom: 2px;
}

.wrapperAttribsOptions .radioButtonLabel,
.wrapperAttribsOptions .checkboxLabel,
.wrapperAttribsOptions .attribsRadioButton,
.wrapperAttribsOptions .attribsCheckbox {
  float: left;
  font-weight: normal;
  margin-bottom: 5px;
  max-width: none;
}

.wrapperAttribsOptions .attribsUploads ~ .attribsUploads {
  margin-top: 10px;
}

.wrapperAttribsOptions .radioButtonLabel:last-of-type,
.wrapperAttribsOptions .checkboxLabel:last-of-type,
.wrapperAttribsOptions .attribsRadioButton:last-of-type,
.wrapperAttribsOptions .attribsCheckbox:last-of-type {
  margin-bottom: 9px;
}

/* inputs */
.wrapperAttribsOptions input[type="checkbox"],
.wrapperAttribsOptions input[type="radio"] {
  float: left;
  clear: left;
}

.wrapperAttribsOptions input[type="text"] + .option-details,
.wrapperAttribsOptions input[type="file"] ~ .option-details {
  display: block;
  font-size: 12px;
  margin-top: -9px;
  margin-bottom: 9px;
}

.wrapperAttribsOptions .attribsSelect {
  display: inline-block;
}

.wrapperAttribsOptions .inputLabel:after {
  content: ":";
}

#productAttributes select + select {
  margin-top: 12px;
}

.attribImg {
  display: inline-block;
  margin: 5px 9px 5px 0;
}

.attribImg + .hiddenField + .wrapperAttribsOptions {
  margin-top: 10px;
}

.attribImg img {
  float: left;
  margin-right: 9px;
}

.attribImg br,
.attribImg + br {
  display: none;
}

.attribImg + .wrapperAttribsOptions {
  margin-top: 5px;
}

/* Product Price, QTY, Add To Cart Button */
#cartAdd {
  display: block;
  float: none;
  margin: 0;
}

/* quantity */
.qty-box {
  display: table;
}

.qty-box > * {
  display: table-cell;
}

.qty-wrapper input[type="text"] {
  margin: 0;
  text-align: center;
}

.qty-box .btn,
.qty-box .btn.is-disable:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px 0 0 2px;
  background: #f6f6f3;
  color: #959694;
  height: 30px;
  width: 30px;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  opacity: 1;
}

.qty-box .btn-descrease {
  border-right: none;
}

.qty-box .btn-increase {
  border-radius: 0 2px 2px 0;
  border-left: none;
}

.qty-box .btn.is-disable {
  opacity: 0.7;
  cursor: default;
}

.qty-box .btn:hover,
.qty-box .btn:focus {
  background: #e4e4e4;
  opacity: 1;
}

.qty-box .btn > span {
  position: relative;
  top: 2px;
}

.qty-box .in-stock {
  padding-left: 20px;
  font-size: 14px;
}

.qty-wrapper small {
  display: block;
  font-weight: normal;
  margin-top: 6px;
}

.qty-wrapper small br {
  display: block;
}

/* button add to cart */
.btn-add-cart {
  margin-top: 18px;
}

#cartAdd .cssButton,
#cartAdd .cssButtonHover {
  font-size: 20px;
  padding-top: 12px;
  padding-bottom: 13px;
  width: 100%;
  max-width: 246px;
  margin-top: 0;
  text-align: center;
}

#cartAdd .button_sold_out,
#cartAdd .button_sold_outHover {
  background-color: transparent;
  color: #d81f26;
  cursor: default;
  font-weight: bold;
  margin-top: 10px;
  padding: 0;
  text-align: left;
  text-indent: -4px;
}

.qty-limits {
  margin-bottom: 0;
}

.qty-limits:empty {
  display: none;
}

/* Quantity Discount */
#productQuantityDiscounts {
  /*display: none;*/
  font-size: 14px;
  position: relative;
  top: 31px;
  left: 245px;
  padding-left: 30px;
  height: 0;
  z-index: 999;
}

#productQuantityDiscounts:before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  height: 15px;
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
}

#discount-table {
  box-shadow: 0px 1px 4px rgb(144, 143, 143);
  display: none;
  width: 100%;
  max-width: 250px;
  padding: 20px 22px;
  background: #fff;
  color: #201e1f;
  border-radius: 4px;
  margin-top: 18px;
  margin-left: -14px;
  position: relative;
}

/*#discount-table:before {
		content: "";
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 12px 12px 12px;
		border-color: transparent transparent #ffffff transparent;
		position: absolute;
		top: -12px;
		left: 113px;
	}*/

#discount-table td,
#discount-table th {
  padding: 5px;
  text-align: center;
  text-transform: none;
  width: 50%;
}

#discount-table tr td:first-child {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Social Network Buttons */
.social-wrapper {
  position: relative;
  margin: 0 0 -12px;
  padding: 18px 0 12px;
}

.facebook-like-button {
  position: relative;
  top: 3px;
}

#googlePlusOneButton {
  position: absolute;
  top: 18px; /* This number needs to be same as padding for .social-wrapper */
  left: 100px;
}

#pinitButton {
  position: absolute;
  top: 20px; /* This number needs to be same as padding for .social-wrapper */
  left: 190px;
}

/* tabs */
.product-additional-info {
  margin-top: 40px;
  outline: none;
}

.product-additional-info ul[role="tablist"] {
  margin-bottom: 17px;
}

/* product features */
.product-features {
  margin: 0;
}

/* also purchased */
.related {
  margin-top: 10%;
}

.related h2 {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 8px;
  margin-bottom: 18px;
  margin-top: 0;
  line-height: 100%;
}

/* responsive */
@media only screen and (max-width: 767px) {
  /* overwrite bootstrap*/
  .product-container .col-xs-5,
  .product-container .col-xs-7 {
    float: none;
    max-width: none;
    width: auto;
  }

  .product-container .col-xs-7 {
    margin-top: 30px;
  }

  .product-container .col-xs-5 {
    max-width: 402px;
  }

  /* */
}

@media only screen and (max-width: 667px) {
  /* pagination */
  .tools-product-listing {
    display: none;
  }
}

@media only screen and (max-width: 568px) {
  .related {
    margin-top: 25%;
  }

  .related h2 {
    font-size: 16px;
  }
}

@media only screen and (max-width: 414px) {
  #cartAdd .cssButton,
  #cartAdd .cssButtonHover {
    max-width: none;
  }
}

/* extra stuff */
.product-date-added,
.product-date-available {
  font-size: 0.875em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  padding-top: 15px;
}

#productDateAdded,
.product-container ~ .tools-product-listing {
  margin-bottom: 0;
}

.product-container ~ .product-date-added,
.product-container ~ .product-date-available,
.product-container ~ .tools-product-listing {
  margin-top: 42px;
}

.tools-product-listing ~ .product-date-added,
.tools-product-listing ~ .product-date-available {
  margin-top: 42px;
}

/*#productQuantityDiscounts,*/
#middle-column-wrapper #navBreadCrumb {
  display: none;
}
