/* Global customization */


:root {
  --code-max-height: 60rem;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Oxygen, Ubuntu, Cantarell, "Open Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-mono: "Noto Mono", monospace;
}

/* Light mode theming */
:root,
:root[color-theme="light"] {
  --header-background: none;
  --header-font-color: #333;

  --body-background: #ffffff;
  --body-font-color: #343a40;

  --mark-color: #ffab00;

  --button-background: #827bc6;
  --button-border-color: #827bc6;

  --link-color: #8982c9;
  --link-color-visited: #8982c9;

  --accent-color: #e9ecef;
  --accent-color-lite: #ebedef;

  --control-icons: #b2bac1;

  --footer-background: #2f333e;
  --footer-font-color: #ffffff;
  --footer-link-color: #9f95e6;
  --footer-link-color-visited: #9f95e6;
}

@media (prefers-color-scheme: light) {
  :root {
    --header-background: none;
    --header-font-color: #333;

    --body-background: #ffffff;
    --body-font-color: #343a40;

    --mark-color: #ffab00;

    --button-background: #827bc6;
    --button-border-color: #827bc6;

    --link-color: #8982c9;
    --link-color-visited: #8982c9;

    --accent-color: #e9ecef;
    --accent-color-lite: #ebedef;

    --control-icons: #b2bac1;

    --footer-background: #2f333e;
    --footer-font-color: #ffffff;
    --footer-link-color: #9f95e6;
    --footer-link-color-visited: #9f95e6;
  }
}

/* Dark mode theming */
:root[color-theme="dark"] {
  --header-background: none;
  --header-font-color: #ffffff;

  --body-background: #1b1d1f;
  --body-font-color: #ced3d8;

  --mark-color: #ffab00;

  --button-background: #827bc6;
  --button-border-color: #827bc6;

  --link-color: #8982c9;
  --link-color-visited: #8982c9;

  --accent-color: #2b3035;
  --accent-color-lite: #3d454d;

  --control-icons: #b2bac1;

  --footer-background: #2f333e;
  --footer-font-color: #ffffff;
  --footer-link-color: #9f95e6;
  --footer-link-color-visited: #9f95e6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --header-background: none;
    --header-font-color: #ffffff;

    --body-background: #1a1d20;
    --body-font-color: #ced3d8;

    --mark-color: #ffab00;

    --button-background: #827bc6;
    --button-border-color: #827bc6;

    --link-color: #8982c9;
    --link-color-visited: #8982c9;

    --accent-color: #2b3035;
    --accent-color-lite: #272c31;

    --control-icons: #b2bac1;

    --footer-background: #2f333e;
    --footer-font-color: #ffffff;
    --footer-link-color: #9f95e6;
    --footer-link-color-visited: #9f95e6;
  }
}



body {
  font-family: var(--font-family);
}

h3 {
  margin-bottom: 0.5rem;
}

.container {
  max-width: 70rem;
}

.gdoc-header {
  border-bottom: none;
  font-family: var(--font-family);
  font-weight: bold;
}

.gdoc-button {
  border-radius: 0.33rem;
  background: var(--button-background);
  border: var(--button-border-color) 1px solid;
}

.gdoc-button.btn-primary a.gdoc-button__link {
  color: #FFF !important;
}

.gdoc-button.btn-secondary {
  background: transparent;
  border: var(--button-border-color) 1px solid;
}

.gdoc-button.btn-secondary a.gdoc-button__link {
  color: var(--button-border-color) !important;
}

.gdoc-button a {
  border-bottom: none;
}

.gdoc-search__input {
  background: none;
}

.gdoc-page__header {
  background: none;
}

.gdoc-menu-header__items {
  align-items: center;
}

.gdoc-menu-header__items>span {
  padding-left: 1rem;
}

.gdoc-nav nav section {
  /* Make the font slightly smaller. */
  font-size: 0.9rem;
}

.gdoc-nav__list li {
  /* Squeeze the navigation items a little closer together. */
  margin: 0.6rem 0;
}

.gdoc-nav__entry.is-active {
  /* Make the current page in the documentation navigation tree more visible. */
  text-decoration: none;
  border-bottom: thin dashed var(--link-color-visited);
}

.flamenco-download-link {
  font-family: var(--font-family-mono);
}

article p {
  line-height: 28px;
  margin-top: 0;
}

table tbody td {
  vertical-align: top;
}

/* 3rd party job types compatibility notes. */
.compatibility-box .infobox {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.compatibility-box p.disclaimer {
  font-style: italic;
  flex-basis: 70%;
  text-align: justify;
}

.compatibility-box .infobox dl,
.compatibility-box .infobox p.disclaimer {
  margin: 0.6ex;
}

.compatibility-box dl {
  flex-basis: 30%;
  display: flex;
  flex-flow: row wrap;
}

.compatibility-box dl dt {
  margin: 0;
  flex-basis: 55%;
  padding: 0.2em 0.4em;
  text-align: right;
}

.compatibility-box dl dt::after {
  content: ":";
}

.compatibility-box dl dd {
  flex-basis: 45%;
  flex-grow: 1;
  margin: 0;
  padding: 0.2em 0.4em;
}
