﻿.btnX {
  color: #ee662c;
  width: 99%;
  padding: 15px 10px;
  text-align: center;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
  margin: 5px 10px;
  transition: 0.3s;
  z-index: 1000;
  border-radius: 5px;
  background-color: #f6f5f5;
  border: 1px solid #f6f5f5;
}

  .btnX:active {
    background-color: #dfdfdf !important;
    color: #ee662c !important;
  }

  .btnX:hover {
    background-color: #dfdfdf !important;
    color: #ee662c !important;
  }

.nopAjaxfilters-btnX-wrapper {
display:none;
}

.nopAjaxFilters7Spikes .filtersTitlePanel {
  display: none;
}

.nopAjaxFilters7Spikes a {
  cursor: pointer;
}

.product-filters {
  display: none; /*hide empty default filters*/
}

.nopAjaxFilters7Spikes .block {
  min-height: 36px;
  margin: 0 auto 0;
  padding: 0 5px;
}

  .nopAjaxFilters7Spikes .block .title {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    margin: 0;
  }

  .nopAjaxFilters7Spikes .block .filtersGroupPanel {
    position: relative;
    padding: 5px 10px;
    overflow: hidden;
  }

  .nopAjaxFilters7Spikes .block .title a.toggleControl {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 5px;
    color: #444;
    font-size: 14px;
    font-weight:600;
  }

    .nopAjaxFilters7Spikes .block .title a.toggleControl:after {
      content: "";
      position: absolute;
      top: 50%;
      right: 14px;
      width: 12px;
      height: 19px;
      margin-top: -9px;
      background: url(images/filters-toggle-up.png) center no-repeat;
      background-size: 12px 19px;
    }

    .nopAjaxFilters7Spikes .block .title a.toggleControl.closed:after {
      content: "";
      position: absolute;
      top: 50%;
      right: 14px;
      width: 12px;
      height: 19px;
      margin-top: -9px;
      background: url(images/filters-toggle-down.png) center no-repeat;
      background-size: 12px 19px;
    }

  .nopAjaxFilters7Spikes .block .title a.clearFilterOptions {
    position: absolute;
    top: 50%;
    right: 40px;
    font-size: 14px;
    line-height: 1;
    text-transform: lowercase;
    color: #888;
    cursor: pointer;
    margin-top: -7px;
  }

    .nopAjaxFilters7Spikes .block .title a.clearFilterOptions:hover {
      text-decoration: underline;
    }
/* checkbx mode */
.nopAjaxFilters7Spikes .checkbox-list label {
  position: relative;
  display: block;
  font-size: 14px;
  color: #444;
  padding: 2px 0 2px 25px;
  cursor: pointer;
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
}
.nopAjaxFilters7Spikes .checkbox-list span {
  font-size: 11px;
  margin-left: 2px;
}
.nopAjaxFilters7Spikes .checkbox-list input[type="checkbox"]:checked + label {
  font-weight: 600;
}
/* search criteria */
.selected-options-list > li {
  margin: 10px 0 0;
  font-size: 14px;
  overflow: hidden;
}

  .selected-options-list > li:first-child {
    margin: 0;
  }

  .selected-options-list > li label {
    display: block;
    color: #444;
    margin: 0 0 2px;
  }

  .selected-options-list > li span {
    float: left;
    padding: 6px 14px 6px 0;
    margin: 0 20px 0 0;
    color: #4ab2f1;
    cursor: pointer;
    background: url(images/filters-remove.png) right center no-repeat;
    line-height: 1;
  }

    .selected-options-list > li span:hover {
      text-decoration: underline;
    }
/* ui range slider */
.priceRangeFilterPanel7Spikes .ui-slider-handle, .specificationFilterPanel7Spikes .ui-slider-handle {
  width: 10px !important;
  height: 23px !important;
  padding: 0 !important;
  cursor: pointer !important;
  background: #aaa !important;
  border: 1px solid #999 !important;
  border-radius: 0 !important;
  margin: 0 0 0 -5px !important;
  display: inline-block;
}

.priceRangeFilterPanel7Spikes .ui-slider-range, .specificationFilterPanel7Spikes .ui-slider-range {
  top: -1px;
  height: 11px;
  background: #ccc;
  border: 1px solid #bbb;
  position: relative;
}
/* =====================MEDIA===================== */

@media all and (max-width:1000px) {

  .nopAjaxfilters-btnX-wrapper {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    background-color: white;
  }

  .modalFilters-header {
    width: 100%;
    background-color: #f6f5f5;
    padding-top: 10px;
    height: 68px;
    position: fixed;
    top: 0;
    z-index: 1000000002;
  }

    .modalFilters-header .modalFilters-header-inner {
      margin: 0 auto 0;
      max-width: 425px;
      position:relative;
    }

      .modalFilters-header h2 span {
        line-height: 45px;
        margin: 0;
        padding: 5px;
      }

  .btnX-visibility {
    display: block
  }

  .modalFilters {
    position: fixed;
    top: 0;
    width: 100%;
    opacity: 1;
    left: 0;
    z-index: 1000000001;
    background: white;
    overflow-y: auto;
    padding-top: 20px;
    height: 100%;
    padding-bottom: 65px;
  }

    .modalFilters.modal-filters-max-height {
    }

  .filtersPanel {
    margin-top: 68px;
  }
  .close-filters {
    display: inline;
    position: absolute;
    top: 15px;
    right: 19px;
  }
  .close-filters button {
      border:none;
  }
    .close-filters .fa {
      font-size: 20px;
      background-color: #f6f5f5;
    }
  .nopAjaxfilters-btnX-wrapper .filtersTitlePanel {
    display: block;
  }
  .nopAjaxfilters-btnX-wrapper .clearFilterOptionsAll {
    padding: 15px 10px;
    margin: 5px 0 5px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    white-space: nowrap;
    font-size: 14px;
    line-height: 16px;
    display: block;
  }
}

/*li.disabled {
  display: none;
}*/

.nopAjaxFilters7Spikes .checkbox-item.disabled {
  display: none;
}

.nopAjaxFilters7Spikes:not(:has(#specificationFiltersDropDown1 li.checkbox-item.checked))
.specificationFilterPanel7Spikes:has(#specificationFiltersDropDown2) {
  display: none;
}

.specificationFilterPanel7Spikes:not(:has(li.checkbox-item:not(.disabled))) {
  display: none;
}
