/*
 * Bootstrap 5 Reboot + the element-level type rules, extracted verbatim from
 * the old theme's bootstrap.min.css.
 *
 * theme.css was authored on top of Bootstrap and silently depends on this.
 * Shipping only the grid classes left the browser defaults showing — most
 * visibly `body { margin: 8px }`, but `box-sizing: border-box` matters far
 * more: the whole grid assumes it.
 *
 * Only element selectors are kept. Every `.container`/`.row`/`.col-*` class is
 * in grid.css; tables, forms, components and utilities are dropped because the
 * ported markup uses none of them.
 *
 * Values are copied from the bundle, not retyped. Do not hand-edit — override
 * in theme.css or site.css instead.
 */

*,
::after,
::before {
  box-sizing:border-box;
}

body {
  margin:0;
  font-family:var(--bs-font-sans-serif);
  font-size:1rem;
  font-weight:400;
  line-height:1.5;
  color:#212529;
  background-color:#fff;
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
}

hr {
  margin:1rem 0;
  color:inherit;
  background-color:currentColor;
  border:0;
  opacity:.25;
}

hr:not([size]) {
  height:1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top:0;
  margin-bottom:.5rem;
  font-weight:500;
  line-height:1.2;
}

h1 {
  font-size:calc(1.375rem + 1.5vw);
}

h2 {
  font-size:calc(1.325rem + .9vw);
}

h3 {
  font-size:calc(1.3rem + .6vw);
}

h4 {
  font-size:calc(1.275rem + .3vw);
}

h5 {
  font-size:1.25rem;
}

h6 {
  font-size:1rem;
}

p {
  margin-top:0;
  margin-bottom:1rem;
}

abbr[data-bs-original-title],
abbr[title] {
  -webkit-text-decoration:underline dotted;
  text-decoration:underline dotted;
  cursor:help;
  -webkit-text-decoration-skip-ink:none;
  text-decoration-skip-ink:none;
}

address {
  margin-bottom:1rem;
  font-style:normal;
  line-height:inherit;
}

ol,
ul {
  padding-left:2rem;
}

dl,
ol,
ul {
  margin-top:0;
  margin-bottom:1rem;
}

ol ol,
ol ul,
ul ol,
ul ul {
  margin-bottom:0;
}

dt {
  font-weight:700;
}

dd {
  margin-bottom:.5rem;
  margin-left:0;
}

blockquote {
  margin:0 0 1rem;
}

b,
strong {
  font-weight:bolder;
}

sub,
sup {
  position:relative;
  font-size:.75em;
  line-height:0;
  vertical-align:baseline;
}

sub {
  bottom:-.25em;
}

sup {
  top:-.5em;
}

a {
  color:#0d6efd;
  text-decoration:underline;
}

a:hover {
  color:#0a58ca;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color:inherit;
  text-decoration:none;
}

code,
kbd,
pre,
samp {
  font-family:var(--bs-font-monospace);
  font-size:1em;
  direction:ltr;
  unicode-bidi:bidi-override;
}

pre {
  display:block;
  margin-top:0;
  margin-bottom:1rem;
  overflow:auto;
  font-size:.875em;
}

pre code {
  font-size:inherit;
  color:inherit;
  word-break:normal;
}

code {
  font-size:.875em;
  color:#d63384;
  word-wrap:break-word;
}

kbd {
  padding:.2rem .4rem;
  font-size:.875em;
  color:#fff;
  background-color:#212529;
  border-radius:.2rem;
}

kbd kbd {
  padding:0;
  font-size:1em;
  font-weight:700;
}

figure {
  margin:0 0 1rem;
}

img,
svg {
  vertical-align:middle;
}

table {
  caption-side:bottom;
  border-collapse:collapse;
}

caption {
  padding-top:.5rem;
  padding-bottom:.5rem;
  color:#6c757d;
  text-align:left;
}

th {
  text-align:inherit;
  text-align:-webkit-match-parent;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  border-color:inherit;
  border-style:solid;
  border-width:0;
}

label {
  display:inline-block;
}

button {
  border-radius:0;
}

button:focus:not(:focus-visible) {
  outline:0;
}

button,
input,
optgroup,
select,
textarea {
  margin:0;
  font-family:inherit;
  font-size:inherit;
  line-height:inherit;
}

button,
select {
  text-transform:none;
}

[role=button] {
  cursor:pointer;
}

select {
  word-wrap:normal;
}

select:disabled {
  opacity:1;
}

[list]::-webkit-calendar-picker-indicator {
  display:none;
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance:button;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
  cursor:pointer;
}

::-moz-focus-inner {
  padding:0;
  border-style:none;
}

textarea {
  resize:vertical;
}

fieldset {
  min-width:0;
  padding:0;
  margin:0;
  border:0;
}

legend {
  float:left;
  width:100%;
  padding:0;
  margin-bottom:.5rem;
  font-size:calc(1.275rem + .3vw);
  line-height:inherit;
}

::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-year-field {
  padding:0;
}

::-webkit-inner-spin-button {
  height:auto;
}

[type=search] {
  outline-offset:-2px;
  -webkit-appearance:textfield;
}

::-webkit-search-decoration {
  -webkit-appearance:none;
}

::-webkit-color-swatch-wrapper {
  padding:0;
}

::file-selector-button {
  font:inherit;
}

::-webkit-file-upload-button {
  font:inherit;
  -webkit-appearance:button;
}

output {
  display:inline-block;
}

iframe {
  border:0;
}

summary {
  display:list-item;
  cursor:pointer;
}

progress {
  vertical-align:baseline;
}

[hidden] {
  display:none!important;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

@media (min-width: 1200px) {
  legend {
    font-size: 1.5rem;
  }
}
