/* Product Listing Image */

/*
 *  Code changed on: May 26, 2014;
 * 	Fixed issue: Category image gets resized
 * 	
 * 	Image now has max-width 100%. So, it will only resized if the image is bigger than the limit for the layout (978px)
*/
#categoryImgListing {
	max-width: 978px;
	text-align: center;
	margin: 0 auto 15px;
}

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

/*
 *  End Code changed on: May 26, 2014;
*/

#indexProductList #navBreadCrumb {
	display: none;
}

/* category */
#indexCategoriesHeading {
	display: none;
}

/* Product Listing Category Description */
#indexProductListCatDescription,
#categoryDescription {
	font-size: 14px; /* 13px/16px */
	margin: 0 0 30px;
}

/* tools product listing */
.tools-product-listing {
	background: #E2E3DF;
	padding: 0 10px;
	font-size: 14px;
	line-height: 26px;
	overflow: hidden;
	margin-bottom: 20px;
}

.tools-bottom {
	display: block;
	padding-top: 25px;
	margin-bottom: 2em
}

.nmx-products-list + .tools-bottom {
	padding-top: 0;
}

	.tools-bottom .tools-product-listing {
		margin-bottom: 0;
	}

#productListing .top-add-cart {
	margin: 24px 0 21px;
	text-align: left;
}

	.sort-listings-wrapper,
	.quantity-products,
	.links-pagination a,
	.links-pagination strong {
		margin-bottom: 6px;
		margin-top: 6px;
	}

	/* Product Listing Sort By */
	.sort-listings-wrapper {
		float: left;
		white-space: nowrap;
	}

		.sort-listings-wrapper .btn-filter {
			color: inherit;
			display: none;
			float: left;
			margin-right: 12px;
			padding-right: 9px;
			border-right: 1px solid #FFF;
			height: 25px;
		}

			.sort-listings-wrapper .nmn-icon-menu {
				font-size: 25px;
			}

		.sort-listings-wrapper label,
		form[name="filter"] label,
		#sorter label {
			float: left;
			font-size: 14px;
			line-height: 24px;
			font-weight: bold;
			margin: 0 4px 0 0;
		}

		.sort-listings-wrapper select,
		form[name="filter"] select,
		#sorter select {
			border: 1px solid #bbbcb8;
			height: 24px;
			margin-bottom: 0;
			max-width: 150px;
		}

	.quantity-products {
		float: right;
		width: auto;
	}

	/* pagination */
	.links-pagination,
	.navSplitPagesLinks {
		border-left: 1px solid #FFF;
		float: right;
		margin-left: 10px;
		padding: 6px 0 6px 10px;
	}

	.links-pagination {
		padding-bottom: 0;
		padding-top: 0;
	}

	.navSplitPagesLinks:empty {
		display: none;
	}

		.links-pagination a,
		.links-pagination strong {
			background-color: #FFF;
			color: #2E3233;
		    display: inline-block;
			line-height: 100%;
			margin-left: 5px;
		    padding: 6px 9px;
			vertical-align: middle;
		}

		.links-pagination strong {
			color: #3b859e;
		}

		.links-pagination a:first-child,
		.links-pagination strong:first-child {
			margin-left: 0;
		}

		.links-pagination .next,
		.links-pagination .prev {
			position: relative;
			padding: 2px 2px 3px;
		}

			.links-pagination .next-button,
			.links-pagination .prev-button {
				display: inline-block;
				font-size: 21px;
    			vertical-align: middle;
			}

			.links-pagination .prev-button {
				top: 1px;
				position: relative;
			}

/* Product Listing Grid Layout */
.nmx-products-list {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
	overflow: hidden;
}

h2 + .nmx-products-list {
	margin-top: 0;
}

.nmx-products-list.no-product {
	margin: 0
}

	.nmx-products-list.no-product .nmx-product {
		float: none;
		padding-left: 0;
		width: auto;
	}

	.nmx-product {
		padding: 0px 6px;
		overflow: hidden;
		padding: 0px 15px;
		position: relative;
		border: 1px solid #e2e3df;
		/*margin: 0 1% 6px 0;*/
		margin:0px auto;
		margin-bottom: 5em;
		background-color: #fff;
	}
	.owl-wrapper-outer .nmx-product, .owl-wrapper-outer .nmx-product:hover{border:none;}
	
	.nmx-products-list .nmx-product {
		position:relative;
		float: left;
		/*margin-bottom: 5em;*/
		/*width: 33.3%;*/
		width: 32.2%;
		padding-bottom:3.75em;
		border-radius:4px;
	}
	
	.plist_data_bottom a {
		padding:0px !important;
	}
	.nmx-products-list .plist_data_bottom {
		position:absolute;
		bottom:0;
		left:0;
		width:100%;
		padding:4px;
		background:#CCC;
		border-radius: 0px 0px 4px 4px;
		height:38px;
	}

	.nmx-product:hover, .owl-wrapper-outer .owl-item:hover{
		border: 1px solid #caf200;
	}

	.nmx-products-list .nmx-product:nth-child(3n+1) {
		clear: left;
	}

	.nmx-products-list.no-product li.productListing {
		display: block;
		width: auto;
		float: none;
		height: auto;
		padding: 0;
	}

	/*.nmx-products-list li.productListingL {
		margin-right: 0;
	}*/

		/* Product Listing Layout */
		.plist_data_top{height:32px;}
		.nmx-product-badge {
			/*position: absolute;
			left:0;
			z-index: 1;*/
		}
			
			.nmx-product-badge{
				float: left;
				margin-right:.5em;
				margin-left: -1em;
			}
			
			.nmx-product-badge span:nth-child(1){border-radius:5px 0px 0px 0px;}

			.nmx-product-badge span {
				border: 2px solid #fff;
				border-left: none;
				border-top: none;
				color: #fff;
				font-size: 14px;
				font-weight: bold;
				height: 24px;
				line-height: 22px;
				padding: 4px 10px;
				vertical-align: top;
			}

			.nmx-product-badge .badge-special {
				background: #FFA500;
			}

			.nmx-product-badge .badge-sale {
				background: #d81f26;
			}

			.nmx-product-badge .badge-new {
				background: #3b859e;
			}

			.nmx-product-badge .badge-free {
				background: #2e3233;
			}

		.nmx-products-list *:not(.nmx-product-badge) + .nmx-product-image {
			margin-top: 5px;
		}
		
		/* ---------------------------
		/* Lazy loading
		*/
		.nmx-lazy-wrapper {
		  position: relative;
		  display: block;
		}

		.nmx-lazy-loading {
		  display: none; /* if should appear only if it's a lazy load image */
		}

		  .nmx-lazy-wrapper .nmx-lazy-loading {
		    background: url(../images/nmx-loading.svg) no-repeat center;
		    display: block;
		    position: absolute;
		    right: 0;
		    top: 0;
		    left: 0;
		    bottom: 0;
		  }

		  .nmx-lazy-wrapper .lazyloaded + .nmx-lazy-loading {
		    display: none;
		  }
		
		/* images */
		.nmx-product-image {
			/*position: relative;
			margin-top:1.5em;*/
			height:200px;
		}

			.nmx-product-image a {
				display: block;
				margin-bottom: 0 !important;
			}

				.nmx-product-image img {
					display: block !important;
					margin: 0 auto;
					max-width: 100%;
					height: auto;
				}

		/* title */
		.nmx-product-title{height: 4em;max-height: 4em; overflow:hidden;}
		
		.nmx-product-title,
		.nmx-product-title strong {
			margin: .5em 0 4px;
			font-size: 18px;
			font-weight: normal;
			line-height: 1.3em;
			display: block;
		}

		.nmx-product-title strong {
			margin: 0;
		}
		
		.nmx-product-title h3 {
			font-size:24px;
		}

			.nmx-product-title a {
				color: inherit;
				display: block;
				text-decoration: none;
			}
			
	.list-price span{float:left; clear:left;}
	
	span.mfgLink, div.list-model{position: absolute;top:.75em;}
	span.mfgLink{left:10px;}
	div.list-model{right:10px;}
	
	.nmx-product .button_buy_now{
	/* DIV LI SWAP
		position: absolute;
		right: 0;
		bottom: 0;
		margin: 0 .25em .25em 0;*/
	}
		/* model/manufacturer */
		.nmx-product-manufacturer, .nmx-product-model{float:left;}
		.nmx-product-model{float:left;clear:both;}
		.nmx-product-model,
		.nmx-product-manufacturer {
			display: block;
			font-size: 14px;
			line-height: 100%;
			margin: 3px 0;
		}

		/* stars */
		.nmx-product .nmx-rating-wrap {
			/*position:absolute;
			top:0;
			right:0;
			margin-bottom: 7px;*/
			line-height: 100%;
			max-height: 20px;
			margin-right: -0.75em;
			
		}
		
		.info-rating .nmx-rating-wrap {
			/*position:absolute;
			top:0;
			right:0;*/
			line-height: 100%;
			margin-bottom: 7px;
			/*max-height: 20px;*/
			
		}

			.nmx-rating-wrap > span {
				float: right;
				position: relative;
			}

			.nmx-rating-wrap .review-stars,
			.nmx-star-rating a /* write reviews */ {
				color: #e8760c;
				font-size: 18px;
				margin-right: 5px;
			}

				.nmx-rating-wrap .review-stars-off {
					letter-spacing: -3px;
					white-space: nowrap;
				}

				.nmx-rating-wrap .review-stars-on {
					overflow: hidden;
					position: absolute;
					left: 0;
					top: 0;
				}

			.nmx-rating-wrap .review-qty:after {clear:both;}
			
			.nmx-rating-wrap .review-qty {
				font-size: 12px;
				font-size: 12px;
				/*top: 2px;*/
				clear: both;
				margin-right: 5px;
			}

		
		.nmx-tab-client-reviews {
			position: relative;
		}

		.nmx-rating-wrap--overall {
			margin-top: 5px;
		}

			.nmx-rating-wrap--overall span:first-child {
				margin-right: 10px
			}

		.btn-write-review {
			color: #3B859E;
		    font-size: 14px;
		    font-weight: bold;
		    position: absolute;
		    right: 0;
		    text-decoration: underline;
		    top: -1px;
		}

		.btn-write-review:hover {
			color: #174d5f
		}

		.comments-wrap {
			list-style-type: none;
			padding-left: 0
		}
			
			.comments-wrap li {
				border-top: 1px solid #aab5b9;
				margin-top: 14px;
				padding-top: 18px
			}

			.comments-wrap li:first-child {
				margin-top: 0;
			}

				.rating-wrap--comments-header {
					margin-bottom: 10px;
				}

					.rating-wrap--comments-header .note-stars {
						margin-right: 10px
					}

					.comment-title {
						font-weight: bold;
					}

				.comments-details {
					color: #585d50;
					margin-bottom: 10px;
				}

					.comments-details .comment-author {
						color: #2e3233;
						display: inline-block;
						margin-right: 10px
					}

				.comments-body {
					line-height: 18px
				}
			
			
		/* price */
		.nmx-product-price {
			display: block;
		    font-size: 26px;
			font-weight: bold;
		    overflow: hidden;
		    line-height: 100%;
			margin:1em 0px;
			text-align:right;
		}
		
		h1 + .nmx-product-price {
			margin-top: 12px;
		}

		.rating-wrap + .nmx-product-price {
			margin-top: 6px;
		}

		.nmx-product-price:empty {
			display: none;
		}

		.nmx-product-price > span:first-child {
			margin-top: 0;
		}

			.nmx-product-price br {
				display: none;
			}

			.nmx-product-price .normalprice,
			.nmx-product-price .nmx-product-price s {
			    color: #959694;
			    font-weight: normal;
			    text-decoration: line-through;
				font-size:18px;
			}

			.nmx-product-price .productSpecialPrice,
			.nmx-product-price .productSpecialPriceSale,
			.nmx-product-price .productPriceDiscount {
				color: #d81f26;
				font-weight: bold;
			}
			
			
			
			.nmx-product-price .productSalePrice,
			.nmx-product-price .productPriceDiscount,
			.nmx-product-price .button_sold_out_sm {
			    clear: both;
			    display: block;
			    font-size: 12px;
			    margin-top: 2px;
			}
			
			.nmx-product-price .productSalePrice,
			.nmx-product-price .productPriceDiscount{
				font-size:18px;
			}
			
			
			.productSalePrice + .productPriceDiscount {
				margin-top: 0;
			}

			.button_sold_out_sm,
			.button_sold_out_smHover,
			.button_sold_out_smHover:hover {
				background: none !important;
				cursor: default;
				padding: 0 !important;
				font-size: 14px;
				width: auto !important;
				margin-top: 8px
			}

			.nmx-product-price .badge,
			.product-add-cart .badge {
				background: #3B859E;
				color: #fff;
				display: inline-block;
				padding: 5px 8px;
				font-size: 12px;
				line-height: 100%;
				margin-top: 9px;
			}

			.nmx-product-price .badge ~ .badge,
			.product-add-cart .badge ~ .badge {
				margin-left: 9px;
			}
			
			/* no need because it shows the call for price button */
			.nmx-products-list .nmx-product-price .call-price-badge {
				display: none;
			}


		.plist_data_box{
			position:absolute;
			bottom:2px;
			left:2px;
		}
		.nmx-product-add-cart {
			font-size: 12px;
			margin-top: 15px
		}

			.nmx-product-add-cart span {
				display: inline-block;
				margin-right: 9px;
			}

			.nmx-product-add-cart input[type="text"] {
				max-width: 42px;
				margin-bottom: 0;
				text-align: center;
			}

			.nmx-product-add-cart input[type="text"] + br + img {
				margin-top: 15px;
			}

		.nmx-products-list .call_price_button {
			margin-top: 12px;
		}
		
		/* button buy after price*/
		.nmx-product-price + a {
			display: inline-block;
			margin-top: 15px;
		}

/* description */
.nmx-product-description {
	font-size: 16px;
	line-height: 28px;
	height:160px;
	max-height:160px;
	overflow:hidden;
	color:#4f4f4f;
}

/* Turn Product Listing More Info Off */
#productListing .more-info,
#productListing .more-info + br,
#productListing .more-info + br + a,
.product-description {
	font-size: 12px;
}

#productListing .more-info {
	margin-top: 9px;
	display: none !important;
}

	#productListing .more-info + br { display: none; }

	#productListing .more-info,
	#productListing .more-info + br + a {
		display: block;
	}




/*BOF Featured Products Page*/
#features-product-listing{display:flex; flex-wrap:wrap;}
.featuredProductWrap{
	float:left;
	width:46%;
	margin:1em auto;
	padding:1em;
	border: solid 1px #ccc;
	border-radius:4px;
}

/*EOF Featured Products Page*/




@media only screen and (max-width: 1200px) {
	.list-more{
		padding:8px 10px;
	}
}
@media only screen and (max-width: 978px) {

	#productListing .top-add-cart {
		display: none;
	}


	.nmx-products-list .nmx-product {
		width: 49%;
		margin-bottom: 4em;
	}

	.nmx-products-list .nmx-product:nth-child(3n+1) {
		clear: none;
	}

	.nmx-products-list .nmx-product:nth-child(2n+1) {
		clear: left;
	}
}

@media only screen and (max-width: 850px) and (min-width: 769px), (max-width: 520px) {

	/* 
	 *	product listing products
	 *	2 products per line
	*/
	/*
	.nmx-products-list .nmx-product {
		width: 50%;
	}

	.nmx-products-list .nmx-product:nth-child(3n+1) {
		clear: none;
	}

	.nmx-products-list .nmx-product:nth-child(2n+1) {
		clear: left;
	}
	*/
}

@media only screen and (max-width: 667px) {

	/* product listing */
	.nmx-products-list .nmx-product {
		margin-bottom: 3em;
	}

	/* pagination */
	.tools-bottom .tools-product-listing {
		display: block;
	}
	
	.tools-bottom .quantity-products {
		display: none;
	}

	.tools-bottom .links-pagination {
		display: block;
		float: none;
		text-align: center;
		margin-left: 0;
		padding-left: 0;
		border-left: none;
	}

	/* price */
	.nmx-product-price {
		font-size: 26px;
	}
.nmx-products-list .nmx-product {
			float: none;
			/*width: auto;*/ /*original in tableau*/
			width: 100%;
			padding: 0px 4px 4px 4px;
		}

}

@media only screen and (max-width: 435px) {

	/*
	 * 	remove product quantity from header tools
	*/
	.quantity-products {
		display: none;
	}

	/* 
	 *	product listing products
	 *	just one product per line with image floating at the left side
	*/
	.nmx-products-list {
		margin-left: 0;
		margin-right: 0;
	}
	.nmx-product {
		padding: 0px;
	}
		.nmx-products-list .nmx-product + .nmx-product {
			/*border-top: 1px solid rgba(0, 0, 0, 0.1);
			padding-top: 18px;*/
		}

		.nmx-products-list .nmx-product {
			float: none;
			/*width: auto;*/ /*original in tableau*/
			width: 100%;
			padding: 0px 8px 3.75em 14px;
			margin-left: 2px;
		}

		.nmx-products-list .nmx-product .nmx-product-image {
			/*float: left;
			margin-left: -119px;*/ /* same as padding-left in .nmx-products-list .nmx-product */
			/*width: 102px; */
		}

		.nmx-products-list .nmx-product .nmx-product-image + [class*="product-"] {
			margin-top: 0;
		}

	.nmx-product-badge {
		left: 0;
	}

}

/* hidden stuff */
	
	/* free image (javascript replaces it with span for easier customization) */
	.nmx-product-price img[src*='free.gif'],
	.nmx-product-price img[src*='free.jpg'],
	.nmx-product-price img[src*='free.png'],
	.product-add-cart img[src*='always-free-shipping.gif'],
	.product-add-cart img[src*='always-free-shipping.jpg'],
	.product-add-cart img[src*='always-free-shipping.png'] {
		display: none !important;
	}

	/* call for price image (javascript replaces it with span for easier customization) */
	.nmx-product-price img[src*='call_for_prices.gif'],
	.nmx-product-price img[src*='call_for_prices.jpg'],
	.nmx-product-price img[src*='call_for_prices.png'] {
		display: none !important;
	}
