html {
	font-size: 16px; /* REM in use below */
}
body {
	-moz-background-size: cover;
	-o-background-size: cover;
	color: #D9D9D9;
	font-family:sans-serif;
	font-size: 1REM;
	margin: 0;
	background-color: #2E2B2A;
}
/* The page heading. Since base.html no longer prints the site name, each
 * page's own heading is the h1. Same face and casing as the rail, so heading
 * and nav read as one system; tracking is lighter than the rail's 0.12em
 * because these run at full size, where that much would be too loose. */
#main > h1 {
	padding: 10px;
	background-color: #200;
	font-family: 'JetBrains Mono', monospace;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	/* Negative margins cancel #main's 10px padding, so the band runs to the
	 * edges of the box and sits flush against its top. Keep these in step
	 * with #main's padding. Scoped to a direct child so an h1 nested inside
	 * page content can never bleed out of its own container. */
	margin: -10px -10px 10px;
}
/* With a notice above it the band is not at the top of the box, so drop the
 * pull-up - otherwise the two collapse to exactly 0 and butt together. */
#main > #notices + h1 {
	margin-top: 0;
}
a {
	color: #D9D9D9;
	text-decoration: none;
}
.nolink {
	color: #D9D9D9;
}
#main {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	border: 1px #200 solid;
	padding: 10px;
}
#aux {
	display: none;
}
p.notice {
	background: #696;
	border: #9F9 1px solid;
	padding: 5px;
	margin: 1px 0px 1px 0px;
}
p.error {
	background: #966;
	border: #F99 1px solid;
	padding: 5px;
	margin: 1px 0px 1px 0px;
}
#notices {
	margin: 10px 0px 10px 0px;
}
#notices > p > a {
	color: #33F;
}
.helptext {
	font-size: small;
	color: gray;
}
ul.errorlist {
	background: #966;
	border: #F99 1px solid;
	padding: 2px;
	margin: 1px;
	font-size: small;
}
ul.errorlist li {
	list-style: none;
}
th {
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
	background-color: #6B6B6E;
}
/* JetBrains Mono, the face style 2a uses for the rail. One variable woff2
 * covers every weight; latin subset only. */
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 100 800;
	font-display: swap;
	src: url('fonts/jbmono-latin.woff2') format('woff2');
}
/*
 * Left sidebar nav, style 2a "Console": monospace, uppercase, 34px rows,
 * an accent mark on the current page: the supplied mockup's form, drawn
 * in this app's own palette.
 * .has-sidenav's padding-left matches the width so #main stays centred in
 * what is left over.
 */
#sidenav {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 13rem;
	box-sizing: border-box;
	background-color: #232120;
	box-shadow: inset -1px 0 0 #200;
	display: flex;
	flex-direction: column;
	padding: 1.05rem 0 0.7rem;
	overflow-x: hidden;
	overflow-y: auto; /* a short viewport can still reach Log Out */
	scrollbar-width: thin; /* a classic scrollbar would clip the collapsed rail */
	transition: width 0.15s ease;
}
/* The sprite only defines symbols; never show the <defs> carrier itself. */
#navicons {
	display: none;
}
/* Reserves room for the sidebar; only present when it's rendered, so a
 * logged-out page (no #sidenav) doesn't get a dead gutter. */
.has-sidenav {
	padding-left: 13rem;
	transition: padding-left 0.15s ease;
}
#sidenav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}
/* Collapse and Log Out sit together at the foot, away from the rest. */
#sidenav li.collapse-row {
	margin-top: auto;
}
#sidenav ul a,
#navtoggle {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	height: 34px;
	padding: 0 1.05rem;
	box-sizing: border-box;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9B9B9E;
	white-space: nowrap; /* labels clip mid-collapse rather than wrapping */
	overflow: hidden;
	border-left: 2px solid transparent;
}
#sidenav ul a:hover,
#navtoggle:hover {
	color: #D9D9D9;
	background-color: #6B6B6E40;
}
/* The current page: accent mark, faint accent wash, accent glyph. */
#sidenav ul a.current {
	color: #D9D9D9;
	background-color: #3684F415;
	border-left-color: #3684F4;
}
#sidenav ul a.current .ico {
	color: #3684F4;
}
#sidenav .ico {
	width: 16px;
	height: 16px;
	flex: none; /* the glyph keeps its width while the label clips */
	fill: currentColor;
}
/* Log Out reads a step quieter than the navigation proper, but still
 * clears AA contrast at 11px and still lightens on hover. */
#sidenav li.tail a {
	color: #8A8A8E;
}
#sidenav li.tail a:hover {
	color: #D9D9D9;
}
/* Brand block at the head of the rail. Both marks are 2x rasters sized down,
 * so they stay crisp on HiDPI; only one is ever displayed. */
#brand {
	display: flex;
	align-items: center;
	padding: 0 1.05rem 0 calc(1.05rem + 2px);
	margin-bottom: 1.05rem;
}
/* The img attributes carry the intrinsic 2x size so the browser reserves the
 * right aspect ratio; these set the drawn size. */
#brand .brand-full {
	width: 150px;
}
#brand .brand-mark {
	width: 34px;
}
#brand img {
	display: block;
	max-width: 100%;
	height: auto;
}
/* Collapsed swaps the wordmark for the "So" lockup. */
#brand .brand-mark,
.nav-collapsed #brand .brand-full {
	display: none;
}
.nav-collapsed #brand .brand-mark {
	display: block;
}
/* The rows' left padding would squash the mark in a 3.5rem rail, so the
 * collapsed brand centres in its own tighter box instead. */
.nav-collapsed #brand {
	padding: 0 0.5rem;
	justify-content: center;
}
/* The toggle is a row like any other (it shares the rules above); this only
 * strips the chrome a <button> brings of its own. */
#navtoggle {
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
}
/*
 * Collapsed: icon-only rail. base.js puts .nav-collapsed on <html>; the
 * links keep their title attributes, so hovering still names each one.
 */
.nav-collapsed #sidenav {
	width: 3.5rem;
}
.nav-collapsed .has-sidenav {
	padding-left: 3.5rem;
}
.nav-collapsed #sidenav .label {
	display: none;
}
.required th {
	color: #ffa500ba;
}
.error td {
	border: #F99 1px solid;
}
textarea {
	width: 100%;
}
table {
	margin-left: auto;
	margin-right: auto;
	font-size: 14px;
}
#list_table {
	width: 100%;
}
td {
	padding-right: 10px;
}
td.links {
	text-align: right;
	font-family: monospace;
	white-space: nowrap;
}
td.links a {
}
#list_table tr td {
	border-bottom: 1px #200 solid;
}
.picker {
	margin: 10px;
	width: 30%;
	float: left;
	clear: none;
}
/* Picker headings are sub-headings of the page, so they stepped down to h2
 * when the page heading became the h1. The colour used to come from the old
 * global h1 rule; it is set here now that the rule is gone. */
.picker h2 {
	font-size: 14px;
	font-weight: bold;
	margin-top: 0px;
	color: #3684F4;
}
.picker .list {
	overflow-x: auto;
	overflow-y: auto;
	height: 150px;
	border: 1px #200 solid;
	margin-bottom: 5px;
	padding: 2px;
}
.picker ul {
	padding: 0;
	margin: 0;
	list-style-position: inside;
	list-style-type: none;
	cursor: pointer;
}
.picked {
	background: #3684F4;
}
.picker .list ul li:hover,
#list_table tbody tr:hover {
	background: #6B6B6E;
}
.tiny {
	font-size: 0.6REM;
}
.fakelink {
	cursor: pointer;
	color: #3684F4;
}
.wrapper {
	border: 1px gray solid;
	margin-bottom: 15px;
}
.dragging {
	background: #963;
	font-size: 120%;
	font-weight: bold;
}
h1 .header_info {
	float: right;
}
td.number {
	text-align: right;
}
.danger {
	color: #ff0000bd;
}
.warning {
	color: #ffa500ba;
}
#tracks_container {
	height: 500px;
	overflow-y: scroll;
}
input, textarea {
	background-color: #D9D9D9;
}
input[type=submit] {
	margin: 0.2REM;
	padding: 0.1REM 0.2REM;
}
.notice_close {
	float: right;
	cursor: pointer;
	font-size: larger;
}
.icon-attention,.icon-warning-empty {
	font-size: 18px;
}
td.track_hover span.track_info,
td.sched_hover span.track_info {
	position: absolute;
	padding: 5px;
	display: none;
	background: black;
	border: white 1px solid;
	z-index: 100;
	white-space: nowrap;
}
.update_due_soon {
	color: #ffa500ba;
}

.update_overdue {
	color: #ff0000bd;
}
/*
 * Start colours
 */
.pl__wrapper__colours {
	display: flex;
	align-items: center;
	padding: 0.05rem;
}
.pl__colours {
	align-content: center;
	color: transparent;
	display: flex;
	gap: 0.1rem;
}
.pl__colours__box {
	flex: 1;
	cursor: pointer;
}
label.pl__colours__box{
	font-size: 0.01rem; /* goal: move this to .pl__colours__box */
}
.pl__colours__box--cool {
	background-color: #1A80E6;
	color: #1A80E6;
}
.pl__colours__box--midwarm {
	background-color: #7FD42B;
	color: #7FD42B;
}
.pl__colours__box--warm {
	background-color: #D9D926;
	color: #D9D926;
}
.pl__colours__box--midhot {
	background-color: #D98026;
	color: #D98026;
}
.pl__colours__box--hot {
	background-color: #DF4020;
	color: #DF4020;
}
.pl__colours__box--multitempo {
	background-color: #BF40AA;
	color: #BF40AA;
}
.pl__colours__box--off {
	background-color: inherit;
	color: inherit;
}
.pl__colours__box input {
	visibility: hidden;
}
/*
 * End colours
 */