﻿/*
* Copyright 2014 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/


/* Firefox fix with the popup not being opened - http://www.telerik.com/forums/q1'14-release---popup-bug-in-firefox */
.k-ff {
    overflow: inherit !important;
}
/* chrome fix with the vertical scroll disappearing*/
.k-webkit {
    overflow-y: scroll !important;
}

/* main styling */

.home-page-filters-wrapper {
	margin: 40px 0 0;
	padding: 0 20px;
}
.home-page-filters {
	max-width: 700px;
	margin: auto;
	border: 0px solid rgb(149, 165, 166);
	background-color: #fff;
	padding: 20px;
	font-size: 0;
font-color: rgb(149, 165, 166);
margin-bottom: 30px;
background: rgb(236, 240, 241);
color: #000;

}

.home-page-filter-selector {
	display: inline-block;
	position: relative;
	width: 100%;
	margin: 5px 0;
font-color: rgb(149, 165, 166);
	font-size: 14px; /* set size here, not on child elements */
}
.home-page-filter-selector .k-dropdownlist {
	display: block;
	cursor: pointer;
}
.home-page-filter-selector .k-disabled {
	opacity: 0.82;
	cursor: default;
}
.home-page-filter-selector .k-input-inner {
	display: block;
	height: 40px;
	border: 1px solid #000;
	overflow: hidden;
	padding: 0 40px 0 10px;
	white-space: nowrap;
	text-align: left;
	font-size: 14px;
	line-height: 40px;
	color: 000;
background: #FFF;
}
.home-page-filter-selector .k-button {
	position: absolute;
	top: 1px;
	right: 1px;
	width: 38px;
	height: 38px;
	overflow: hidden;
	background: #fff url('images/filter-icon.png') center no-repeat;
	font-size: 0;
}
.home-page-filter-selector .k-icon {
	display: none;
}
.home-page-filter-selector .k-loading {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff url('images/loader.gif') center no-repeat;
}

#home-page-filter-total-products-count.loading {
    background: #fff url('images/loader.gif') center no-repeat;
}

.home-page-filter-dropdown {
	height: auto !important;
	border-width: 0 1px 1px;
	border-style: solid;
	border-color: rgb(149, 165, 166);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	background-color: #fff;
}
.home-page-filter-dropdown ul {
	max-height: 180px;
	overflow-y: auto;
}
.home-page-filter-dropdown li {
	overflow: hidden;
	padding: 8px 10px;
	color: #888;
	cursor: pointer;
}
.home-page-filter-dropdown li:hover {
	background-color: #f6f6f6;
}

.k-list-scroller {
    height: auto !important;
}
.k-list-optionlabel {
	display: none !important; /*disabled*/
}

.home-page-filter-button {
	position: relative;
	margin: 15px 0 0;
	text-align: center;
}
.home-page-filter-button .search-button {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 40px;
	border: none;
	outline: 1px solid transparent;
	background-color: #f74258;
	vertical-align: middle;
	padding: 0;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	transition: all 0.2s ease;
}
.home-page-filter-button .search-button:hover {
	outline-color: #f74258;
}
.home-page-filter-button .search-button:disabled {
	opacity: 0.5;
	pointer-events: none;
}
.home-page-filter-button .results-number {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 40px; 
    height: 40px;
	outline: 10px solid #fff;
	background-color: #f6f6f6;
	line-height: 40px;
	font-size: 13px;
	font-weight: bold;
    color: #777;
}


@media all and (min-width: 480px) {
	
	.home-page-filter-selectors {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 2%;
	}
}

@media all and (min-width: 1025px) {

	.home-page-filters-wrapper {
		margin: 0px 0 0;
		padding: 0;
	}
	.home-page-filters {
		max-width: 100%;
		padding: 15px;
border: 8px solid #BEBEBE;
background: #D3D3D3;

	}
	.home-page-filters:after {
		content: "";
		display: block;
		clear: both;
	}
	.home-page-filter-selectors {
		grid-template-columns: repeat(4,1fr);
		grid-gap: 10px 2%;
		float: left;
		width: calc(100% - 90px);
	}
	.home-page-filter-selector {
		margin: unset;
	}
	.home-page-filter-button {
		float: right;
		margin: 0;
		padding: 0 0 0 41px;
	}
	.home-page-filter-button:hover {
	}
	.home-page-filter-button .search-button {
		width: 40px;
		background-image: url('images/filter-button.png');
		background-position: center;
		background-repeat: no-repeat;
		font-size: 0;
	}
	.home-page-filter-button .results-number {
		outline: none;
	}
	
	/*styles for full-width slider layout*/

	.slider-fullwidth .home-page-filters-wrapper {
		margin: 0;
		border: 1px solid #eee;
		background-color: #fff;
		padding: 15px;
	}
	.slider-fullwidth .home-page-filters {
		border: none;
		padding: 0;
	}
	.slider-fullwidth .home-page-filter-selectors {
		width: calc(100% - 170px);
	}
	.slider-fullwidth .home-page-filter-button {
		padding: 0 0 0 50px;
	}
	.slider-fullwidth .home-page-filter-button .search-button {
		width: 110px;
		background-image: none;
		font-size: 13px;
	}
}

@media all and (min-width: 1281px) {

	.home-page-filters {
		max-width: 100%;
	}
	.home-page-filter-selectors {
		width: calc(100% - 170px);
	}
	.home-page-filter-button {
		padding: 0 0 0 50px;
	}
	.home-page-filter-button .search-button {
		width: 110px;
		background-image: none;
		font-size: 13px;
	}
}