.vps-tree{
    color: #212121;
    line-height: 1.5;
    border: 1px solid #DDD;
    height: 300px;
    overflow: auto;
    padding: 5px;
    background-color: #fff;
}

.vps-tree ul.list-group{
    padding:0;
    margin:0;
}
.vps-tree ul li.list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.vps-tree ul li.list-group-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.vps-tree li.list-group-item{
    border: none;
    padding:0;
    margin:0;
    color: #212121;
    background-color: inherit;
}


.vps-tree.tree-border li.list-group-item{
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.vps-tree ul li [data-role=expander]{
    font-size: 16px;
    width:16px;
    height:16px;
    text-align: center;
    margin-right:5px;
    display: block;
    float:left;
    padding-top: 4px;
}

.vps-tree ul li [data-role=wrapper]{
    display:table;
}

.vps-tree ul li [data-role=indent]{
    display: table-cell;
}

.vps-tree ul li [data-role=checkbox]{
    padding-right: 5px;
    display: block;
    float:left;
}

.vps-tree ul li [data-role=display]{
    vertical-align: text-bottom;
    margin-left: 42px;
    display: block;
    padding: 6px 0 6px 4px;
}

.vps-tree .vps-tree-control {
    position: relative;
    padding-left: 16px;
    top: 7px;
}

.vps-tree ul li input[type=checkbox] {
    box-sizing: border-box;
    padding: 0;
}
.vps-tree .vps-tree-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.vps-tree .vps-tree-checkbox .vps-tree-control-input:checked~.vps-tree-control-label::before {
    background-color: #007bff;
    border-color: #4082c3;
}
.vps-tree .vps-tree-control-input:checked~.vps-tree-control-label::before {
    color: #fff;
    background-color: #007bff;
}
.vps-tree .vps-tree-checkbox .vps-tree-control-label::before {
    border-radius: .25rem;
}
.vps-tree .vps-tree-control-input:disabled~.vps-tree-control-label{
    cursor: not-allowed;
}

.vps-tree .vps-tree-control-input:disabled~.vps-tree-control-label::before {
    background-color: #ffcdd22e;
    border: #ffcdd22e solid 1px;
}

.vps-tree .vps-tree-control-label::before {
    position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.vps-tree .vps-tree-checkbox .vps-tree-control-input:checked~.vps-tree-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
}

.vps-tree .vps-tree-checkbox .vps-tree-control-input:indeterminate~.vps-tree-control-label::before {
    background-color: #007bff;
    border-color: #4082c3;
}

.vps-tree .vps-tree-checkbox .vps-tree-control-input:indeterminate~.vps-tree-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23fff' d='M0 2h4'/%3E%3C/svg%3E");
}



.vps-tree .vps-tree-control-label::after {
    position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.vps-tree .vps-tree-checkbox .vps-tree-control-label::before {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.vps-tree .vps-tree-control-input:focus ~ .vps-tree-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.vps-tree .vps-tree-control-input:focus:not(:checked) ~ .vps-tree-control-label::before {
    border-color: #80bdff;
}
