.dd {
  position: relative;
  display: block;
  margin: 20px 0;
}
.dd-list {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dd-action {
  position: absolute;
  right: 10px;
}
.dd-action>a {
  margin-right: 5px; 
}
.dd-list .dd-list {
  padding-left: 30px;
}
.dd-item,
.dd-empty,
.dd-placeholder {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 20px;
}
.dd-item>p {
  display: block;
  padding: 4px 70px;
  margin: 5px 0;
  border: 1px solid #ccc;
  background: #fafafa;
}
.dd-handle {
  left: 30px;
  position: absolute;
  margin: 0;
  padding: 5px 10px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
  margin-right: 5px;
}
.dd-handle:hover {
  cursor: move;
}
.dd-item > button {
  width: 30px;
  height: 30px;
  position: absolute;
  cursor: pointer;
  padding: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border: 0;
  background: transparent;
  border: 1px solid #ccc;
  background: #fafafa;
  margin-right: -3px;
  border-right: 0;
}
.dd-item > button:before {
  display: block;
  position: absolute;
  width: 100%;
  text-align: center;
  text-indent: 0;
}
.dd-item > button.dd-expand:before {
  content: '+';
}
.dd-item > button.dd-collapse:before {
  content: '-';
}
.dd-expand {
  display: none;
}
.dd-collapsed .dd-list,
.dd-collapsed .dd-collapse {
  display: none;
}
.dd-collapsed .dd-expand {
  display: inline-block;
}
.dd-empty,
.dd-placeholder {
  margin: 5px 0;
  padding: 0;
  min-height: 30px;
  background: #f2fbff;
  border: 1px dashed #b6bcbf;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.dd-empty {
  border: 1px dashed #bbb;
  min-height: 100px;
  background-color: #e5e5e5;
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}
.dd-dragel {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
}
.dd-dragel > .dd-item .dd-handle {
  margin-top: 0;
}
.dd-dragel .dd-handle {
  box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}
