@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");
:root {
  --primary-font-family: 'Roboto', sans-serif;
  --mono-font-family: 'Roboto Mono', monospace;
  --sans-font-family: 'Roboto', sans-serif;
  --function-padding: 0.5em; }

body {
  background: #f8f8f8;
  font-family: var(--primary-font-family), serif; }

nav .nav-wrapper .brand-logo {
  font-family: var(--sans-font-family), sans-serif;
  font-size: 1.5rem; }

.code, #search-results-list li .result-link .result-line .result-title {
  font-family: var(--mono-font-family), monospace;
  color: #37474f;
  /* subtle dark color for code text */ }

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

.container {
  flex: 1; }

.title-row .library-title {
  margin-bottom: 0.25em;
  font-family: var(--sans-font-family), sans-serif; }

.title-row .library-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em; }
  .title-row .library-meta .library-version {
    opacity: 0.8;
    margin-left: 0.5em; }
  .title-row .library-meta .library-github {
    margin-right: 1em; }

.page-description {
  margin-top: 1em;
  margin-bottom: 2em;
  color: #474747;
  line-height: 1.4; }

.library-category {
  margin-top: 2em; }
  .library-category .card-title.content-subhead {
    font-family: var(--sans-font-family), sans-serif;
    font-weight: 600;
    margin-bottom: 1em; }
  .library-category .category-list table.striped {
    width: 100%; }
  .library-category .category-list td {
    padding: 0.5em; }
  .library-category .category-list td:last-of-type {
    color: #474747; }

.function-doc {
  margin-top: 2em; }
  .function-doc .card-content {
    position: relative;
    padding-bottom: 14px; }
    .function-doc .card-content .card-title {
      margin-bottom: 0.25em;
      font-weight: 600;
      font-family: var(--sans-font-family), sans-serif; }
    .function-doc .card-content .function-anchor {
      position: absolute;
      top: 0.5em;
      right: 0.5em;
      color: #424242; }
      .function-doc .card-content .function-anchor i.material-icons {
        vertical-align: middle; }
      .function-doc .card-content .function-anchor:hover {
        color: #bb7a2a; }
  .function-doc code {
    font-family: var(--mono-font-family), monospace;
    background-color: #f5f5f5;
    padding: 0.1em 0.3em;
    border-radius: 4px; }
  .function-doc .function-params,
  .function-doc .function-return,
  .function-doc .function-error-title {
    display: block;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #455a64; }
  .function-doc ul.browser-default {
    list-style-type: disc;
    margin-left: 1.5em; }
  .function-doc .bottom-ribbon {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px; }
    .function-doc .bottom-ribbon .file-ribbon {
      font-size: 75%; }

.page-footer {
  margin-top: 2rem;
  padding: 20px 0; }
  .page-footer .container p {
    margin: 0;
    font-size: 0.9em;
    color: #fff;
    /* text color for light footers on teal background */ }

a {
  color: #1565c0;
  text-decoration: none; }
  a:hover {
    color: #bb7a2a; }

a.monospace, span.monospace {
  font-family: var(--mono-font-family), monospace; }

.function-anchor {
  margin-right: 0.5rem;
  margin-top: 0.5rem; }

td.code-param {
  white-space: nowrap;
  /* Keep code param + type together */
  padding: 0.5rem 1rem 0.5rem 0; }

td.param-desc {
  padding: 0.5rem;
  width: 100%; }

.param-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem; }

.library-sections {
  margin-top: 1.5rem; }
  .library-sections .category-column {
    padding: 0 1rem; }

.l-box.library-category {
  margin-bottom: 1.5rem; }
  .l-box.library-category .content-subhead {
    margin-bottom: 1rem;
    font-family: var(--sans-font-family), sans-serif;
    font-weight: 600; }

.markdown-description.markdown-description.markdown-description p {
  margin-top: 1em;
  margin-bottom: 1em; }
  .markdown-description.markdown-description.markdown-description p:first-of-type {
    margin-top: 0; }
  .markdown-description.markdown-description.markdown-description p:last-of-type {
    margin-bottom: 0; }

.landing-page {
  margin-top: 2rem; }
  .landing-page h2.library-title {
    margin-bottom: 0.25em; }
  .landing-page .page-description {
    margin-bottom: 2em;
    color: #474747;
    line-height: 1.4; }

.content-subhead {
  font-family: var(--sans-font-family), sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem; }

.nav-search {
  margin-right: 1em; }
  .nav-search .search-icon {
    top: unset; }

#search-popup {
  position: absolute;
  top: 70px;
  right: 20px;
  max-width: 400px;
  z-index: 999; }

#search-popup {
  position: absolute;
  top: 70px;
  right: 20px;
  max-width: 400px;
  z-index: 999;
  display: none; }

#search-results-list {
  margin: 0; }
  #search-results-list li {
    padding: 0; }
  #search-results-list li .result-link {
    display: block;
    background-color: #fff;
    line-height: 1.5rem;
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    color: inherit; }
    #search-results-list li .result-link:hover {
      background-color: #f0f0f0; }
    #search-results-list li .result-link .result-line {
      display: flex;
      justify-content: space-between; }
      #search-results-list li .result-link .result-line .result-description {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden; }
      #search-results-list li .result-link .result-line .result-file {
        margin-left: 0.25em; }

.library-list .library-name, .library-list .library-version, .library-list .library-author {
  white-space: nowrap;
  padding-right: 2em; }

.library-list .library-description {
  width: 100%; }

.file-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 20px;
  position: relative; }
  .file-tree ul::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 10px;
    /* This shortens the border at the bottom by leaving a 10px gap */
    left: 0;
    border-left: 1px dashed #bbb; }

.file-tree li {
  margin: 5px 0;
  padding-left: 12px;
  position: relative;
  /* Horizontal dotted connector for each list item */ }
  .file-tree li::before {
    content: "";
    position: absolute;
    top: 12px;
    /* Adjust based on icon/text size */
    left: -20px;
    width: 20px;
    border-top: 1px dashed #bbb; }
  .file-tree li .material-icons {
    margin-right: 8px;
    font-size: 18px;
    /* Smaller than the default 24px */
    color: #505050; }
  .file-tree li span {
    font-weight: normal; }
