.haddock .edittoolbar {
	width: 80px;
}

.haddock.edit-mode .fixed-header > .header.scrolling-down .navigation {
	display: none; /* disable sticky header */
}

.KnowWE .edittoolbar {
	width: 70px;
}

.edittoolbar {
	background-color: var(--bg-color-content);
	color: var(--text-color-secondary);
	position: absolute;
	top: 0px;
	left: -87px;
	z-index: 5;
	padding-top: 10px;
	padding-left: 10px;
	padding-bottom: 6px;
	border-top: 1px solid var(--highlight-color-light);
	border-left: 1px solid var(--highlight-color-light);
	border-bottom: 1px solid var(--highlight-color-light);
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
}

.edittoolbar:before {
	content: url(../images/sort-arrow_up_down.png);
	display: inline;
	position: relative;
	top: -50%;
	cursor: move;
}


.KnowWE .edittoolbar a.action {
	width: 40px;
	font-size: 13px;
}

.haddock .edittoolbar a.action {
	width: 50px;
}

.edittoolbar a.action {
	padding: 0.25em 0.5em;
	margin-bottom: 0.2em;
	margin-top: 0em;
	display: inline-block;
	text-decoration: none;
	text-align: center;
	line-height: normal;
	border: 1px solid var(--border-color-table);
	background: var(--bg-color-primary-shade);
	white-space: nowrap;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-ms-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

.floating_edittoolbar {
	border-right: 1px solid var(--border-color-light);
	margin-right: -1px;
	border-radius: 10px;
}

.editmarker {
	background-color: var(--highlight-color-light);
	position: absolute;
	width: 3px;
	left: -9px;
	top: 0px;
	z-index: 1000;
}

.editmarker:after {
	content: url(../images/sort-arrow_up_down.png);
	display: block;
	position: relative;
	left: -10px;
}

.pageedit.pageeditenabled:hover {
	background-color: var(--bg-color-default-Markup);
}

.edittoolbar p {
	float: left;
	margin-right: 0.5em;
	margin-top: 0em;
	margin-bottom: 0.1em;
}

.editelement {
	position: relative;
}

.editanchor {
	display: none;
}

#editmaintoolbar {
	background-color: var(--bg-color-content);
	color: var(--text-color-secondary);
	position: fixed;
	width: 420px;
	top: 0px;
	left: 50%;
	margin-left: -110px;
	z-index: 3000;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	border-right: 1px solid var(--highlight-color-light);
	border-left: 1px solid var(--highlight-color-light);
	border-bottom: 1px solid var(--highlight-color-light);
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
}

#editmaintoolbar a.action.cancel, #editmaintoolbar a.action.save, #editmaintoolbar a.action.delete {
	padding: 0.25em 0.5em;
	margin-right: 0.3em;
	margin-top: 0em;
	width: 40px;
	text-decoration: none;
	text-align: center;
	line-height: normal;
	border: 1px solid var(--border-color-table);
	background: var(--bg-color-default-Markup);
	white-space: nowrap;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-ms-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

#editmaintoolbar div.new-element-drag-drop {
	padding: 0.25em 0.5em;
	margin-right: 0.3em;
	margin-top: 0em;
	min-width: 10em;
	text-decoration: none;
	text-align: center;
	line-height: normal;
	border: 1px solid var(--border-color-table);
	background: var(--bg-color-default-Markup);
	white-space: nowrap;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-ms-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	display: inline;
}

#editmaintoolbar .new-section {
	display: inline;
	cursor: copy;
}

.greyout {
	background-color: var(--bg-color-base);
	filter: alpha(opacity=10); /* IE */
	opacity: 0.3; /* Safari, Opera */
	-moz-opacity: 0.30; /* FireFox */
	pointer-events: none;
}


.drop-placeholder {
	height: 1.5em;
	line-height: 1.2em;
	border: 1px dashed var(--highlight-color-light);
	border-radius: 10px;
	-moz-border-radius: 10px;
	color: var(--text-color-light);
	text-align: center;
	font-size: smaller;
}

#editmaintoolbar .drop-placeholder {
	display: none;
}

#editmaintoolbar #new-section--1 {
	visibility: hidden;
}

.drop-placeholder:before {
	content: "drop here";
	padding: 5px;
}

.editarea.ui-sortable-helper {
	filter: alpha(opacity=75); /* IE */
	opacity: 0.75; /* Safari, Opera */
	-moz-opacity: 0.75; /* FireFox */
}

/*
 * Workaround for a Chrome bug, see: https://bugs.chromium.org/p/chromium/issues/detail?id=1066924#c9
 */
.editarea textarea {
	overflow-anchor: none
}
