/*
 * SPDX-FileCopyrightText: UL Research Institutes
 * SPDX-License-Identifier: Apache-2.0
 */

:root,
[data-md-color-scheme="slate"] {
  --sd-black: rgb(9, 11, 11);
  --sd-blue-gray: #81a9d5;
  --sd-green: #6be1e1;
  --sd-dark-green: rgb(85.6, 180, 180);
  --sd-code-gray: rgb(29, 41, 53);
  --sd-darker-gray: #090b0d;
  --sd-dark-gray: #0f1924;
  --sd-white: #ffffff;

  /* text colors */
  --md-default-fg-color: var(--sd-white);
  --md-default-fg-color--light: var(--sd-white);
  --md-code-fg-color: var(--sd-white);
  --md-footer-fg-color--light: var(--sd-white);

  /* alternate background colors */
  --md-primary-fg-color: var(--sd-dark-gray);
  --md-footer-bg-color: var(--sd-dark-gray);

  /* main background color */
  --md-default-bg-color: var(--sd-darker-gray);

  /* link colors */
  --md-typeset-a-color: var(--sd-green);
  --md-typeset-a-hover-color: var(--sd-dark-green);
  --md-accent-fg-color: var(--sd-dark-green);

  --md-code-bg-color: var(--sd-code-gray);
  --md-code-font-family:
    "Liberation Mono", "Roboto Mono", SFMono-Regular, Consolas, Menlo, monospace;
}

html .md-footer-meta.md-typeset a {
  color: var(--sd-green);
}

html .md-footer-meta.md-typeset a:hover {
  color: var(--sd-dark-green);
}

.md-header {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.md-header--shadow {
  box-shadow: unset;
  transition: unset;
}

.md-footer {
  margin-top: 1.5rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.md-copyright {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.md-copyright p {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.md-footer-meta {
  background-color: unset;
}

.md-header__topic,
.md-header__topic:first-child {
  font-weight: unset;
}

.md-typeset {
  font-size: 0.8rem;
}

.md-typeset .admonition,
.md-typeset details {
  font-size: 0.8rem;
}

.md-typeset h1 {
  font-weight: normal;
}

.md-nav__item a,
.md-typeset a {
  color: var(--md-typeset-a-color);
}

.md-typeset a,
.md-typeset a::before {
  transition: unset;
}

.sd-logo {
  font-size: 0.9rem;
  font-family: var(--md-code-font-family);
}

.sd-logo-alt {
  color: var(--sd-blue-gray);
}

.md-nav__title {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.md-nav__item,
.md-header__topic {
  text-transform: lowercase;
}

.md-nav__item {
  font-size: 0.75rem;
}

.md-nav__item .md-nav__link--active,
.md-nav__item .md-nav__link--active code {
  color: var(--sd-white);
}

.md-nav__item .md-nav__link--active:hover {
  color: unset;
}

label.md-nav__link span.md-ellipsis {
  color: var(--sd-white);
}

.md-typeset strong {
  color: var(--sd-white);
}

.md-typeset a strong {
  color: var(--sd-green);
}

.md-typeset a:hover strong {
  color: var(--sd-dark-green);
}

.md-tabs__item {
  text-transform: lowercase;
}
