/* layout */
html, body {
	color: #bdc7b8;
	font-size: calc(7px + 1vmin);
	font-family: monospace;
	text-align: center;
	background-color: #241e1e;
}
nav, main, footer {
	margin: 2em auto;
}
nav a {
	margin: 0.4em;
}
main, footer {
	max-width: 512px;
	white-space: pre-wrap;
}
.nopre {
	white-space: normal !important;
}
main > pre {
	display: inline-block;
	margin: 1em auto;
	text-align: left;
}
footer {
	display: inline-block;
	text-align: left;
}


/* style classes */
.center { text-align: center; }
.bold { font-weight: bold; }
.italic { font-style: italic; }
.small { font-size: 0.85em; }


/* generic */
h1, h2 {
	margin-bottom: 0;
	text-align: center;
}
h3, h4, h5, h6 {
	margin-bottom: 0;
	text-align: left;
}
p, ul {
	text-align: center;
	margin: 0;
}

a.external::after {
	content: '->';
}
a:link {
	color: #6CF;
}
a:hover, a:active, a:visited {
	color: #b5bd68;
}

img {
	display: block;
	height: auto;
	width: 100%;
	max-width: 100%;
}

ul {
	list-style: none;
	margin-left: 0;
	padding-left: 1em;
}
li {
	padding-left: 1em;
	text-indent: -1em;
}
li:before {
	content: "~";
	display: inline-block;
	width: 1em;
}

table, th, td {
	border: 1px dashed #bdc7b8;
}
table {
	width: 100%;
	border-collapse: collapse;
}
th, td {
	padding: 0.5em;
}
th {
	text-align: center;
}
td {
	text-align: left;
}


/* Donation widgets */

/* css from https://liberapay.com/cybertrez/widgets/button.js, see donate.md */
html > body .liberapay-btn {
	background-color: #f6c915;
	border-radius: 4px;
	color: #1a171b;
	display: inline-block;
	font-family: Helvetica Neue,Helvetica,sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 22px;
	padding: 5px 7px 3px;
	position: relative;
	text-decoration: none;
}
html > body .liberapay-btn:hover {
	background-color: #fbce1a;
}
.liberapay-btn > svg {
	position: absolute;
	left: 7px;
	top: 7px;
}
.liberapay-btn > span {
	margin-left: 19px;
}


.btcpay-form { flex-direction: row; } .btcpay-form--block { flex-direction: column; }
.btcpay-form .submit {
	margin-left: 15px;
	padding: 4px 10px;
	font-size: 17px;
	font-weight: bold;
	font: 1.1rem monospace;

	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border-radius: 3px;
	border:1px solid transparent;
	color: #bdc7b8;
}
.btcpay-form--block select {
	margin-bottom: 10px;
} 
.btcpay-form .btcpay-custom-container {
	display: inline-flex; align-items: center; justify-content: center; flex-direction: row;
}
.btcpay-custom {
	display: flex;
	align-items: center;
	justify-content: center;
} 
.btcpay-form select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border:1px solid transparent;
	display: block;
	border-radius: 3px;
	border-left: 0;

	padding: 1px;
	margin-left: 2px;
	margin-right: auto;
	font-size: 19px;
	cursor: pointer;
	font: 1.1rem monospace;
	color: #bdc7b8;
}
#btcpay-input-price { -moz-appearance: none; -webkit-appearance: none;
	border: none;
	box-shadow: none;
	text-align: center;
	font-size: 24px;
	margin: auto;
	border-radius: 3px;
	padding: 4px;

	background: transparent;
	border:1px solid transparent;
	font: 1.1rem monospace;
	color: #bdc7b8;
}
.btcpay-form select,
#btcpay-input-price,
.btcpay-form .submit {
	border-color: #bdc7b8;
} 

#btcpay-input-price::-webkit-outer-spin-button {
	-webkit-appearance: none; margin: 0;
}
