
.tree {
    margin: 0 0 0 0;
    background-color: transparent;
}

.tree > ul {
    list-style-type: none;
    margin-left: -8px;
    padding: 0 0 0 10px;
    position: relative;
    background-color: transparent;
}

.tree-li {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 0 0 0;
    line-height: 26px;
    position: relative;
}

.tree-li > ul  {
    display: none;
    list-style-type: none;
    padding: 0 0 0 1.5em;

}

.tree-li > .item-display-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.tree-li > .item-display-div > span {
    width: 90%;
    padding: 2px 0 2px 0;
    position: relative;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}
.tree-li > .item-display-div > :last-child::before {
    height: 10px;
}

.tree-li > .item-display-div > span:hover {
    border: 1px solid lightgray;
    border-radius: 2px;

}

.tree-li.active > .item-display-div > span {
    background-color: #f0f0f0;
}


.has-children > .item-display-div > span::before {    
    content: '▣'; /* Square plus */
    display: inline-block;
    width: 1em;
    margin: 0 0.2em 0 0.2em;
    cursor: pointer;
}

.has-children.expanded > .item-display-div > span::before {    
    content: '▢'; /* Square minus */
    display: inline-block;
    width: 1em;
    margin: 0 0.2em 0 0.2em;
    cursor: pointer;
}

.has-children.expanded > ul {
    display: block;
}

.no-children span::before {
    content: '−'; /* Square */
    display: inline-block;
    width: 1em;
    margin: 0 0.2em 0 0.2em;
}

.tree-li > .item-display-div > .tree-btn-group {
    display: none;
    background-color: #fff;
}

.tree-li .tree-btn-group > button {
    border: none;
    height: 30px;
}

.tree-li.active > .item-display-div > .tree-btn-group {
    display: inline-block
}


.modal-edit {
    width: 50%;
}

.loader-right-content {

    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border: 20px solid #f3f3f3; /* Light grey */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin-right-content 2s linear infinite;
    margin: 0;
    background-color: #f3f3f3;
    display: block;
    transition: background-color 1s;
  }
  
  
  @keyframes spin-right-content {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .loader-right-content-running {
    border-top: 9px solid lightgreen; /* Green */
  }
  