/*

[Table of contents]

1. Common Styles
2. Checkboxes
3. Range sliders
4. Select
4. Stars

/* 1. COMMON STYLES
===================================================================*/

#sidebar .widget.widget_facet {
  border-bottom: 1px solid #282828;
  margin: 0;
  padding: 0;
}

.archive-template-fullwidth #sidebar .widget.widget_facet {
  margin: 0 -15px;
}

.theme-white #sidebar .widget.widget_facet {
  border-bottom: 1px solid #ddd;
}

#sidebar .widget.widget_facet.last {
  margin-bottom: 4rem;
  border-bottom: none;
}

#sidebar-wrapper #sidebar .widget.widget_facet.last {
  margin-bottom: 0;
  border-bottom: none;
}

#sidebar .widget.widget_facet h3 {
  cursor: pointer;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 2rem;
  margin: 0;
  padding: 1rem 1rem 1rem 2rem;
  position: relative;
  text-transform: none;
}

#sidebar .widget.widget_facet h3:hover {
  opacity: 0.75;
}

#sidebar .widget.widget_facet h3:before {
  color: #9c9057;
  content: "\f054";
  font-family: "icomoon";
  left: 1rem;
  position: absolute;
  top: 1rem;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

#sidebar .widget.widget_facet h3.active:before {
  transform: rotate(90deg);
}

#sidebar .widget.widget_facet .facetwidget {
  display: none;
  padding: 0.25rem 1rem 1rem;
}

#sidebar .widget.widget_facet .facetwidget .facetwp-facet {
  margin: 0;
}

body .facetwp-overlay {
  background-color: transparent;
}

/* 2. CHECKBOXES
===================================================================*/

#sidebar .widget.widget_facet .facetwp-checkbox,
#sidebar .widget.widget_facet .facetwp-checkbox.checked {
  background: none;
  margin-bottom: 0.5rem;
  padding-left: 2rem;
  position: relative;
}

#sidebar .widget.widget_facet .facetwp-checkbox:before {
  border: 2px solid #555;
  border-radius: 2px;
  content: "";
  display: block;
  height: 1.25rem;
  left: 0;
  position: absolute;
  top: 0.25rem;
  width: 1.25rem;
}

.theme-white #sidebar .widget.widget_facet .facetwp-checkbox:before {
  border: 2px solid #ddd;
}

#sidebar .widget.widget_facet .facetwp-checkbox.checked:before {
  border: 0;
  border-bottom: 2px solid #9c9057;
  border-left: 2px solid #9c9057;
  border-radius: 0;
  height: 0.75rem;
  transform: rotate(-45deg);
}

/* 3. RANGE SLIDERS
===================================================================*/

#sidebar .widget.widget_facet .facetwp-slider-wrap {
  padding: 0;
}

/*.noUi-horizontal .noUi-handle {
	right: -8px !important; 
}*/

#sidebar .widget.widget_facet .noUi-target {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 8px 8px 15px 0;
  padding: 0;
}

#sidebar .widget.widget_facet .noUi-origin {
  border-radius: 0;
}

#sidebar .widget.widget_facet .noUi-background {
  background: #333;
  box-shadow: none;
}

.theme-white #sidebar .widget.widget_facet .noUi-background {
  background: #ddd;
}

#sidebar .widget.widget_facet .noUi-connect {
  background: #9c9057;
  box-shadow: none;
}

#sidebar .widget.widget_facet .noUi-horizontal {
  height: 2px;
}

#sidebar .widget.widget_facet .noUi-horizontal .noUi-handle {
  background: #222;
  border: 2px solid #9c9057;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  height: 16px;
  top: -7px;
  width: 16px;
  transition: all 0.3s ease;
}

.theme-white #sidebar .widget.widget_facet .noUi-horizontal .noUi-handle {
  background: #fff;
}

#sidebar .widget.widget_facet .noUi-horizontal .noUi-handle.noUi-active {
  border: 5px solid #9c9057;
}

#sidebar .widget.widget_facet .noUi-horizontal .noUi-handle:before,
#sidebar .widget.widget_facet .noUi-horizontal .noUi-handle:after {
  display: none;
}

/* 4. SELECT
===================================================================*/

.facetwp-dropdown {
  margin-top: 0;
}

/* 5. STARS
===================================================================*/

.facetwp-facet-rating {
  overflow: hidden;
  min-height: 30px;
}
