

/**************** 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;
	width: 100%;
	height: 0;
	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%
		);
}

/**************** EDIT *****************/
div.edit div.patchworkItem
{
	border: 1px solid rgba(0,0,0,0.3);
	background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(0,0,0,0.2), transparent calc(50% + 1px))
}

div.edit div.patchworkItem:hover::before {
	content: attr(data-label);
	position: absolute;
	top: 0;
	left: 0;
	background: #000;
	color: #fff;
	line-height: 1.4rem;
	font-size: 12px;
	padding: 1px 4px;
	z-index: 1;
}

div.edit div._patchworkItem::after {
	content:'';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0);
	border: 1px solid rgba(0,0,0,0);
	transition-property: background,border;
	transition-duration: 0.2s;
}

div.edit div._patchworkItem:hover::after {
	background:rgba(0,0,0,0.2);
	border: 1px solid rgba(0,0,0,0.8);
}

div.edit div.patchworkItem.covered1::after {
	top: 14px;
}

div.edit div.patchworkItem.covered2::after {
	top: 28px;
}

/**************** INSPECT *****************/

div.inspect div.crop {
	outline:2px dotted green;
}
div.inspect div.content {
	outline:2px dotted red;
}
div.inspect div.fit {
	outline:2px dotted blue;
}
