@media all and (min-width: 64em) {
	.row {
		display: flex;
		flex-wrap: nowrap;
		flex-direction: row-reverse;
	}

	.col { 
		flex-grow: 1; 
	}
}

img {
	max-width: 300px;
}

.grid {
	border-collapse: collapse;
}

.col {
	border: 3px solid #000;
	padding: 1em;
	background-color: #fff;
	border-radius: 0.25em;
}

.footer {
	border: 3px solid #000;
	padding: 1em;
	background-color: #fff;
	border-radius: 0.25em;
	margin-top: 4px;
}

body {
	margin: auto;
	padding: 1em;
	max-width: 64em;
	font-family: "Georgia", serif;
	color: #000;
	background: #eee;
	background-repeat: no-repeat;
	background-attachment: fixed;
	word-wrap: break-word;
}

a {
	text-decoration: none;
	color: #07f;
	padding-right: 0.25em;
	text-decoration: underline;
}

hr {
	border-color: #000;
}

.text-center {
	text-align: center
}

h1 {
	text-transform: uppercase;
	color: #000;
}

/* Navbar */
.navbar {
	overflow: hidden;
	background-color: #000;
	color: #fff;
	z-index: 99;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	border-radius: 0.25em;
}

.navbar a:hover {
	background-color: #eee;
	color: #000
}

/* Navbar links */
.navbar a {
	float: left;
	display: block;
	color: #fff;
	text-align: center;
	padding: 14px;
	text-decoration: none;
}

/* Page content */
.content {
	padding-top: 5px;
}

input[type="text"], textarea {
	background-color: #333;
	color: darkorange;
}

/* Mobile */
@media (max-width: 768px) {
	td {
		display: block;
	}
}

code {
	background: #ddd;
	padding: 0.1em 0.2em;
	border-radius: 0.3em;
	font-family: "Courier New", monospace;
}

/* Markdown article body (server-rendered HTML from Markdig + ColorCode) */
.markdown-body {
	line-height: 1.6;
}

.markdown-body > *:first-child {
	margin-top: 0;
}

.markdown-body pre {
	overflow-x: auto;
	margin: 1em 0;
	padding: 1rem 1.15rem;
	border: 1px solid #c8c8c8;
	border-radius: 0.4em;
	background: #f6f8fa;
	color: #111;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ColorCode uses inline font-family/size on spans; normalize so all fenced blocks match. */
.markdown-body pre,
.markdown-body pre code,
.markdown-body pre span {
	font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", "Cascadia Code", Consolas, "Liberation Mono", "Courier New", monospace !important;
	font-size: 0.9rem !important;
	line-height: 1.45 !important;
}

.markdown-body pre code {
	background: transparent;
	padding: 0;
	border-radius: 0;
	white-space: pre;
	color: inherit;
}

/* Server-side Pascal/Delphi fence highlighter (ColorCode has no Pascal lexer) */
.markdown-body .md-pascal-kw {
	color: #0b2e8c !important;
	font-weight: 600 !important;
}

.markdown-body .md-pascal-str {
	color: #8b1538 !important;
}

.markdown-body .md-pascal-num {
	color: #0f6b4e !important;
}

.markdown-body .md-pascal-cmt {
	color: #2d6b2d !important;
	font-style: italic !important;
}

.markdown-body p code,
.markdown-body li code {
	background: #e8e8e8;
}

.code-block {
	background: #ddd;
	padding: 0.1em 0.2em;
	border-radius: 0.3em;
	font-family: "Courier New", monospace;
}

span.underline {
	text-decoration: underline;
}

.copyright {
	font-family: Arial, Helvetica, sans-serif;
}

.img-chosen {
	border: 2px solid;
	border-color: #000;
}

.img-unchosen {
	border: 2px solid;
	border-color: #fff;
}