
/*
 * jquery.tocify.css 1.9.0
 * Author: @gregfranko
 * http://gregfranko.com/jquery.tocify.js/
 */

.aside-toc {
    /* child to .article-container...
    along with .article and .article-sidebar
    -- and --
    wrapper to .tocify element
    this wrapper will NOT contain the vertical scrolling */
    flex: 0 0 100%;

    padding: 10px 15px;
    border: 1px solid #ccc;
    webkit-border-radius: 6px;
    moz-border-radius: 6px;
    border-radius: 6px;
    background-color: #eee;
}

@media (min-width: 768px) {
    .aside-toc {
        flex: 0 0 20%; /* 0 1 23%; */
        position: sticky;  /* sticks at top during scroll */
        top: 5em;
        max-height: 80vh;
        overflow-x: hidden;
        overflow-y: auto;  /* requires height or max-height declaration */
    }
}

@media (min-width: 1024px) {
    .aside-toc {
        flex: 0 0 23%; /* 0 1 23%; */
        position: sticky;  /* sticks at top during scroll */
        top: 5em;
        max-height: 80vh;
        overflow-x: hidden;
        overflow-y: auto;  /* requires height or max-height declaration */
    }
}

.toc-title {
    font-weight: bold;
}

.tocify {
    /* element to .aside-toc to wrapper */
    /* from jQuery: var(--scrollbar-height); */

}

@media (min-width: 768px) {
    .tocify {
        /* element to .aside-toc to wrapper */
    }
}

/* The Table of Contents is composed of multiple nested unordered lists.  These styles remove the default styling of an unordered list because it is ugly. */
.tocify ul, .tocify li {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    border: none;
    line-height: 20px;
}

/* Top level header elements */
.tocify-header {
    text-indent: -5px;
}

/* Top level subheader elements.  These are the first nested items underneath a header element. */
.tocify-subheader {
    text-indent: 10px;
    display: none;
}

/* Makes the font smaller for all subheader elements. */
.tocify-subheader li {
    /* font-size: 12px; */
}

/* Further indents second level subheader elements. */
.tocify-subheader .tocify-subheader {
    text-indent: 25px;
}

/* Further indents third level subheader elements. You can continue this pattern if you have more nested elements. */
.tocify-subheader .tocify-subheader .tocify-subheader {
    text-indent: 40px;
}

/* Twitter Bootstrap Override Style */
.nav-list > li > a, .nav-list .nav-header {
    margin: 0px;
}

/* Twitter Bootstrap Override Style */
.nav-list > li > a {
    padding: 5px;
}

.nav-list > li > a:hover {
    text-decoration: none;
}

.nav-list > .active > a,
.nav-list > .active > a:hover,
.nav-list > .active > a:focus {
    color: #000060;
    font-weight: bold;
    /*
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    background-color: #0088cc;
    */
}

.nav-list > .active > a::before,
.nav-list > .active > a:hover::before,
.nav-list > .active > a:focus::before {
    content: '\25b6\00a0';
    font-weight: bold;
}
