:root {
  --pcolor: #000000;
  --handleColor:#39f5fb;
  --b:#2196F3;
}
body{
	font-family:'Arial';
	margin:0;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
#menu{
	position: relative;
    background: #fff;
	width: 100%;
    border-radius: .3em;
	box-sizing: border-box;
	padding: .5em;
}
#help,#info{
	position: fixed;
    max-width: 300px;
    background: #fff;
    border: 1px solid var(--b);
    border-radius: .3em;
    top: 3em;
    left: 1em;
    padding: 1em;
	font-size:.9em;
	display:none;
}
#help p{
	text-align: left;
    padding-bottom: 1em;
}
#help em{
	color:var(--b);
	width: 4em;
    display: inline-block;
}
#info{
	left: 50%;
    top: 20%;
}
#info div{
	font-size:2em;
}
h1{
	font-size:1.7em;
}

ul,li{
	padding:0;
	margin:0;
}
#menu a,
a.bt{
	padding: .2em 0;
    background: var(--b);
	color: #fff;
    border-radius: .3em;
    display: inline-block;
	cursor: pointer;
}
#menu a{
    margin: .5em 0 0 0;
    text-decoration: none;
    width: 100%;
    text-align: center;
}
#menu a.help{
	float: right;
    width: auto;
    padding: .2em .5em;
	margin-top: -.2em;
}
a.active{
	background:red;
}
a.bt,
a.pbut{
	width: auto;
	padding: .3em 1em;
    margin: 0.1em;
    font-size: 1.2em;
	float:none;
}
label{
    color: var(--b);
    min-width: 3.5em;
    display: inline-block;
    font-size: .9em;
}
#menu p{
    text-align: left;
    font-size: .9em;
    font-weight: bold;
    color: var(--b);
    margin:0 0 .8em 0;
}
#menu .c p{
	margin:.3em 0 .3em 0;
}

.c{
	border-top:1px dotted #5d7f9a;
    padding-bottom: .3em;
}
.c label span{
	display:inline-block;
	width:1em;
	height:1em;
	margin-left:.3em;
	background:url(/img/checkboard.gif) repeat;
	border:1px solid #999;
	cursor:pointer;
}
.c label span span{
	margin:0;
	background:none;
	border:none !important;
}
.c label span[data-active]{
	border:3px solid red;
	display: inline-block !important;
}
input[type=text]{
    width: 3em;
    text-align: center;
    height: 1.9em;
    margin: 0.1em;
    border-radius: 0.3em;
    border:1px solid var(--b);
}
#cmpicker input{
	width:150px;
	height:24px;
}
#cmpicker{
	position: fixed;
    background: #fff;
    padding: 1em;
    width: 235px;
    height: 180px;
    border-radius: .3em;
	display:none;
	z-index:1;
}
a.close{
    width: 1.3em;
    height: 1.3em;
    background: red;
    text-align: center;
    color: #fff;
    border-radius: 100%;
    box-sizing: border-box;
    line-height: 1.5em;
    position: absolute;
    top: -5px;
    right: -5px;
	cursor:pointer;
}

#menu a.ps{
    width: 1.7em;
    height: 1.7em;
    background:#096bb9;
    box-sizing: border-box;
    margin: .2em 1.3em 0 0;
    padding: 0;
}
.ds{
	margin-top:1.1em;
}
a.ps:after{
	content:'';
	margin-top:6px;
	width: 0px;
	height: 0px;
	-webkit-transform:rotate(360deg);
	border-style: solid;
	border-width: 7.5px 0 7.5px 13.0px;
	border-color: transparent transparent transparent #fff;
}
a.ps[data-active]:after{
	width:15px;
	height:15px;
	background:#fff;
	animation: blinker 2.5s linear infinite;
	border:none;
}
#cmpicker,
#menu{
	border: 1px dotted var(--b);
}
#menu a.ps,
a.ps:after,
a.close{
	display: inline-block;
}
[data-active]{
	display:block !important;
}
.clear{
	clear:left;
}
.content{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	box-sizing: border-box;
	padding: 1em;
	padding-bottom:3em;
}
.center{
	position:relative;
	height:80%;
	width:100%;
}

#svg{
	height:100%;
}
.footer{
	background: #b3c3ca;
	position: fixed;
	bottom: 0;
	display: block;
	width: 100%;
	margin: 0;
	padding:.3em 1em;
	color:#fff;
	text-align:center;
}
.example a.pbut{
	display:none;
}
.example .footer{
	display:block;
	background: none;
	color: #a0aaaf;
}
/** SVG CSS */

@media (min-width:600px) {
	#menu{
		position: fixed;
		display: inline-block;
		max-width: inherit;
		max-width: 210px;
		top:3em;
		padding-bottom:.5em;
	}
	#menu,#help{
		cursor:move;
	}
	.content{
		height:100vH;
	}
}