.tree-table-wrap {
    width: 100%;
}

.tree-table {
    border: 1px solid #f1f1f1;
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    table-layout: auto !important;
}

.tree-table th {
    color: #333;
    text-align: center;
    padding: 10px 0;
    background: #fafafa;
    font-size: 13px;
    border: 1px solid #f1f1f1;
    width: auto !important;
}

.tree-table td {
    border: 1px solid #f1f1f1;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: auto !important;
}

.tree-table tr td:first-child {
    overflow: initial;
}

.tree-table-space-block {
    border: 1px solid transparent;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 16px;
    text-align: center;
    vertical-align: top;
    font-size: 19px;
    position: relative;
    box-sizing: border-box;
    margin-top: 16px;
    border-radius: 50%;
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
    .tree-table-space-block {
        width: 10px;
    }
}

.tree-table tr td .tree-table-space-block:first-child {
    margin-left: 7px;
}

.tree-table-space-block.btn-toggle {
    border: 3px solid #d9d9d9;
    position: relative;
    cursor: pointer;
    width: 22px;
    height: 22px;
    z-index: 12;
}

.tree-table-space-block.btn-toggle.is-close {
    background: #f1f1f1;
    border: 1px solid transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.tree-table-space-block:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 36px;
    background: black;
    left: 50%;
    top: -27px;
    z-index: 1;
}

.tree-table-space-block i {
    display: block;
    width: 3px;
    height: 3px;
    margin-left: 8px;
    margin-top: 20px;
    background: #d9d9d9;
    border-radius: 50%;
}

.tree-table-space-block.btn-toggle:before {
    display: none;
}

.tree-table-space-block.last-block:before {
    display: none;
}

.tree-table-space-block.last-block:after {
    position: absolute;
    content: "";
    width: 20px;
    height: 1px;
    background: black;
    top: 50%;
    margin-top: -1px;
    left: -10px;
}

.tree-table-space-block.btn-toggle:after {
    display: none;
}

.tree-table tr td .tree-table-space-block:first-child:after {
    display: none;
}

.tree-table-td-content {
    display: inline-block;
    padding: 7px;
}

.hidden {
    display: none;
}

.show {
    visibility: visible;
}