@import '../mixins/responsive';
@import '../variables';

.filter {
  .dropdown-container {
      right: 0;
      width: 28rem;
  }

  &-label {
    margin-bottom: .7rem;
    color: #7A7A7A;
    font-size: 1.3rem;
    min-width: 100%;
    text-align: center;

    @include responsive(sm) {
      margin-top: .5rem;
      color: $brand-black;
      font-size: 1.2rem;
      text-align: left;
    }
  }

  &-reset-btn {
    padding: 0;
    color: #9EA6AC;

    &:hover {
      color: $brand-black;

      .filter-reset-btn-icon {
        fill: $brand-black;
      }
    }

    &:focus {
      outline: none;
    }

    &-icon {
      fill: #9EA6AC;
      width: 0.9rem;
      height: 0.9rem;
      transition: .3s all;
    }
  }

  &-btn {
    &-xs {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 10;
      border-radius: 0;

      &:focus,
      &:active {
        outline: none;
      }
    }

    &-icon {
      fill: #ddd;
      width: 1.7rem;
      height: 1.7rem;
    }
  }

  &-xs {
    &-btn-group {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      z-index: 2;
    }

    &-btn {
      width: 50%;
      border-radius: 0;

      &:focus,
      &:active {
        outline: none;
      }
    }
  }
}
