	
	@font-face {
		font-family: MP;
		src:
			url("../font/mp.eot"),
			url("../font/mp.ttf"),
			url("../font/mp.otf")
	}
	
	html, body, div, h1, h2, h3, h4, h5, h6, p, ul, li {
		margin: 0;
		padding: 0;
	}
	
	html, body, input, select, textarea, button {
		font-family: MP, sans-serif;
		line-height: 1.2em;
		height: 100%;
		min-height: 100%;
	}
	
	input[type='checkbox'] {
		height: 15px;
		width: 15px !important;
		margin-top: 0.2em;
	}
	
	html {
		overflow-y: hidden;
	}
	
	body {
		font-size: 1.15em;
	}
	
	div, textarea {
		position: relative;
		box-sizing: border-box;
	}
	
	h1 {
		padding: 1.2em 0.0 1.0em;
		border-bottom: 1px solid #eee;
		line-height: 0.9em;
	}
	
	h1 > span {
		color: #bbb;
		font-weight: normal;
		font-size: 0.7em;
	}
	
	h2 {
		padding: 1.8em 0 0.6em;
	}
	
	h2 > .submenu-title {
		float: left;
	}
	
	h2 > a[data-page] {
		display: block;
		float: right;
		font-size: 0.6em;
		font-weight: normal; 
	}
	
	h2 > span {
		color: #aaa;
		font-weight: normal;
		font-size: 1.2em;
	}
	
	h3 {
		padding: 1em 0 0.3em;
		line-height: 1.4em;
	}
	
	p {
		padding: 0.1em 0 0.3em;
	}
	
	ul {
		list-style: none;
		padding: 0 0 1em;
	}
	
	li {
		padding: 0.3em 0.7em;
	}
	
	li:before {
		content: '▌';
		color: #ddf;
		font-size: 0.9em;
	}
	
	a, a:link, a:visited, a:hover, a:active, a:focus {
		color: #99d;
		text-decoration: none;
		cursor: pointer;
	}
	
	a:hover, a.active {
		color: #449;
		text-decoration: underline;
	}
	
	a:active {
		color: #115;
		text-decoration: none;
	}
	
	div.loading {
		background: url('/res/loading.svg') no-repeat center center;
		background-size: auto 80%;
		width: 100%;
		height: 100px;
		padding: 5em;
		margin-top: 3em;
	}
	
	div.busy {
		pointer-events: none;
		position: fixed;
		background: url('/res/loading.svg') no-repeat center left;
		background-color: #fff;
		background-size: auto 100%;
		width: 20em;
		padding: 2em 0 2em 5em;
		bottom: 1em;
		left: 0;
		opacity: 0;
		transition: opacity 500ms;
		box-shadow: 0 0 5px 0 #999;
	}
	
	div.wrapper {
		height: 100%;
		min-height: 100%;
		background: #f0f0f0;
		overflow-y: scroll;
	}
	
	div.main {
		width: 80%;
		background: #fff;
		box-shadow: 0 0 3em -0.5em #ccc;
		margin: 0 auto;
		padding: 2em 3em 2em;
		min-height: 100%;
	}
	
	div.main > div.logo {
		background: url('res/iso-9001.png') no-repeat bottom right;
		background-size: auto 100px;
		width: 50%;
		height: 125px;
		float: right;
		text-align: right;
		font-size: 0.9em;
	}
	
	div.main > div.menu {
		margin: 4px 0 0;
	}
	
	div.main > div.menu > a {
		display: inline-block;
		padding: 0.55em 0.6em 0.4em;
		border-bottom: 2px solid #fff;
		cursor: pointer;
	}
	
	div.main > div.menu > a:hover {
		background: #eef;
	}
	
	div.main > div.menu > a:hover,
	div.main > div.menu > a.active {
		text-decoration: none;
		border-bottom-color: #bbe;
	}
	
	div.main > div.menu > a.active {
		background: #fff;
	}
	
	div.main > div.entry > div:nth-child(1) {
		width: 5em;
		height: 5em;
		background-repeat: no-repeat;
		background-size: 100%;
		position: absolute;
		top: 0.2em;
		right: 0;
	}
	
	div.main > div.entry > div:nth-child(2) {
		margin-right: 5.1em;
	}
	
	div.main div.field {
		/* border: 1px solid blue; */
		padding: 0.3em;
	}
	
	div.main div.field > div.name {
		float: left;
		width: 30%;
		text-align: right;
		padding-right: 0.8em;
		padding-top: 0.5em;
	}
	
	div.main div.field > div.name > label {
		
	}
	
	div.main div.field > div.value {
		float: left;
		width: 50%;
		margin-right: 1.1em;
	}
	
	div.main div.field > div.value > input,
	div.main div.field > div.value > textarea,
	div.main div.field > div.value > select {
		width: 100%;
	}
	
	div.main div.field:after {
		content: "."; 
		visibility: hidden; 
		display: block; 
		height: 0; 
		clear: both;
	}
	
	#version {
		text-align: center;
		font-size: 13px;
		color: #999;
	}
	
	input,
	textarea {
		padding: 0.3em;
		font-size: 1em;
	}
	
	select	{
		padding: 0.2em;
		font-size: 1em;
	}
	
	div.main button	{
		padding: 0.4em 1em 0.3em;
		font-size: 1em;
	}
	
	textarea {
		display: block;
		border: 1px solid #ccc;
		width: 95%;
		height: 5em;
		/* margin: 0 0.5em; */
		overflow-y: scroll;
		font-size: 1.3em;
		line-height: 1.5em;
		padding: 0.3em;
	}
	
	#adressliste li:hover {
		background: #eee;
	}
	
	table.classic-table {
		border-collapse: collapse;
	}
	
	table.classic-table td {
		border: none;
		padding: 0.2em 1.1em 0.2em 0;
		border-bottom: 1px solid #ccc;
	}
	
	div.statusbar {
		position: relative;
		width: 100%;
		height: 30px;
		background: #eee;
		margin: 0.5em 0 2.5em;
	}
	
	div.statusbartarget {
		position: absolute;
		top: 0;
		left: 0;
		right: 100%;
		bottom: 0;
		background: #aaa;
		opacity: 1;
		transition: right 1s, opacity 1s;
	}
	
	div.statusbarcurrent {
		position: absolute;
		top: 0;
		left: 0;
		right: 100%;
		bottom: 0;
		background: #3c3;
		border-right: 2px solid rgba(0, 0, 0, 0.2);
		opacity: 0.6;
		transition: right 1s, background-color 0.5s, opacity 0.5s;
		line-height: 1.7em;
	}
	
	div.statusbarcurrent:hover {
		outline: 1px solid #99f;
		outline-offset: 2px;
	}
	
	div.statusbarcurrent5 {
		background: #555;
		border-right: 2px solid #222;
	}
	
	div.statusbarcurrent1u,
	div.statusbarcurrent2u,
	div.statusbarcurrent3u,
	div.statusbarcurrent4u	{
		/* border: 2px solid #484; */
		border-left: none;
		/* border-top-right-radius: 6px; */
		/* border-bottom-right-radius: 6px; */
		opacity: 0.4;
		background: #8d8;
	}
	
	div.statusbarcapinfo {
		font-size: 0.8em;
		text-align: center;
		width: 80px;
		margin-left: -40px;
		position: absolute;
		top: 2.4em;
		left: 0;
		transition: left 0.5s;
		visibility: hidden;
	}
	div.statusbarcapinfo0 {
		top: 4.15em;
	}
	
	div.statusbarcap {
		position: absolute;
		top: -6px;
		left: 0;
		bottom: -6px;
		width: 2px;
		background: red;
		transition: left 500ms;
	}
	
	.widgets {
		padding: 2em 0 0;
		margin: 0 auto;
	}
	
	.widget {
		display: block;
		text-decoration: none;
		position: relative;
		width: 10em;
		height: 10em;
		float: left;
		margin: 0 1em 1em 0;
		cursor: pointer;
		color: black;
	}
	
	.widget .icon {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: none no-repeat center 1em;
		background-size: auto 60%;
	}
	
	.widget .background {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		opacity: 0;
	}
	
	.widget:hover .background {
		opacity: 1;
	}
	
	.widget.disabled {
		opacity: 0.5;
		cursor: inherit;
	}
	
	.widget.disabled:hover .background {
		opacity: 0;
	}
	
	.widget .title {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 2em;
		text-align: center;
		color: black;
	}
	
	.frame {
		width: 100%;
		height: 700px;
		border: 0;
	}
	
	.tooltip {
		background: white;
		border: 1px solid #ccc;
		box-shadow: 0 1px 10px -4px black;
		padding: 0.4em;
		font-size: 0.9em;
		line-height: 1em;
		position: fixed;
		top: 0;
		left: 0;
		margin-top: -40px;
		pointer-events: none;
		opacity: 0;
		transition: opacity 350ms;
	}
	
	.angebot-bearbeiten-link,
	.angebot-mail-link	{
		cursor: pointer;
		height: 32px;
		margin: 0;
		line-height: 0;
		vertical-align: middle;
		transition: background-color 200ms;
		border-radius: 8px;
	}
	
	.angebot-bearbeiten-link:hover,
	.angebot-mail-link:hover {
		background: #ddf;
	}
	
	input[readonly] {
		border: none;
		border-bottom: 1px solid #ccc;
		font-weight: bold;
	}
	
	textarea[readonly] {
		border: 1px dashed #ccc;
	}
	
	.angebot-uploads {
		margin: 2em;
		background: #f6f6ff;
		border: 1px solid #99c;
		padding: 1em;
	}
	
	.angebot-uploads a {
		display: inline-block;
		padding: 0.5em 0.7em 0.5em 2em;
		background: #fff url(../res/download.svg) no-repeat 6px 9px;
		background-size: 24px;
		border: 1px solid #ddf;
	}
	
	.angebot-uploads a:hover {
		text-decoration: none;
		background-color: #ddf;
		border-color: #99c;
	}
	
	.trendarrow {
		-webkit-mask: url(../res/right-arrow.svg);
		-webkit-mask-size: cover;
		background: #ddd;
		width: 24px;
		height: 16px;
		transform: rotateZ(0deg);
		transition: background 0.5s, transform 0.5s;
	}
	
	div.dialog {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
	}
	
	div.dialogbackground {
		background: rgba(0, 0, 0, 0.3);
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
	}
	
	div.dialogwindow {
		position: absolute;
		width: 90%;
		height: 90%;
		top: 5%;
		left: 5%;
		background: white;
		box-shadow: 0 10px 30px -18px black;
	}
	
	div.dialogtitle {
		font-size: 1.5em;
		font-weight: bold;
		padding: 0.8em 0.5em 0;
		height: 50px;
	}
	
	div.dialogcontent {
		padding: 1em;
		overflow: hidden scroll;
		height: calc(100% - 50px);
	}
	
	table.lieferscheine {
		table-layout: fixed;
		border-collapse: collapse;
	}
	
	table.lieferscheine td {
		border: 1px solid #999;
	}
	
	table.lieferscheine td > div {
		overflow: hidden auto;
		height: 48px;
		padding: 10px;
		box-sizing: border-box;
	}
	
	@media only screen and (max-width: 1000px) {
		body {
			font-size: 1.0em;
		}
		div.main {
			min-width: 90%;
		}
	}
	
	@media only screen and (max-width: 850px) {
		div.main {
			min-width: 100%;
		}
	}
	
	@media only screen and (max-width: 680px) {
		body {
			font-size: 0.85em;
		}
		div.main {
			padding: 1em 1.5em;
		}
	}
	