:root {
  --border-radius: 0;
}

body {
  font-size: 112.5%;
  /* 18px */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Arvo", serif;
  font-weight: 400;
  color: #000;
  margin-bottom: 1.2rem;
  padding-top: 1.2rem;
  line-height: 1.2;
}

.h1,
h1 {
  font-size: 3.125rem;
}

.h2,
h2 {
  font-size: 2.3125rem;
}

.h3,
h3 {
  font-size: 1.8125rem;
}

.h4,
h4 {
  font-size: 1.5rem;
}

.h5,
h5 {
  font-size: 1.3125rem;
}

.h6,
h6 {
  font-size: 1.1875rem;
}

@media (max-width: 575px) {
  .content-layout > .row {
    flex-direction: column;
  }
  
  #main {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .content-layout {
    max-width: 100%;
  }
}

/* @media (min-width: 768px){
.container, .container-md, .container-sm {
    max-width: 720px;
}
} */

.lead {
  line-height: 1.67;
  color: #000;
}

.skip-link {
  position: absolute;
  top: -100%;
}

.skip-link:focus {
  top: 0.2rem;
}

.source {
  position: relative;
}

pre code,
pre code.hljs {
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 2.4rem 1.2rem 1.2rem 2rem;
  font-size: 0.875rem;
  line-height: 1.67;
}

blockquote p:last-child,
.blockquote p:last-child,
.aside p:last-child,
.footnotes .list-group-item p:first-child {
  display: inline;
}

.footnotes .list-group-item p:last-child {
  margin-bottom: 0.4rem;
}

blockquote,
.blockquote {
  border-left: 8px solid #575757;
  border-radius: var(--border-radius);
  padding: 0.6rem 1.2rem;
  font-size: 110%;
  line-height: 1.67;
  margin-bottom: 1rem;
}

.aside {
  background: #f4f4f4;
  margin: 1.6rem 0 2rem 0;
  border-left: 8px solid #9f9f9f;
  border-radius: var(--border-radius);
  padding: 1.6rem 2rem 1.6rem 4.4rem;
  width: 100%;
  margin: 1.4rem 0;
  position: relative;
}

.aside-info {
  background: #eef4ff;
  border-left: 8px solid #7998e5;
}

.aside-warning {
  background: #fffcea;
  border-left: 8px solid #dfd188;
}

.aside-danger {
  background: #ffefef;
  border-left: 8px solid #e17373;
}

.aside::before {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  width: 1em;
  height: 1em;
}

.aside-info::before {
  content: url(/static/icons/info.svg);
  filter: invert(56%) sepia(21%) saturate(1330%) hue-rotate(186deg)
    brightness(86%) contrast(88%);
}

.aside-warning::before {
  content: url(/static/icons/notification.svg);
  filter: invert(99%) sepia(34%) saturate(1572%) hue-rotate(331deg)
    brightness(82%) contrast(91%);
}

.aside-danger::before {
  content: url(/static/icons/warning.svg);
  filter: invert(58%) sepia(98%) saturate(1655%) hue-rotate(317deg)
    brightness(83%) contrast(72%);
}

.icon,
.icon-inline {
  display: inline-block;
  height: 1.2em;
  width: 1.2em;
  vertical-align: text-top;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

html[dir="ltr"] .icon-inline {
  margin-right: 0.2em;
}

a:hover svg.icon {
  text-decoration: none;
}

.example {
  border-style: dashed !important;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
}

.footnotes .list-group-item {
  display: list-item;
  margin-left: 1.1rem;
  border: none;
}

.nav-toc a,
.footnote-ref a {
  text-decoration: none;
}

a,
.nav-toc a:hover,
.nav-toc a:focus,
.footnote-ref a:hover,
.footnote-ref a:focus {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

pre {
  position: relative;
}

.demo {
  position: relative;
}

.demo iframe {
  width: 100%;
  border: none;
}

.demo:before {
  content: "Demo";
}

code[class~="language-html"]:before {
  content: "html";
}

code[class~="language-css"]:before {
  content: "css";
}

code[class~="language-js"]:before,
code[class~="language-javascript"]:before {
  content: "js";
}

code[class~="language-svg"]:before {
  content: "svg";
}

code[class*="language-"]:before,
.demo:before {
  position: absolute;
  font-size: 0.75rem;
  top: 0.4rem;
  right: 1rem;
  color: #222;
  font-family: monaco, Consolas, "Lucida Console", monospace;
  text-transform: uppercase;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0 0.6rem;
}

.demo:before {
  border-radius: 0;
  left: 0rem;
  background: #f8f9fa;
  padding: 2.4px 1.2rem 0rem 1.2rem;
  text-transform: none;
  top: -2.8rem;
  width: fit-content;
  font-family: 'Arvo';
  font-weight: bold;
  font-size: medium;
}

*,
:after,
:before {
  box-sizing: border-box;
  border: 0 solid #e2e8f0;
}

a.btn {
  text-decoration: none;
}

.sample-code {
  background-color: #f2f2f2;
  padding: 0.01rem 1.5rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
}

.demo {
  background: #f8f9fa;
  border: 0.95em solid #f8f9fa;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  margin-top: 2.4rem;
  padding: 0 1rem;
}

.demo p:last-of-type {
  margin-bottom: 0;
}

.figure {
  border: 1px solid #e6e6e6;
  border-radius: var(--border-radius);
  margin-top: 0.8rem;
  margin-bottom: 1.4rem;
  width: 100%;
  text-align: center;
}

.figcaption {
  font-family: Palanquin, sans-serif;
  font-size: 1rem;
  line-height: 1.67;
  text-align: left;
  background: #ebebeb;
  color: #000;
  padding: 0.8rem 1.4rem;
}

.figcaption p:last-of-type {
  margin-bottom: 0;
}

header {
  background: #e7eaed;
}

header .breadcrumb {
  margin: 0.4rem !important;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "";
  display: inline-block;
  border: solid currentcolor;
  border-width: 0 1px 1px 0;
  height: 0.6rem;
  margin-top: 1.3ch;
  margin-right: 1.3ch;
  opacity: 0.6666;
  pointer-events: none;
  width: 0.6rem;
  vertical-align: text-bottom;
  transform: translateY(-50%) rotate(-45deg);
}

footer,
.footer {
  border-top: 1px solid #e4e4e4;
}

a.footnote-backref {
  text-decoration: none;
}

@media (max-width: 420px) {
  .breadcrumb-item,
  .breadcrumb-item a {
    font-size: 1.1rem;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.15rem;
  }
}

/* hide content both visually and from assistive technology */
[hidden],
.hidden {
  display: none !important;
}

.btn:focus:not(:focus-visible) {
  outline-color: transparent;
  box-shadow: none;
}

kbd {
  padding: 0.08rem 0.16rem;
  color: var(--bs-body-color);
  background-color: var(--bs-highlight-bg);
  border: 1px solid var(--bs-body-color);
  border-radius: 3px;
}

.text-small {
  font-size: 0.88rem !important;
}

.svg-gray {
  filter: invert(63%) sepia(1%) saturate(0%) hue-rotate(155deg) brightness(97%)
    contrast(88%);
}

.beak-box {
  position: relative;
  border-radius: 5px;
  padding: 0.9rem;
  margin: 16px 0;
}

.beak-box:before {
  content: "";
  position: absolute;
  left: 1.6rem;
  z-index: 1;
  border: solid 15px transparent;
}

.beak-top:before {
  top: -30px;
  border-bottom-color: inherit;
}

.beak-bottom:before {
  bottom: -30px;
  border-top-color: inherit;
}

.form-row {
  margin-bottom: 1rem;
}

form .form-row:last-child {
  margin-bottom: 0;
}

.form-error {
  color: #000;
  background-color: #fedb77;
  border-color: #fedb77;
}


.reset * {
  /* margin: 0;
  padding: unset;
  border: unset;
  border-radius: unset;
  color: unset;
  font: unset; */
  font-family: system-ui, sans-serif;
  all: initial;
}