html {
	accent-color: rgb(60%, 0%, 30%);
	font: 100%/1.5 "DejaVu Sans", Verdana, Geneva, sans-serif;
	overflow-y: scroll;
}
header {
	background: rgb(25%, 25%, 25%);
}
th, td, figure, input, textarea, select, .banner, a.banner {
	border-color: rgb(60%, 0%, 30%);
}
a:link, a:visited, th {
	color: rgb(60%, 0%, 30%);
}
.banner, a.banner {
	background-image: url(https://aefira.net/resources/right.svg#murrey);
}
select {
	background-image: url(https://aefira.net/resources/down.svg#murrey);
}
button, a.button:link, a.button:visited {
	background: transparent;
	border: thin solid rgb(60%, 0%, 30%);
	color: rgb(60%, 0%, 30%);
}
button:focus, button:hover, a.button:focus, a.button:hover {
	background: rgb(60%, 0%, 30%);
	color: #fff;
}
a:focus {
	background-color: rgb(92%, 80%, 86%);
}
header a:focus, input:focus, select:focus, textarea:focus {
	outline-color: rgb(92%, 80%, 86%);
}

/* Top navigation/menu bars */
nav {
	border-top: thin solid #fff;
	display: flex;
	font-weight: bold;
	text-align: center;
}
nav.user {
	background: rgb(60%, 0%, 30%);
}
nav.user img {
	float: left;
	height: 1em;
	padding: .25em .5em 0 0;
}
nav.account {
	background: rgb(25%, 25%, 25%);
	padding: .25em 0 0 1.5em;
}
nav h1, nav p {
	color: #fff;
	font-size: 100%;
	margin: 0 1.5em;
	text-align: left;
}
nav > a {
	color: #fff;
	margin-left: 3em;
}
nav > a:link, nav > a:visited {
	color: #fff;
	text-decoration: none;
}
nav ul {
	display: flex;
	line-height: 1;
	list-style: none;
	margin: 0 auto;
}
nav li {
	margin: 0 .375em;
	padding: 0;
	width: 12em;
}
nav li a, nav li button {
	background: #fff;
	border: none;
	border-bottom: .25em solid #fff;
	border-radius: .75em .75em 0 0;
	box-shadow: none;
		-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: rgb(60%, 0%, 30%);
	display: block;
	font: inherit;
	height: 100%;
	padding: .125em;
					padding: .25em;
	width: 100%;
}
nav li a:link, nav li a:visited, nav li button {
	background: #fff;
	border-bottom-color: rgb(25%, 25%, 25%);
	cursor: pointer;
	text-decoration: none;
}
nav:after {
	content: "";
	flex: 1;
}

#balance {
	font-size: 150%;
	margin: .5em 0;
}

/* Account cards */
.cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
.card {
	border: .25em solid rgb(25%, 25%, 25%);
	border-radius: .375em;
	color: inherit !important;
	display: flex;
	flex-direction: column;
	margin: 0 0 1.5em;
	padding: .5em;
	text-align: left;
	text-decoration: inherit !important;
	width: 18em;
}
a.card {
	border-color: rgb(60%, 0%, 30%);
}
.card h2 {
	display: flex;
	margin: 0;
}
.card .number {
	color: rgb(60%, 0%, 30%);
	margin-right: .75rem;
}
.card .name {
	flex: 1;
}
.card .balance {
	font-weight: bold;
	margin: auto 0 0;
	text-align: right;
}

/* Tables (transaction history) */
table {
	font-size: 87.5%;
	margin-left: 0;
}
th {
	color: rgb(60%, 0%, 30%);
	font-weight: bold;
}
td:first-child {
	white-space: nowrap;
}
td:nth-child(2), td:nth-child(4) {
	padding-left: 1.5em;
	text-indent: -1.5em;
}
td:nth-child(3), td:nth-child(5) {
	text-align: right;
	white-space: nowrap;
}
.sign {
	float: left;
}
tr:hover td {
	background: rgb(87.5%, 87.5%, 87.5%);
}

/* Sign-in form */
form#signin {
	border: .25em solid /*rgb(60%, 0%, 30%)*/ rgb(25%, 25%, 25%);
	border-radius: .375em;
	margin: 0 auto;
	padding: .75em;
	text-align: center;
	width: 18em;
}
form#signin label {
	display: flex;
}
form#signin label input {
	flex: 1;
}

/* Misc. elements */
p#auth {
	font-style: italic;
}
abbr {
	border: none;
}
small {
	display: block;
	margin-left: 3rem;
}
.error, .success {
	border-radius: .75em;
	color: inherit;
	padding: .25em .75em;
		width: -moz-max-content;
		width: -webkit-max-content;
	width: max-content;
}
p.error, p.success {
	margin: .75em auto;
}
.error {
	background: #fc3;
}
.success {
	background: #9f9;
}



/*form p {
	margin: 0;
}
form p:last-child {
	margin: .75em 0 0;
}
input, select {
	font-size: 85%;
}
input[type="submit"] {
	background: #bbb;
	background-image: linear-gradient(to bottom, #fff, #bbb);
	border: .1em solid rgb(25%, 25%, 25%);
	border-radius: .75em;
	color: #a04;
	cursor: pointer;
	font-size: 100%;
	font-weight: bold;
	height: 2em;
	min-width: 8em;
}*/