/*
 * Stub — could not be pulled the way common-filter.js was. Unlike
 * rivet2/common-filter.css and rivet3/common-filter.css (which are their
 * own standalone stylesheets, so they could just be copied), Indianapolis's
 * real site has no equivalent standalone filter CSS file — these classes
 * are styled somewhere inside their monolithic site.css bundle, which
 * isn't practical to extract into a copy that will actually stay correct.
 *
 * Below is every `rvt-c-*` class common-filter.js's templates reference
 * (i.e. Indianapolis's own custom classes, not core Rivet utilities from
 * rivet.min.css/variables.css, which are already loaded separately and
 * don't need anything here). Pull the real rules for each from
 * https://indianapolis.iu.edu/css/site.css and paste them in below —
 * Lee, this is the "gather the resources" part.
 */



/*
 * Disclosure / mobile filter collapse — NOT a stub. Copied verbatim from
 * rivet2/common-filter.css and rivet3/common-filter.css, which are
 * byte-for-byte identical on every rule below (confirmed by diffing them):
 * this is IU's one shared disclosure component, ported twice already
 * (Rivet 3 -> Rivet 2 per Lee) with zero re-theming needed, using IU's
 * standard brand colors/focus-ring pattern rather than anything
 * Kokomo- or Enterprise-Sitebuilder-specific. Backfilling Indianapolis with
 * the same component, not inventing a new one — see filter_template's own
 * comment in common-filter.js.
 *
 * Only the disclosure/toggle/mobile-overlay rules actually used by
 * filter_template's new markup are here — rivet2/rivet3's copies also carry
 * a couple of rules (.rvt-c-filter-mobile__results-toggle-btn,
 * .rvt-c-filter-mobile__keyword-search) their own filter_template doesn't
 * reference either; not carrying those forward.
 */
[data-rvt-disclosure=filter] {
  padding: 0;
}
[data-rvt-disclosure=filter] .rvt-disclosure__toggle {
  color: #243142;
  font-weight: 500;
}
[data-rvt-disclosure=filter] .rvt-disclosure__toggle:focus {
  box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem #990000;
  outline: none;
}
[data-rvt-disclosure=filter] .rvt-disclosure__toggle:hover {
  background-color: #f8f9fa;
  color: #990000;
  text-decoration: none;
}
[data-rvt-disclosure=filter] .rvt-disclosure__content {
  box-shadow: none;
  margin: 0;
  padding: 0;
  min-width: 100%;
}

@media screen and (max-width: 46.1875em) {
  [data-rvt-disclosure=filter] .rvt-disclosure__toggle {
    background-color: #fff;
    border: 1px solid #263245;
    padding: 0.5rem 1rem;
    width: 100%;
  }
  [data-rvt-disclosure=filter] .rvt-disclosure__toggle::before {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='rvt-m-right-xs' fill='none' height='14' viewBox='0 0 16 14' width='16'%3E%3Cpath d='M6 0C4.69378 0 3.58254 0.834808 3.17071 2L0 2L0 4H3.17071C3.58254 5.16519 4.69378 6 6 6C7.30622 6 8.41746 5.16519 8.82929 4L16 4V2L8.82929 2C8.41746 0.834808 7.30622 0 6 0ZM5 3C5 2.44772 5.44772 2 6 2C6.55228 2 7 2.44772 7 3C7 3.55228 6.55228 4 6 4C5.44772 4 5 3.55228 5 3Z' fill='%23263245'%3E%3C/path%3E%3Cpath d='M10 8C8.69378 8 7.58254 8.83481 7.17071 10H0L0 12H7.17071C7.58254 13.1652 8.69378 14 10 14C11.3062 14 12.4175 13.1652 12.8293 12H16V10H12.8293C12.4175 8.83481 11.3062 8 10 8ZM9 11C9 10.4477 9.44771 10 10 10C10.5523 10 11 10.4477 11 11C11 11.5523 10.5523 12 10 12C9.44771 12 9 11.5523 9 11Z' fill='%23263245'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    clip-path: unset;
  }
  [data-rvt-disclosure=filter] .rvt-disclosure__content:not([hidden]) {
    background-color: rgba(36, 49, 66, 0.85);
    left: 0;
    height: 100%;
    margin: 0;
    max-height: 100%;
    overflow: auto;
    padding-top: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
}
@media screen and (min-width: 46.25em) {
  [data-rvt-disclosure=filter] .rvt-disclosure__toggle {
    display: none;
  }
}
.rvt-c-filter-mobile__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.rvt-c-filter-mobile__close:focus {
  box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem #990000;
  outline: none;
}
.rvt-c-filter-mobile__close:hover {
  cursor: pointer;
}
.rvt-c-filter-mobile .rvt-checkbox input[type=checkbox] ~ label::before {
  border: 1px solid #75838f;
  border-radius: 0;
}
.rvt-c-filter-mobile .rvt-checkbox input[type=checkbox]:focus ~ label::before {
  box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem #990000;
}
.rvt-c-filter-mobile .rvt-checkbox input[type=checkbox]:checked ~ label::before,
.rvt-c-filter-mobile .rvt-checkbox input[type=checkbox]:indeterminate ~ label::before {
  background-color: #990000;
  border-color: #990000;
}

@media screen and (min-width: 46.25em) {
  .rvt-c-filter-mobile__close {
    display: none;
  }
}

/*
 * .rvt-c-filter__view-input — not part of today's disclosure backfill, but
 * found while comparing against rivet2/rivet3: already referenced by
 * build.custom.calendar-toggle's Semester/Month-Year radio markup (the
 * radios sit above filter_template, not inside it) and was never carried
 * over here, so it's been unstyled this whole time. Same
 * byte-identical-across-rivet2/rivet3 story as the disclosure rules above.
 */
.rvt-c-filter__view-input {
  padding-left: 0;
}
.rvt-c-filter__view-input input[type=radio]:checked ~ label {
  background-color: #990000;
  border-radius: 1rem;
  padding: 0.25rem 0.5rem;
}
.rvt-c-filter__view-input input[type=radio]:checked ~ label span {
  color: #fff;
  padding-left: 1.75rem;
}
.rvt-c-filter__view-input input[type=radio] ~ label {
  align-items: center;
  display: flex;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.rvt-c-filter__view-input input[type=radio] ~ label::before {
  width: 100%;
}
.rvt-c-filter__view-input input[type=radio] ~ label span {
  padding-right: 0.25rem;
  position: relative;
  z-index: 1;
}
.rvt-c-filter__view-input input[type=radio]:checked ~ label::before {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.9141 2.00003L4.44341 11.4707L0.0898438 6.39156L1.60836 5.08998L4.55637 8.52933L12.4999 0.585815L13.9141 2.00003Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  border: none;
  box-shadow: none;
  height: 0.68rem;
  margin-left: 0.75rem;
  outline: none;
  top: auto;
  width: calc(100% - 0.75rem);
}
.rvt-c-filter__view-input input[type=radio]:focus ~ label {
  box-shadow: inset 0 0 0 0.125rem #fff, 0 0 0 0.125rem #990000;
}
.rvt-c-filter__view-input input[type=radio]:not(:checked) ~ label {
  height: 2rem;
}
.rvt-c-filter__view-input input[type=radio]:not(:checked) ~ label::before {
  border: none;
  box-shadow: none;
  height: 2rem;
  left: 0;
  outline: 1px solid #758e8f;
  padding: 0;
  top: 0;
}
.rvt-c-filter__view-input input[type=radio]:not(:checked) ~ label span {
  padding: 0 0.25rem;
}

/*
 * Long-term calendar result list (calendar-long-term-results.js). Only
 * rvt-c-text-monospace is verified against the production stylesheet
 * (facultystaffcentral.indianapolis.iu.edu/_assets/css/calendar.css,
 * 2026-09-09) — rvt-c-link-hub__item, rvt-c-link-hub__text, and
 * rvt-c-list-hub__title (used by the same template) aren't in that
 * bundle or anywhere else in this app yet. Flagging rather than guessing;
 * this result list will render with those three unstyled until a real
 * reference turns up (the genuine indianapolis.iu.edu site.css that
 * originally hosted filter-calendar-long-term.js is the likely source).
 */
.rvt-c-text-monospace {
  font-family: "Azeret Mono", Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
}
