/*------------------------------------------------------------
LISTING - Sort
====================================*/

/* Variables Custom */
/***************************************/

.listing-sort {
  label {
    display: none;
  }
  a {
    padding: 1rem;
    text-decoration: none;
  }
}
.listing-sort-desktop {
  display: none;
}

/* RESPONSIVE */
/***************************************/
@include media-breakpoint-down(sm) {
  .listing-sort {
    .collapse-panel a:first-child {
      margin-top: 1.5rem;
    }
    .dropdown-item {
      &:hover, &:focus, &:active {
        color: $custom-select-dropdown-hover-color;
        background: $custom-select-dropdown-hover-bg;
      }
      &.active {
        color: $custom-select-dropdown-active-color;
        background: $custom-select-dropdown-active-bg;
      }
    }
  }
}
@include media-breakpoint-up(md) {
  .listing-sort-mobile {
    display: none;
  }
  .listing-sort-desktop {
    display: flex;
    align-items: center;
  }

  .listing-sort {
    label {
      display: inline-block;
      flex-shrink: 0;
      margin-right: 1rem;
    }
  }
}
@include media-breakpoint-up(lg) {
  .listing-sort {
    .btn {
      width: 25rem;
    }
  }
}
