.toc-container {
    /* border: 2px solid var(--color-1st,#bc2749); */
    /* display: table; */
    font-size: 95%;
    margin-bottom: 1em;
    padding: 20px;
    width: auto;
    background: #F4F4F4;
}

.toc-container.contracted {
    width: 100%
}

.toc-container>ul {
    margin: 20px 0;
    list-style-type: none;
    padding-left: 0;
}

.toc-container li {
    margin-bottom: 10px;
}

.toc-container li:last-child {
    margin-bottom: 0;
}

.toc-container>ul>li>a {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.toc-container>ul>li>ul {
    list-style-type: none;
    padding-left: 0;
}

.toc-container p.toc_title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 0;
}

.toc-container p.toc_title a:hover,
.toc-container p.toc_title a:visited,
.toc-container p.toc_title ul a:hover,
.toc-container p.toc_title ul a:visited {
    color: var(--color-1st, #bc2749)
}

.toc-container span.toc_toggle {
    font-size: 60%;
    font-weight: 400
}

.toc-container span.toc_toggle .d-none {
    display: none
}