body {
	margin: 0;
	padding: 0;
}

.mainbg {
	background-color: #333;
}

.multidraw-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.multidraw-subcontainer {
	position: relative;
	min-width: 1024px;
	max-width: 1366px;
	margin: 0 auto;
}

.multidraw-frame {
	max-height: 100vh;
	max-width: 100vw;
	overflow: hidden;
	position: relative;
}

.multidraw-ui {
	position: absolute;
	top: 0px;
	min-width: 1024px;
	width: 100%;
	z-index: 1;
}

.multidraw-dom {
	pointer-events: none;
	position: absolute;
	z-index: 10;
	max-height: 100vh;
	max-width: 100vw;
}

textarea.text-entry {
	border: 0;
}

.text-entry {
	font-family: "Arial";
	resize: none;
	padding: 0;
	overflow: hidden;
	font-size: 24px;
	text-align: center;
}

.mover {
	position: absolute;
}

.interactable {
	pointer-events: all;
}

.multidraw-ui .uibuttons {
	display: flex;
	height: 64px;
}

.multidraw-ui .divider {
	width: 2px;
	display: inline;
	height: 36px;
	margin: 10px 5px;
	background-color: rgba(255, 255, 255, 0.5);
}

.multidraw-ui button {
	background-color: white;
	text-transform: none;
	pointer-events: auto;
}

.multidraw-ui .iconbutton {
	width: 45px;
	height: 45px;
	cursor: pointer;
	min-width: 10px;
	border-radius: 10px;
	border: 0;
	margin: 7.5px 5px;
	padding: 0;
	/*	box-sizing: content-box;*/
}

.multidraw-ui button:hover {
	background-color: #cfcfcf;
	color: #000;
}


.multidraw-ui .iconbutton.active,
.multidraw-ui .iconbutton:not(.inactive):active {
	background-color: #ffffff;
	border: 5px solid #2194D6;
	border-radius: 12px;
	width: 55px;
	height: 55px;
	margin: 2.5px 0;
}

.multidraw-ui button.inactive {
	border: none;
	cursor: default;
	background-color: #969696;
}

.multidraw-ui button.inactive input {
	background-color: #969696;
}

.multidraw-ui .optionbutton {
	display: inline-block;
}

.multidraw-ui .optiontable {
	background-color: white;
	height: auto;
	border-radius: 5px;
	width: auto;
	filter: drop-shadow(2px 5px 8px rgba(0, 0, 0, 0.16));
}

.multidraw-ui .optiontable button:first-of-type {
	border-radius: 5px 5px 0 0;
}

.multidraw-ui .optiontable button:last-of-type {
	border-radius: 0 0 5px 5px;
}

.multidraw-ui .toolbutton {
	display: inline-block;
}

.multidraw-ui .toolrow {
	max-height: 70px;
	display: flex;
	padding-left: 0.5em;
}

.multidraw-ui .optionrow {
	display: flex;
}

.color-chip {
	border: 1px solid #aaa;
}

.multidraw-ui .valuebutton {
	padding: 0;
	border: 0;
	border-radius: 0;
}

.multidraw-ui .valuebutton.active,
.multidraw-ui .valuebutton:active {
	border-radius: 0;
}

.multidraw-ui .valuebutton .labelpreview {
	margin: 0 auto;
	background-color: white;
	color: black;
	overflow: hidden;
	width: calc(100% - 36px);
	font-size: 20px;
	height: 2.5em;
	padding: 0.4em 0.5em;
}

.multidraw-ui .valuebutton .labelpreview.useredit {
	background-color: #fffcd9;
	color: #6e6e6e;
}



.toolbutton button {
	display: flex;
	align-items: center;
	justify-content: center;
}

.toolbutton button.withlabel {
	display: flex;
	align-items: center;
	justify-content: left;
	font-size: 18px;
	padding: 0 9px 0 6px;
}

.toolbutton button.withlabel.active,
.toolbutton button.withlabel:active {
	background-color: #f4f4f4;
	border: 3px solid #2194D6;
	padding: 0 6px 0 3px;
}

.toolbutton button.withlabel .icon {
	margin-left: -5px;
	margin-right: 0;
}

.toolbutton button.withlabel .icon svg {
	width: 36px;
	height: 36px;
}

.toolbutton img {
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	pointer-events: none;
}

.toolbutton svg {
	width: 50px;
	height: 50px;
}

.toolbutton svg * {
	fill: #333 !important;
}

.valuebutton svg {
	max-height: 100%;
}

.iconbutton svg * {
	fill: #333 !important;
}

.iconbutton.inactive svg * {
	fill: #707070 !important;
}

.toolbutton div {
	height: 100%;
	width: 100%;
	pointer-events: none;
}

.multidraw-ui .optiontable {
	position: absolute;
}

.multidraw-ui .hidden {
	display: none;
}

.multidraw-ui .iconbutton.color .icon {
	width: 22px;
	height: 22px;
	margin: 0 auto;
}

.multidraw-ui .iconbutton.color .icon svg {
	width: 20;
	height: 20px;
	margin: 1px auto -12px;
}

.multidraw-ui input[type="color"] {
	padding: 0;
	height: 14px;
	width: 80%;
	border: none;
	border-radius: 10px;
}

.multidraw-ui .picklist {
	position: absolute;
	right: 1%;
	top: 20px;
	width: 17%;
	max-height: 400px;
	transition: width 0.35s ease-in-out;
	background-color: #cfcfcf;
	overflow-y: scroll;
}

.multidraw-ui .picklist.open {
	width: 500px;
}

.multidraw-ui .picklist button {
	display: block;
	height: auto;
	width: 100%;
	color: black;
	cursor: pointer;
	margin: 0;
	padding: 3px;
	background-color: transparent;
}

.multidraw-ui .picklist button:hover {
	background: #fcfcfc;
}

.multidraw-ui .picklist button img {
	width: 50%;
	height: auto;
}

.multidraw-ui .picklist button.openpicklist {
	height: 50px;
	border: none;
	background-position: 10px;
	background-repeat: no-repeat;
	background-image: url('/static/multidraw/img/icons/btn_left.png');
	background-color: transparent;
}


.multidraw-ui .picklist.open .openpicklist {
	background-image: url('/static/multidraw/img/icons/btn_right.png');
}
