div#nhutnq_toc_container ul li {
    font-size: 106%
}

div#nhutnq_toc_container p.toc_title {
    color: #333;
    margin: 0 0 5px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    border-bottom: 1px solid #cdd0d1;
    font-size: 15px;
    line-height: 28px;
    color: var(--text-default)
}

div#nhutnq_toc_container ul.toc_list a {
    color: #167ac6;
    font-size: 14px;
    font-weight: 500
}

div#nhutnq_toc_container ul.toc_list a.active,
div#nhutnq_toc_container ul.toc_list a:hover {
    color: #eb0e0e
}

div#nhutnq_toc_container p.toc_title+ul.toc_list {
    margin-top: .5em
}

#nhutnq_toc_container li,
#nhutnq_toc_container ul {
    margin: 0;
    padding: 0
}

#nhutnq_toc_container ul ul {
    margin-left: 1.5em
}

#nhutnq_toc_container.no_bullets li,
#nhutnq_toc_container.no_bullets ul,
#nhutnq_toc_container.no_bullets ul li {
    background: 0 0;
    list-style: none
}

#nhutnq_toc_container ul.toc_list li a:focus {
    outline: 0
}

span.arrow-icon {
    display: inline-block;
    border: 0 solid #fff;
    width: 0;
    overflow: hidden;
    height: 0;
    margin: 0 0 0 3px;
    border-width: 0 5px 6px;
    border-color: #333 #f1f1f100;
    cursor: pointer
}

.bsstoc .toggle-btn.active p .toc-chevron-up,
.bsstoc .toggle-btn.active span.arrow-icon {
    transform: rotate(180deg)
}

@media screen and (min-width:768px) {
    #nhutnq_toc_container {
        line-height: 1.8;
        margin-bottom: 1rem;
        max-height: 360px;
        position: relative;
        box-shadow: var(--box-shadow-2);
        border-radius: var(--border-radius);
        padding: 11px;
    }

    div#nhutnq_toc_container ul.toc_list {
        max-height: 300px;
        padding: 0 10px 10px;
        overflow-y: scroll;
        position: relative;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent
    }

    div#nhutnq_toc_container ul.toc_list::-webkit-scrollbar {
        width: 8px;
        background-color: transparent
    }

    div#nhutnq_toc_container ul.toc_list::-webkit-scrollbar-thumb {
        background-color: transparent;
        border-radius: 4px
    }

    div#nhutnq_toc_container ul.toc_list:hover {
        scrollbar-color: #ccc transparent
    }

    div#nhutnq_toc_container ul.toc_list:hover::-webkit-scrollbar-thumb {
        background-color: #ccc
    }

    .sidebar-wrap .icon-toc-mobile {
        display: none
    }

    #nhutnq_toc_container .toggle-btn {
        cursor: pointer;
        padding: 5px
    }
}

#detail-post .toc-modal {
    display: none
}

@media screen and (max-width:576px) {
    .sidebar-wrap .icon-toc-mobile {
        position: fixed;
        bottom: 130px;
        right: 25px;
        z-index: 6
    }

    .sidebar-wrap .toc-svg {
        border-radius: 25px;
        box-shadow: rgba(3, 18, 26, .15) 0 4px 10px;
        padding: 24px 10px 10px;
        width: 45px;
        position: relative;
        height: 45px;
        cursor: pointer;
        background-color: #fff
    }

    .sidebar-wrap .toc-img {
        position: absolute;
        left: 45%;
        top: 50%;
        transform: translateY(-50%) translateX(-40%);
        max-width: 55%;
        margin: 0
    }

    .toc-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        background-color: rgba(0, 0, 0, .4);
        overflow: hidden;
        transition: height .3s;
        z-index: 9998
    }

    .toc-modal .toc-modal-content {
        position: absolute;
        bottom: 0;
        width: 100%;
        max-height: 520px;
        background-color: #fff;
        border-radius: 16px 16px 0 0;
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform .3s;
        overflow: hidden
    }

    .sidebar-wrap .toc-modal {
        display: block
    }

    .sidebar-wrap .toc-modal.show {
        height: 100%
    }

    .toc-modal.show .toc-modal-content {
        transform: translateY(0)
    }

    .toc-modal .toc-modal-header {
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
        position: relative;
        font-weight: 700
    }

    .toc-modal .toc-modal-title {
        font-size: 16px;
        display: block;
        text-align: center !important
    }

    .toc-modal .top_of_modal {
        background-color: #cdd0d1;
        width: 24px;
        height: 5px;
        align-self: center;
        margin: 5px;
        border-radius: 6px
    }

    .toc-modal .toc-modal-close {
        font-size: 18px;
        border-color: #f9b238;
        border-radius: 8px;
        border-width: 2px;
        inset: -2px;
        background-color: #f9b238;
        width: 100%;
        padding: 8px 12px;
        font-weight: 600
    }

    .toc-modal .toc-modal-footer {
        border-top-color: #cdd0d1;
        -webkit-box-pack: justify;
        justify-content: space-around;
        border-top-width: 1px;
        padding: 16px
    }

    .toc-modal .toc-modal-body {
        padding: 15px 20px;
        overflow-y: auto;
        flex: 1 1 auto
    }

    .toc-modal .li_icon_mobile {
        width: 0;
        height: 0;
        display: inline-block;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 6px solid #f9b238;
        margin-right: 5px
    }

    #nhutnq_toc_container .toc_list li {
        line-height: 30px
    }

    #nhutnq_toc_container .toc_list li a {
        color: inherit !important
    }

    .flash-opacity {
        opacity: .5
    }

    div#nhutnq_toc_container ul.toc_list a {
        font-weight: 600
    }
}