/* :root */

:root {
    font-size: 10px;
    --links: #3087ff;
    --menu-bar-height: 80px;
    --sidebar-resize-indicator-width: 0px;
    --sidebar-fg: #000000;
    --fg: #000000;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* HTML */

html {
    font-family: "Host Grotesk", "Helvetica Neue", sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    color: #000000;
    background-color: #ffffff;
}

body {
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
}

/* H1 */

h1 {
    margin-top: 60px;
    margin-bottom: 0;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.3em;
}

/* h2 */

h2 {
    font-size: 24px;
    line-height: 1.3em;
    margin-top: 60px;
    margin-bottom: 0;
    font-weight: 500;
}

/* h3 */

h3 {
    font-size: 20px;
    margin-top: 36px;
    margin-bottom: 0;
}

/* p */

p,
.content p{
    font-size: 16px;
    line-height: 1.5em;
    margin-top: 24px;
    margin-bottom: 0;
    font-weight: 400;
}

/* ul */

.content ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.content ul li {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.3em;
    position: relative;
    padding-left: 16px;
}

.content ul li:before {
    content: "•";
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    display: block;
}

/* ol */

.content ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 16px;
}
.content ol li {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.3em;
}


/* table */
.table-wrapper {
    margin-left: -4px;
    padding-left: 4px;
    margin-right: -4px;
    padding-right: 4px;
    margin-bottom: -4px;
    padding-bottom: 4px;
}
table{
    float: left;
    margin-top: 24px;
    border-spacing: 0;
    padding-bottom: 1px;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.1));
}

table thead tr {
    border: none;
}

table thead {
    background: none;
}

table thead th {
    text-align: left;
    background-color: #000000;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    padding: 20px 24px
}

table thead th:first-child {
    border-top-left-radius: 20px;
}

table thead th:last-child {
    border-top-right-radius: 20px;
}

table tbody tr {
    background-color: #ffffff;
    border-top: 1px solid rgba(218, 218, 218, 1);
}

table tbody tr:last-child td:first-child{
    border-bottom-left-radius: 20px;
}

table tbody tr:last-child td:last-child{
    border-bottom-right-radius: 20px;
}

table tbody tr:nth-child(2n) {
    background-color: rgba(239, 242, 248, 1);
}

table td {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    padding: 20px 24px;
    border: none;
}

/* pre */

pre {
    margin-top: 24px;
    margin-bottom: 0;
}

pre > .buttons {
    top: 4px;
    right: 2px;
}

pre > .buttons button {
    height: 24px;
    width: 24px;
    background-color: #ffffff;
    border: none;
    color: #000000;
}
pre > .buttons button:hover {
    background-color: #f0f2f8;
    color: #000000;
}
/* blockquote */
blockquote {
    margin-top: 24px;
    margin-bottom: 0;
    padding-bottom: 24px;
    background-color: rgba(239,242,248, 0.8);
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

/* strong */

strong {
    font-weight: 600;
}

.page-wrapper {
    position: relative;
    background-color: #ffffff;
    margin-inline-start: calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width));
}
.page {
    padding-left: 0;
    padding-right: 0;
}

.content {
    padding-top: 0;
    padding-right: 60px;
    padding-left: 60px;
}

/* code */
.content code.hljs {
    background-color: #46484a;
    color: #dde0db;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5em;
}
.content code.hljs.shell {
    padding: 24px 32px
}

.hidden-text {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

/* .sidebar */

.sidebar {
    background-color: #f0f2f8;
}
.home-link {
    position: absolute;
    top: 24px;
    left: 24px;
}

/* sidebar-scrollbox */

.sidebar .sidebar-scrollbox {
    top: 80px;
    padding: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.chapter li.chapter-item {
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 400;
    display: block;
    margin-top: 0;
    position: relative;
    padding-left: 0;
}

.chapter li.chapter-item strong {
    display: none;
}

.chapter li a {
    padding: 12px 24px 12px 44px;
}

.section .chapter-item a {
    padding-left: 66px;
}

.section .section .chapter-item a {
    padding-left: 86px;
}

.chapter li a:hover,
.chapter li a.active {
    color: #000000;
    background-color: #DAE6FF;
}

.chapter li.part-title {
    margin: 16px 0 0 0;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.chapter li > a.toggle div {
    display: none;
}

.chapter li a:has(+ .toggle) {
    padding-left: 66px;
}

.chapter li > a.toggle:before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
    top: 20px;
    left: 46px;
}
.chapter .spacer {
    display: none;
}
.chapter li.expanded a.toggle:before {
    transform: rotate(135deg);
}
.section {
    padding-inline-start: 0;
}
.chapter .section li a:has(+ .toggle) {
    padding-left: 86px;
}
.chapter .section li > a.toggle:before {
    left: 68px;
}
.chapter .section .section li a:has(+ .toggle) {
    padding-left: 96px;
}
.chapter .section .section li > a.toggle:before {
    left: 78px;
}

/* main */

.content main {
    max-width: none;
}

/* menu-bar */
#menu-bar,
#menu-bar-hover-placeholder{
    margin:0;
}

#menu-bar {
    background-color: #f0f2f8;
    border: none;
    position: relative;
    height: var(--menu-bar-height);
}

@media (max-width: 1080px) {
    #search-wrapper {
        display: none;
    }
}

.searchbar-outer {
    position: fixed;
    width: 508px;
    top: 16px;
    left: calc(50% - 254px);
}

#searchbar {
    color: #020817;
    background-color: #ffffff;
    border: none;
    height: 44px;
    border-radius: 22px;
    margin: 0;
    font-weight: 300;
    font-size: 16px;
    padding-left: 22px;
    padding-right: 22px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#searchbar:focus,
#searchbar.active {
    border: none;
    box-shadow: none;
}

#searchbar:focus {
    outline: none !important;
}

#searchresults-outer:after {
    display: block;
    content: "";
    background-color: #000000;
    opacity: 0.5;
    position: fixed;
    top: var(--menu-bar-height);
    right: 0;
    bottom: 0;
    left: 0;
}

.searchresults-content {
    background-color: #ffffff;
    border-radius: 22px;
    border: none;
    position: fixed;
    top: 61px;
    left: calc(50% - 254px);
    width: 508px;
    max-height: calc(100vh - 69px);
    box-shadow: 1px 0px 4px 0px rgba(0,0,0,0.1);
    -webkit-box-shadow: 1px 0px 4px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 1px 0px 4px 0px rgba(0,0,0,0.1);
    scrollbar-width: none;
    overflow-y: auto;
    z-index: 100;
}

.searchresults-header {
    padding-inline-start: 0;
    padding-block-start: 0;
    font-weight: 400;
    margin-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
    color: #4B5563;
}
ul#searchresults {
    padding-inline-start: 0;
}

ul#searchresults li {
    margin: 0;
    padding: 0;
    border-radius: 0;
}

#searchresults a {
    display: block;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 4px;
    line-height: 48px;
    color: #020817;
}

#searchresults a:hover {
    background-color: rgba(218, 230, 255, 1);
}

ul#searchresults span.teaser {
    margin-block-start: 0;
    margin-inline-start: 0;
    margin-top: 4px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 12px;
    line-height: 16px;
    color: #4B5563;
}

.menu-title {
    font-size: 40px;
    color: #000000;
    font-weight: 500;
    text-align: left;
    padding-left: 60px;
}

.js .menu-title {
    cursor: default;
}

.right-buttons {
    top: 18px;
    position: absolute;
}

.right-buttons {
    margin: 0;
    right: 16px;
}

#menu-bar .right-buttons a,
#menu-bar .right-buttons .icon-button {
    display: inline-block;
    text-align: center;
    height: 44px;
    border-radius: 22px;
    line-height: 44px;
    font-size: 16px;
    padding-left: 22px;
    padding-right: 22px;
    background-color: #000000;
    color: #ffffff;
    min-width: 104px;
    box-sizing: border-box;
    font-weight: 400;
    letter-spacing: 1px;
}

#menu-bar .right-buttons button {
    font-family: inherit;
}

#menu-bar .right-buttons a:hover,
#menu-bar .right-buttons button:hover{
    background-color: #3087ff;
}

#search-wrapper ~ .right-buttons #search-toggle {
    background-color: #3087ff;
}

#search-wrapper.hidden ~ .right-buttons #search-toggle {
    background-color: #000000;
}

.nav-chapters {
    display: none;
}

#menu-bar i,
#menu-bar .icon-button{
    line-height: 44px;
}

.nav-chapters i {
    color: #ffffff;
    position: relative;
}

.nav-chapters:hover {
    background-color: #3087ff;
}

.previous {
    left: calc(var(--sidebar-width) + 8px);
}

.previous i {
    left: -1px;
    top: -1px;
}

.next {
    right: 8px;
    top: -1px;
}

.next i {
    left: 1px;
}

/* fix theme problems */
.hljs-number, .hljs-meta, .hljs-built_in, .hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params,
.hljs-string, .hljs-symbol, .hljs-bullet,
.hljs-comment, .hljs-quote {
    color: inherit;
}