html {
	padding: 0;
	background-color: #fff;
}

body {
	font-family: vernada, arial, verdana;
	margin: 0 auto;
	background-color: #ddd;
	padding: 0;
	max-width: 640px;
}

.col-12, .col-8, .col-6, .col-4 {
	float: left;
	margin: 0;
	padding: 0;
}

.col-8 {
	width: 66.66666667%;
}

.col-6 {
	width: 50%;
}

.col-4 {
	width: 33.33333333%;
}

@media only screen and (max-width: 500px) {
	.col-4 button.minus {
		display: none;
	}
}

.col-12 {
	width: 100%;
}

.row:after {
	content: "";
	display: block;
	clear: both;
}

button.sender > div.message {
	font-size: 80%;
	font-style: italic;
}

button.pay, button.repay, button.sender, button.clear {
	display: block;
	border-radius: 5px;
	background-color: #fff;
	border: 2px solid black;
	font-size: 140%;
	padding: 8px 5px;
	margin: 5px auto;
}

fieldset.product {
	position: relative;
	border: none;
	margin: 1px;
	padding: 4px;
}

fieldset.product legend {
	font-weight: bold;
	font-size: 80%;
	background-color: #fff;
	padding: 2px 4px;
	margin: 0;
	border: 1px solid black;
}

select.quantity {
	padding: 8px 0px;
	font-size: 120%;
	text-align: center;
	font-weight: bold;
}

fieldset.product.empty select.quantity {
	opacity: 0.2;
}

fieldset.product button {
	border: none;
	background-color: transparent;
	font-size: 160%;
	padding: 5px;
	min-width: 1.5em;
}

div.sum {
	background-color: #fff;
	margin: 5px 0;
	padding: 10px;
	font-size: 200%;
	font-weight: bold;
	border: 3px solid black;
	text-align: center;
}

div.sum:after {
	content: " €";
}

div.history {
	resize: both;
	height: 200px;
	overflow: scroll;
	border: 2px solid #448;
}

div.history > table {
	width: 100%;
	border-collapse: collapse;
}

div.history > table tr:nth-child(odd) {
	background-color: #ddf;
}

div.history > table tr:nth-child(even) {
	background-color: #fff;
}

div.history > table tr.preview td {
	font-style: italic;
	background-color: #448;
	color: white;
	text-align: center;
}

div.history > table td {
	padding: 5px 10px;
}

div.history > table td.amount {
	font-weight: bold;
	text-align: right;
	width: 20%;
}

div.history > table td.amount:after {
	content: " €";
}

div.history > table tr.repay td {
	color: red;
}

div.stats {
	overflow: scroll;
}

div.stats table {
	width: 100%;
	margin: 5px 0;
	min-height: 30px;
	border: 2px solid #448;
	border-collapse: collapse;
	color: black;
}

div.stats td {
	font-weight: bold;
	text-align: right;
	padding: 5px 10px;
}

div.stats th {
	font-size: 80%;
	text-align: right;
	background: #ccf;
	padding: 5px 10px;
}

div.stats table tr:nth-child(odd) td {
	background: #ddf;
}

div.stats table tr:nth-child(even) td {
	background: #fff;
}

div.stats > table th:nth-child(1) {
	width: 15%;
}

div.stats table.statsDate th:nth-child(1) {
	width: 10%;
}

