
.tagname {
    font-size: 11px;
}

.tagbox {
    display: inline-block;
}


.tag {
    background: #cbdff5;
    color: #123459;
    font-weight: 600;
    border-radius: 8px;
    padding: 0 5px;
    display: inline-flex;
    align-content: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 3px 0 0;
}

.hash {
    padding: 0;
    margin: 0;
    font-size: 11px;
    font-weight: 600;
}

table {
    border: 1px solid var(--gray-2);
    border-radius: 2px;
}

td {
    text-align: left;
    padding: 3px 10px;
    border-bottom: 1px solid var(--gray-2);
}

th {
    text-align: left;
    padding: 0px 10px;
    background: var(--gray-1);
    border-bottom: 0.5px solid var(--gray-3);
}

@media (max-width: 750px) {
    #tocbox {
        position: relative;
        transform: translateX(-40px);
        margin-bottom: 30px;
    }

    .toc-list-item a {
        color: var(--yellow-fg);
    }

    #tocbox #heading {
        display: none;
    }
}

@media (max-width: 1100px) and (min-width: 750px) {
    #tocbox {
        float: right;
        position: relative;
        top: 0px;
        max-width: 400px;
        margin-bottom: 0;
    }

    .toc-list-item a {
        color: var(--yellow-fg);
    }

    #tocbox #heading {
        display: none;
    }
}

@media (min-width: 1100px) {
    #tocbox {
        float: right;
        position: sticky;
        top: 50px;
        max-width: 400px;
        margin-bottom: 0;
    }

    .toc-list-item a {
        color: var(--gray-2);
    }

    #tocbox #heading {
        display: none;
    }
}

.toc-list {
    margin: 0;
    list-style-type: none;
}
.toc-list-item a {
    font-size: 11;
}

.toc-list-item.is-active-li a {
    color: var(--yellow-fg);
}




.pagination {
    list-style-type: none;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    font-family: monospace;
    color: var(--yellow-fg);
    margin-top: 20px;
}

.page-item:not(.disabled):not(.active) {
    cursor: pointer;
}

.page-item.active {
    cursor: default;
    font-weight: 600;
}

.page-item.disabled {
    color: var(--gray-2);
    cursor: default;
}

.page-link {
    border-bottom: 0 !important;
    text-decoration: none;
    color: inherit;
}

.modbox {
    display: block;
    margin: 0;
    transform: translateY(-5px);
    font-size: 12px;
    font-style: italic;
    margin-bottom: 4px;
}

.moddate {
    font-weight: 500;
}


#search-query {
    width: 100%;
    background: white;
    border-radius: 2px;
    border: 1px solid var(--gray-2);
    padding: 5px;
    font-size: 16px;
}

#search-query-inline {
    width: 100%;
    /* background: white; */
    /* border-radius: 2px; */
    /* border: 1px solid var(--gray-2); */
    padding: 5px;
    padding-top: 6px;
    height: 25px;
    /* font-size: 16px; */
    transform: translateY(-1px);
}

#search-query:focus {
    outline: none;
    border: 1px solid var(--gray-3) !important;
}

#search-query-inline:focus {
    outline: none;
}

mark {
    background: #d3dff5;
}

#search-result-inline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    background-color: white;
    width: 100.5%;
    transform: translateX(-0.8px);
    top: 26px;
    z-index: 100000;
    border-left: 1px solid var(--gray-1);
    border-right: 1px solid var(--gray-1);
    border-bottom: 1px solid var(--gray-1);
    box-shadow: 0 2px 4px var(--gray-1);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    padding: 6px 0;
    max-height: 500px;
    overflow-y: scroll;
}

.search-result-item {
    background: white;
    padding: 8px 14px;
    cursor: pointer;
}
.search-result-item:hover {
    background: var(--gray-1);
}


.search-result-title {
    font-weight: 500;
    font-size: 13px;
    color: var(--fg);
}
.search-result-summary {
    color: var(--gray-3);
    font-size: 13px;
}

.search-link {
    border: 0;
    color: inherit;
}
    
.search-link:hover {
    border: 0;
    color: inherit;
}
