#scroll-content {
	display: none;
	position: absolute;
	overflow: auto;
	width: 100%;
	top: 105px;
	bottom: 0px;
}

span.preview {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: text-bottom;
	border-radius: 10px;
}
#stocklist-container {
	text-align: left;
}
#stocklist {
	width: 100%;
	margin-top: 18px;
	line-height: 1.15em;
}
#stocklist th {
	color: rgb(186,0,0);
	text-align: left;
}
#stocklist td {
	padding-right: 10px;
}
.base-row td {
	padding-top: 0.25em;
	padding-bottom: 0.5em;
	border-top: 1px solid;
}
.sub-row td {
	padding-left: 20px;
}
.item-number, .item-pos {
	white-space: nowrap;
}
#overview {
	position:relative;
	left:0;
	width: 173mm;
	height: auto;
	padding-top: 10mm;
}
#pagefooter {
	padding-top: 10mm;
}

#offer-form {
	width:172mm;
	margin:20px auto;
	padding:20px;
}

#offer-form label {
	display: inline-block;
	width: 150px;
	line-height: 30px;
	font-weight: bold;
	text-align: left;
}

#offer-form h1 {
	font-size: 1.8rem;
	padding-bottom: 0.5rem;
}

#page-preview {
	width: 208mm;
	min-height: 120mm;
	margin: 20px auto 50px;
	padding: 18mm;
	border: 1px solid #ccc;
	background-color: #FFF;
	-webkit-box-shadow: 7px 7px 4px 0px rgba(127, 127, 127, 1);
	-moz-box-shadow: 7px 7px 4px 0px rgba(127, 127, 127, 1);
	box-shadow: 7px 7px 4px 0px rgba(127, 127, 127, 1);
}

@media print {
	.noprint, .gui, canvas {
		display: none !important;
	}
	#scroll-content {
		position: relative !important;
		top: 0 !important;
		bottom: auto !important;
		overflow: visible !important;
		background: #fff !important;
	}
	#page-preview {
		width: 173mm;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
	}
	#stocklist-container {
		width: 173mm; /* to fix page breaks on auto-resize */
		height: auto;
		overflow: visible !important;
		border: none;
		padding: 0 !important;
		padding-bottom: 3mm !important;
		margin: 0 !important;
	}
	#stocklist th {
		color: rgb(0,0,0);
	}
	#overimg {
		width: 173mm !important;
	}

	body, html {
		width: 175mm;
		height: auto;
		margin: 0 auto !important;
		padding: 0 !important;
		border: 0 !important;
		background: #fff;
		color: #000;
		overflow: visible !important;
	}
}