/**
 * Dropdowns in view filter forms (people, events, course listings).
 *
 * These are the browser's own <select> elements, which work with keyboards and
 * screen readers. They're styled to look like the Chosen widgets they replace;
 * Chosen is turned off for the stats theme in chosen.settings.
 */
.view-filters .views-exposed-form .form-item select.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 5px 34px 5px 10px;
  border: 0;
  border-radius: 0;
  background: #fff url(../img/select-carat.svg) no-repeat right 12px center / 7px 4px;
  color: #444;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 27px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  cursor: pointer;
}

.view-filters .views-exposed-form .form-item select.form-select:focus-visible {
  outline: 2px solid #2e637f;
  outline-offset: 2px;
}

/* Year ranges ("Year Entered Program: Between [year] and [year]"). The
   fieldset's legend is the heading, and "Between" and "and" are the two
   selects' labels. */
.view-filters [id^="edit-field-year-entered-value-wrapper"] legend,
.view-filters [id^="edit-field-year-graduated-value-wrapper"] legend {
  display: block;
  width: 100%;
  margin: 0;
  color: #444;
  font-family: freight-sans-pro, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: 0;
}

.view-filters .year_between_wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 7px;
}

.view-filters .year_between_wrapper .form-item {
  display: flex;
  align-items: center;
  width: auto;
  margin: 0 10px 0 0;
}

.view-filters .year_between_wrapper .form-item label {
  position: static;
  margin: 0 10px 0 0;
  color: #444;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.view-filters .year_between_wrapper .form-item select.form-select {
  width: 100px;
}
