html {
  font-size: 14px;
}

.analytics-settings {
  padding: .5rem 1rem;
  background: #fff;
  text-align: center;
}

.analytics-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  background: #bcb;
  text-align: center;
}

.analytics-consent[hidden], .analytics-settings button[hidden] { display: none; }
.analytics-consent h2 { font-size: 1.17em; margin: 0 0 1em; }
.analytics-consent p { margin: 1em 0; }
.analytics-consent form { display: block; }
.analytics-consent form button { margin: 0 2px; }
.analytics-settings button { cursor: pointer; }
.analytics-consent button:focus-visible, .analytics-settings button:focus-visible {
  outline: 3px solid #258cfb;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  background: #f5f7fa;
  color: #172033;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
}

.site-header nav {
  margin-bottom: 0;
}

.site-header .navbar-brand,
.site-header .navbar-brand:link,
.site-header .navbar-brand:visited,
.site-header .nav-link,
.site-header .nav-link:link,
.site-header .nav-link:visited {
  color: rgb(255 255 255 / 78%);
}

.site-header .navbar-brand:hover,
.site-header .nav-link:hover {
  color: #fff;
}

.site-header .dropdown-item:link,
.site-header .dropdown-item:visited {
  color: #212529;
}

.public-nav {
  max-width: 1240px;
}

.public-content {
  min-height: calc(100vh - 132px);
  padding: 2rem 1rem;
}

/* Bootstrap heading sizes are much larger than those used by the legacy site.
   Keep the original, font-relative hierarchy inside migrated content. */
#contenttxt h1,
#contenttxt h2,
#contenttxt h3,
#contenttxt h4,
#contenttxt h5,
#contenttxt h6 {
  font-weight: 700;
  line-height: normal;
}

#contenttxt h1 {
  font-size: 2em;
  margin-block: .67em;
}

#contenttxt h2 {
  font-size: 1.5em;
  margin-block: .83em;
}

#contenttxt h3 {
  font-size: 1.17em;
  margin-block: 1em;
}

#contenttxt h4 {
  font-size: 1em;
  margin-block: 1.33em;
}

#contenttxt h5 {
  font-size: .83em;
  margin-block: 1.67em;
}

#contenttxt h6 {
  font-size: .67em;
  margin-block: 2.33em;
}

/* The legacy widths describe the content area. Bootstrap's border-box would
   otherwise make both promotional cards 20px narrower than the originals. */
#contenttxt .sidebox,
#contenttxt .sidebox2 {
  box-sizing: content-box;
}

/* Preserve the dimensions and native control typography from GetLicense.php. */
#contenttxt .optionbox,
#contenttxt .optionbox *,
.form-popup,
.form-popup * {
  box-sizing: content-box;
}

#contenttxt button {
  font-family: Arial, sans-serif;
  font-size: 13.3333px;
  line-height: normal;
}

#contenttxt input {
  font-family: monospace;
  font-size: 13.3333px;
  line-height: normal;
}

.form-popup {
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: normal;
}

.form-popup h2 {
  font-size: 1.5em;
  font-weight: 700;
  line-height: normal;
  margin-block: .83em;
}

.form-popup p {
  margin-block: 1em;
}

.form-popup input {
  font-family: monospace;
  font-size: 13.3333px;
  line-height: normal;
}

.form-popup .btn {
  padding: 1px 6px;
  color: buttontext;
  font-family: Arial, sans-serif;
  font-size: 13.3333px;
  font-weight: 400;
  line-height: normal;
}

.site-footer {
  background: #fff;
  font-size: .9rem;
}

.site-footer a {
  color: #435a78;
}

.hero {
  color: #fff;
  background: radial-gradient(circle at top right, #246bce, transparent 42%),
              linear-gradient(135deg, #111827, #263750);
}

.feature-card {
  background: #fff;
  border: 1px solid #dde3ea;
  box-shadow: 0 8px 24px rgb(17 24 39 / 5%);
}

.language-switcher a {
  color: #dbeafe;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.language-switcher a:hover {
  color: #fff;
}

@media (max-width: 1199px) {
  .language-switcher {
    padding: .75rem 0;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
