$panel-heading-color: color($blue-grey, 700);

body.index form,
fieldset.inputs,
.paginated_collection,
.panel {
  background-color: $white;
  box-shadow: 0 1px 2px rgba($black, 0.2);
  margin-bottom: 2em;
  padding: 2em 2em 1em;

  form {
    box-shadow: none;
    margin-bottom: 1em;
    padding: 0;
  }

  .paginated_collection {
    box-shadow: none;
    margin-bottom: 0;
    padding: 0;
  }

  h3 {
    color: $panel-heading-color;
    font-size: 1.17em;
    margin: -0.5em 0 1em;
    padding: 0;
    text-transform: uppercase;
  }
}

fieldset.inputs {
  border: 0;
  display: block;
  padding-top: 4em;

  > legend {
    color: $fieldset-legend-color;
    display: block;
    font-size: 1.17em;
    font-weight: bold;
    margin: 0 0 -0.5em;
    padding: 0;
    position: relative;
    text-transform: uppercase;
    top: 2em;
  }

  ol {
    list-style-type: none;
    margin-top: 0;
    padding: 0;
  }
}

@include media($mobile) {
  form,
  .panel {
    padding: 2em 1em 1em;
  }
}

$panel-heading-color: color($blue-grey, 700);

body.index #main_content_wrapper form,
fieldset.inputs,
.paginated_collection,
.panel {
  background-color: $white;
  box-shadow: 0 1px 2px rgba($black, 0.2);
  margin-bottom: 2em;
  padding: 2em 2em 1em;

  form {
    box-shadow: none;
    margin-bottom: 1em;
    padding: 0;
  }

  .paginated_collection {
    box-shadow: none;
    margin-bottom: 0;
    padding: 0;
  }

  h3 {
    color: $panel-heading-color;
    font-size: 1.17em;
    margin: -0.5em 0 1em;
    padding: 0;
    text-transform: uppercase;
  }
}

fieldset.inputs {
  border: 0;
  display: block;
  padding-top: 4em;

  > legend {
    color: $fieldset-legend-color;
    display: block;
    font-size: 1.17em;
    font-weight: bold;
    margin: 0 0 -0.5em;
    padding: 0;
    position: relative;
    text-transform: uppercase;
    top: 2em;
  }

  ol {
    list-style-type: none;
    margin-top: 0;
    padding: 0;
  }
}

@include media($mobile) {
  form,
  .panel {
    padding: 2em 1em 1em;
  }
}

Fix issue with filter form css
Fix issue with filter form css
