.tree {
    z-index: 1 !important;
    float: right;
    position: fixed;
    max-width: 340px;
    min-width: 340px;
    right: 10px;
    top: 52px;
    border-radius:4px;
    background-color: #eee;
    font-size: 15px;
    max-height: 500px;
    overflow-y: scroll;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
.tree li {
    position: relative;
    list-style-type:none;
    padding: 3px 0px 0px 3px;
    position:relative;
    margin-top: -8;
}
.tree li::before, .tree li::after {
    content:'';
    left:-22px;
    position:absolute;
    padding: 0px;
    right:auto;
}
.tree li::before {
    border-left:1.5px solid  #008080;
    bottom:0px;
    height:100% !important;
    top:0px;
    bottom: 100;
    width:1px;
    margin-left: -48px;
    z-index: -100;
}
.tree li::after {
    border-top:1.5px solid  #008080;
    height:20px;
    top:13px;
    width:25px;
    margin-left: -48px;
    z-index: -100;
}

.tree li span {
    margin-left: -60px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:1px solid #999;
    border-radius:5px;
    display:inline-block;
    padding: 2px 0px 1px 10px;
    min-width: 0px;
    overflow-y: auto;
    background-color:#747f92;
    color: white !important;
    font-size: 10px;
    margin-top: 0px;
    margin-bottom: 2px;
    padding-left: 22px;
    width:200px;
}

.tree li.parent_li>span {
    cursor:pointer;
    margin-top: 0px;
    padding: 2px 2px 1px 2px;
    margin-bottom: 7px;
    font-size: 10px;
    width: 170px;
    margin-left: -50px;
}
.tree>ul>li::before, .tree>ul>li::after {
    border:0;
    padding-left: 100px !important;
    margin-left: -6px !important;
}
.tree li:last-child::before {
    height:30px;
}

.last-child {
    width: 176px !important;
    padding-left: 4px !important;
    margin-left: -68px !important;
    background-color:#505969 !important;
    padding-right: 2px !important;
}

.last-child::before {
    display: none;
}