/*
* Copyright 2015 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

/* Firefox fix with the popupnot being opened - http://www.telerik.com/forums/q1'14-release---popup-bug-in-firefox */
.k-ff {
    overflow: inherit !important;
}

#AjaxFiltersProForm {
    margin: 0 0 50px;
}
.home-page .slider-wrapper ~ #AjaxFiltersProForm {
    margin: -20px 0 50px;
}

.home-page-filters-wrapper {
    padding: 15px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.home-page-filter-selectors {
    margin: 0 0 18px;
	overflow: hidden;
}
.home-page-filter-selector {
    margin: 10px 0 0;
}
.home-page-filter-selector:first-child {
    margin: 0;
}
.home-page-filter-selector .k-dropdownlist {
    cursor: pointer;
}
.home-page-filter-selector .k-disabled {
    opacity: .5;
    cursor: default;
}
.home-page-filter-selector .k-input-inner {
    position: relative;
    text-align: left;
    display: block;
    font-size: 12px;
    color: #888;
    line-height: 1;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px 36px 12px 12px;
}
.home-page-filter-selector .k-input-inner:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 24px;
	background: url(images/filters-select-icon.png) no-repeat center;
}
.home-page-filter-selector .k-button {
	display: none;
}

.home-page-filter-dropdown {
    height: auto !important;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 0;
}
.home-page-filter-dropdown ul {
    max-height: 190px;
    overflow-y: auto;
    padding: 5px 0;
}
.home-page-filter-dropdown li {
	color: #888;
	font-size: 12px;
	padding: 8px 12px;
	cursor: pointer;
}
.home-page-filter-dropdown li:hover {
	background: #f9f9f9;
}

.k-list-scroller {
    height: auto !important;
}
.k-list-optionlabel {
    display: none !important; /*disabled*/
}

.home-page-filter-button {
    display: inline-block;
}
.home-page-filters-wrapper .search-button,
.home-page-filters-wrapper .results-number {
    float: left;
    color: #fff;
    font-size: 14px;
    line-height: 1; 
    background: #4ab2f1;       
}
.home-page-filters-wrapper .search-button {
	height: 40px;
    padding: 0 30px;
    margin-left: 1px;
    border: 0;
    text-transform: uppercase;
}
.home-page-filters-wrapper .search-button:hover {
    background-color: #248ece;
}
.home-page-filters-wrapper .results-number {
    display: none;
    padding: 13px 0;
    text-align: center;
    width: 40px;    
    height: 40px;
}
.home-page-filters-wrapper .results-number.loading {
    font-size: 0;
    background: #4ab2f1 url(images/loader.gif) no-repeat center;
}

@media all and (min-width: 481px) {
	
    .home-page-filter-selectors {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px 2%;
	}
    .home-page-filter-selector {
        margin: unset;
    }
}

@media all and (min-width: 481px) and (max-width: 768px) {
	
	.home-page .slider-wrapper ~ #AjaxFiltersProForm {
		max-width: 600px;
		margin: -20px auto 50px;
	}
}

@media all and (min-width: 1001px) {
	
	.home-page .slider-wrapper ~ #AjaxFiltersProForm {
		margin: -40px 0 50px;
	}
    .home-page-filters:after {
        content: '';
        display: block;
        clear: both;
    }
    .home-page-filter-selectors {
        grid-template-columns: repeat(4,1fr);
        float: left;
        width: 760px;
        margin: 2px 0 0;
    }
    .home-page-filter-button {
        float: right;
    }
}

@media all and (min-width: 1367px) {

    .home-page-filter-selectors {
        width: 980px;
    }
}