body
{
	font-family: arial, helvetica, sans-serif;
	font-size: 85%;
	margin: 10px 15px;
	color: #333;
	background-color: #ddd;
}

h1
{
	font-size: 1.6em;
	font-weight: normal;
	margin: 0 0 0.3em 0;
}

h2
{
	font-size: 1.4em;
	font-weight: normal;
	margin: 1.5em 0 0 0;
}

p
{
	margin: 1em 0;
}

#svg
{
	display: inline;
	float: left;
	width: 1000px;
	height: 800px;
	margin: 0 10px 10px 0;
	background-color: #fff;
}
#info {
	display: inline;
	float: left;
	margin: 0 10px 10px 0;
}

#ruler_dimensions {
	border: 1px solid #000;
	margin-top: 10px;
}
#ruler_dimensions pre {
	margin: 5px;
	font-size: 13px;
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 17px;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #3575F6;
}

input:focus + .slider {
	box-shadow: 0 0 1px #3575F6;
}

input:checked + .slider:before {
	-webkit-transform: translateX(13px);
	-ms-transform: translateX(13px);
	transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 17px;
}

.slider.round:before {
	border-radius: 50%;
}