

/**************** patchwork editor *****************/
body div.patchwork.grid div.gridItem div.patchworkItem {
	display: none;
}

div.patchworkPlaceholder.dragging div.patchwork.grid div.gridItem div.patchworkItem
{
	display: block;
}

div.patchworkPlaceholder.dragging div.patchwork.grid div.gridItem{
	z-index: 5;
}

div.patchwork.grid div.gridItem {
	position: absolute;
	background-color: rgba(240, 240, 240, 0.4);
	vertical-align: top;
}

div.patchwork.grid div.odd {
	background-color: rgba(160, 160, 160, 0.4);
}

div.patchworkItem.queue {
	position: static;
	background-color: rgb(220, 220, 220);
}

/*************** Wallscreen ******************/
div.patchworkPlaceholder {
	position: relative;
	overflow: hidden;
}

.wallSettings {
	position: relative;
}

.wallSettings input[type="text"] {
	width: 60px;
	margin: 0 10px;
}

.animationControlbar {
	background: linear-gradient(
		to bottom,
		transparent 0,
		transparent calc(50% - 2px),
		black calc(50% - 1px),
		black,
		transparent 51%,
		transparent 100%
		);
}
/**************** QUEUE / OUTSIDE *****************/
div.layout.items {
	min-height: unset;
}

/**************** EDIT *****************/

div.edit div.patchworkItem:hover::after{
	content:'';
	display:block;
	position: absolute;
	inset: 3px 3px 3px 3px;
	outline: 3px dashed rgba(0,0,0,0.7);
	box-shadow: 0 0 0 3px rgba(255,255,255,0.7);
	z-index:10;
}

div.edit div.patchworkItem:hover::before {
	content: attr(data-label);
	position: absolute;
	top: 3px;
	left: 3px;
	background: #000;
	color: #fff;
	line-height: 1.4rem;
	font-size: 12px;
	padding: 1px 4px;
	z-index: 11;
}

div.edit div.patchworkItem.covered1::after {
	top: 14px;
}

div.edit div.patchworkItem.covered2::after {
	top: 28px;
}

/**************** INSPECT *****************/
div.inspect div.patchworkItem {
	outline: 1px dashed rgba(0,0,0,0.5);
	box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
	background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(0,0,0,0.2), transparent calc(50% + 1px))
}
div.inspect div.padding {
	outline:1px dashed green;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}
div.inspect div.box {
	outline:1px dashed blue;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}
div.inspect div.rotate {
	outline:1px dashed #e164f9;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}

div.inspect div.content {
	outline:1px dashed red;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}
/**************** CHILD PATCHWORKS *****************/
div.inspect div.patchworkItem div.patchworkItem,
div.inspect div.patchworkItem div.patchworkItem div.padding,
div.inspect div.patchworkItem div.patchworkItem div.box,
div.inspect div.patchworkItem div.patchworkItem div.rotate,
div.inspect div.patchworkItem div.patchworkItem div.content
{
	outline:none;
	box-shadow: none;
}
