body .sp_popup {
    top: 136px;
    right: calc(50% - 495px);
    left: initial;
    margin: 0;
}

body .sp_block {
    border: 1px solid #000000;
    border-radius: 5px
}

body .sp_pref_left ul li label,
body .sp_pref_right ul li label {
    max-width: 84%;
    vertical-align: top;
}

body .categoryoptions {
    max-height: 200px;
    overflow-y: scroll;
}

body .sp_pager {
    padding: 8px 0 0;
}

body .sp_objects {
    height: 468px;
}

body .sp_productname {
    height: 29px;
}

body .sp_desc {
    height: 60px;
}

.sp_product td {
    padding: 0;
    line-height: 15px;
    padding-top: 7px;
}

body .sp_block_right {
    width: 723px;
}

body .sp_block_left {
    width: 180px;
}

body .sp_noproductsfound {
    color: #000000;
}

div.lac-notification-sticky {
    display: none !important;
}

@media only screen and (max-width: 1600px) {
    .header .usps-wrapper li:nth-child(5),
    .header .usps-wrapper li:nth-child(6),
    .header .usps-wrapper li:nth-child(7),
    .header .usps-wrapper li:nth-child(8),
    .header .usps-wrapper li:nth-child(9) {
        display: none;
    }
}

@media only screen and (max-width: 1280px) {
    .header .usps-wrapper li:nth-child(3),
    .header .usps-wrapper li:nth-child(4) {
        display: none;
    }
}

#qweeryForm div.sp_block_left {
    min-height: auto;
    border-right: none;
}

#qweeryForm div.sp_block_right {
    border-left: 1px solid #ccc;
}

#qweeryForm .sp_product {
    height: auto !important;
}

#qweeryForm .sp_product a:first-of-type {
    display: inline-block;
}

#qweeryForm .sp_product a .sp_desc {
    display: block;
    margin-top: 0;
    padding: 2px;
    height: auto !important;
}

#qweeryForm .sp_product a span {
    display: inline-block;
}

#qweeryForm .sp_product a span .sp_img {
    float: none;
}

#qweeryForm .sp_product a.button.order,
#qweeryForm .sp_product a.button.order:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

#qweeryForm .sp_product a.button.order {
    display: block;
    padding: 0;
    text-align: center !important;
    height: 32px !important;
    line-height: 28px !important;
    opacity: 1;
    font-size: 15px;
}

#qweeryForm .sp_product a.button.order:hover {
    opacity: 0.75;
}

#qweeryForm .sp_block {
    height: auto !important;
}

#qweeryForm .sp_block_scroll {
    height: auto !important;
    max-height: calc(100vh - 156px);
}

#qweeryForm .sp_objects {
    height: auto !important;
    margin-bottom: 30px;
}

#qweeryForm .sp_objects:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

#qweeryForm .sp_product .product_buttons a.action.tocompare,
#qweeryForm .sp_product .product_buttons a.action.tocompare:hover {
    font-size: 12px;
    line-height: 24px;
    color: var(--primary-color);
}

#qweeryForm .sp_product .product_buttons a.action.tocompare:hover {
    text-decoration: underline;
}


/* PCP range slider */
.amshopby-slider-wrapper {
	position: relative;
}
.amshopby-slider-wrapper .items {
	position: absolute;
	top: 80px;
	right: 0;
	left: 0;
}
.amshopby-slider-wrapper .amshopby-slider-display {
	margin-top: 20px;
}
.amshopby-slider-wrapper .ui-slider-horizontal .ui-slider-handle {
	background-color: var(--theme-primary-color) !important;
	top: -7px;
}
.amshopby-slider-wrapper .ui-widget-header {
	background-color: var(--theme-primary-color) !important;
}
.amshopby-slider-wrapper .am-filter-items-price .am-slider.ui-slider {
	margin-right: 20px;
}
.amshopby-slider-wrapper .range.am-fromto-widget.amshopby_currency_rate {
	margin-right: -20px;
	height: 48px;
	margin-top: 0 !important;
	margin-bottom: 50px !important;
}
.amshopby-slider-wrapper .range.am-fromto-widget .amshopby-input-wrapper {
	width: 50%;
	float: left;
	height: 48px;
	box-sizing: border-box;
	position: relative;
}
.amshopby-slider-wrapper .range.am-fromto-widget .amshopby-input-wrapper .amshopby-currency {
	position: absolute;
	top: 0;
	left: 10px;
	color: var(--theme-primary-color);
	line-height: 48px;
  	font-weight: 700;
}
.amshopby-slider-wrapper .range.am-fromto-widget.amshopby_currency_rate .delimiter {
	display: none;
}
.amshopby-slider-wrapper .am-filter-price {
	padding: 0 30px;
	text-align: center;
	line-height: 48px;
	height: 48px !important;
	width: 100%;
	display: block;
	margin: 0;
	box-sizing: border-box;
	position: relative;
	background-color: transparent;
	border-radius: 4px;
}
.amshopby-slider-wrapper .amshopby-input-wrapper {
        padding-right: 20px;
        box-sizing: border-box;
}
.amshopby-slider-wrapper .am-filter-go {
	display: none;
}
@media only screen and (max-width: 767px) {
	.amshopby-slider-wrapper .amshopby-fromto-wrap.am-filter-items-price {
		padding: 20px;
	}
	.amshopby-slider-wrapper .items.am-filter-items-price {
		top: 120px;
		right: 20px;
		left: 20px;
	}
}
/* /PCP range slider */


@media only screen and (max-width: 1023px) {
    footer.page-footer .sp_popup {
        right: 10px;
        left: 10px;
        width: calc(100% - 20px) !important;
    }
    #qweeryForm .sp_block {
        width: 100% !important;
    }
    #qweeryForm .sp_block .sp_block_scroll {
        width: 100% !important;
    }
    #qweeryForm .sp_block_right {
        width: calc(100vw - 274px);
    }
    #qweeryForm .sp_block_right select.sortby,
    #qweeryForm .sp_block_right .sp_pager {
        float: none;
    }
}

@media only screen and (max-width: 767px) {
    #qweeryForm div.sp_block_scroll {
        display: flex;
        flex-flow: column;
    }
    #qweeryForm div.sp_block_left {
        float: none;
        width: 100% !important;
        min-height: auto;
        display: block;
        border-right: none;
        padding-bottom: 30px;
        box-sizing: border-box;
        order: 2;
    }
    #qweeryForm div.sp_block_right {
        float: none;
        border-left: none;
        width: 100% !important;
        display: block;
        box-sizing: border-box;
        order: 1;
    }
    #qweeryForm div.sp_close {
        float: none;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    #qweeryForm div.sp_block_right div div.sp_close {
        position: static;
        text-align: right;
    }
}
