/**
 * For the correct positioning of the placeholder element, the dnd-list and
 * it's children must have position: relative
 */
.fieldsDrag ul[dnd-list], .fieldsDrag ul[dnd-list]>li {
	position: relative;
}

/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
.fieldsDrag ul[dnd-list] {
	min-height: 42px;
	padding-left: 0px;
}

/**
 * The dndDraggingSource class will be applied to
 * the source element of a drag operation. It makes
 * sense to hide it to give the user the feeling
 * that he's actually moving it.
 */
.fieldsDrag ul[dnd-list] .dndDraggingSource {
	display: none;
}

/**
 * An element with .dndPlaceholder class will be
 * added to the dnd-list while the user is dragging
 * over it.
 */
.fieldsDrag ul[dnd-list] .dndPlaceholder {
	display: block;
	background-color: #ddd;
	min-height: 42px;
}

/**
 * The dnd-lists's child elements currently MUST have
 * position: relative. Otherwise we can not determine
 * whether the mouse pointer is in the upper or lower
 * half of the element we are dragging over. In other
 * browsers we can use event.offsetY for this.
 */
.fieldsDrag ul[dnd-list] li {
	background-color: #fff;
	border: 1px solid #ddd;
	display: block;
	padding: 10px 15px;
	margin-bottom: -1px;
}

/**
 * Show selected elements in green
 */
.fieldsDrag ul[dnd-list] li.selected {
	background-color: #dff0d8;
	color: #3c763d;
}

/** specifico per la lista tabelle */

/**
 * For the correct positioning of the placeholder element, the dnd-list and
 * it's children must have position: relative
 */
.tablesDrag ul[dnd-list], .tablesDrag ul[dnd-list]>li {
	position: relative;
}

/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
.tablesDrag ul[dnd-list] {
	min-height: 42px;
	padding-left: 0px;
}

/**
 * The dndDraggingSource class will be applied to
 * the source element of a drag operation. It makes
 * sense to hide it to give the user the feeling
 * that he's actually moving it.
 */
.tablesDrag ul[dnd-list] .dndDraggingSource {
	display: none;
}

/**
 * An element with .dndPlaceholder class will be
 * added to the dnd-list while the user is dragging
 * over it.
 */
.tablesDrag ul[dnd-list] .dndPlaceholder {
	display: block;
	background-color: #ddd;
	min-height: 42px;
}
/**
 * Show selected elements in green
 */
.tablesDrag ul[dnd-list] li.selected {
	background-color: #dff0d8;
	color: #3c763d;
}

.tablesDrag ul[dnd-list] li {
  background-color: #fff;
  border: 1px solid #ddd;
  display: block;
  margin-bottom: -1px;

  /* Disable text selection if item is not draggable */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/**
 * Show selected elements in green
 */
.tablesDrag ul[dnd-list] li.selected {
	background-color: #dff0d8;
	color: #3c763d;
}

.tablesDrag .ul[dnd-list] li dnd-nodrag {
	display: block;
	padding: 10px 15px;
}

/**
 * Handle positioning
 */
.handle {
	cursor: move;
	position: absolute;
	top: 14px;
}

.name {
	margin-left: 20px;
}