/* @override http://app.dev/style.css */

body, html {
	margin: 0; padding: 0;
	background-color: rgb(235,235,235);
	color: #222;
	font: 13px helvetica;
	overflow: hidden;
}

#devtools {
	-webkit-user-select: none;
	background-color: #f3eed6;
	border-bottom: 1px solid #686868;
	box-shadow: 0 1px white inset;
	top:0; left: 0; right:0;
	padding: 2px;

  width: auto !important;
	/* one line; scroll sideways when the window is too narrow */
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
}
#devtools input[type="button"] {
	margin: 4px;
	margin-right: 0px;
}
/* buttons, sliders, labels and selects share a vertical middle */
#devtools input,
#devtools select,
#devtools label {
	vertical-align: middle;
}
#devtools .hr {
	width: 2px;
	display: inline;
	border-right: 1px dotted #686868;
	margin-right: 4px;
	margin-left: 4px;
}

#draw_canvas {
	background-image: url(paper.png);
	cursor: pointer;
}
#draw_canvas.active {
	border-color: #09f;
}

#svg_wrap {
	background-color: #000;
	touch-action: none; /* drag pans the view, also on touch */
	border-bottom: 3px solid #000;
	cursor: grab;
	cursor: -webkit-grab;
}

canvas#render_canvas {
	position: absolute;
	top: 100%;
	opacity: 0;
}

div.cw{
	padding: 0; margin: 0;
	margin-top: 10px;
	border: 6px solid #fff;
	position: absolute;
}
div.cw.left{
	left: 10px;
}
div.cw.right{
	right: 10px;
}


div.cw div.instr {
	position: absolute;
	color: #000;	
	background-color: #fff;
	border-right: 6px solid #fff;
	border-bottom: 4px solid #fff;
}

div.zoomtool {
	padding: 0; margin: 0px;
	position: absolute;
	z-index: 999;
	width: 24px;
	right: 10px;
	top: 8px;
	background-color: #e5e5e5;
	padding:1px;
	border-radius:13px;
	padding-bottom: 0px;
}

.uibtn {
	border: 2px solid #e5e5e5;
	width: 14px; height:14px;
	display: inline-block;
	padding: 3px;
	border-radius:50%;
	margin-bottom: 2px;
	background-color: #fff;
	cursor: pointer;
}
.uibtn:hover {
	border-color: #09f;
	background-color: rgba(0,200,255,0.2);

}
.uibtn:active {
	border-color: #0f0;
	background-color: rgba(0,255,0,0.2);
}
.uibtn.pluss{
	background: white url(icn_pluss.png) no-repeat 50% 50%;
}
.uibtn.minus{
	background: white url(icn_minus.png) no-repeat 50% 50%;
}
.uibtn.last {
	margin-bottom: -2px;
}

