body {
    margin: 0;
    padding: 0;
    background: #272822;
    color: #f8f8f2;
    font-family: serif;
    font-size: 16px;
    line-height: 1.5;
}
header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px;
    padding-bottom: 0;
    border-bottom: 1px solid #49483e;
    margin-bottom: 20px;
}
header h1 {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 35px;
    font-weight: bold;
    font-style: italic;
    color: #f8f8f2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.site-logo {
    vertical-align: middle;
    height: 1.1em;
    width: auto;
    border: none;
    margin-right: 0.2em;
    margin-top: -0.1em;
}
header a {
    color: #f8f8f2;
    text-decoration: none;
}
header a:hover {
    color: #1e1f1c;
    background: #f8f8f2;
}
#side-bar {
    position: absolute;
    top: 80px;
    left: 0;
    width: 200px;
    padding-left: 20px;
    margin-right: 14px;
    border-right: 1px solid #49483e;
    padding-right: 7px;
}
.side-title {
    font-size: 25px;
    margin: 20px 0 8px 0;
    color: #f8f8f2;
}
#side-bar ul {
    margin: 0 0 0 20px;
    padding: 0px;
    list-style: none;
}
#side-bar li {
    margin: 6px 0;
}
a {
    color: #a6e22e;
    text-decoration: none;
    padding: 1px 2px;
}
#side-bar a.current-page {
    font-weight: bold;
    color: #f8f8f2;
    border-left: 3px solid #a6e22e;
    padding-left: 7px;
    margin-left: -10px;
}
#side-bar a.current-page:hover,
#side-bar a.current-page:focus {
    color: #f8f8f2;
    background: transparent;
}
a:hover {
    background: #f8f8f2;
    color: #272822;
}
article {
    margin: 80px 0 0 0;
    max-width: 800px;
}
h3 {
    margin-top: 30px;
    font-size: 25px;
    color: #f8f8f2;
    font-weight: normal;
}
.header-link {
    color: #f8f8f2;
    display: inline;
    text-decoration: underline;
    text-decoration-color: #75715e;
}
.header-link:hover,
.header-link:focus {
    background: #f8f8f2;
    color: #272822;
    text-decoration-color: #f8f8f2;
}
.header-anchor {
    opacity: 0;
    margin-left: 0.25em;
    transition: opacity 0.15s ease;
}
h1:hover > .header-anchor,
h2:hover > .header-anchor,
h3:hover > .header-anchor,
h4:hover > .header-anchor,
h5:hover > .header-anchor,
h6:hover > .header-anchor,
h1:focus-within > .header-anchor,
h2:focus-within > .header-anchor,
h3:focus-within > .header-anchor,
h4:focus-within > .header-anchor,
h5:focus-within > .header-anchor,
h6:focus-within > .header-anchor,
h1:hover .header-link .header-anchor,
h2:hover .header-link .header-anchor,
h3:hover .header-link .header-anchor,
h4:hover .header-link .header-anchor,
h5:hover .header-link .header-anchor,
h6:hover .header-link .header-anchor,
h1:focus-within .header-link .header-anchor,
h2:focus-within .header-link .header-anchor,
h3:focus-within .header-link .header-anchor,
h4:focus-within .header-link .header-anchor,
h5:focus-within .header-link .header-anchor,
h6:focus-within .header-link .header-anchor {
    opacity: 1;
}
pre {
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    margin: 20px 0;
    padding: 12px;
    overflow: auto;
}
code {
    font-family: monospace;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    padding: 2px 4px;
    border-radius: 3px;
    line-height: 1.8;
}
pre code {
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    line-height: 1.2;
}
.tok-sel {
    color: #a6e22e;
}
.tok-prop {
    color: #f92672;
}
.tok-val {
    color: #ae81ff;
}
.tok-var {
    color: #66d9ef;
}
.tok-com {
    color: #75715e;
}
.tok-punc {
    color: #f8f8f2;
}
.admonition {
    margin: 18px 0;
    padding: 10px 12px;
    border: 1px solid #f8f8f2;
    border-left-width: 5px;
}
.admonition-title {
    margin: 0 0 8px 0;
    font-weight: bold;
}
.admonition p {
    margin: 0;
}
.admonition-note {
    background: #272822;
    border-color: #66d9ef;
}
.admonition-tip {
    background: #272822;
    border-color: #a6e22e;
}
.admonition-important {
    background: #272822;
    border-color: #ae81ff;
}
.admonition-warning {
    background: #272822;
    border-color: #e6db74;
}
.admonition-caution {
    background: #272822;
    border-color: #f92672;
}
.cw-button {
    display: inline-block;
    padding: 8px 16px;
    background: #1e1f1c;
    border: 1px solid #49483e;
    color: #f8f8f2;
    text-decoration: none;
    font-weight: bold;
}
.cw-button:hover {
    background: #f8f8f2;
    color: #272822;
    border-color: #f8f8f2;
}
footer {
    padding-top: 60px;
    font-style: italic;
    font-size: 17px;
    margin-bottom: 20px;
    color: #75715e;
}
article,
footer {
    margin-left: 240px;
    margin-top: 0px;
}
img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: -webkit-optimize-contrast;
}
footer img {
    display: inline-block;
    vertical-align: top;
}
hr {
    height: 0;
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #49483e;
}
table {
    border-collapse: collapse;
    margin: 20px 0;
    width: 100%;
}
thead {
    border-bottom: 2px solid #49483e;
    background: #1e1f1c;
}
th {
    font-weight: bold;
    text-align: left;
    padding: 8px 12px;
}
td {
    padding: 8px 12px;
    border-top: 1px solid #49483e;
}
tr:nth-child(even) {
    background: #1e1f1c;
}
.nav-toggle,
.nav-toggle-label {
    display: none;
}
@media screen and (max-width: 600px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav-toggle-label {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: #f8f8f2;
        user-select: none;
    }
    #side-bar {
        display: none;
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        border-right: none;
        border-bottom: 1px solid #49483e;
        padding: 0 0 20px 0;
        margin: 0 20px 20px 20px;
    }
    .nav-toggle:checked ~ #side-bar {
        display: block;
    }
    article {
        margin: 0 20px 0 20px;
    }
    footer {
        margin-left: 20px;
        margin-right: 20px;
        padding-top: 30px;
    }
}
.task-list-item {
    list-style-type: none;
}
.task-list-item-checkbox {
    margin: 0 0.2em 0.25em -1.6em;
    vertical-align: middle;
}
.kewt-search-page {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}
.kewt-search-page input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    font-size: 16px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    outline: none;
}
.kewt-search-page input[type="text"]:focus {
    border-color: #a6e22e;
}
.kewt-search-page button {
    padding: 8px 20px;
    font-size: 16px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    cursor: pointer;
}
.kewt-search-page button:hover {
    background: #f8f8f2;
    color: #272822;
}
.search-result {
    margin: 16px 0;
    padding: 12px;
    background: #1e1f1c;
    border: 1px solid #49483e;
    border-radius: 3px;
}
.search-result a {
    font-size: 18px;
    font-weight: bold;
    color: #a6e22e;
}
.search-result p {
    margin: 6px 0 0 0;
    color: #75715e;
    font-size: 14px;
}
/* Footer search */
.kewt-search-footer {
    display: inline-flex;
    gap: 4px;
    margin-left: 12px;
    vertical-align: middle;
}
.kewt-search-footer input[type="text"] {
    padding: 3px 8px;
    font-size: 14px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    outline: none;
    width: 120px;
}
.kewt-search-footer input[type="text"]:focus {
    border-color: #a6e22e;
}
.kewt-search-footer button {
    padding: 3px 10px;
    font-size: 14px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    cursor: pointer;
}
.kewt-search-footer button:hover {
    background: #f8f8f2;
    color: #272822;
}
.kewt-search-header {
    display: inline-flex;
    gap: 4px;
    margin-left: 0;
    vertical-align: middle;
    font-style: normal;
    flex: 0 0 auto;
}
.kewt-search-header input[type="text"] {
    padding: 4px 8px;
    font-size: 14px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    outline: none;
    width: 160px;
}
.kewt-search-header input[type="text"]:focus {
    border-color: #a6e22e;
}
.kewt-search-header button {
    padding: 4px 10px;
    font-size: 14px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    cursor: pointer;
}
.kewt-search-header button:hover {
    background: #f8f8f2;
    color: #272822;
}
.kewt-search-nav {
    display: none;
    padding: 8px 0 12px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #49483e;
}
.kewt-search-nav form {
    display: flex;
    gap: 4px;
}
.kewt-search-nav input[type="text"] {
    flex: 1;
    padding: 6px 8px;
    font-size: 14px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    outline: none;
}
.kewt-search-nav input[type="text"]:focus {
    border-color: #a6e22e;
}
.kewt-search-nav button {
    padding: 6px 10px;
    font-size: 14px;
    font-family: inherit;
    background: #1e1f1c;
    color: #f8f8f2;
    border: 1px solid #49483e;
    border-radius: 3px;
    cursor: pointer;
}
.kewt-search-nav button:hover {
    background: #f8f8f2;
    color: #272822;
}
@media screen and (max-width: 600px) {
    .kewt-search-header {
        display: none;
    }
    .kewt-search-nav {
        display: block;
    }
    .kewt-search-page {
        flex-direction: column;
    }
    .kewt-search-page button {
        align-self: flex-start;
    }
    .kewt-search-footer {
        display: flex;
        margin-left: 0;
        margin-top: 8px;
    }
    .kewt-search-footer input[type="text"] {
        flex: 1;
        width: auto;
    }
}
