/* Mah colors */

h1, h2, h3, h4, h5 {
	color: #ddd;
}
html, body, input, select {
	background: black;
	color: silver;
}
a:link {
	color: yellow;
	text-decoration: none; /* Underlined links are so nineties */
}
a:visited {
	color: orange;
}
a:hover {
	color: white;
}
/* ::-webkit-scrollbar {
	background-color: darkblue;
} */


/* Generic stuff */

body {
	font-family: sans-serif;
	box-sizing: border-box;
	margin-top: 0px;
	padding: 0;
	margin: 0;
}
a.devlink, a.devlink:hover {
	color: inherit;
	cursor: default;
	text-decoration: none;
}
*, *:before, *:after {
	box-sizing: inherit;
}
h1, h2, h3, h4, h5, p, dl, label, pre {
	margin: 0;
	padding: 3px 6px;
}
form {
	/* We don't necessarily want placement of <form> tags affecting layout any more than it has to. */
	margin: 0;
	padding: 0;
}
ul {
	margin: 0;
	padding-top: 6px;
	padding-bottom: 6px;
}
hr {
	height: 0px;
	border: none;
	border-bottom: 1px solid silver;
}

/* Nav-bar */

.nav-bar {
	background: #601500;
	border-bottom: 1px solid #ff8c00;
	margin-bottom: 8px;
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 32px;
}
.nav-bar > * {
	padding: 4px;
	text-align: right;
}
.nav-bar > *:nth-child(1) {
	text-align: left;
}
.nav-bar > *:nth-child(2) {
	flex-direction: row-reverse;
}

ul.nav {
	display: flex;
	flex-direction: row;
	margin: 0;
	padding: 0;
	width: 100%;
}
ul.nav li {
	display: inline;
	margin: 0;
	padding: 3px 6px;
}

/* Content area */

div.content {
	padding: 0;
}

/* Footer */

div.footer {
	color: silver;
	border-top: 1px solid silver;
	margin-top: 8px;
	padding: 3px 6px;
	
	width: 100%;
	display: flex;
	justify-content: space-between;
}
div.footer > * {
	flex: 1 1 33%;
}
div.footer > *:nth-child(1) {
	text-align: left;
}
div.footer > *:nth-child(2) {
	text-align: center;
}
div.footer > *:nth-child(3) {
	text-align: right;
}

/* Tables */

form.tabby {
	display: table;
}
form.tabby > div {
	 display: table-row;
}
form.tabby > div > * {
	 display: table-cell;
}

table.bolly {
	border-collapse: collapse;
}
table.bolly tbody tr:nth-child(2n+1) {
	background-color: rgba(0,0,255,0.15);
}
table.bolly tbody td {
	padding-right: 16px;
}
table.bolly thead th {
	padding-right: 16px;
}
td.null {
	background-color: rgba(128,128,0,0.2);
}

.success {
	color: green;
}
.error {
	color: red;
}
.validation-error {
	color: red;
}



/* Filter forms */

.filter-set {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.filter-set .filter {
	display: flex;
	flex-direction: column;
}
input, fieldset {
	margin: 4px 6px;
}

/* Map page */

* {
	--separator-width: 2px;
	--separator-color: rgba(192,192,192,0.5);
	--subseparator-color: rgba(192,192,192,0.25);
}

.overlay {
	position: absolute;
	background: rgba(0,0,0,0.5);
}
.overlay td {
	border-top: 1px solid var(--subseparator-color);
	overflow-x: hidden;
	text-overflow: ellipsis;
}
.overlay tbody > tr:nth-child(1) > td {
	border-top: none;
}

hr {
	border: none;
	height: var(--separator-width);
	background-color: var(--separator-color);
}

td.control-indicator {
	text-align: center;
	color: yellow;
}

#map-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.code-value {
	font-family: monospace;
}

/* When you want to provide a commit ID but not necessarily show the whole thing */
.shortenable-commit-id {
	display: inline-block;
	vertical-align: middle;
	width: 9em;
	overflow-x: hidden;
	text-overflow: ellipsis;
}
