
/* ************* */
/*    TOC     */
/* ************* */


.block-table-of-contents ul {
    padding-left: 0;
    border-left: 1px solid #eee;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: .875rem;
    list-style: none;
}
.block-table-of-contents .item-list ul li {
    padding: 0;
    margin: 0;
}

.block-table-of-contents .item-list  a {
    display: block;
    padding: .125rem 1.5rem;
    color: #77757a;
}

#toc-js-block-toc-js-block [role=menubar] {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

#toc-js-block-toc-js-block .toc-h2 {
    /*font-weight: 500;*/
}

#toc-js-block-toc-js-block .toc-h3 {
    font-weight: 300;
}

#toc-js-block-toc-js-block .toc-title {
    font-size: 1.3em;
    color: rgba(7, 77, 162, 0.8);
}

#sidebar-first > div > section {
    margin-bottom: 1em;
}

#sidebar-first .block-title {
    font-size: 1.3em;
    color: #3a59a0;
    padding: 3px 10px;
    margin-top: 0;
    margin-bottom: 0;
}

#sidebar-first > div > section:not(.toc-js-block-toc-js-block) > div:not(.contextual) {
    border: #3a59a0 1px solid;
    /*padding: 3px 5px;*/
}