@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans&family=Ubuntu+Mono&display=swap");

:root {
  /* Sizes */
  --search-width: 680px;
  --header-height: 60px;
  --hash-offset: calc(var(--header-height) * 1.67);
  --sidebar-width: 260px;
  --gap: 24px;
  --small-gap: calc(var(--gap) / 2);
  --tiny-gap: calc(var(--small-gap) / 2);
  --large-gap: calc(var(--gap) * 2);
  --sidebar-toggle-size: 33px;
  --search-height: 4rem;

  /* Colors */
  --color-text: #4c4f69;
  --color-text-accent: #e6e9ef;
  --color-inline-code: #ea76cb;
  --color-link: #ea76cb;
  --color-link-accent: #e660c2;
  --color-background: #eff1f5;
  --color-background-sidebar: #e6e9ef;
  --color-background-accent: #8839ef;
  --color-border-accent: #ea76cb;
  --color-table-header-background: #bcc0cc;
  --color-table-header-text: #4c4f69;
  --color-table-background: #e6e9ef;
  --color-table-border: #ea76cb;
  --color-code-background: #dce0e8;

  /* Blockquote tags */
  --color-note: #0984e3;
  --color-tip: #00b894;
  --color-important: #e84393;
  --color-warning: #f9ca24;
  --color-caution: #e17055;

  /* etc */
  --nav-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.1);
  --shadow:
      0 0 0 1px rgba(50, 50, 93, 0.075),
      0 0 1px #e9ecef,
      0 2px 4px -2px rgba(138, 141, 151, 0.6);
}

* {
  box-sizing: border-box;
}

body,
html {
  padding: 0;
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 17px;
  line-height: 1.4;
  position: relative;
  min-height: 100vh;
  word-break: break-word;
  background-color: var(--color-background);
  color: var(--color-text);
}

html {
  /* This is necessary so hash targets appear below the fixed header */
  scroll-padding-top: var(--hash-offset);
}

.tippy-box {
  background-color: var(--color-text);
  color: var(--color-background);
}

.tippy-arrow {
  color: var(--color-text);
}

a,
a:visited {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
select {
  background: transparent;
  border: 0 none;
  cursor: pointer;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  text-transform: none;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

button {
  -webkit-appearance: button;
  line-height: 1;
  margin: 0;
  overflow: visible;
  padding: 0;
}

button:active,
select:active {
  outline: 0 none;
}

li {
  margin-bottom: 4px;
}

p {
  margin: var(--small-gap) 0;
}

.rendered-markdown h1,
.rendered-markdown h2,
.rendered-markdown h3,
.rendered-markdown h4,
.rendered-markdown h5 {
  font-size: 1.3rem;
}

/* Code */

pre,
code {
  font-family: "Ubuntu Mono", monospace;
  line-height: 1.2;
  background-color: var(--color-code-background);
}

pre {
  margin: var(--gap) 0;
  border-radius: 1px;
  overflow: auto;
  box-shadow: var(--shadow);
}

pre > code,
code.hljs {
  padding: var(--small-gap) var(--gap);
  background: transparent;
}

td code,
p code {
  margin: 0 2px;
  border-radius: 3px;
  padding: 0 0.2em;
  color: var(--color-inline-code);
}

/* Page layout */

.page {
  display: flex;
}

.content {
  margin-left: var(--sidebar-width);
  padding: calc(var(--header-height) + var(--gap)) var(--gap) 0 var(--gap);
  width: calc(100% - var(--sidebar-width));
  max-width: 100%;
}

.content img {
  max-width: 100%;
}

/* Page header */

.page-header {
  box-shadow: var(--nav-shadow);
  height: var(--header-height);
  color: var(--color-text-accent);
  background-color: var(--color-background-accent);
  display: flex;
  padding: var(--small-gap) var(--gap);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 300;
}

.page-header h2 {
  align-items: baseline;
  display: flex;
  margin: 0;
  width: var(--sidebar-width);
}

.page-header a,
.page-header a:visited {
  color: var(--color-text-accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-toggle {
  display: none;
  font-size: var(--sidebar-toggle-size);
  opacity: 0;
  transition: opacity 1s ease;
}

.search-nav-button {
  display: none;
  font-size: var(--sidebar-toggle-size);
  opacity: 0;
  transition: opacity 1s ease;
}

.page-header .sidebar-toggle {
  color: var(--color-background);
  margin: 0 var(--small-gap) 0 0;
}

.page-header .search-nav-button {
  color: var(--color-background);
  margin: 0 var(--small-gap) 0 0;
}

.page-header nav {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding-left: 2rem;
}

.page-header nav > a + a {
  margin-left: 1rem;
}

@media (max-width: 920px) {
  .page-header nav {
    display: none;
  }
}

/* Version selector */

#project-version {
  --half-small-gap: calc(var(--small-gap) / 2);
  --icon-size: 0.75em;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: normal;
  margin-left: var(--half-small-gap);
}

#project-version > span {
  padding-left: var(--half-small-gap);
}

#project-version form {
  align-items: center;
  display: inline-flex;
  justify-content: flex-end;
}

#project-version select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.6rem calc(1.3 * var(--icon-size)) 0.6rem var(--half-small-gap);
  position: relative;
  z-index: 1;
}

#project-version option {
  background-color: var(--code-background);
}

#project-version .icon {
  font-size: var(--icon-size);
  margin-left: calc(-1.65 * var(--icon-size));
}

/* Module doc */

.module-name > a,
.module-heading > a,
.module-member-kind > a {
  color: inherit;
}

.module-name > a:hover,
.module-heading > a:hover,
.module-member-kind > a:hover {
  text-decoration: none;
}

.module-name {
  color: var(--color-text);
  margin: 0 0 var(--gap);
  font-weight: 700;
}

/* Sidebar */

.sidebar {
  background-color: var(--color-background-sidebar);
  font-size: 0.95rem;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: var(--gap) var(--small-gap);
  position: fixed;
  top: var(--header-height);
  transition: transform 0.5s ease;
  width: var(--sidebar-width);
  z-index: 100;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  word-break: normal;
}

.sidebar h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 1.75em;
}

.sidebar h3.modules-prefix {
  color: var(--color-link);
  margin-bottom: 0;
}

.sidebar ul {
  list-style: none;
  margin: var(--small-gap) 0;
  padding: 0;
}

.sidebar h3.modules-prefix + ul {
  margin-left: var(--tiny-gap);
}

.sidebar li {
  line-height: 1.2;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar .sidebar-toggle {
  color: var(--color-link);
  font-size: calc(0.8 * var(--sidebar-toggle-size));
}

body.drawer-closed .label-open,
body.drawer-open .label-closed {
  display: none;
}

.display-controls {
  display: flex;
  margin-top: auto;
}

.display-controls svg.icon {
  color: var(--color-text);
}

.display-controls .control {
  margin: 0.5rem 0;
}

.display-controls .control:not(:first-child) {
  margin-left: 1rem;
}

.toggle {
  align-items: center;
  display: flex;
  font-size: 0.96rem;
}

.toggle-0 .label:not(.label-0),
.toggle-1 .label:not(.label-1) {
  display: none;
}

.label {
  display: flex;
}

.label .icon + .icon {
  margin-left: 0.5rem;
}

/* Module members (types, functions) */

.module-members {
  margin-top: var(--large-gap);
}

.module-member-kind {
  font-size: 2rem;
}

.module-heading,
.module-member-kind {
  color: var(--color-text);
}

.member {
  margin: var(--large-gap) 0;
  padding-bottom: var(--gap);
}

.member-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--color-border-accent);
  padding: var(--small-gap) var(--gap);
  color: var(--color-text-accent);
  background-color: var(--color-background-accent);
}

@media(max-width: 770px) {
  .member-name {
    overflow-x: auto;
  }
}

.member-name h2 {
  display: flex;
  font-size: 1.25rem;
  margin: 0;
}

.member-name > h2 > pre {
  background: none;
  font-family: 'Ubuntu Mono';
  box-shadow: unset;
  border-radius: unset;
  margin: 0;

}

.member-name h2 a {
  color: var(--color-text-accent);
}

.member-source {
  align-self: baseline;
  flex-shrink: 0;
  line-height: calc(1.4 * 1.5rem);
  margin: 0 0 0 var(--small-gap);
}

a.member-source,
a.member-source:hover,
a.member-source:visited {
  text-decoration: none;
  color: var(--color-text-accent);
}

a.member-source::before {
  content: '{ ... }';
  transition: all 0.5s ease-out;
}

a.member-source:hover::before {
  content: '{ view source }';
}

/* Custom type constructors */

.constructor-list {
  list-style: none;
  padding: 0;
}

.constructor-row {
  align-items: center;
  display: flex;
}

.constructor-row .icon {
  flex-shrink: 0;
  font-size: 0.7rem;
  margin: 0 0.88rem;
}

.constructor-item {
  margin-bottom: var(--small-gap);
}

.constructor-argument-item {
  display: flex;
}

.constructor-argument-label {
  flex-shrink: 0;
}

.constructor-argument-doc {
  margin-left: var(--gap);
}

.constructor-argument-list {
  margin-bottom: var(--small-gap);
}

.constructor-item-docs {
  margin-left: var(--large-gap);
  margin-bottom: var(--gap);
}

.constructor-item-docs > p {
  padding-left: 1.5rem;
}

.constructor-item-docs > p:first-child {
  padding-top: 0.5rem;
}

.constructor-item-docs > p:first-child::before {
  content: '↳';
  position: relative;
  margin-left: -1.5rem;
  color: var(--color-background-accent);
  width: 1.5rem;
  display: inline-block;
}

.constructor-item-docs hr {
  color: var(--color-text-accent);
}

.constructor-item-docs hr:last-child {
  display: none;
}

.constructor-item-docs p {
  margin: 0;
}

.constructor-item-docs h4 {
  margin-bottom: 1rem;
  display: inline-block;
}

.constructor-item-docs h4 > code {
  padding: 0.5rem;
}

.constructor-item-docs h4 ~ p {
  padding-left: 0.5rem;
  display: inline-block;
}

.constructor-name {
  box-shadow: unset;
  margin: 0;
}

.constructor-name > code {
  padding: var(--small-gap);
}

/* Tables */

table {
  border-spacing: 0;
  border-collapse: collapse;
}

table td,
table th {
  padding: 6px 13px;
  border: 1px solid var(--color-table-border);
}

table th {
  background-color: var(--color-table-header-background);
  color: var(--color-table-header-text);
}

table tr:nth-child(2n) {
  background-color: var(--color-table-background);
}

/* Icons */

.svg-lib {
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.icon {
  display: inline-block;
  fill: currentColor;
  height: 1em;
  stroke: currentColor;
  stroke-width: 0;
  width: 1em;
}

/* Pre-Wrap Option */

@media(min-width: 769px) {
  body.prewrap-on code,
  body.prewrap-on pre {
    white-space: pre-wrap;
  }
}

/* Dark Theme Option */

html.theme-dark {
  --color-text: #cdd6f4;
  --color-background: #1e1e2e;
}

body.theme-dark {
  /* Colors */
  --color-text: #cdd6f4;
  --color-text-accent: #11111b;
  --color-inline-code: #f5c2e7;
  --color-link: #f5e0dc;
  --color-link-accent: #f2cdcd;
  --color-background: #1e1e2e;
  --color-background-sidebar: #313244;
  --color-background-accent: #cba6f7;
  --color-border-accent: #f5c2e7;
  --color-table-header-background: #11111b;
  --color-table-header-text: #cdd6f4;
  --color-table-background: #181825;
  --color-table-border: #6c7086;
  --color-code-background: #11111b;

  /* etc */
  --nav-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
  --shadow:
      0 0 0 1px rgba(50, 50, 93, 0.075),
      0 0 1px var(--fg-shade-3),
      0 2px 4px -2px rgba(138, 141, 151, 0.2);
}

/* Medium and larger displays */
#prewrap-toggle {
  display: none;
}

/* Small displays */
@media (max-width: 920px) {
  .page-header {
    padding-left: var(--small-gap);
    padding-right: var(--small-gap);
  }

  .page-header h2 {
    width: calc(
      100% - var(--sidebar-toggle-size) - var(--small-gap) -
        var(--sidebar-toggle-size) - var(--small-gap)
    );
  }

  .content {
    width: 100%;
    max-width: unset;
    margin-left: unset;
  }

  .sidebar {
    box-shadow: var(--nav-shadow);
    height: 100vh;
    max-height: unset;
    top: 0;
    transform: translate(calc(-10px - var(--sidebar-width)));
    z-index: 500;
  }

  body.drawer-open .sidebar {
    transform: translate(0);
  }

  .sidebar-toggle {
    display: block;
    opacity: 1;
  }

  .search-nav-button {
    display: block;
    opacity: 1;
  }

  .sidebar .sidebar-toggle {
    height: var(--sidebar-toggle-size);
    position: absolute;
    right: var(--small-gap);
    top: var(--small-gap);
    width: var(--sidebar-toggle-size);
  }
}

/* Search */

.search {
  display: none;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  height: var(--search-height);
  padding: 0.5rem;
  transition: padding linear 200ms;
}

@media (min-width: 919px) {
  .search {
    margin-left: var(--small-gap);
    display: block;
    position: relative !important;
    width: auto !important;
    height: 100% !important;
    padding: 0;
    transition: none;
  }
}

.search-input-wrap {
  position: relative;
  z-index: 1;
  height: 3rem;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: height linear 200ms;
}

@media (min-width: 919px) {
  .search-input-wrap {
    position: absolute;
    width: 100%;
    max-width: calc(var(--search-width) - var(--gap) - var(--gap));
    height: 100% !important;
    border-radius: 0;
    box-shadow: none;
    transition: width ease 400ms;
  }
}

.search-input {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0.5rem 1rem;
  font-size: 16px;
  background-color: transparent;
  color: var(--color-text);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

@media (min-width: 919px) {
  .search-input {
    padding: 1rem;
    font-size: 14px;
    background-color: var(--color-background);
    transition: padding-left linear 200ms;
  }
}

.search-input:focus {
  outline: 0;
}

.search-label {
  position: absolute;
  right: 0;
  display: flex;
  height: 100%;
  padding-right: 1rem;
  cursor: pointer;
}

@media (min-width: 919px) {
  .search-label {
    padding-right: 0.6rem;
    transition: padding-left linear 200ms;
  }
}

.search-label .search-icon {
  width: 1.2rem;
  height: 1.2rem;
  align-self: center;
  color: var(--color-text);
}

.search-results {
  position: absolute;
  left: 0;
  display: none;
  width: 100%;
  max-height: calc(100% - var(--search-height));
  overflow-y: auto;
  color: var(--color-text);
  background-color: var(--color-background);
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 919px) {
  .search-results {
    top: 100%;
    width: calc(var(--search-width) - var(--gap) - var(--gap));
    max-height: calc(100vh - 200%) !important;
  }
}

.search-results-list {
  padding-left: 0;
  margin-bottom: 0.25rem;
  list-style: none;
  font-size: 14px !important;
}

@media (min-width: 31.25rem) {
  .search-results-list {
    font-size: 16px !important;
  }
}

@media (min-width: 919px) {
  .search-results-list {
    font-size: 12px !important;
  }
}

@media (min-width: 919px) and (min-width: 31.25rem) {
  .search-results-list {
    font-size: 14px !important;
  }
}

.search-results-list-item {
  padding: 0;
  margin: 0;
}

.search-result {
  display: block;
  padding-top: 0.25rem;
  padding-right: 0.75rem;
  padding-bottom: 0.25rem;
  padding-left: 0.75rem;
}

.search-result:hover,
.search-result.active {
  background-color: var(--code-background);
}

.search-result-title {
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 31.25rem) {
  .search-result-title {
    display: inline-block;
    width: 40%;
    padding-right: 0.5rem;
    vertical-align: top;
  }
}

.search-result-doc {
  display: flex;
  align-items: center;
  word-wrap: break-word;
}

.search-result-doc.search-result-doc-parent {
  opacity: 0.5;
  font-size: 12px !important;
}

@media (min-width: 31.25rem) {
  .search-result-doc.search-result-doc-parent {
    font-size: 14px !important;
  }
}

@media (min-width: 919px) {
  .search-result-doc.search-result-doc-parent {
    font-size: 11px !important;
  }
}

@media (min-width: 919px) and (min-width: 31.25rem) {
  .search-result-doc.search-result-doc-parent {
    font-size: 12px !important;
  }
}

.search-result-doc .search-result-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  color: var(--color-link-accent);
  flex-shrink: 0;
}

.search-result-doc .search-result-doc-title {
  overflow: auto;
  color: var(--color-link-accent);
}

.search-result-section {
  margin-left: 1.5rem;
  word-wrap: break-word;
  color: var(--color-link-accent)
}

.search-result-rel-url {
  display: block;
  margin-left: 1.5rem;
  overflow: hidden;
  color: var(--color-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px !important;
}

@media (min-width: 31.25rem) {
  .search-result-rel-url {
    font-size: 10px !important;
  }
}

.search-result-previews {
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  margin-left: 0.5rem;
  color: var(--color-text);
  word-wrap: break-word;
  border-left: 1px solid;
  border-left-color: #eeebee;
  font-size: 11px !important;
  /* TODO: fix it by not adding at the parent? */
  white-space: initial !important;
}

@media (min-width: 31.25rem) {
  .search-result-previews {
    font-size: 12px !important;
  }
}

@media (min-width: 31.25rem) {
  .search-result-previews {
    display: inline-block;
    width: 60%;
    padding-left: 0.5rem;
    margin-left: 0;
    vertical-align: top;
  }
}

.search-result-preview + .search-result-preview {
  margin-top: 0.25rem;
}

.search-result-highlight {
  font-weight: bold;
}

.search-no-result {
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 12px !important;
}

@media (min-width: 31.25rem) {
  .search-no-result {
    font-size: 14px !important;
  }
}

.search-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-background);
  border: 1px solid rgba(114, 83, 237, 0.3);
  border-radius: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: center;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity ease 400ms, width 0s 400ms, height 0s 400ms;
}

.search-active .search {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.search-active .search-input-wrap {
  height: var(--search-height);
  border-radius: 0;
}

@media (min-width: 919px) {
  .search-active .search-input-wrap {
    width: calc(var(--search-width) - var(--gap) - var(--gap));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
  }
}

.search-active .search-input {
  background-color: var(--color-background);
}

@media (min-width: 919px) {
  .search-active .search-label {
    padding-left: 0.6rem;
  }
}

.search-active .search-results {
  display: block;
}

.search-active .search-overlay {
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity ease 400ms, width 0s, height 0s;
}

@media (min-width: 919px) {
  .search-active .main {
    position: fixed;
    right: 0;
    left: 0;
  }
}

.search-active .main-header {
  padding-top: var(--search-height);
}

@media (min-width: 919px) {
  .search-active .main-header {
    padding-top: 0;
  }
}

.sidebar li[data-indent] {
  margin-bottom: unset;
  display: flex;
  flex-direction: row;
  color: var(--color-background-accent);
}

.sidebar li[data-indent] span,
.sidebar li[data-indent] a {
  display: flex;
  width: 100%;
  position: relative;
  left: -0.5rem;
  padding-left: 0.75rem;
}

.sidebar li[data-indent] a:hover,
.sidebar li[data-current] a,
.sidebar li[data-current] a:visited {
  padding-right: 0.25rem;
  text-decoration: none;
  color: var(--color-text-accent);
  background:
    linear-gradient(
      115deg,
      transparent 0.5rem,
      var(--color-background-accent) 0.5rem
    );
}

.sidebar li[data-indent="0"] {
  font-size: 1.1em;
}

.sidebar li[data-indent="0"]:not(first-child) {
  margin-top: 0.5rem;
}

.sidebar li[data-indent]::before {
  content: '/';
  font-size: 1.05em;
  font-family: monospace;
  padding-left: 0.25rem;
  letter-spacing: -0.1rem;
  padding-left: 4rem;
  display: flex;
  color: var(--color-background-accent);
}

.sidebar li[data-indent="0"]::before { display: none; }
.sidebar li[data-indent="1"]::before { padding-left: 1rem; }
.sidebar li[data-indent="2"]::before { padding-left: 2rem; }
.sidebar li[data-indent="3"]::before { padding-left: 3rem; }

.sidebar li[data-heading] > a,
.sidebar li[data-heading] > a:visited,
.sidebar li[data-heading] {
  font-weight: bold;
  font-size: 1em;
  color: var(--color-text);
}

.sidebar li[data-heading="1"] {
  margin-top: 1.5rem;
  font-size: 1.4em;
}

.sidebar li[data-heading="2"] {
  margin-top: 1rem;
  font-size: 1.2em;
}

.sidebar li[data-heading="3"] {
  margin-top: 0.75rem;
  font-size: 1.1em;
}

.sidebar li[data-heading="4"] {
  margin-top: 0.5rem;
  font-size: 1.1em;
}

.sidebar li[data-heading]:first-child {
  margin-top: 0;
}

/* Blockquote tags */

blockquote.markdown-alert-note {
  --color-alert: var(--color-note);
  --text-alert: "Note";
}

blockquote.markdown-alert-tip {
  --color-alert: var(--color-tip);
  --text-alert: "Tip";
}


blockquote.markdown-alert-important {
  --color-alert: var(--color-important);
  --text-alert: "Important";
}


blockquote.markdown-alert-warning {
  --color-alert: var(--color-warning);
  --text-alert: "Warning";
}


blockquote.markdown-alert-caution {
  --color-alert: var(--color-caution);
  --text-alert: "Caution";
}

blockquote.markdown-alert-note,
blockquote.markdown-alert-tip,
blockquote.markdown-alert-important,
blockquote.markdown-alert-warning,
blockquote.markdown-alert-caution {
  border-left: 4px solid var(--color-alert);
  padding-left: 1rem;
  margin: 0;
}

blockquote.markdown-alert-note > span.icon-group > svg.icon,
blockquote.markdown-alert-tip > span.icon-group > svg.icon,
blockquote.markdown-alert-important > span.icon-group > svg.icon,
blockquote.markdown-alert-warning > span.icon-group > svg.icon,
blockquote.markdown-alert-caution > span.icon-group > svg.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  position: relative;
  top: 0.15rem;
  margin-right: 0.25rem;
}

blockquote.markdown-alert-note > span.icon-group,
blockquote.markdown-alert-tip > span.icon-group,
blockquote.markdown-alert-important > span.icon-group,
blockquote.markdown-alert-warning > span.icon-group,
blockquote.markdown-alert-caution > span.icon-group {
  font-weight: bold;
  font-variant: small-caps;
  color: var(--color-alert);
  display: inline-block;
  width: 100%;
  padding-bottom: 0.5rem;
}
