.toc {
    margin-bottom: 13px
}

.js-toc-title {
    display: inline-block;
    float: left;
    clear: both;
    background: #fefff2;
    font-weight: bold;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #eee;
    text-transform: uppercase;
    border-left: 5px solid #ed2024;
    cursor: pointer
}

.toc > .toc-list-wrap {
    position: relative;
    /*display: inline-block;*/
    display: none;
    background: #fefff2;
    border: 1px solid #eee;
    padding: 10px 20px;
    float: left;
    clear: both;
    max-height: calc(100vh - 110px);
    overflow: auto;
}

    .toc > .toc-list-wrap::-webkit-scrollbar {
        width: 8px;
        height: 8px;
        background-color: transparent;
        border-radius: 0.25rem;
    }

    .toc > .toc-list-wrap::-webkit-scrollbar-thumb {
        background: #2483c5;
        border-radius: 0.25rem;
    }

    .toc > .toc-list-wrap > ol.easy_toc_list {
        padding-left: 1rem;
    }

/*.toc ol li{list-style:none;}
.toc ol {counter-reset:item;}
.toc ol li:before{content: counters(item, ".") ". ";counter-increment: item}*/
.is-position-fixed { /*position:fixed !important;top:90px;z-index:1100*/
}

    .is-position-fixed > .toc-list-wrap {
        display: none;
        -webkit-box-shadow: 0 10px 25px 5px rgba(137,173,255,.35);
        -moz-box-shadow: 0 10px 25px 5px rgba(137,173,255,.35);
        box-shadow: 0 10px 25px 5px rgba(137,173,255,.35);
    }

    .is-position-fixed > .js-toc-title {
        z-index: 1000
    }

.js-toc-content h1::before, .js-toc-content h2::before, .js-toc-content h3::before, .js-toc-content h4::before, .js-toc-content h5::before, .js-toc-content h6::before {
    display: block;
    content: " ";
    height: 60px;
    margin-top: -60px;
    visibility: hidden;
}
/*To handle anchor links properly when you have a fixed header*/
.is-position-fixed .js-toc-title {
    font-size: 0;
    padding: 0 8px;
    line-height: 52px;
}

    .is-position-fixed .js-toc-title svg, .is-position-fixed .js-toc-title i {
        font-size: 1.5rem;
        line-height: 40px;
    }

    .is-position-fixed .js-toc-title span {
        display: none;
    }

.easy_toc_list ol ol{
    margin-left: 1.25rem;
}

.easy_toc_list-item {
    position: relative;
}

.easy_toc_list-item_link {
    font-weight: normal
}

    .easy_toc_list-item_link.active {
        font-weight: 700
    }

ol .easy_toc_list-item_link.active:before {
    /*content: "";
    height: 1em;
    width: 3px;
    display: block;
    background-color: #f00;
    position: absolute;
    top: 0;
    left: -20px;*/
    content: "";
    height: 1rem;
    width: .2rem;
    display: block;
    background-color: #f00;
    position: absolute;
    top: .3rem;
    left: -1.5rem;
}

ol ol .easy_toc_list-item_link.active:before {
    left: -40px;
}

ol ol ol .easy_toc_list-item_link.active:before {
    left: -60px;
}

ol ol ol ol .easy_toc_list-item_link.active:before {
    left: -80px;
}

ol ol ol ol ol .easy_toc_list-item_link.active:before {
    left: -100px;
}


.easy_toc_list ol li {
    list-style-type: none;
}

.easy_toc_list > li {
    counter-increment: foo0;
    list-style-type: decimal;
}

.easy_toc_list > ol {
    counter-reset: foo1;
}

    .easy_toc_list > ol > li:before {
        counter-increment: foo1;
        content: counter(foo0) "." counter(foo1) "." " ";
    }

    .easy_toc_list > ol > ol > li {
        counter-increment: foo2;
    }

        .easy_toc_list > ol > ol > li:before {
            content: counter(foo0) "." counter(foo1) "." counter(foo2) "." " ";
        }

    .easy_toc_list > ol > ol > ol > li {
        counter-increment: foo3;
    }

        .easy_toc_list > ol > ol > ol > li:before {
            content: counter(foo0) "." counter(foo1) "." counter(foo2) "." counter(foo3) "." " ";
        }

    .easy_toc_list > ol > ol > ol > ol > li {
        counter-increment: foo4;
    }

        .easy_toc_list > ol > ol > ol > ol > li:before {
            content: counter(foo0) "." counter(foo1) "." counter(foo2) "." counter(foo3) "." counter(foo4) "." " ";
        }
