.bf-panel-wrapper input[type="text"] {
  border: 1px solid #ccc;
  padding: 0 3px;
}
.bf-attr-block {
  background-color: #373639;
  margin-bottom: 4px;
}
.bf-panel-wrapper .box-heading {
  color: #cfcfcf;
  padding: 8px 12px;
}
.bf-attr-block .form-check {
  line-height: 1.2;
}
.bf-attr-block .form-check-input {
  background-color: #373639;
  margin-top: 0.25em;
}
.bf-attr-block .form-check-label {
  margin-top: 4px;
  font-size: 13px;
  color: #d9d9d9;
  vertical-align: middle;
}
.bf-panel-wrapper .box .box-content.brainyfilter-panel {
  padding: 0;
  position: relative;
}
.bf-panel-wrapper .box .box-content.bf-price-container {
  background: transparent;
}
.bf-price-container input {
  display: inline;
}
.bf-search-container.bf-attr-filter input {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0px;
  text-align: left !important;
}
input[type="text"].bf-search {
  background-color: #fff;
  background-image: url("../image/brainyfilter/search.png");
  background-repeat: no-repeat;
  background-position: 98% 50%;
  padding-right: 18px;
}
.bf-panel-wrapper {
  position: relative;
}
.brainyfilter-panel input {
  text-align: right;
}
.brainyfilter-panel .box-content {
  border: 0;
  padding: 8px 0px 4px;
}
.brainyfilter-panel.bf-hide-panel {
  transition: opacity 200ms;
}
.bf-panel-wrapper.bf-panel-hidden {
  opacity: 0.3;
}
.bf-slider-range {
  /*margin-top:10px;*/
  clear: both;
}
input[type="text"].bf-range-max,
input[type="text"].bf-range-min,
input[type="text"].bf-slider-input {
  height: 37px;
  width: 60px;
  min-width: 60px;
  background-color: #373639;
  border: 1px solid #cfcfcf;
  text-align: center;
  font-size: 14px;
  color: #cfcfcf;
}
.bf-cur-symb-left {
  height: 37px;
  line-height: 37px;
  background: #555555;
  border: 1px solid #cfcfcf;
  padding: 0 4px;
  font-size: 14px;
  text-transform: uppercase;
  color: #cfcfcf;
}
.bf-price-slider-container {
  margin-left: 8px;
  margin-right: 8px;
  padding: 0 7px 15px;
}
.bf-cur-symb {
  padding-bottom: 20px;
  padding-left: 8px;
  padding-right: 8px;
}
.help-txt-heading {
  font-size: 10px;
  color: #000;
}
.help-txt {
  overflow: auto;
}
.bf-with-float-btn .bf-buttonsubmit {
  display: none;
}
.bf-buttonclear {
  background: url("../image/brainyfilter/sprite.png") no-repeat 0 -24px;
  color: #8e8e8e;
  text-decoration: none;
  padding-left: 18px;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
  border: 0;
  margin: 0;
  min-height: 16px;
}
.bf-buttonclear-box {
  border: 0;
  padding: 8px 10px;
  text-align: center;
}
.bf-buttonclear:hover {
  background: url("../image/brainyfilter/sprite.png") no-repeat 0 -53px;
  color: #b83d3d;
}
.ajax-shadow {
  position: absolute;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: none;
}
.bf-attr-group-header {
  font-weight: bold;
  font-size: 14px;
  line-height: 26px;
  background: #ccc;
  border: 0;
  padding: 0 10px;
  border-radius: 0;
  margin-top: -1px;
  z-index: 3;
  position: relative;
}
.bf-attr-header {
  border-radius: 0;
  border: 0;
  font-weight: normal;
  padding: 12px 8px;
  z-index: 2;
  position: relative;
  font-size: 14px;
  color: #cfcfcf;
}
.bf-attr-header.bf-w-line {
  border-style: solid none none;
}
.bf-attr-filter {
  position: relative;
}
.bf-attr-filter .form-check > * {
  cursor: pointer;
}
.bf-price-container .box-content {
  border: 0;
}
.bf-attr-filter select {
  margin: 0;
  width: 100%;
}

.bf-attr-filter input {
  margin: 0;
}
.bf-attr-filter input[type="checkbox"],
.bf-attr-filter input[type="radio"] {
  display: block;
}
.bf-rating-1,
.bf-rating-2,
.bf-rating-3,
.bf-rating-4,
.bf-rating-5 {
  background-position: center left;
  background-repeat: no-repeat;
}
.bf-rating-1 {
  background-image: url("../image/brainyfilter/stars-1.png");
}
.bf-rating-2 {
  background-image: url("../image/brainyfilter/stars-2.png");
}
.bf-rating-3 {
  background-image: url("../image/brainyfilter/stars-3.png");
}
.bf-rating-4 {
  background-image: url("../image/brainyfilter/stars-4.png");
}
.bf-rating-5 {
  background-image: url("../image/brainyfilter/stars-5.png");
}

.bf-price-container {
  padding: 5px 5px;
}
.bf-count {
  float: right;
  background: #f46234;
  color: #fff;
  line-height: 20px;
  padding: 0 3px;
  border-radius: 3px;
  display: block;
  position: relative;
}
.brainyfilter-panel .bf-count.bf-empty {
  background: #cccccc;
}
.bf-disabled {
  color: #ccc;
}
.ndash {
  margin-left: 16px;
  margin-right: 16px;
}
.bf-slider-container {
  /*margin: 0 7px 15px;*/
  overflow: visible;
}
.bf-cross,
.bf-close-btn {
  background: url("../image/brainyfilter/sprite.png") no-repeat;
  vertical-align: middle;
  cursor: pointer;
}
.bf-close-btn {
  margin-left: 10px;
  background-position: 50% -24px;
  display: inline-block;
  width: 16px;
  height: 16px;
}
.bf-close-btn:hover {
  background-position: 50% -53px;
}
.bf-cross {
  background-position: 50% -80px;
  display: inline;
  font-size: 0;
  padding: 8px;
}
.bf-cross:hover {
  background-position: 50% -103px;
}
.bf-float-submit {
  position: absolute;
  z-index: 99;
  border: 1px solid #b3b3b3;
  background-color: #fefefe;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  padding: 5px 10px;
  top: -5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.bf-tick {
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-right: 10px;
  background: url("../image/brainyfilter/sprite.png") no-repeat 0 1px;
  vertical-align: middle;
}
.bf-tick.bf-loading {
  background: url("../image/brainyfilter/loading.gif") no-repeat 50% 50%;
}
.bf-buttonsubmit-wrapper {
  position: relative;
  display: inline-block;
  float: right;
}
.bf-form .bf-buttonsubmit {
  margin-right: 9px;
}
.bf-row {
  display: flex;
  align-items: center;
}
.bf-cell label {
  display: block;
  padding-right: 3px;
  margin: 0;
  cursor: pointer;
}
.bf-c-1 {
  width: 12px;
  padding-right: 4px;
}
.bf-c-3 {
  width: 1px;
  text-align: right;
  margin-left: 0.25rem;
}
.bf-hidden {
  display: none;
}
.bf-sliding {
  overflow: hidden;
  display: block;
}
.bf-responsive .bf-sliding.bf-expanded {
  overflow-y: auto;
}
.bf-sliding-show {
  color: #0d9fdf;
  font-size: 12px;
  font-weight: bold;
  padding: 7px 10px;
  position: relative;
  cursor: pointer;
}
.bf-clickable {
  cursor: pointer;
}
.bf-arrow {
  background: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.952 13.5L12.936 10.5L9.91992 13.5' stroke='%23CFCFCF'/%3E%3C/svg%3E")
    no-repeat;
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}
.collapsed .bf-arrow {
  transform: rotate(180deg);
}

.bf-attr-filter label img {
  height: 20px;
  vertical-align: middle;
  margin-right: 3px;
}

.bf-attr-filter .bf-grid input {
  display: none;
}
.bf-grid .bf-grid-item {
  float: left;
  text-align: center;
  width: 25%;
  padding: 3px;
  box-sizing: border-box;
}
.bf-grid .bf-grid-item.selected {
  border: 3px solid #eee;
  border-radius: 3px;
  padding: 0;
}
.bf-grid label img {
  width: 34px;
  height: 34px;
  margin: 0;
}
.bf-grid {
  padding-top: 10px;
  padding-bottom: 10px;
  overflow: auto;
}
.bf-slider-inputs {
  padding-bottom: 10px;
}
.bf-slider-container.ui-slider-horizontal,
.bf-slider-range.ui-slider-horizontal {
  height: 1px;
  border-radius: 4px;
  background-color: #cfcfcf;
}
.bf-slider-container.ui-slider .ui-slider-handle,
.bf-slider-range.ui-slider .ui-slider-handle {
  border-radius: 24px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  background: #ff7023;
  margin-left: -9px;
  margin-top: -4px;
}
.bf-cell .ui-slider-horizontal .ui-slider-range,
.bf-slider-range.ui-slider .ui-slider-range {
  top: 0;
  bottom: 0;
  height: auto;
  background: #ff7023;
}

.bf-na {
  color: #cfcfcf;
}
.bf-slider-label {
  position: absolute;
  display: block;
  bottom: -16px;
  font-size: 10px;
  color: #666;
  margin-left: 0px;
  white-space: nowrap;
  height: 11px;
  line-height: 11px;
}
.bf-slider-label:after {
  content: " ";
  display: block;
  position: absolute;
  height: 3px;
  border-left: 1px solid #ccc;
  top: -3px;
  left: 50%;
}
.bf-price-filter .ui-slider .bf-slider-label:first-of-type:after {
  left: 0%;
}
.bf-price-filter .bf-slider-label:last-of-type:after {
  left: 100%;
}
.bf-slider-container-wrapper {
  position: relative;
  padding: 0 7px 15px;
}

/* responsive layout */
.bf-responsive.bf-active {
  position: relative;
  z-index: 1000;
}
.bf-responsive.bf-active .bf-check-position {
  position: fixed;
  top: 80px;
  margin: 0 15px;
  transition: left 300ms, right 300ms;
  -webkit-transition: left 300ms, right 300ms;
  overflow: auto;
  box-shadow: 0 0 20px;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 1);
  background: #fff;
}
.bf-responsive.bf-active.bf-left .bf-check-position {
  left: -100%;
}
.bf-responsive.bf-active.bf-right .bf-check-position {
  right: -100%;
}
.bf-responsive.bf-active.bf-left.bf-opened .bf-check-position {
  left: 0;
}
.bf-responsive.bf-active.bf-right.bf-opened .bf-check-position {
  right: 0;
}
.bf-btn-show,
.bf-btn-reset {
  display: none;
}
.bf-btn-show {
  background: #19a3df;
  width: 60px;
  padding: 2px 0 0 10px;
}
.bf-left .bf-btn-show {
  padding: 2px 10px 0 0;
}
.bf-btn-show:before,
.bf-btn-show:after,
.bf-btn-reset:before {
  content: " ";
  display: block;
  float: left;
  height: 24px;
  background-image: url("../image/brainyfilter/responsive-layout-icons.png");
}
.bf-right .bf-btn-show:before {
  width: 26px;
  background-position: -19px 0;
}
.bf-right .bf-btn-show:after {
  width: 11px;
  background-position: -57px 0;
  float: right;
}
.bf-left .bf-btn-show:before {
  width: 11px;
  background-position: -46px 0;
}
.bf-left .bf-btn-show:after {
  width: 26px;
  background-position: -19px 0;
  float: right;
}
.bf-responsive.bf-active.bf-opened.bf-right .bf-btn-show:after {
  width: 11px;
  background-position: -46px 0;
}
.bf-responsive.bf-active.bf-opened.bf-left .bf-btn-show:before {
  width: 11px;
  background-position: -57px 0;
}
.bf-btn-reset:before {
  width: 18px;
  background-position: -1px 0;
}
.bf-btn-reset {
  background: #f53838;
  width: 40px;
  padding: 2px 0 0 11px;
}
.bf-responsive.bf-active .bf-btn-show,
.bf-responsive.bf-active.bf-opened .bf-btn-reset {
  display: block;
  position: fixed;
  cursor: pointer;
  z-index: 1001;
  height: 29px;
  box-sizing: border-box;
}
.bf-responsive.bf-opened .bf-btn-reset {
}
.bf-responsive.bf-active.bf-right .bf-btn-show {
  right: 0;
}
.bf-responsive.bf-active.bf-right .bf-btn-reset {
  right: 60px;
}
.bf-responsive.bf-active.bf-left .bf-btn-show {
  left: 0;
}
.bf-responsive.bf-active.bf-left .bf-btn-reset {
  left: 60px;
}
.bf-responsive.bf-active .box-heading,
.bf-responsive.bf-active .box-content {
  border-radius: 0;
  border-width: 0;
}
.bf-responsive.bf-active .box-heading {
  border-bottom-width: 1px;
  padding-left: 10px;
  padding-right: 10px;
}
.bf-responsive.bf-active.bf-left .box-heading {
  text-align: right;
}
.bf-responsive.bf-active .box-heading * {
  display: none;
}
.bf-responsive.bf-active .bf-buttonclear-box {
  display: none;
}
.bf-responsive.bf-active.bf-panel-wrapper.bf-panel-hidden {
  opacity: 0.9;
}
.bf-responsive.bf-active .ajax-shadow {
  position: fixed;
  background: url("../image/brainyfilter/loading-big.gif") no-repeat 50% 50%;
}
.bf-responsive.bf-active .bf-left-half {
  float: none;
  width: auto;
}
.bf-responsive.bf-active .bf-attr-block-cont {
  position: relative;
  width: 100% !important;
}
.bf-responsive.bf-active .bf-sliding-cont {
  margin-top: 0 !important;
}
.bf-non-scrollable {
  overflow: hidden;
  position: fixed;
}
.bf-cascade-1,
.bf-cascade-2,
.bf-cascade-3 {
  background-image: url("../image/brainyfilter/subcategory-arrow.png");
  background-repeat: no-repeat;
}
.bf-cascade-1 {
  padding-left: 10px;
  background-position: 0px 50%;
}
.bf-cascade-2 {
  padding-left: 20px;
  background-position: 10px 50%;
}
.bf-cascade-3 {
  padding-left: 30px;
  background-position: 20px 50%;
}

/* retina backgrounds */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  only screen and (min--moz-device-pixel-ratio: 1.5),
  only screen and (-o-min-device-pixel-ratio: 3/2),
  /* 3/2 */ only screen and (min-device-pixel-ratio: 1.5),
  /* 1.5 */ only screen and (min-resolution: 144dpi),
  /* 144px */ only screen and (min-resolution: 1.5dppx) {
  .bf-buttonclear {
    background-image: url("../image/brainyfilter/sprite@2x.png") !important;
    background-size: 16px 181px;
  }
  .bf-buttonclear:hover {
    background-image: url("../image/brainyfilter/sprite@2x.png") !important;
    background-size: 16px 181px;
  }
  .bf-cross,
  .bf-close-btn {
    background-image: url("../image/brainyfilter/sprite@2x.png") !important;
    background-size: 16px 181px !important;
  }
  .bf-tick {
    background-image: url("../image/brainyfilter/sprite@2x.png") !important;
    background-size: 16px 181px;
  }
  .bf-tick.bf-loading {
    background-image: url("../image/brainyfilter/loading@2x.gif") !important;
    background-size: 16px 16px;
  }
  .bf-rating-5 {
    background-image: url("../image/brainyfilter/stars-5@2x.png") !important;
    background-size: 95px 15px;
  }
  .bf-rating-4 {
    background-image: url("../image/brainyfilter/stars-4@2x.png") !important;
    background-size: 95px 15px;
  }
  .bf-rating-3 {
    background-image: url("../image/brainyfilter/stars-3@2x.png") !important;
    background-size: 95px 15px;
  }
  .bf-rating-2 {
    background-image: url("../image/brainyfilter/stars-2@2x.png") !important;
    background-size: 95px 15px;
  }
  .bf-rating-1 {
    background-image: url("../image/brainyfilter/stars-1@2x.png") !important;
    background-size: 95px 15px;
  }
  #bf-search {
    background: url("../image/brainyfilter/search@2x.png") no-repeat 98% 50%;
    background-size: 13px 13px;
  }

  .bf-horizontal .bf-c-2 label {
    display: table-cell !important;
  }
  .bf-horizontal .bf-count {
    display: table !important;
  }
  .bf-horizontal .box-heading a .carousel-button-left a,
  .carousel-button-right a,
  .bf-horizontal .bf-group-arrow {
    background-image: url("../image/brainyfilter/bf-hl-arrows@2x.png") !important;
    background-size: 72px 36px;
  }
  .bf-horizontal .bf-btn-left,
  .bf-horizontal .bf-btn-right {
    background-image: url("../image/brainyfilter/bf-hl-arrows@2x.png") !important;
    background-size: 72px 36px;
  }
  .bf-toggle-filter-arrow {
    background-image: url("../image/brainyfilter/bf-hl-arrows@2x.png") !important;
    background-size: 72px 36px;
  }
  .bf-btn-show:before,
  .bf-btn-show:after,
  .bf-btn-reset:before {
    background-image: url("../image/brainyfilter/responsive-layout-icons@2x.png") !important;
    background-size: 69px 24px;
  }
  .bf-btn-show:before,
  .bf-btn-show:after,
  .bf-btn-reset:before {
    background-image: url("../image/brainyfilter/responsive-layout-icons@2x.png") !important;
    background-size: 69px 24px;
  }
  .bf-responsive.bf-active .ajax-shadow {
    background-image: url("../image/brainyfilter/loading-big.gif") !important;
    background-size: 64px 64px;
  }
}
