/*--------------------------------------------------------------
  HEADER
--------------------------------------------------------------*/
section.sub-header-category-description {
  background-color: var(--alt-blue-light);
}

section.sub-header-category-description .category-header h1 {
  text-align: center;
}

section.sub-header-category-description .category-header a {
  color: var(--alt-gray-blue);
}
section.sub-header-category-description .category-header a:hover {
  color: var(--primary-accent)!important;
}

section.sub-header-category-description.sidebar-open {
  display: none;
}

#kd-mobile-filter-button.kd-mobile-filter-button.btn {
  display: none;
}

/*--------------------------------------------------------------
  COLUMN OVERRIDES
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  .category-products-block #content-grid.content {
    width: 100%!important;
  }
}

/*--------------------------------------------------------------
  FILTER SIDEBAR
--------------------------------------------------------------*/
#filter-sidebar {
  display: block;
}

#filter-sidebar .filter-sidebar-wrapper {
  position: relative;
  margin-left: -13%;
  margin-right: 13%;
  background-color: var(--alt-blue-light);
  height: 150%;
}

#filter-sidebar .filter-sidebar-inner {
  margin-top: -30px;
  padding-top: 30px;
  background: var(--alt-blue-light);
}

#filter-sidebar .filter-sidebar-inner .filter-buttons.top {
  display: flex;
  justify-content: space-evenly;
}

.filter-buttons.top {
  padding-bottom: 30px;
  margin: 0 auto;
}

#filter-sidebar .filter-sidebar-inner .filter-buttons.top .sidebar-filters-apply,
#filter-sidebar .filter-sidebar-inner .filter-buttons.top .sidebar-filtesr-clear {
  width: 40%;
}

#filter-sidebar .filter-sidebar-inner.simple {
  padding-top: 18px;
}

#filter-sidebar.sidebar.open .filter-sidebar-wrapper {
  margin-top: 15px;
  margin-right: auto;
  margin-bottom: 15px;
  margin-left: auto;
  height: auto;
  border: 1px solid #fff;
  padding-bottom: 15px;
}

.filter-buttons.top.simple {
  padding-bottom: 15px;
}

.sidebar .item-filter {
  background-color: var(--alt-blue-light);
  border-top: 1px solid var(--alt-lighter-blue-light);
  padding: 5px 20px 5px;
}

.category-products-block {
  padding: 30px 0 0 0;
}

.category-products-block.no-padding {
  padding: 0 0;
}

.filter-sidebar-advanced-mobile-h3-x {
  display: none;
}

.filter-info {
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.filter-info .checkbox-expand {
  font-size: 20px;
  padding: 0;
  text-align: center;
  color: var(--alt-gray-blue);
  line-height: 20px;
  margin-top: 4px;
  user-select: none;
}
.filter-info label {
  margin: 4px 0;
  font-size: var(--default-font-size);
  text-transform: uppercase;
}

/* checkbox sliders */
.item-filter.open .checkbox-range,
.item-filter.open .subcat-checkbox-range {
  display: block;
}

.subcat-checkbox-range .subcat-checkboxes,
.checkbox-range .checkboxes {
  display: flex!important;
  flex-direction: column;
  max-height: 176px;
  overflow: auto;
  overflow-x: hidden;
  margin-right: 6px;
  margin-top: auto;
  margin-bottom: auto;
  position: relative;
}

.checkbox-range-alt .checkboxes-alt label,
.subcat-checkbox-range .subcat-checkboxes label,
.checkbox-range .checkboxes label {
  cursor: pointer !important;
  margin: auto 0 5px;
  padding: 0 0 0 5%;
  user-select: none;
  text-transform: uppercase;
}
.collapsing .checkbox label,
.collapse .checkbox label,
.in .checkbox label {
  padding-left: 32px;
}

.collapsing .checkbox label span.count,
.collapse .checkbox label span.count,
.in .checkbox label span.count,
.checkbox-range .checkboxes label span.count {
  margin: 0 20px 0 auto;
  float: right;
}

.checkbox-range-alt .checkboxes-alt label,
.subcat-checkbox-range .subcat-checkboxes label {
  display: flex!important;
  align-items: flex-start;
  position: relative;
  padding: 0 0 0 30px;
}

.checkbox-range-alt .checkboxes-alt input[type="checkbox"],
.subcat-checkbox-range .subcat-checkboxes input[type="checkbox"] {
  margin-top: 2px;
  position: absolute;
  left: 13px;
  top: 2px;
}


.subcat-checkbox-range,
.checkbox-range {
  display: none;
}

.subcat-checkbox-range .subcat-checkboxes::-webkit-scrollbar,
.checkbox-range .checkboxes::-webkit-scrollbar {
  width: 5px;
}
.subcat-checkbox-range .subcat-checkboxes::-webkit-scrollbar-thumb,
.checkbox-range .checkboxes::-webkit-scrollbar-thumb {
  background-color: var(--alt-blue-gray);
}
.subcat-checkbox-range .subcat-checkboxes::-webkit-scrollbar-track,
.checkbox-range .checkboxes::-webkit-scrollbar-track {
  background-color: var(--alt-lighter-blue-light);
}

.item-filter select {
  margin-bottom: 10px;
}

.filter-buttons .close-mobile-filter {
  display: none;
}

.filter-buttons .close-mobile-filter .close-mobile-btn.btn {
  margin: 0 auto;
}


/*--------------------------------------------------------------
  PRODUCT ACTION BAR
--------------------------------------------------------------*/
#main.site-main.loading #products .product-action-bar.bottom {
  opacity: 0;
}

div#products.products-alt .product-action-bar {
  padding: 0 0 15px 0;
  border-width: 0 0 1px;
  margin: 0 0 20px;
}
div#products.products-alt .product-action-bar.bottom {
  padding: 15px 0;
  border-width: 1px 0 1px;
}

div#products h2.no-matches {
  text-transform: none;
  color: var(--error-message);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.product-action-bar {
  position: relative;
  margin: 20px 0 40px;
  padding: 15px 0;
  border: solid var(--primary-light);
  border-width: 1px 0;
  color: var(--alt-gray-blue);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.product-action-bar.bottom {
  margin: 0;
  opacity: 1;
}

.product-action-bar.bottom .woocommerce-ordering {
  display: none;
}


body.search-results .product-action-bar {
  padding-top: 0;
  border-top: none;
}
body.search-results .product-action-bar.bottom {
  border-top: 1px solid var(--primary-light);
  border-bottom: none;
  margin: 20px 0;
  padding: 15px 0;
}

.product-action-bar .pagination-custom {
  border: 1px solid var(--primary-light);
  border-right: none;
  border-radius: 3px;
}

.product-action-bar .pagination-custom>a, .product-action-bar .pagination-custom>span {
  display: inline-block;
  float: left;
  min-width: 36px;
  text-align: center;
  font-size: 16px;
  line-height: 16px;
  font-weight: normal;
  padding: 11px 5px 9px;
  height: 36px;
  border-right: 1px solid var(--primary-light);
  color: var(--primary-dark);
}

.product-action-bar .pagination-custom>span, .product-action-bar .pagination-custom>a:hover {
  background: var(--alt-blue-light);
  color: var(--alt-blue-gray)!important;
}


/*--------------------------------------------------------------
  PRE CATEGORY FOOTER
--------------------------------------------------------------*/

section.pre-footer-category-description.indent-block {
  background-color: var(--alt-blue-light);
}

section.pre-footer-category-description {
  background-color: var(--alt-blue-light);
  padding: 30px 0;
}

section.pre-footer-category-description a {
  color: var(--alt-gray-blue)!important;
  font-weight: 500!important;
}

section.pre-footer-category-description a:hover {
  color: var(--primary-accent)!important;
}

section.pre-footer-category-description.sidebar-open {
  display: none;
}

section.pre-footer-category-description h2 {
  margin-bottom: 10px;
  margin-top: 40px; 
}

/* ----------------------------
   Responsive Breakpoints
---------------------------- */

@media (max-width: 1399.98px) {
}

@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {

  #filter-sidebar {
    display: none;
    width: 100%;
  }

  .filter-sidebar-advanced-mobile-h3-x {
    padding: 20px;
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 767.98px) {

  .filter-buttons .close-mobile-filter {
    display: block!important;
  }

  #kd-mobile-filter-button {
    display: block!important;
    margin: 0 auto 30px;
  }

  #filter-sidebar {
    display: none!important;
  }
  #filter-sidebar.open {
    display: block!important;
  }

  .filter-sidebar-advanced-mobile-h3-x {
    background-color: var(--alt-blue-light);
  }
  .product-action-bar .pagination-custom {
    display: inline-block;
    margin: 15px 0 0;
  }
}