.toc-link {
    /* padding: 0.325rem 0.5rem; */
    font-size: 0.85rem;
    padding: 9px;
    border-radius: 6rem;
    color: #333;
    background-color: #f2f2f2;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    /*font-weight: 700;*/
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.toc {
    overflow-y: auto
}

.toc>.toc-list {
    overflow: hidden;
    position: relative
}

.toc>.toc-list li {
    list-style: none
}

.toc-list {
    margin: 0;
    padding-left: 10px
}

a.toc-link {
    color: currentColor;
    height: 100%
}

.is-collapsible {
    max-height: 1000px;
    overflow: hidden;
    transition: all 300ms ease-in-out
}

.is-collapsed {
    max-height: 0
}

.is-position-fixed {
    position: fixed !important;
    top: 0
}

.is-active-link {
    font-weight: 700
}

.toc-link::before {
    background-color: #EEE;
    content: ' ';
    display: inline-block;
    height: inherit;
    left: 0;
    margin-top: -1px;
    position: absolute;
    width: 2px
}

.is-active-link::before {
    background-color: #54BC4B
}

#scroll-to-contents-button {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 3px; /* Place the button at the bottom of the page */
    left: 3px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: red; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 5px; /* Some padding */
    border-radius: 999px; /* Rounded corners */
    font-size: 12px; /* Increase font size */
}
#scroll-to-contents-button:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
