body {
	background-color: #202020;
  color: #c0c0c0;
}

/* stripe color */

#masthead {
	color: #c0c0c0;
}

#navstripe {
	background-color: #c0c0c0;
}

ul#navstripe .here {
	color: #c0c0c0;
}

ul#navstripe a:hover {
	color: #c0c0c0;
}

em {
	color: #c0c0c0;
}

/* navigation link background matching */

ul#navstripe li:hover {
	background-color: #202020;
}

ul#navstripe .here {
	background-color: #202020;
}

ul#navstripe a {
	color: #202020;
}

/* display */

#displayArea {
  height: 80px;
	width: 1040px;
  display: flex;
  flex-direction: column;
  justify-content: center;
	overflow-x: auto;
	padding-top: 120px;
	padding-bottom: 120px;
  font-size: 40px;
  font-family: "Ubuntu Mono", Verdana, sans-serif;
	/* https://www.sepandparhami.com/css-fade-out/ */
	mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.0) 0, rgba(0, 0, 0, 0.2) 40px, rgba(0, 0, 0, 0.8) 80px, rgba(0, 0, 0, 1.0) 120px, rgba(0, 0, 0, 1.0) 920px, rgba(0, 0, 0, 0.8) 960px, rgba(0, 0, 0, 0.2) 1000px, rgba(0, 0, 0, 0.0) 1020px);
}

#displayArea.fast {
	overflow-x: hidden;
}

#display {
	display: inline-block;
	white-space: nowrap;
	width: fit-content;
	padding-left: 120px;
	padding-right: 120px;
}

#stepCounter {
	text-align: right;
	padding-top: 12px;
}

.white-highlight { color: white; }
.pink-highlight { color: hsl(324, 100%, 50%); }
.orange-highlight { color: hsl(36, 100%, 50%); }
.yellow-highlight { color: hsl(60, 100%, 50%); }
.green-highlight { color: hsl(120, 100%, 50%); }
.blue-highlight { color: hsl(187.2, 100%, 50%); }
.violet-highlight { color: hsl(288, 83%, 50%); }

/* controls */

#inputField {
	font-family: "Ubuntu Mono", Verdana, sans-serif;
}

#tempoDisp {
  width: 60px;
  text-align: right;
  margin-right: 6px;
}

/*
formatting tips from Stephanie Eckles
https://moderncss.dev/custom-css-styles-for-form-inputs-and-textareas/
*/
input, select {
  background-color: #202020;
  border: 1px solid hsl(0, 0%, 30%);
  border-radius: 4px;
  color: #c0c0c0;
  font-size: inherit;
}

input[type=button]:hover {
  background-color: #303030;
}

input[type=button]:active, input[type=button].pressed {
  color: white;
  background-color: #404040;
  border-color: hsl(0, 0%, 40%);
}

input[type=button]:disabled {
	color: hsl(0, 0%, 30%);
	background-color: #202020;
	border-color: hsl(0, 0%, 30%);
}

input[type=button]:disabled.error {
	border-color: hsl(324, 100%, 20%);
	color: hsl(324, 100%, 20%);
}

input[type=button].error {
	border-color: hsl(324, 100%, 20%);
	color: hsl(324, 100%, 50%);
}

input[type=button].error:not(:disabled):hover {
	background-color: hsl(324, 100%, 10%);
}

input[type=button].error:not(:disabled):active {
	border-color: hsl(324, 100%, 30%);
	background-color: hsl(324, 100%, 15%);
}

.control-bar {
  display: flex;
  margin-bottom: 6px;
}

.control {
  margin: 0 12px 0 0;
  display: flex;
  align-items: center;
}

.control > input:not(:first-child) {
  margin-left: 6px;
}

.control > select:not(:first-child) {
  margin-left: 6px;
}

.control > label:not(:first-child) {
  margin-left: 6px;
}

.control:not(:first-child) {
  border-left: 1px solid hsl(0, 0%, 30%);
  padding-left: 12px;
}

/* rules */

#ruleContainer {
	margin-top: 12px;
	margin-bottom: 24px;
	width: 100%;
}

#ruleEditor {
	height: 400px;
	border: 1px solid hsl(0, 0%, 30%);
	border-radius: 4px;
}

#msgBar {
	margin-left: 18px;
}

#msgBar.error {
	color: hsl(324, 100%, 50%);
}

table td {
	min-width: 80px;
}
