
a:link, a:visited {
	color: inherit;
}
a:hover {
	color: #014;
}

textarea {
	min-width: 98%;
	max-width: 98%;
	font-size: large;
}

input[type="text"], input[type="email"] {
	width: 98%;
	font-size: large;
}

input[type="reset"], input[type="submit"] {
	padding: 8px 12px;
	font-size: large;
}

li {
	color: #222;
}
li::marker {
	color: #45a;
	font-size: 1.4em;
}

.no-sel {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.fat {
	font-weight: 700;
	white-space: nowrap;
}

.emph {
	padding: 3px 6px;
	color: #125;
	background-color: #ccd;
	border-radius: 5px;
	white-space: nowrap;
}

.emph-blk {
	padding: 2px 4px;
	color: #124;
	background-color: #dde;
	border-radius: 5px;
}

.mono {
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 1.07em;
	font-weight: 600;
	white-space: nowrap;
}

.vmargin4 {
	display: inline-block;
	margin: 4px 0;
}

.vmargin8 {
	display: inline-block;
	margin: 8px 0px;
}

.label0 {
	font-size: small;
}

.label1 {
	margin: 24px 0px 12px 0px;
	color: #222;
	font-size: large;
	font-weight: bold;
	text-decoration: underline solid #9ac 2px;
}

.label2 {
	margin: 8px 0px 24px 0px;
	color: #222;
	font-size: 1.2em;
	font-weight: bold;
}

.label3 {
	margin: 32px 0px 20px 0px;
	color: #222;
	font-size: x-large;
	font-weight: bold;
}

.toggle-button {
	display: inline-block;
	position: relative;
	padding: 8px;
	margin: 2px 1px;
	color: #125;
	background-color: #bbc;
	border: 2px solid #99b;
	border-radius: 5px;
	font-weight: bold;
	text-decoration: none;
}
.toggle-button.main {
	color: #ffc;
	background-color: #374;
	border-color: #263;
}
.toggle-button.main:disabled {
	color: #ddd;
	background-color: #999;
	border-color: #888;
}
.toggle-button.main:enabled:hover {
	color: #fff;
	cursor: pointer;
}
.toggle-button.nosel {
	box-shadow: 0px 2px 5px #888;
}
.toggle-button.nosel:hover {
	top: 1px;
	color: #014;
	box-shadow: none;
}
.toggle-button.selected {
	top: 1px;
	color: #def;
	background-color: #458;
	border-color: #347;
	box-shadow: none;
}
.toggle-button.selected:hover {
	color: #fff;
}

.toolbar {
	display: inline-block;
	position: absolute;
	text-align: right;
}
.toolbar > .lbl {
	padding: 0.6em 0.3em;
	font-weight: bold;
	background-color: #2d2d2d;
}
.toolbar > .dnl {
	display: inline-block;
	width: 1.9em;
	height: 1.9em;
	border-radius: 4px;
	background-color: #444;
	background-image: url('img/download-64-dark.png');
	background-position: center;
	background-size: 1.3em 1.3em;
	background-repeat: no-repeat;
	opacity: 0.85;
	cursor: pointer;
}
.toolbar > .dnl:hover {
	background-color: #111;
	opacity: 1.0;
}
.toolbar > .cpy {
	display: inline-block;
	width: 1.9em;
	height: 1.9em;
	border-radius: 0.3em;
	background-color: #444;
	background-image: url('img/copy-64-dark.png');
	background-position: center;
	background-size: 1.3em 1.3em;
	background-repeat: no-repeat;
	opacity: 0.85;
}
.toolbar > .cpy:hover {
	background-color: #111;
	opacity: 1.0;
}

.arrow-vert {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 17;
	right: 1.3em;
	min-width: 5vmax;
	max-width: 5%;
	height: 2.4vmin;
	min-height: 2.4vmax;
	background-color: #ddd;
	background-image: linear-gradient(#fff, #bbb);
	opacity: 0.9;
	box-shadow: 0px -2px 8px #777;
}
.arrow-vert:hover {
	background-color: #fff;
	background-image: linear-gradient(#fff, #fff);
	opacity: 1.0;
	cursor: grab;
}
.arrow-vert:active {
	cursor: grabbing;
}
.arrow-vert.up {
	bottom: 0;
	padding-top: 1em;
	border-radius: 50% 50% 0 0;
}
.arrow-vert.down {
	top: 0;
	padding-bottom: 1em;
	border-radius: 0 0 50% 50%;
}

.arrow-horiz {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	position: absolute;
	z-index: 17;
	top: 1.3em;
	width: 6%;
	min-width: 3vmax;
	height: 2.3%;
	max-height: 7vmax;
	background-color: #ddd;
	background-image: linear-gradient(to left, #fff, #ccc);
	opacity: 0.9;
	box-shadow: 0px -2px 8px #777;
}
.arrow-horiz:hover {
	background-color: #fff;
	background-image: linear-gradient(#fff, #fff);
	opacity: 1.0;
	cursor: grab;
}
.arrow-horiz:active {
	cursor: grabbing;
}
.arrow-horiz.left {
	right: 0;
	padding-left: 0.5em;
	border-radius: 50% 0 0 50%;
}

.glass {
	position: fixed;
	z-index: 20;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: #222;
	opacity: 0.7;
}

.popup-panel {
	display: none;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 22;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.popup-dialog {
	display: inline-block;
	position: relative;
	min-width: 33%;
	max-width: 90%;
	border: 5px solid #125;
	border-radius: 1em;
	opacity: 1.0;
}

.popup-dialog-body {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 1.4em;
	background-color: #ddd;
	border-radius: 0.7em;
	font-size: large;
}

.popup-close-btn {
	position: absolute;
	right: 0;
	top: 0;
	width: 3vmin;
	min-width: 3vmax;
	height: 3vmin;
	min-height: 3vmax;
	margin-right: -1.1vmax;
	margin-top: -1.1vmax;
	background-image: url('img/close-64.png');
	background-position: center;
	background-size: 70% 70%;
	background-repeat: no-repeat;
	border: 5px solid transparent;
	border-radius: 50%;
}
.popup-close-btn:hover {
	background-image: url('img/close-64-hover.png');
}
.popup-close-btn.back {
	background-color: #ddd;
	border: 5px solid #125;
	border-radius: 50%;
}
