/*Diese Styles sind nur für die dynamische Veränderung der Größen und Zeilenhöhen */
.warning {
	background-color: red;
}
* {
	padding:0;
	margin:0;
}
body {
	font-family: Georgia, serif;
    overflow-y: scroll;
	padding-top: 2.4em;
}
              
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	text-rendering: optimizeLegibility
}
abbr {
	font-variant: small-caps;
	font-size: .7em;
}
a {
	text-decoration: none;
	color: hsl(205, 70%, 50%);
}

.notice {
	float: left;
	font-size: 280%;
	padding-top: 0.2em;
	padding-left: 0.2em;
	color: transparent;
}
.warning {
	color: #ff8000;
	color: hsla(20, 100%, 50%, 1);
}

#contentwrap {
	padding-bottom: 2em;
}
body.grid #contentwrap {
	background: url(../img/grid.png) repeat;
	background: -webkit-gradient(linear, 100% 0%, 100% 100%, from(transparent), to(rgba(0,0,0,.20)), color-stop(0.9, transparent));
	background: -moz-linear-gradient(center top , transparent, transparent 90%, rgba(0,0,0,.2)) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(center top , transparent, transparent 90%, rgba(0,0,0,.2)) repeat scroll 0 0 transparent;
	background: linear-gradient(center top , transparent, transparent 90%, rgba(0,0,0,.2)) repeat scroll 0 0 transparent;
	background-size: 100% 60px;
	background-repeat: repeat;
	background-position: top left;
}
#content {
	width: 80%;
	margin: auto;
}
#content * {
	-webkit-transition: line-height .33s ease;
	-moz-transition: line-height .33s ease;
}
#control {
	position: fixed;
	top: -1px;
	left: 0;
	width: 100%;
	font-size: 12px;
	line-height: 1.6em;
	color: #111;
	background: #fefefe;
	background: hsla(0, 0%, 99%, .9);
	-webkit-box-shadow: 0px 1px 6px rgba(0,0,0,.3),
						0px 1px 0px rgba(0,0,0,.2);
	box-shadow: 0px 1px 6px rgba(0,0,0,.3),
				0px 1px 0px rgba(0,0,0,.2);
	padding: 0em;
	overflow: visible;
/*	display: -webkit-box;
	-webkit-box-orient: horizontal;*/
}
fieldset {
	border: none;
	margin: 0;
	padding: .5em;
}
fieldset span {
	display: inline-block;
	vertical-align: middle;
}
label {
	margin-right: .5em;
	display: inline-block;
	vertical-align: middle;
}
input, textarea {
	font-size: inherit;
	color: inherit;
	line-height: inherit;
	font-family: inherit;
	vertical-align: middle;
	padding: 0px;
	border: none;
	color: inherit;
	background: #fff;
}
select {
	font-family: inherit;
	font-size: inherit;
	vertical-align: middle;
}
input[type=number] {
	width: 4em;
	padding: .125em 0em .125em .125em;
	border-radius: 3px;
	-webkit-box-shadow: inset 1px 1px 0px rgba(0,0,0,.33);
	box-shadow: inset 1px 1px 0px rgba(0,0,0,.33);
}
input[type=range] {
	width: 11em;
	vertical-align: middle;
}
button, input[type=submit] {
	border: 1px solid #b9b9b9;
	-webkit-box-shadow: inset 0px 1px 0px rgba(255,255,255,1);
	box-shadow: inset 0px 1px 0px rgba(255,255,255,1);
	background: hsla(0, 0%, 95%, 1);
	border-radius: .5em;
	padding: 0em .5em;
	vertical-align: middle;
	display: inline-block;
	height: 1.8em;
    line-height: 1.8em;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	-o-box-sizing: content-box;
	box-sizing: content-box;
	cursor: pointer;
}
button:active, input[type=submit]:active {
	border: 1px solid #aaa;
	-webkit-box-shadow: inset 0px 1px 0px rgba(9,9,9,.5);
	box-shadow: inset 0px 1px 0px rgba(9,9,9,.5);
	background: hsla(0, 0%, 90%, 1);
}
#control fieldset {
	float: left;
	white-space: nowrap;
	position: relative;
}
#control-size,
#control-scale,
#control-baseline-height {
	border-right: 1px solid hsla(0, 0%, 65%, 1);
}
#control-scale {
	z-index: 200;
}
#control #control-actions {
	z-index: 100;
	float: right;
}
#baseline-pixel:before {
	content: "(";
}
#baseline-pixel + span:after {
	content: ")";
}
#control-size label:first-child, #control-scale label:first-child {
	background: -webkit-gradient(linear, left top, right top, from(black), to(transparent), color-stop(.5, black), color-stop(.5, transparent));
	background: -moz-linear-gradient(left top , transparent, transparent 50%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.5)) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(left top , transparent, transparent 50%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.5)) repeat scroll 0 0 transparent;
	background: linear-gradient(left top , transparent, transparent 50%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.2)) repeat scroll 0 0 transparent;
	background-size: 2px 1px;
	background-repeat: repeat-x;
	background-position: 0% 80%;
}
#control fieldset .help {
	top: -99em;
	left: 0em;
	opacity: 0;
	position: absolute;
	z-index: 9999;
	background: #fefefe;
	background: hsla(0, 0%, 99%, .96);
	-webkit-box-shadow: 0px 1px 6px rgba(0,0,0,.3),
						0px 1px 0px rgba(0,0,0,.2);
	box-shadow: 0px 1px 6px rgba(0,0,0,.3),
				0px 1px 0px rgba(0,0,0,.2);
	border-radius: 6px;
	padding: .5em;
	-webkit-transition-property: opacity, top;
	-webkit-transition-timing-function: linear, linear;
	-webkit-transition-delay: 0s, .15s;
	-webkit-transition-duration: .15s, 0s;
	-moz-transition-property: opacity, top;
	-moz-transition-timing-function: linear, linear;
	-moz-transition-delay: 0s, .15s;
	-moz-transition-duration: .15s, 0s;
}
#control .help:before {
	display: block;
	height: 1.2em;
	margin-top: -.5em;
	width: 95%;
	content: "";
	position: absolute;
	top: -.5em;
}
#control #control-size .help {
	left: .4em;
}
#control fieldset.showhelp .help {
	top: 3.2em;
	display: block;
	opacity: 1;
	-webkit-transition-property: opacity, top;
	-webkit-transition-timing-function: linear, linear;
	-webkit-transition-delay: .3s, 0s;
	-webkit-transition-duration: .2s, 0s;
	-moz-transition-property: opacity, top;
	-moz-transition-timing-function: linear, linear;
	-moz-transition-delay: .3s, 0s;
	-moz-transition-duration: .2s, 0s;
}
#control .help a {
	margin: 0em -.25em 0em -.25em;
	padding: 0em .25em 0em .25em;
	border-radius: 3px;
	display: block;
}
#control .help a:hover {
	background: hsl(205, 70%, 50%);
	color: white;
}
#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.5;
	z-index: 300;
	top: 0;
	left: 0;
	display:none;
}
#output {
	z-index: 400;
	position: fixed;
	font-size: 16px;
	width: 60%;
	height: 80%;
	top: 10%;
	left: 20%;
	display: none;
	text-align: center;
}
#output textarea {
	text-align: left;
	font-family: monospace;
	-webkit-box-shadow: 0px 5px 8px rgba(0,0,0,.6);
	box-shadow: 0px 5px 8px rgba(0,0,0,.6);
	border-radius: 3px;
	display: block;
	width: 100%;
	height: 100%;
	padding: .7em;
}

@media (min-width: 925px) and (max-width: 1094px) {
	#control {
		display: -webkit-box;
		display: -moz-box;
		-webkit-box-orient: horizontal;
		-moz-box-orient: horizontal;
	}
	#control fieldset {
		-webkit-box-flex: 0;
		-moz-box-flex: 0;
	}
	#control-size {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		min-width: 34%;
		-webkit-box-flex: 1;
		-moz-box-flex: 1;
	}
	#control-baseline-height {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		min-width: 38%;
		-webkit-box-flex: 1;
		-moz-box-flex: 1;
	}
	#control-scale {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		min-width: 28%;
		-webkit-box-flex: 1;
		-moz-box-flex: 1;
		border-right: none;
	}
	#control #control-actions {
		position: absolute;
		top: 3.2em;
		right: .4em;
		-webkit-box-flex: 0;
		-moz-box-flex: 0;
		background: hsla(0, 0%, 99%, .9);
		-webkit-box-shadow: 0px 1px 6px rgba(0,0,0,.3),
							0px 1px 0px rgba(0,0,0,.2);
		box-shadow: 0px 1px 6px rgba(0,0,0,.3),
					0px 1px 0px rgba(0,0,0,.2);
		border-radius: 6px;
	}
}
@media (max-width: 924px) {
	body {
		-webkit-text-size-adjust: 100%;
		padding-top: 8.6em;
		overflow-x: hidden;
	}
	h1, h2, h3, h4, h5, h6 {
		white-space: nowrap;
	}
	#control {
		display: -webkit-box;
		display: -moz-box;
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
	}
	#control fieldset {
		margin-left: 0px;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		border: none;
		border-bottom: 1px solid hsla(0, 0%, 65%, 1);
	}
	#control fieldset input[type="range"] {
		width: 30%;
	}
	#control #control-actions {
		border: none;
		float: none;
	}
	#control fieldset label:first-child {
		width: 9em;
	}
	#control-size label:first-child, #control-scale label:first-child {
		background: none;
		text-decoration: underline;
	}
	#content {
		width: 100%;
		margin: 1em;
	}
}
p { hyphenate-before:2; hyphenate-after:3; hyphenate: auto; }