/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #00aa0f;
  --ifm-color-primary-dark: #009100;
  --ifm-color-primary-darker: #007700;
  --ifm-color-primary-darkest: #005e00;
  --ifm-color-primary-light: #00c429;
  --ifm-color-primary-lighter: #0fdd42;
  --ifm-color-primary-lightest: #29f75c;
  --ifm-code-font-size: 95%;
  --text-color: #18191a;
  --accent-color: #0074e0;
  --accent-hover-color: #0074e0aa;
  --ifm-navbar-height: 80px;
  scroll-behavior: smooth;
}

.theme-code-block-highlighted-line {
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .theme-code-block-highlighted-line {
  --docusaurus-highlighted-code-line-bg: rgba(255, 255, 255, 0.2);
}

.navbar__brand {
  height: 64px;
  margin-right: 0;
}

.navbar__logo {
  height: 100%;
  margin-right: -0.5rem;
}

.navbar__logo img {
  aspect-ratio: 143 / 64;
}

.navbar {
  background: linear-gradient(#fff, #f3ffff);
}

.navbar__link,
.navbar__link:hover,
.navbar__link--active {
  color: var(--text-color);
  font-size: 18px;
}

.navbar__item.navbar__link svg,
.footer__link-item svg {
  display: none;
}

.footer .footer__col {
  text-align: center;
}

.featureFilter {
  display: flex;
  align-items: baseline;
}

.featureFilter .features {
  margin-left: 1rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
}

.feature {
  display: block;
  background: none;
  border-radius: 0.5rem;
  color: var(--ifm-color-success-contrast-foreground);
  border: 1px solid var(--ifm-color-success-contrast-foreground);
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  margin: 0 0.8rem 1rem 0;
  line-height: 1.5em;
  text-decoration: none;
  cursor: pointer;
}

.feature:hover {
  background: var(--ifm-color-success-contrast-background);
  color: var(--ifm-color-success-contrast-foreground);
  text-decoration: none;
}

html.feature-1p3p .filter-1p3p,
html.feature-mA .filter-mA,
html.feature-battery-control .filter-battery-control,
html.feature-rfid .filter-rfid,
html.feature-sponsorfree .filter-sponsorfree,
html.feature-iso151182 .filter-iso151182 {
  background: var(--ifm-color-success-dark);
  color: var(--ifm-color-success-contrast-background);
  border-color: var(--ifm-color-success-dark);
  text-decoration: none;
}

.hidden-by-feature-filter {
  display: none !important;
}

/* blog item on overview page */
article.margin-bottom--xl header .row {
  display: none;
}

article.margin-bottom--xl footer .text--right a {
  text-decoration: underline;
  font-size: 1.1rem;
}

.tag {
  font-size: 0.75rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  font-weight: bold;
  padding: 0.2em 0.8em;
  border-radius: 10px;
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.tag--read {
  background-color: rgba(84, 199, 236, 0.15);
  color: var(--ifm-color-info-contrast-foreground);
}

.tag--write {
  background-color: rgba(255, 186, 0, 0.15);
  color: var(--ifm-color-warning-contrast-foreground);
}

ol ol {
  list-style-type: decimal;
}
