#logo {
    max-width: 32px;
    max-height: 32px;
}

main>div.content {
    @media screen and (min-width: 1024px) {
        max-width: 880px;
    }
}

article h1 {
    margin-bottom: 1.5rem;
}

article h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.625rem;
}

article h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

article .class-member h3 {
    margin: 0 !important;
    font-size: 16px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110ch;

}

.member-type,
.member-static,
.member-returntype {
    /* color: rgb(10, 88, 202); */
    color: var(--bs-link-color);
}

.member-name {
    font-weight: 600;
}

article .class-member {
    margin-bottom: 1.5em;

    & .markdown.level1.summary {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;

        & p {
            margin: 0;
        }

    }

    & .doc-toggles {
        margin-top: 4px;
    }
}

article h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

article p {
    margin-bottom: 0.5rem;
}

article ul li {
    margin-bottom: 0.25rem;
}

footer {
    margin-left: 2em;
    min-height: 120px;
}

.summary-namespace-title {
    font-size: 1.25em;
}

.class-enum-key-summary p {
    margin: 0;
}

.breadcrumbs a {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

.doc-toggles .remarks-toggle,
.doc-toggles .summary-toggle,
.doc-toggles .example-toggle {
    color: #0f0f0f;
    margin-bottom: 0;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 4px;
    padding-bottom: 4px;
    border-width: 0px;
    border-bottom-width: 1px;
}

.doc-toggles {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
    margin: 0;
    margin-bottom: 0.5em;
}

.markdown code.hljs {
    border-radius: 8px;
}

code.hljs {
    background: #eeeeee;
}

.example-wrapper,
.remarks-wrapper,
.summary-wrapper {
    position: static;
}

.example-content,
.summary-content,
.remarks-content {
    display: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgb(246, 248, 246);
    border: solid 1px rgb(180, 200, 180);
    color: #376838;
    border-radius: 8px;

    padding: 1em;

    p {
        margin: 0;
    }
}

.summary-show-inline {
    display: block;
    position: relative;
    z-index: unset;
    top: unset;
    padding: 0.6em !important;
    border: 0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;

    /* background: rgb(220, 232, 220) !important; */
}

.example-close,
.remarks-close,
.summary-close {
    position: absolute;
    top: 0.12em;
    right: 0.33em;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
}

.example-close:hover,
.summary-close:hover,
.remarks-close:hover {
    opacity: 1;
}

.class-enum {
    padding: 2em;
    border: solid 1px;
    border-radius: 8px;
}

.class-enum-key-summary {
    border-radius: 8px;
    border-width: 1px;
    padding: 0.75em;
    margin-left: 0.25em;
    margin-bottom: 0;
    margin-top: 2em;
    font-size: 14px;
}

.toc-offcanvas {
    padding: 0.33rem;
    border-right: solid rgb(222, 226, 230) 1px;
    max-width: 440px;
    flex: 0.45 !important;
}

@media screen and (max-width: 768px) {
    .toc-offcanvas {
        max-width: unset;
        flex: 0.37 !important;
        padding: 0;
        border: 0;
    }
}

.markdown.example-content,
.markdown.summary-content,
.markdown.remarks-content,
.content>article .markdown.summary,
.content>article>pre>code.hljs {
    border-radius: 8px;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    margin-left: 0;
    margin-right: 0;
    padding: 1em;
    line-height: 1.4;
    padding-bottom: 1rem;
    font-size: 16px;

    background: rgb(253, 251, 247);
    border: solid 1px rgb(215, 208, 192);
    color: #4a4535;

    ul,
    li {
        margin-bottom: 0.33em;
    }
}

.summary-namespace {
    margin-bottom: 1.6em;
}

.class-enum-key-summary {
    padding: 0.5em;
    padding-bottom: 0;
    margin: 0;
    margin-left: 6px;
    font-size: 14px;
    line-height: 1.1;
}

.class-enum-key-summary+dt {
    margin-top: 0 !important;
}

.class-enum-key-summary,
.markdown.example-content,
.markdown.summary-content,
.markdown.remarks-content {
    background: rgb(246, 248, 246);
    border: solid 1px rgb(163, 193, 163);
    color: #3a6b3e;
}

.class-enum-keyword-enum {
    color: #4ec9b0;
}

.class-body {
    margin-left: 1em;

    &>.parameters {
        margin: 0 !important;

        &>dt {
            margin: 0 !important;
            margin-bottom: 0.5em !important;
        }
    }
}

.class-content-title {
    font-size: 22px;

    color: var(--bs-body-color);

    margin-bottom: 0;

    & span {
        font-size: 18px;
        font-weight: 400;

        @media screen and (max-width: 768px) {
            font-size: 16px !important;
        }
    }

    @media screen and (max-width: 768px) {
        font-size: 18px !important;
    }
}

[data-bs-theme=dark] {
    .class-enum {
        background: #1e1e1e;
        color: var(--bs-body-color);
    }

    .class-enum-key-summary {
        background: rgb(73, 77, 71);
        border: solid 1px rgb(123, 137, 141);
        color: #9ec49f;
    }

    .doc-toggles .remarks-toggle,
    .doc-toggles .summary-toggle,
    .doc-toggles .example-toggle {
        color: var(--bs-body-color);
    }

    .markdown.example-content,
    .markdown.summary-content,
    .markdown.remarks-content,
    .content>article .markdown.summary,
    .content>article>pre>code.hljs {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
        background: rgb(73, 77, 71);
        border: solid 1px rgb(123, 137, 141);
        color: var(--bs-body-color);
    }
}