
/* general tweaks */
.nice-select .list {
	max-height: 250px !important;
	overflow: auto !important;	
}



/* alternative products images */
.compare_alt_img {
	display: inline-block;
	position: relative;
	font-size: 0;
	width: 50px !important;
	height: 50px !important;
	padding: 2px !important;
	border: 1px solid #ddd;
	background: no-repeat center center #fff;
	background-size: contain;
	background-origin: content-box;
	margin: 0 2px !important;
	cursor: pointer; 
	transition: all .3s ease-in-out;	
}
.compare_alt_img img {
	display: none !important;	
}
.compare_alt_img:hover {
	z-index: 5;
	transform: scale(1.12);	
	box-shadow: 0 0 3px rgba(0,0,0, 0.1);	
}
.compare_alt_img span {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	font-size: 20px;
	color: #fff;
	text-align: center;
	line-height: 50px;
	text-shadow: 0 0 3px rgba(0,0,0, 0.3);
	font-family: arial;
	font-weight: normal;
}



/* products search */
@media screen and (min-width: 1400px) { 
	.aps_search_results_wrap .col_wrap_three .col_item {
		width: 22%;
	}
}
.aps_better_product_seach_img {
	width: 100%;
	height: 0;
	display: inline-block;
	background: transparent no-repeat center center;
	background-size: contain !important;
	padding-bottom: 100%;
}
.aps_search_results_wrap .button_action {
	background: none;
	margin: 5px 7px 0 0;
	font-size: 1.2em;	
}
.aps_search_results_wrap .wpsm-button.white:hover {
	background: none;
	box-shadow: none;	
}
.search_res_alt_imgs_wrap {
	margin-top: 25px;
	position: relative;
	z-index: 10;
}
.aps_paginator form {
	word-spacing: 2px;	
}
.aps_paginator .nice-select {
	float: none; 
	display: inline-block; 
	margin: 0px 4px;
}
.aps_search_shop_logo {
	max-height: 20px;
	display: inline-block;
	paddin-left: 3px;
	margin-top: -5px;
}

.aps_search_results_wrap .rh_gr_img_first {
	background: #fff;
	box-shadow: 0 0 0 20px #fff;
	margin-right: 20px;	
}
.aps_search_results_wrap div.product {
	overflow: hidden;	
	background: #f8f8f8;
	margin-bottom: 30px;
}
.aps_search_results_wrap .woocommerce-Price-amount {
	font-family: arial;	
	font-size: 120%;
}
.aps_search_results_wrap .onsale {
	transform: rotate(-45deg);
	padding: 6px 35px !important;
	position: absolute;
	top: -12px;
	bottom: auto;
	left: -50px;
	letter-spacing: 0.03em;
}
.aps_search_results_wrap .rh_gr_middle_desc p {
	margin: 0 0 20px !important;	
}
.aps_long_txt:not(.aps_long_txt_shown) {
	max-height: 115px;
	overflow: hidden;
	position: relative;
}
.aps_long_txt:not(.aps_long_txt_shown):after {
	content: "";
	display: block;
	height: 70px;
	background: linear-gradient(0deg, rgb(248, 248, 248) 0%, rgb(248, 248, 248) 45%, rgba(248, 248, 248,0) 100%);
	width: 100%;
	position: absolute;
	z-index: 10;
	bottom: 0;
}
.aps_long_txt > span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
	z-index: 30;
	color: #777;	
	transition: color .25s ease;
}
.aps_long_txt > span:hover {
	color: #3a3a3a;	
}
.aps_long_txt_shown > span {
	display: none;	
}
.aps_search_shop_logo {
	max-height: 24px;
	display: inline-block;
	max-width: 100px;
}
.aps_search_bikeinn_logo {
	max-height: 20px;	
}
.aps_search_crc_logo {
	max-height: 26px;	
}
.aps_search_amazon_prime_logo,
.aps_search_nencini_logo,
.aps_search_myprot_logo {
	max-width: 110px;	
}
.aps_search_results_wrap .meta.post-meta span {
	line-height: 13px;
	padding-left: 1px;
}
@media screen and (min-width: 769px) { 
	.aps_search_results_wrap .meta.post-meta {
		position: absolute;
		bottom: 15px;
		line-height: 0;
		text-align: center;
	}
	.aps_search_results_wrap .rh_gr_middle_desc {
		padding-bottom: 35px;	
	}
}
@media screen and (max-width: 768px) { 
	.aps_search_results_wrap .rh_grid_image_3_col {
		display: block;
	}
	.aps_search_results_wrap .rh_gr_img_first {
		box-shadow: 0 -8px 0 20px #fff;
		margin: 0 0 25px
	}
	.aps_search_results_wrap .rh_gr_img_first > figure {
		margin: 0 auto !important;
		display: block;
		position: static !important;
	}
	.aps_search_shop_logo {
		position: relative;
		bottom: -2px;
	}
	.aps_search_results_wrap .onsale {
		top: 8px;
		left: -33px;	
	}
	.aps_search_results_wrap .pricefont110 {
		margin-top: 20px;	
	}
}

.aps_paginator_prev,
.aps_paginator_next {
	font-size: 90%;	
}
.aps_paginator_prev {
	float: left;
	margin: 3px 0 0 !important;	
}
.aps_paginator_next {
	float: right;
	margin: -31px 0 0 !important;	
}
.aps_paginator_prev i,
.aps_paginator_next i {
	position: relative;
	bottom: -1px;	
}
.aps_paginator_prev i {
	padding-right: 5px;	
}
.aps_paginator_next i {
	padding-left: 5px;	
}
.aps_disabled_btn {
	visibility: hidden !important;	
}
@media screen and (max-width:750px) { 
	.aps_paginator_prev,
	.aps_paginator_next {
		display: none !important;	
	}
}




/* products search - sidebar filters */
.aps_sidebar_filter form {
	background: #f8f8f8;
	padding: 12px 17px 14px;
	border: 1px solid #e3e3e3;
	margin-top: -23px;
}
.aps_sidebar_filter label {
	margin-bottom: 10px;
	display: block;
}
.aps_sidebar_filter hr:first-of-type {
	clear: both;
	position: relative;
	top: -5px;
}
.aps_sidebar_filter hr {
	margin: 18px 0;
}
.aps_sidebar_filter .woocommerce-widget-layered-nav-list {
	font-size: 13px;	
}
.aps_sidebar_filter .price_slider_amount {
	position: relative !important;
	top: -16px !important;	
}
.aps_discount_slider .ui-slider-handle:last-child { 
	display: none !important; /* trick to take advantage of theme's style */	
}
.aps_sel_all_shops, .aps_sel_no_shops {
	background: #e4e4e4;
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .07em;
	margin-left: 10px;
	position: relative;
	top: -1px;
}
.aps_sel_no_shops {
	margin-left: 6px;	
}





/* products search - adsense banner */
.aps_insearch_ads {
	margin-bottom: 30px;	
}
.aps_insearch_ads * {
	max-width: 100%;	
}





/* products compare */
.no_products_to_compare {
	border: 6px solid #eee;
	border-radius: 2px;
	padding: 32px;
	text-align: center;
	margin: 50px 9% 0;
	color: #777;
}
.no_products_to_compare i {
	font-size: 50px;	
}
.no_products_to_compare p {
	margin: 25px 0 0;	
}
.aps_compare_shop_logo_wrap {
	display: flex;
	align-items: center;
	justify-content: center;		
}
.aps_compare_shop_logo {
	max-height: 40px;
	max-width: 85px !important;
	padding-top: 4px;
}
.aps_compare_shop_logo.aps_nencini_shop_logo,
.aps_compare_shop_logo.aps_santafix_shop_logo,
.aps_compare_shop_logo.aps_myprot_shop_logo,
.aps_compare_shop_logo.aps_amazon_prime_shop_logo {
	max-width: 125px !important;	
}
@media screen and (min-width:650px) { 
	.top_chart.table_view_charts {
		margin-top: -15px;	
	}
}





/* products by EAN */
.aps_prod_by_ean_logos_wrap {
	display: block;
	height: 100%;	
}
.aps_prod_by_ean_logos {
	max-height: 100px !important; 
	max-width: 125px !important;	
	vertical-align: middle;
}
.aps_nencini_by_ean_logo,
.aps_santafix_by_ean_logo,
.aps_myprot_by_ean_logo,
.aps_amazon_prime_by_ean_logo {
	max-width: 155px !important;	
}
.aps_prod_by_ean_onsale {
	color: #fff;
	background: red;
	padding: 4px 4px;
	border-radius: 2px;
	font-family: arial;
	font-weight: bold;
	font-size: 92%;
	float: left;
	position: relative;
	margin-left: -56px;
	margin-top: 14px;
	line-height: normal;	
}
@media screen and (min-width:769px) { 
	.aps_prod_by_ean .rh_listcolumn_image {
		border-right: 1px solid #e3e3e3;	
	}
}
@media screen and (max-width:768px) { 
	.aps_prod_by_ean .rh_list_mbl_im_left > .mobileblockdisplay .rh_listcolumn_image {
		float: none;
		margin: auto;
		text-align: center;	
	}
	.aps_prod_by_ean .rh_list_mbl_im_left > .mobileblockdisplay > div:not(.rh_listcolumn_image) {
		margin: 0 auto 12px !important;
		text-align: center;	
	}
	.aps_prod_by_ean .aps_prod_by_ean_onsale {
		float: none;
		margin-left: 0;
		position: relative;
		left: -10px;	
	}
}
@media screen and (min-width: 1024px) and (max-width: 1400px) { 
	.aps_prod_by_ean .rh_listcolumn_image {
		display: none;	
	}
	.aps_prod_by_ean_logos {
		max-width: 65px !important;	
	}
}
