/**
 * Stylesheet for SVGTree demo.
 * (c) 2015, Alex Ostrovski
 */

body {
	margin: 0 auto;
	padding: 2em;
	width: 980px;
	font-family: Calibri,"Droid Sans",Arial,sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

h1, h2 {
	text-align: center;
}
h1 {
	font-size: 48px;
}
h2 {
	font-size: 36px;
	margin: 1em 0;
	border-top: 1px dashed #ccc; 
	padding-top: 1em;
}

.row {
	margin: 3em 0;
	border-bottom: 1px dashed #ccc;
	padding: 0 1em 3em;
}
.row:after {
	content: '';
	display: block;
	clear: both;
}

.row figure {
	display: inline-block;
	margin: 0 0 1em;
	float: left;
	clear: left;
}

.notes {
	margin-left: 350px;
}

code,pre.code {
	font-family: Consolas,"Droid Sans Mono","Courier New",monospace;
	font-size: 12px;
}
code {
	background: #f0f0ff;
	padding: 0 2px;
}
pre.code {
	border: 1px solid #ccf;
	padding: 4px;
	margin: 0 4px;
}

figcaption {
	font-size: small;
	color: #444;
	margin-top: 0.5em;
	max-width: 300px;
}

.svgtree-wrap,
figure.scroll {
	border: 4px solid #ddd;
}

svg {
	width: 300px;
	height: 300px;
	display: inline-block;
}

svg.small .label {
	font-size: 10px;
}

.debug-wrap {
	border: 1px solid black;
}

figure.scroll {
	float: none;
	width: 900px;
	height: 540px;
	overflow: scroll;
	line-height: 0;
}
.scroll .svgtree-wrap {
	border: none;
}
