.view-header h5 {
  font-family: 'mars_centrabold';
}

.views-exposed-form .form--inline .form-item {
  margin-right: 0;
}

.facet-content .facet {
  color: #0000a0;
  font-size: 1rem;
  font-family: 'mars_centrabold';
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.facet-content input[type="checkbox"] {
  margin: 0 10px 0 0;
}

.facet-content .facet-item__value {
  font-size: 0.875rem;
}

.facet-content .facet:after,
.form-type-select .nice-select:after {
  content: '';
  display: inline-block;
  background: url(../images/blue-select-arrow.png) no-repeat;
  height: 8px;
  width: 13px;
  transform-origin: unset;
  transform: rotate(0deg);
}

.form-type-select .nice-select:after {
  background-size: contain;
  border: 0;
  top: 42%;
  margin-top: 0;
}

.facet-content .facet.open:after,
.form-type-select .nice-select.open:after {
  transform: rotate(180deg);
}

.js-facets-checkbox-links {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0 15px 0 0;
  font: inherit;
  color: currentColor;
  width: 0.875rem;
  height: 0.875rem;
  position: relative;
  top: 2px;
  border-radius: 0;
  cursor: pointer;
  border: 0px !important;
}

input[type="checkbox"]:checked::before {
  background-color: #0000a0;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.875rem;
  height: 0.875rem;
  position: absolute;
  top: 1px;
  left: 1px;
  border: 2px solid #0000a0;
}

.form-type-select .nice-select {
  width: 100%;
  background-color: #fff;
  border: 2px solid #cbcbcb;
  margin: 0;
  border-radius: 0;
  font-size: 1rem;
  line-height: 2rem;
}

.form-type-select .nice-select:active,
.form-type-select .nice-select.open,
.form-type-select .nice-select:focus {
  box-shadow: unset;
}

.filters-view .nice-select .current,
.filters-view .form-type-select .nice-select .option {
  color: #000;
}

.form-type-select .nice-select .list {
  width: 100%;
  border-radius: 0;
  margin-top: 1px;
}

.view-filters input {
  border: 1px solid #747171;
  margin: 0;
  border-radius: 0;
  height: 42px;
  width: 100%;
  background: url('../images/search-blue.png') no-repeat;
  background-position: 10px center;
  padding-left: 40px;
}

.js-form-item-sort-by .nice-select {
  border: 1px solid #747171;
}

.js-form-item-sort-by {
  display: flex;
  align-items: baseline;
}

.js-form-item-sort-by label {
  width: 60%;
}

.facets-widget-checkbox {
  margin-bottom: 20px;
}

.clear-filters {
  text-decoration: underline;
  color: #0000a0;
}

.show-results {
  background-color: #0000a0;
  height: 50px;
  width: 100%;
  margin-top: 30px;
}

@media screen and (min-width:1201px) {
  .facet-content {
    border-bottom: 2px solid #0000a0;
  }

  .filters-view .view-header {
    display: block;
  }

  .view-filters input {
    margin-bottom: 1.875rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
  .filter,
  .form-type-select.js-form-item-sort-by {
    margin-top: 1em;
  }
}

@media screen and (max-width:1200px) {
  .form-type-select .nice-select {
    border: 2px solid #0000a0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 50px;
    line-height: 3rem;
    padding-right: 25px;
  }

  .filters-view .form-type-select .nice-select {
    font-size: 0.813rem;
  }

  .js-form-item-sort-by label {
    display: none;
  }

  .filters-view .form-type-select .nice-select:after {
    background: unset;
  }

  .filters-view .form-type-select .nice-select::before {
    content: '';
    background: url("../images/topbottom-arrow.png") no-repeat;
    width: 18px;
    height: 100%;
    background-position: right;
    background-size: contain;
  }

  .filters-view .nice-select:not(.products) .current,
  .filters-view .form-type-select .nice-select:not(.products) .option {
    color: #0000a0;
    font-family: 'mars_centrabold';
  }

  .filter {
    height: 50px;
    line-height: 3rem;
    border: 2px solid #0000a0;
    display: flex;
    justify-content: space-evenly;
    cursor: pointer;
    margin-bottom: 1em;
  }

  .filters-view .filter::before {
    content: '';
    background: url("../images/filter.png") no-repeat;
    width: 18px;
    height: 100%;
    background-position: right;
    background-size: contain;
  }

  .filter span {
    color: #0000a0;
    font-family: 'mars_centrabold';
  }

  .view-filters input {
    height: 50px;
  }

  .js-form-item-sort-by {
    margin-top: 0;
  }

  .view-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #fff;
    z-index: 1;
    padding: 30px;
    overflow-y: scroll;
  }

  .view-header h4,
  .facet {
    font-family: 'mars_centrabold';
    margin-top: 15px;
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #cbcbcb;
  }

  .facet-content {
    padding: 0 10px;
  }

  .facet-content .facet-item__value {
    font-size: 1rem;
    color: #3c3c3c;
  }

  input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
  }

  .close-icon {
    margin: 15px;
    float: right;
    width: 22px;
  }

  .facet-content .facet {
    font-size: 1.125rem;
  }
}
