/* The main site's colours and type (webapp/web/static/site/styles.css) applied to the Material theme.
   Fira Sans is served from assets/fonts (fira-sans.css, SIL Open Font License, see OFL.txt). */
:root {
  --navy: #294b73;
  --footer-end: #4776a3;
  --muted: #526176;
  --md-primary-fg-color: #294b73;
  --md-primary-fg-color--light: #4776a3;
  --md-primary-fg-color--dark: #1f3a5a;
  --md-accent-fg-color: #4776a3;
  --md-accent-fg-color--transparent: #4776a31a;
  --md-typeset-a-color: #2f5d8f;
  --md-text-font-family: "Fira Sans", Arial, Helvetica, sans-serif;
  --md-code-font-family: Consolas, "Liberation Mono", Menlo, monospace;
  --md-default-fg-color: #233a55;
  --md-default-fg-color--light: #526176;
}

body { font-family: "Fira Sans", Arial, Helvetica, sans-serif; }
.md-typeset { font-size: .8rem; line-height: 1.65; color: #233a55; }
.md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4 { color: var(--navy); }
.md-typeset h1 { font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: .8em; }
.md-typeset h2 { font-weight: 700; font-size: 1.15rem; }
.md-typeset h3 { font-weight: 700; font-size: .95rem; }
.md-typeset table:not([class]) { font-size: .72rem; }
.md-typeset table:not([class]) th { background: #eef3f8; color: var(--navy); }

/* Header: the slim navy gradient bar. */
.coswat-header {
  height: auto;
  background: linear-gradient(to right, var(--navy), var(--footer-end));
  color: #fff;
  box-shadow: none;
}
.coswat-header__inner {
  max-width: none;
  min-height: 30px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.coswat-brand { display: inline-flex; align-items: center; white-space: nowrap; color: #fff; }
.coswat-brand__wordmark { display: block; width: auto; height: 24px; }
.md-typeset .coswat-home-logo { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 0 1.2rem; border: 0; border-radius: 0; }
.coswat-brand__docs { margin-left: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; opacity: .9; }
.development-label { display: inline-block; margin-left: 8px; color: #ff8c8c; font-size: 11px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.coswat-header .md-header__button { margin: 0; padding: 2px; }
.coswat-header .md-header__button svg { width: 18px; height: 18px; }
.coswat-header__menu { display: none; }
.coswat-header .md-search { margin-left: auto; padding: 0; }
.coswat-header .md-search__inner { padding: 0; }
.coswat-header__site { font-size: 12px; white-space: nowrap; color: #fff; }
.coswat-header__site:hover { color: #c7d5e8; }

@media screen and (min-width: 60em) {
  .coswat-header__search-toggle { display: none; }
  .coswat-header .md-search__form { height: 22px; border-radius: 4px; background: #ffffff26; }
  .coswat-header .md-search__input { height: 22px; font-size: 12px; padding-left: 30px; color: #fff; }
  .coswat-header .md-search__input::placeholder { color: #ffffffc0; }
  .coswat-header .md-search__icon { top: 3px; left: 7px; }
  .coswat-header .md-search__icon svg { width: 15px; height: 15px; }
  .coswat-header .md-search__inner { width: 11.5rem; }
  [data-md-toggle=search]:checked ~ .md-header .md-search__form { background: #fff; border-radius: 4px 4px 0 0; }
  [data-md-toggle=search]:checked ~ .md-header .md-search__input { color: var(--navy); }
  [data-md-toggle=search]:checked ~ .md-header .md-search__inner { width: 30rem; }
}
@media screen and (max-width: 76.234375em) {
  .coswat-header__menu { display: inline-block; }
}
@media screen and (max-width: 59.984375em) {
  .coswat-header__inner { min-height: 44px; padding: 0 16px; gap: 12px; }
  .coswat-brand__wordmark { height: 28px; }
  .coswat-header .md-search { margin-left: 0; }
  .coswat-header__search-toggle { margin-left: auto !important; }
  .coswat-header .md-header__button svg { width: 22px; height: 22px; }
}
@media (max-width: 640px) {
  .development-label { font-size: 9px; margin-left: 4px; }
  .coswat-brand__docs, .coswat-header__site { display: none; }
}

/* Footer: the same gradient, the copyright line centred. */
.coswat-footer { background: linear-gradient(to right, var(--navy), var(--footer-end)); color: #fff; }
.coswat-footer__inner { min-height: 36px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* Navigation and contents panes. */
.md-nav { font-size: .68rem; }
.md-nav__title { color: var(--navy); }
.md-nav__item--section > .md-nav__link { color: var(--navy); font-weight: 700; }
.md-nav__link--active, .md-nav__link:hover { color: #2f5d8f; }
@media screen and (max-width: 76.234375em) {
  .md-nav--primary .md-nav__title[for=__drawer] { background: linear-gradient(to right, var(--navy), var(--footer-end)); color: #fff; }
}
@media screen and (min-width: 76.25em) {
  .md-nav--primary > .md-nav__title { background: none; box-shadow: none; color: var(--navy); font-weight: 700; padding-left: .6rem; }
}
.md-typeset .admonition.note > .admonition-title::before { background-color: var(--footer-end); }
.md-main__inner { margin-top: 1rem; }

/* Notes and screenshots. */
.md-typeset .admonition, .md-typeset details { font-size: .74rem; border-width: 1px; border-radius: 4px; box-shadow: none; background: #f3f7fb; }
.md-typeset .admonition.note, .md-typeset details.note { border-color: var(--footer-end); }
.md-typeset .note > .admonition-title, .md-typeset .note > summary { background: #e3ecf5; }
.md-typeset .admonition.planned { border-color: #b7c4d3; background: #f6f8fa; }
.md-typeset .planned > .admonition-title { background: #eceff3; }
.md-typeset .planned > .admonition-title::before { background-color: #7b8899; -webkit-mask-image: var(--md-admonition-icon--note); mask-image: var(--md-admonition-icon--note); }
.md-typeset figure img, .md-typeset p > img { border: 1px solid #dde4ec; border-radius: 4px; }
.md-typeset figcaption { color: var(--muted); font-size: .68rem; max-width: none; }
.md-typeset kbd { font-size: .7rem; }
.md-typeset .ui { font-weight: 700; color: var(--navy); }
