/* BGA Studio palette and controls, with local Roboto fonts. */
@font-face {
  font-family: Roboto;
  src: url("../assets/shared/fonts/Roboto-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("../assets/shared/fonts/Roboto-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("../assets/shared/fonts/Roboto-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --md-text-font: Roboto, Arial, sans-serif;
  --md-primary-fg-color: #1a57a7;
  --md-primary-fg-color--light: #0b72b5;
  --md-primary-fg-color--dark: #244587;
  --md-accent-fg-color: #124781;
  --md-default-bg-color: #e9e9ed;
  --md-default-fg-color: #252525;
  --md-default-fg-color--light: #53535d;
  --md-typeset-a-color: #1a57a7;
  --md-code-bg-color: #f0f1f5;
}
html { background-color: #e9e9ed; }
body {
  min-height: 100vh;
  background: #e9e9ed linear-gradient(#f4f4f4, #e9e9ed) top / 100% 14rem no-repeat;
}
.md-header {
  color: #1a57a7;
  background: #f4f4f4;
  border-bottom: 1px solid #cccbd3;
  box-shadow: 0 2px 5px #2424351a;
}
.md-header__inner { min-height: 3.4rem; }
.md-header__button.md-logo img { width: 2.3rem; height: 2.3rem; }
.md-header__title { font-size: .95rem; }
.md-search__form {
  background: #e5e5ea;
  border: 1px solid #c8c8d0;
  border-radius: 5px;
  box-shadow: inset 0 1px 3px #00000014;
}
.md-search__form:hover { background: #ececf0; }
.md-search__input, .md-search__form .md-search__icon { color: #454553; }
.md-search__input::placeholder { color: #606071; }
.md-main__inner { margin-top: 1.4rem; margin-bottom: 2rem; }
.md-content {
  min-width: 0;
  background: #fafafa;
  border: 1px solid #d2d2da;
  border-radius: 7px;
  box-shadow: 0 3px 8px #24243517;
}
.md-content__inner { margin: 0; padding: 1.6rem 2rem 2rem; }
.md-typeset h1 { color: #1a57a7; font-weight: 700; letter-spacing: -.02em; }
.md-typeset h2 { color: #244587; font-weight: 700; }
.md-typeset h3 { color: #343449; font-weight: 700; }
.md-typeset a:hover { text-decoration: underline; }
/* Keep tab content visibly grouped through the end of the selected panel. */
.md-typeset .tabbed-content {
  border-left: 2px solid #d2d2da;
  padding-left: .8rem;
}
/* TypeScript callouts: !!! ts "TypeScript" (also supports ??? ts). */
.md-typeset .admonition.ts,
.md-typeset details.ts {
  border-color: #3178c6;
}
.md-typeset .ts > .admonition-title,
.md-typeset .ts > summary {
  background-color: rgb(49 120 198 / 10%);
}
.md-typeset .ts > .admonition-title::before,
.md-typeset .ts > summary::before {
  background-color: #3178c6;
  -webkit-mask-image: var(--md-admonition-icon--ts);
  mask-image: var(--md-admonition-icon--ts);
}
.md-typeset .md-button {
  padding: .65em 1.4em;
  border: 1px solid #244587;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
  transition: box-shadow .15s, filter .15s;
}
.md-typeset .md-button--primary {
  color: #fff;
  background: linear-gradient(#0b72b5, #244587);
  box-shadow: inset 0 1px 0 #ffffff4d, 0 2px 3px #00000026;
  text-shadow: 0 1px 1px #00000040;
}
.md-typeset .md-button--primary:hover,
.md-typeset .md-button--primary:focus {
  color: #fff;
  background: linear-gradient(#1682c7, #1a57a7);
  border-color: #244587;
  text-decoration: none;
  box-shadow: inset 0 1px 0 #ffffff4d, 0 3px 6px #00000033;
}
a:focus-visible, label:focus-visible, button:focus-visible {
  outline: 3px solid #1a57a7;
  outline-offset: 3px;
}
.md-nav { font-size: .72rem; }
.md-nav__link { border-radius: 4px; }
.md-nav__link:hover { color: #1a57a7; }
.md-nav__link--active { color: #1a57a7; font-weight: 700; }
.md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__link {
  padding: .65rem .55rem;
  margin-top: .3rem;
  color: #1a57a7;
  background: linear-gradient(#f4f4f4, #dedee6);
  border: 1px solid #cccbd6;
  font-weight: 700;
}
.md-nav--secondary { border-left: 2px solid #d2d2dd; }
.md-typeset table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  background: #fff;
}
.md-typeset table th { background: #e9eaf0; color: #244587; }
.md-typeset .wikitable { border-collapse: collapse; font-size: .72rem; }
.md-typeset .wikitable td, .md-typeset .wikitable th {
  padding: .6rem;
  border: 1px solid #d2d2da;
}
.md-footer { background: #dedee6; color: #343449; }
.md-footer-meta { background: #d3d3de; }
.md-copyright, .md-copyright a, .md-copyright a:hover { color: #454553; }
@media screen and (min-width: 76.25em) {
  .md-sidebar--primary { padding-right: .6rem; }
  .md-nav--primary > .md-nav__title {
    position: static;
    background: transparent;
    box-shadow: none;
  }
}
@media screen and (max-width: 76.234375em) {
  .md-nav--primary .md-nav__title[for="__drawer"] {
    background: #f4f4f4;
    color: #1a57a7;
  }
  .md-nav--primary .md-nav__title .md-logo img { width: 2.3rem; height: 2.3rem; }
}
@media screen and (max-width: 44.984375em) {
  .md-main__inner { margin-top: .7rem; }
  .md-content { margin: 0 .5rem; }
  .md-content__inner { padding: 1.1rem; }
  .md-header__title { font-size: .8rem; }
  .md-typeset .md-button { width: 100%; }
}

/* Make the UX/UI guidelines the main action on their landing page. */
.md-typeset .ux-ui-guidelines-link {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 12rem;
  padding: 1.5rem;
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  line-height: 1.3;
}
