/* Bransch heading styling */
.markdown-body h2.bransch-heading {
    font-size: 1.75em;
    font-weight: 700;
    color: #337ab7;
    border-bottom: 2px solid #337ab7;
    padding-bottom: .3em;
    margin-top: 2.5em;
    margin-bottom: 16px;
}
.night .markdown-body h2.bransch-heading {
    color: #5bc0de;
    border-bottom-color: #5bc0de;
}
.markdown-body h2.bransch-heading .fa-link {
    color: #337ab7;
}
.night .markdown-body h2.bransch-heading .fa-link {
    color: #5bc0de;
}


/* Widen TOC dropdown for mobile so bransch labels are readable */
.ui-toc-dropdown {
    width: 60vw;
    max-width: 350px;
}
@media (min-width: 768px) {
    .ui-toc-dropdown {
        width: 25vw;
        max-width: 45vw;
    }
}

/* Nested TOC: collapsed state */
/* Remove default list bullets from TOC */
.ui-toc-dropdown .toc ul {
    list-style: none;
    padding-left: 0;
}
/* Nested TOC: collapsed state */
.ui-toc-dropdown .toc ul ul {
    display: none;
}
/* Nested TOC: expanded state */
.ui-toc-dropdown .toc.expand ul ul {
    display: block;
}

