.bstreeview {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    padding: 0;
    overflow: hidden;
}

    .bstreeview .list-group {
        margin-bottom: 0;
    }

    .bstreeview .list-group-item {
        border-radius: 0;
        cursor: pointer;
        border: none;
        position: relative;
        padding-top: 0;
        padding-bottom: 0;
    }

        .bstreeview .list-group-item a {
            border-radius: 0;
            border-width: 1px 0 0 0;
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            cursor: pointer;
            border: none;
            /* position: relative; */
            padding: 6px 5px;
            display: block;
        }

            .bstreeview .list-group-item a:hover {
                background-color: #dee2e6;
            }

    .bstreeview > .list-group-item:first-child a {
        border-top-width: 0;
    }

    .bstreeview .state-icon {
        margin-right: 8px;
        width: 12px;
        text-align: center;
        color: #00adff;
    }
    .bstreeview .not-active .state-icon {
        color: orangered;
    }
    .bstreeview .item-icon {
        margin-right: 5px;
    }

    .bstreeview .list-group-item a:before {
        content: "";
        position: absolute;
        top: -10px;
        left: 13px;
        border-left: 1px dashed #00aff0;
        width: 1px;
        height: 100%;
    }

    .bstreeview .list-group-item a:after {
        content: "";
        position: absolute;
        border-top: 1px dashed #00aff0;
        top: 13px;
        left: 13px;
        width: 13px;
    }

    .bstreeview > .list-group-item ul li:last-child a:before {
        height: calc(100% - 8px);
    }

    .bstreeview > .list-group-item:first-child > a:before {
        height: calc(100% - 20px);
        top: 13px;
    }

    .bstreeview > .list-group-item:last-child > a:before {
        height: calc(100% - 18px);
        top: 0px;
    }

    .bstreeview [add-item], .bstreeview [manage-item] {
        display: none;
    }

    .bstreeview .list-group-item:hover > [add-item], .bstreeview .list-group-item:hover > [manage-item] {
        display: block;
    }

    .bstreeview [add-item] {
        position: absolute;
        top: 7px;
        right: 50%;
    }

    .bstreeview [manage-item] {
        position: absolute;
        top: 3px;
        right: 5%;
    }

    .bstreeview .list-group-item.list-add-item {
        height: 30px;
    }

        .bstreeview .list-group-item.list-add-item > [add-item] {
            position:relative;
            top:0;
            right:0;
            display: block;
        }
