.tree,
.tree ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.tree ul {
    margin-left: 1em;
    position: relative
}

.tree ul ul {
    margin-left: 1em;
}

.tree ul:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
}

.tree li {
    margin: 0;
    /* padding: 0em 1em 0em 0em; */
    line-height: 2em;
    color: #9eabc0;
    position: relative;
    /* border: 1px solid #e9edf4;
    margin: 10px 0;
    border-radius: 5px;
    line-height: 30px; */
}

.tree li i {
    margin-right: 10px;
    font-weight: bold;
    /* font-size: 16px; */
    /* padding-top: 10px; */
    line-height: 1;
}

.tree ul li:before {
    content: "";
    display: block;
    width: 10px;
    height: 0;
    margin-top: -1px;
    position: absolute;
    top: 13px;
    left: -10px;
}

.tree ul li:last-child:before {
    background: transparent;
    height: auto;
    top: 14px;
    bottom: 0;
}

.indicator {
    margin-right: 5px;
    color: #4b10a4;
}

.tree li a {
    text-decoration: none;
    color: #74829c;
    font-size: 15px;
}

.tree li button,
.tree li button:active,
.tree li button:focus {
    text-decoration: none;
    color: #29273c;
    border: none;
    background: transparent;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    outline: 0;
}

.tree li.branch {
    /* background: #f6f6fb; */
}

.tree li.branch li {
    /* background: #fff; */
}

.tree ul:before {
    border-left: 1px dotted #9eabc0;
}

.tree ul li:before {
    border-top: 1px dotted #9eabc0;
}


/* Treeview checked */

* {
    margin: 0;
    padding: 0;
}

#page-wrap {
    margin: auto 0;
}

.treeview {
    margin: 10px 0 0 20px;
}

ul {
    list-style: none;
}

.treeview li {
    background: url(http://jquery.bassistance.de/treeview/images/treeview-default-line.gif) 0 0 no-repeat;
    padding: 2px 0 2px 16px;
}

.treeview>li:first-child>label {
    /* style for the root element - IE8 supports :first-child
  but not :last-child ..... */
}

.treeview li.last {
    background-position: 0 -1766px;
}

.treeview li>input {
    height: 16px;
    width: 16px;
    /* hide the inputs but keep them in the layout with events (use opacity) */
    opacity: 0;
    filter: alpha(opacity=0);
    /* internet explorer */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
    /*IE8*/
}

.treeview li>label {
    background: url(https://www.thecssninja.com/demo/css_custom-forms/gr_custom-inputs.png) 0 -1px no-repeat;
    /* move left to cover the original checkbox area */
    margin-left: -20px;
    /* pad the text to make room for image */
    padding-left: 20px;
}


/* Unchecked styles */

.treeview .custom-unchecked {
    background-position: 0 -1px;
}

.treeview .custom-unchecked:hover {
    background-position: 0 -21px;
}


/* Checked styles */

.treeview .custom-checked {
    background-position: 0 -81px;
}

.treeview .custom-checked:hover {
    background-position: 0 -101px;
}


/* Indeterminate styles */

.treeview .custom-indeterminate {
    background-position: 0 -141px;
}

.treeview .custom-indeterminate:hover {
    background-position: 0 -121px;
}