/*
* 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-bottom: 50px;
    background: rgba(60, 54, 51, 0.3);
}
.home-page .slider-wrapper ~ #AjaxFiltersProForm {
    margin: -20px 0 50px;
}

.home-page-filters-wrapper {
    padding: 15px 20px 5px;
    text-align: center;
}
.home-page-filter-selectors {
    margin: 0;
	overflow: hidden;
}
.home-page-filter-selector {
    margin: 10px 0;
}
.home-page-filter-selector:first-child {
    margin: 0;
}
.home-page-filter-selector .k-dropdown {
    display: inline-block;
    width: 100%;
}
.home-page-filter-selector span.k-dropdown-wrap {
    position: relative;
    text-align: left;
    display: block;
    font-size: 16px;
    color: #000;
    line-height: 1;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 11px 22px 10px 15px;
    cursor: pointer;
}
.home-page-filter-selector span.k-dropdown-wrap.k-state-disabled {
    opacity: .5;
    cursor: default;
}
.home-page-filter-selector span.k-dropdown-wrap:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 22px;
    background: url("images/arrow_rtl.png") no-repeat center;
    font-size: 16px;
    height: 40px;
    padding: 10px 10px 10px 15px;
    text-align: left;

}
.home-page-filter-selector .k-select {
	display: none;
}

.home-page-filter-dropdown {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 0;
}
.home-page-filter-dropdown ul {
    max-height: 200px;
    overflow-y: auto;
}
.home-page-filter-dropdown li {
	color: #888;
	font-size: 16px;
	padding: 10px 10px 10px 15px;
	cursor: pointer;
    border-bottom: 1px solid #ddd;
}
.home-page-filter-dropdown li:hover {
	background: #f6f6f6;
}

.k-list-scroller {
    height: auto !important;
}
.k-list-optionlabel {
    display: none !important; /*disabled*/
}

.home-page-filter-button {
    display: inline-block;
    margin-bottom: 5px;
}
.home-page-filters-wrapper .search-button,
.home-page-filters-wrapper .results-number {
    float: left;
    color: #000;
    font-size: 14px;
    line-height: 1;        
}
.home-page-filters-wrapper .search-button {
	height: 40px;
    padding: 0 30px;
    border: 0;
    text-transform: uppercase;
    background: #8e807a;
    color: #ffffff;
    font-family: Arvo;
    font-size: 16px;
}
.home-page-filters-wrapper .results-number {
    display: none;
    padding: 13px 0;
    text-align: center;
    width: 40px;    
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
}
.home-page-filters-wrapper .results-number.loading {
    font-size: 0;
    background: #a59a96 url(images/loader.gif) no-repeat center;
}
/*the fiters should be in the bottom of the home page slider*/
.home-page-main-slider {
    position: relative;
}


@media all and (min-width: 481px) {
	
    .home-page-filter-selectors:after {
        content: '';
        display: block;
        clear: both;
    }
	.home-page-filter-selector .k-dropdown {
		width: 100%;
	}

}

@media all and (min-width: 481px) and (max-width: 768px) {
	
	.home-page .slider-wrapper ~ #AjaxFiltersProForm {
		max-width: 600px;
		margin: -20px auto 50px;
	}
	.home-page-filter-selectors {
		margin: 0;
	}
    .home-page-filter-selector {
        float: left;
        width: 49%;
        margin: 0 0 2% 2%;
    }
	.home-page-filter-selector:nth-child(2n+1) {
		margin-bottom: 2%;
		margin-left: 0;
	}

}

@media all and (min-width: 769px) {

    .home-page-filter-selector {
        float: left;
        width: 24.25%;
        margin: 0 0 10px 1%;
    }
    .home-page-filter-selector:nth-child(4n+1) {
        clear: both;    
        margin: 0 0 10px;
    }
	.home-page-filter-selector:first-child {
		margin-left: 0;
	}
    .home-page-filter-button {
        margin-bottom: 10px;
    }

}

@media all and (min-width: 1025px) {
    #AjaxFiltersProForm {
        position: static;
    }
	.home-page-main-slider #AjaxFiltersProForm {
        position: absolute;
        bottom: 0;
        width: 100%;
        margin: 0;
        background: rgba(60, 54, 51, 0.3);
        z-index: 1;
    }
    .home-page-filters {
        position: relative;
        margin: auto;
        width: 1000px;
    }
	.home-page .slider-wrapper ~ #AjaxFiltersProForm {
		margin: -40px 0 50px;
	}
    .home-page-filters:after {
        content: '';
        display: block;
        clear: both;
    }
    .home-page-filter-selectors {
        float: left;
        width: 780px;
    }
    .home-page-filter-selector {
            width: 24%;
    }
      .home-page-filter-selector:nth-child(4n+1) {
        clear: both;
    }
    

    .home-page-filter-button {
        position: absolute;
        right: 0;
        bottom: 10px;
        float: none;
        margin: 0;
    }
    .home-page-filters-wrapper .results-number {
        width: 40px;
    }
    .home-page-filters-wrapper .search-button {
        width: auto;
    }


}

@media all and (min-width:1281px) {
    .home-page-filters {
        width: 1200px;
    }
    .home-page-filter-selectors {
        width: 1170px;
    }
    .home-page-filter-selector {
        width: 21%;
    }
}