﻿/*
* Copyright 2014 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;
}

/* chrome fix with the vertical scroll disappearing*/
.k-webkit {
    overflow-y: scroll !important;
}

/* main styling */

.home-page-filters-wrapper {
  margin: 0 0 30px;
}
.home-page-filters {
  text-align: center;
  font-size: 0;
}

.home-page-filter-selectors:after {
  content: "";
  display: block;
  clear: both;
}
.home-page-filter-selector {
  display: inline-block;
  position: relative;
  width: 90%;
  max-width: 220px;
  margin: 5px;
  font-size: 14px; /* set size here, not on child elements */
  cursor: pointer;
}
.home-page-filter-selector .k-dropdown,
.home-page-filter-selector .k-dropdown-wrap {
  display: block;
}
.home-page-filter-selector .k-state-disabled {
  opacity: 0.5;
}
.home-page-filter-selector .k-input {
  display: block;
  height: 32px;
  border: 1px solid #ccc;
  overflow: hidden;
  background-color: #f6f6f6;
  padding: 7px 40px 7px 10px;
  white-space: nowrap;
  text-align: left;
  color: #666;
}
.home-page-filter-selector .k-select {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  overflow: hidden;
  background: #fff url('images/filter-icon.png') center no-repeat;
  font-size: 0;
}
.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: #ccc;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
  background-color: #fff;
}
.home-page-filter-dropdown ul {
  max-height: 197px;
  overflow-y: auto;
}
.home-page-filter-dropdown li {
  border-bottom: 1px dotted #ccc;
  overflow: hidden;
  padding: 8px 10px;
  white-space: nowrap;
  color: #666;
  cursor: pointer;
}
.home-page-filter-dropdown li:last-child {
  border-bottom: none;
}

.k-list-scroller {
    height: auto !important;
}
.k-list-optionlabel {
  display: none !important; /*disabled*/
}

.home-page-filter-button {
  margin: 15px 0 0;
  text-align: center;
}
.home-page-filter-button .search-button {
    position: relative;
    border: 0;
  display: inline-block;
  height: 40px;
  background-color: #2399cf ;
  vertical-align: middle;
  padding: 0 12px;
  font: normal 15px/40px Arial, Helvetica, sans-serif;
  color: #fff;
  text-transform: uppercase;
    margin-right: 41px;
}
.home-page-filter-button .search-button:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
  width: 40px;
  margin-left: 1px;
  background: #2399cf  url('images/filter-button.png') no-repeat center;
}
.home-page-filter-button .results-number {
  display: none;
  width: 40px; 
    height: 40px; 
  margin-right: 1px; 
    background-color: #2399cf ; 
  line-height: 40px;
    vertical-align: middle;
  font-size: 16px;
    color: #fff;
}


@media all and (min-width: 481px) and (max-width: 1024px) {
.home-page-filter-selector {
  width: 40%;
  max-width: 350px;
}
}

@media all and (min-width: 1025px) {
  
.home-page-filters-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 0px;
  /*width: fit-content;
    float: right;*/
  /*background-color: rgba(42, 144, 97, 0.5);*/
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
  padding: 10px 0;
}
.home-slider .home-page-filters-wrapper {
  margin-top: -74px;
}
.home-page-filters {
  /*width: 320px;*/
  margin: auto;
}
.home-page-filters:after {
  content: '';
  display: block;
  clear: both;
}

.home-page-filter-selectors {
  /*float: right;*/
  /*max-width: 300px;*/
}
.home-page-filter-selector {
  /*float: right;
  width: 100%; */
  margin: 6px 10px;
  border: none;
  background-color: #fff;
  font-size: 14px;
}
.home-page-filter-selector .k-input {
  height: 34px;
  border: none;
  background-color: #fff;
  padding: 8px 36px 8px 8px;
}
.home-page-filter-selector .k-select {
  height: 34px;
  border: none;
}

.home-page-filter-dropdown {
  margin-top: 1px;
}
.home-page-filter-dropdown li {
  padding: 10px 15px;
}
.home-page-filter-dropdown li:hover {
  background-color: #f6f6f6;
}

.home-page-filter-button {
  /*margin: 0;*/
}
.home-page-filter-button:hover {
  opacity: 0.95;
}
.home-page-filter-button .search-button {
    height: 34px;
  font-size: 13px;
  line-height: 34px;
}
.home-page-filter-button .results-number {
    height: 34px; 
    line-height: 34px;
}

}

@media all and (min-width: 1281px) {

.home-page-filters {
  width: 100%;
}
.home-page-filter-selectors {
  /*max-width: 300px;*/
}
.home-page-filter-selector {
  /*width: 100%;*/
}
.home-page-filter-button .search-button {
  min-width: 100px;
}

}
