.tree{
  margin-top: 10px;
  position: relative;
  padding-left: 5px;
}
span.root {
  display: block;
  background: #55c57a;
  color: #fff;
  padding: 4px 10px;
  line-height: 20px;
  margin-left: -5px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 1px 1px 1px black;
  font-weight: bold;
}
.tree ul{
  list-style: none;
  padding: 0 0 0 5px;
}
.tree ul li{
  padding: 7px 0 7px 15px;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.tree ul li:before {
  content: '';
  height: 1px;
  width: 10px;
  background-color: #b4b4b4;
  position: absolute;
  top: 16px;
  left: 0;
  margin: auto;
}
.tree ul li:after {
  content: '';
  width: 1px;
  height: 100%;
  background-color: #b4b4b4;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.tree ul li:last-child {
  margin-bottom: 12px;
}
.tree ul li:last-child,
.tree ul li:last-child:after{
  height: 16px;
}
.tree ul li .fa {
  color: #b4b4b4;
  cursor: pointer;
  display: inline-block;
  margin-right: 9px;
}
.tree ul li .fa:hover {
  color: #777;
}
.tree ul li .node {
  display: block;
  cursor: pointer;
  color: #000000;
  font-weight: 400;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.tree ul li .node:before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  bottom: -5px;
  right: -5px;
  background-color: #f1f4f5;
  border-radius: 3px;
  z-index: -1;
  display: none;
}
.tree ul li .node:hover:before {
  display: block;
}
.tree ul li .node:hover{
  color:#333;
  text-decoration: none;
}
.node .actions {
  position: absolute;
  right: 0;
  background: #f1f4f5;
  display: none;
  top: 0;
}
.tree ul li .node:hover .actions {
  display: block;
}
.node .actions .fa {
  width: 16px;
  text-align: center;
  margin: 3px;
  font-size: 15px;
}
.tree ul li .node.node_edit {
  z-index: 10;
}
.tree ul li .node.node_edit:before {
  background-color: #fff;
  display: block;
  border: 1px solid #b4b4b4;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.form.node_edit_form {
  position: relative;
  display: -webkit-flex;
  display: flex;
  height: 27px;
}
.form.node_edit_form .field {
  flex-basis: 100%;
  position: relative;
}
.form.node_edit_form .field input {
  line-height: 13px;
  height: 30px;
  padding: 0 10px 0 0;
  background-color: transparent;
  border: none;
  color: #000;
  position: relative;
  top: -3px;
}
.form.node_edit_form .field.name input {
  width: 100%;
}
.form.node_edit_form .field.code input {
  width: 60px;
}
.form.node_edit_form .field.code:before {
  content: "";
  display: inline-block;
  width: 1px;
  position: absolute;
  left: -5px;
  top: -4px;
  bottom: -4px;
  background-color: #e1e5e8;

}
.form.node_edit_form .field.action_node {
  position: absolute;
  top: -4px;
  right: -4px;
  bottom: -4px;
  width: 30px;
  background: #f8ac59bf;
  text-shadow: 1px 1px 1px #555;
}
.form.node_edit_form .field.action_node .fa {
  width: 30px;
  display: block;
  height: 14px;
  text-align: center;
  line-height: 31px;
  color: #fff;
  font-size: 19px;
}
.form.node_edit_form .field.action_node_first {
  position: absolute;
  top: -4px;
  right: 26px;
  bottom: -4px;
  width: 34px;
  background: #71d371;
  padding-left: 3px;
}
.form.node_edit_form .field.action_node_first .fa {
  width: 30px;
  display: block;
  height: 14px;
  text-align: center;
  line-height: 31px;
  color: #fff;
  font-size: 19px;

  text-shadow: 1px 1px 1px #555;
}
