:root {
    --md-primary-fg-color: #082036;
    --md-code-fg-color: #e96900;
    --md-header-height: 92px;
    --270-brand-color-light: #52a4d6;
    --md-default-fg-color--light: #858585;
    --md-accent-fg-color--transparent: #52a4d622;
    --md-text-font: 'din-2014', sans-serif;
}

html {
    font-size: 16px;
    word-spacing: 0.05rem;
}

body {
    letter-spacing: .03em;
    color: #0a0a0a;
    font-size: 16px;
    overflow-y: visible !important;
}


.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
    color: var(--270-brand-color-light);
    font-weight: 600;
    letter-spacing: revert;
}

.md-typeset h1 {
    color: #0a0a0a;
    margin-bottom: 1rem;
}

.md-typeset h2 {
    font-size: 1.75rem;
}

.md-typeset hr {
    border-bottom-color: var(--md-primary-fg-color);
}

strong {
    color: #2c3e50;
    font-weight: 800;
}

.md-typeset ul {
    list-style: revert;
}

.md-typeset em {
    color: #7f8c8d;
}

[dir=ltr] .md-typeset ol li ol,
[dir=ltr] .md-typeset ol li ul,
[dir=ltr] .md-typeset ul li ol,
[dir=ltr] .md-typeset ul li ul {
    margin-left: 0;
}


/* THEME OVERRIDES */
.md-grid {
    max-width: 100dvw;
}

.md-nav__title {
    display: none;
}

.md-header {
    height: 92px;
}

.md-main__inner {
    margin-top: 0;
}

.md-header__inner {
    height: 100%;
}

.md-sidebar {
    width: 300px;
    background: #082036;
    color: #ffffff;
    height: 100%;
}

.md-sidebar__scrollwrap {
    background: #082036;
    margin: 0;
}

.md-nav {
    font-size: 1rem;
}

.md-typeset {
    word-spacing: 0.05rem;
}

.md-typeset :target {
    --md-scroll-margin: var(--md-header-height);
}

.md-typeset a,
.md-typeset a:hover {
    color: var(--270-brand-color-light);
    text-decoration: underline;
    font-weight: 600;
}

.md-typeset a:hover {
    text-decoration: none;
}

.md-content__inner {
    margin: 0 auto !important;
    max-width: 80%;
    padding: 30px 15px 40px 15px;
    font-size: 1rem;
}

.md-nav__item {
    font-size: 14px;
    line-height: 32px;
}

.md-nav__link[for]:focus,
.md-nav__link[for]:hover,
.md-nav__link[href]:focus,
.md-nav__link[href]:hover {
    color: unset;
    text-decoration: underline;
}

.md-nav__item .md-nav__link--active,
.md-nav__item .md-nav__link--active:hover {
    color: var(--270-brand-color-light);
}

.md-nav__link--passed {
    color: #ffffff;
}

[dir=ltr] .md-nav--integrated>.md-nav__list>.md-nav__item--active .md-nav--secondary {
    border-left-color: transparent;
}

[dir=ltr] .md-sidebar__inner {
    width: 100%;
    padding-right: 0;
}

[dir=ltr] .md-nav--primary .md-nav__item>.md-nav__link {
    border-right: 2px solid transparent;
}

[dir=ltr] .md-nav--primary .md-nav__item>.md-nav__link.md-nav__link--active {
    border-right: 2px solid var(--270-brand-color-light);

}

.md-typeset .tabbed-labels>label {
    font-size: 1rem;
    font-weight: 400;
    background: #f8f8f8;
}

.md-typeset .tabbed-set>input:first-child:checked~.tabbed-labels>:first-child,
.md-typeset .tabbed-set>input:nth-child(10):checked~.tabbed-labels>:nth-child(10),
.md-typeset .tabbed-set>input:nth-child(11):checked~.tabbed-labels>:nth-child(11),
.md-typeset .tabbed-set>input:nth-child(12):checked~.tabbed-labels>:nth-child(12),
.md-typeset .tabbed-set>input:nth-child(13):checked~.tabbed-labels>:nth-child(13),
.md-typeset .tabbed-set>input:nth-child(14):checked~.tabbed-labels>:nth-child(14),
.md-typeset .tabbed-set>input:nth-child(15):checked~.tabbed-labels>:nth-child(15),
.md-typeset .tabbed-set>input:nth-child(16):checked~.tabbed-labels>:nth-child(16),
.md-typeset .tabbed-set>input:nth-child(17):checked~.tabbed-labels>:nth-child(17),
.md-typeset .tabbed-set>input:nth-child(18):checked~.tabbed-labels>:nth-child(18),
.md-typeset .tabbed-set>input:nth-child(19):checked~.tabbed-labels>:nth-child(19),
.md-typeset .tabbed-set>input:nth-child(2):checked~.tabbed-labels>:nth-child(2),
.md-typeset .tabbed-set>input:nth-child(20):checked~.tabbed-labels>:nth-child(20),
.md-typeset .tabbed-set>input:nth-child(3):checked~.tabbed-labels>:nth-child(3),
.md-typeset .tabbed-set>input:nth-child(4):checked~.tabbed-labels>:nth-child(4),
.md-typeset .tabbed-set>input:nth-child(5):checked~.tabbed-labels>:nth-child(5),
.md-typeset .tabbed-set>input:nth-child(6):checked~.tabbed-labels>:nth-child(6),
.md-typeset .tabbed-set>input:nth-child(7):checked~.tabbed-labels>:nth-child(7),
.md-typeset .tabbed-set>input:nth-child(8):checked~.tabbed-labels>:nth-child(8),
.md-typeset .tabbed-set>input:nth-child(9):checked~.tabbed-labels>:nth-child(9) {
    background: #ffffff
}

.js .md-typeset .tabbed-labels:before {
    background: var(--270-brand-color-light);
    height: 3px;
}

.md-typeset .tabbed-labels--linked>label>a {
    text-decoration: none;
}

.md-typeset .admonition {
    font-size: 1rem;
    margin-top: 1.2em;
    margin-bottom: 1.2em;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
    width: 5.5rem;
    height: auto;
}

.md-header__title {
    font-size: 2rem;
}

.md-header__topic:first-child {
    font-weight: 400;
}

.md-sidebar__scrollwrap,
.md-typeset pre>code,
.md-search__scrollwrap {
    scrollbar-color: unset !important;
}

/* disable dynamic header title */
.md-header__topic+.md-header__topic {
    display: none !important;
}

.md-header__title--active .md-header__topic {
    transform: none;
    opacity: 1;
}

li.md-nav__item li.md-nav__item::before {
    content: '-';
    padding-right: 4px;
    float: left;
}

/* ADMONITIONS */
.md-typeset .admonition,
.md-typeset details {
    padding: 0 1rem;
}

.md-typeset .admonition-title,
.md-typeset summary {
    margin: 0 -1rem;
}


.md-typeset .admonition.warning,
.md-typeset details.warning {
    background-color: rgba(255, 145, 0, 0.1);
}

.md-typeset .admonition.tip,
.md-typeset details.tip {
    background-color: rgba(0, 191, 165, 0.1);
}

.md-typeset .admonition.note,
.md-typeset details.note {
    background-color: rgba(68, 138, 255, 0.1);
}

[dir=ltr] .md-typeset blockquote {
    border-left: 4px solid var(--270-brand-color-light);
    padding-left: 20px;
    margin: 2em 0;
    font-weight: 600;
}


html .md-typeset .admonition>:last-child,
html .md-typeset details>:last-child {
    margin-bottom: 1em;
}

/* search */

.md-search__form {
    background: #ffffff;
}

.md-search__input+.md-search__icon {
    color: var(--270-brand-color-light);
}

.md-search__input::placeholder {
    color: var(--270-brand-color-light) !important;
}

.md-search-result .md-typeset,
.md-search-result .md-typeset h2,
.md-search-result__meta {
    font-size: .8rem;
}

.md-search-result mark {
    color: var(--270-brand-color-light);
}

.md-search-result .md-typeset p {
    line-height: 1.4;
}

.md-search-result .md-typeset h1 {
    font-size: 1rem;
    line-height: 1.2;
}

.md-search-result .md-typeset pre {
    padding-left: 1em;
    padding-right: 1em;
}

.md-search-result .md-typeset pre>code {
    font-size: 0.64rem;
    padding-top: 1em;
    padding-bottom: 1em;
}

.md-search-result .md-typeset ol li,
.md-search-result .md-typeset ul li {
    margin-bottom: .25em;
}

.md-search-result__more {
    background: var(--md-default-fg-color--lightest);
}

.md-search-result__more .md-search-result__article {
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--md-default-fg-color--light)
}

.md-search__input {
    letter-spacing: .48px;
}

/* CODE STYLES */
.md-typeset pre {
    padding: 0 1.4rem;
    background-color: #f8f8f8;
}

.md-typeset pre>code {
    padding: 2.2em 5px;
    font-size: 0.8rem;
}

.md-typeset code {
    font-size: 0.8em;
}

.md-typeset pre {
    line-height: 1.5rem;
}

:not(pre)>code[class*=language-],
pre[class*=language-] {
    background: #f8f8f8;
}


/* PRISM */
/* .token.attr-name,
.token.builtin,
.token.char,
.token.inserted,
.token.selector,
.token.string {
    color: var(--270-brand-color-light)
}

.token.boolean,
.token.constant,
.token.deleted,
.token.number,
.token.property,
.token.symbol,
.token.tag {
    color: #c08b30
}

.token.class-name,
.token.function {
    color: #e96900;
}

.token.punctuation {
    color: #525252;
} */



/* mobile stuff */
@media screen and (max-width: 1023px) {

    .md-content__inner {
        max-width: 100%;
    }

    .md-nav__title {
        display: block;
    }

    .md-nav--primary .md-nav__title {
        background: var(--md-primary-fg-color);
    }

    .md-nav__item .md-nav__link--active,
    .md-nav__item .md-nav__link--active code {
        color: var(--270-brand-color-light);
    }

    .md-nav--primary .md-nav__item--active>.md-nav__link {
        color: #ffffff;
    }

    li.md-nav__item li.md-nav__item::before {
        content: '';
        float: left;
    }

    [dir=ltr] .md-sidebar--primary {
        left: -300px;
    }

    [data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary {
        box-shadow: var(--md-shadow-z3);
        transform: translateX(300px);
    }

    .md-nav--primary .md-nav__title~.md-nav__list {
        background: var(--md-primary-fg-color);
    }
}

@media screen and (min-width: 1024px) and (max-width: 1219px) {
    .md-sidebar {
        top: var(--md-header-height);
    }

    .md-sidebar__scrollwrap {
        height: calc(100dvh - var(--md-header-height) - 2rem);
    }
}

@media screen and (min-width: 60em) {
    .md-nav--secondary .md-nav__title {
        box-shadow: none;
    }

    .md-nav--secondary .md-nav__title .md-nav__icon {
        display: block;
    }
}



#crawlchat-ai-button {
    z-index: 2;
    position: fixed;
    padding: 8px 20px;
    cursor: pointer;
    transition: scale 0.1s ease, opacity 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    background-color: rgb(8, 32, 54);
    color: rgb(255, 255, 255);
    border-radius: 10px 10px 0px;
}


/* TUTORTIALS */

.preview-container {
    border: 1px solid #cccccc;
}

.preview-container .viewer-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    margin: 0 auto;
}