* {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	padding: 0;
}

#site-title, #nav, #content, #footer {
	margin: auto;
	max-width: 960px;
}

/*** HEADER ***/
#header {
	background-color: #000;
	color: #fff;
}

@media print {
	#header {
		background-color: #fff;
		color: #000;
	}
}

#site-title {
	font-size: 2em;
	font-weight: bold;
	min-height: 42px;
	padding: 10px;
}

#site-title .beta {
	font-size: 0.5em;
	font-style: italic;
	text-transform: uppercase;
	vertical-align: top;
}

#nav-wrap {
	background-color: #fff;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	font-size: 0;
	padding: 0 10px;
}

#nav {
	min-height: 38px;
	position: relative;
}

#nav:before, #nav:after {
	clear: both;
	content: '';
	display: block;
}

#nav a {
	color: #000;
	font-size: 16px;
	height: 38px;
	line-height: 38px;
	padding: 0 15px;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
}

#nav a:hover, #nav a:active, #nav a:focus, #nav a.active {
	background-color: #000;
	color: #fff;
}

#nav > ul {
	display: inline-block;
	list-style: none;
}

#nav > ul > li {
	display: inline-block;
	height: 38px;
}

#nav > ul > li > a, #nav > ul > li > ul a {
	display: block;
}

#nav > ul > li > ul {
	background-color: #fff;
	border: 1px solid #000;
	color: #000;
	display: none;
	list-style: none;
	position: absolute;
	z-index: 100;
}

#nav > ul > li:hover > ul {
	display: block;
}

#nav > #search-box {
	display: inline-block;
	height: 38px;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	width: 250px;
}

#nav > #search-box > #search-input, #nav > #search-box > #search-submit {
	border: 0;
	box-sizing: border-box;
	height: 100%;
	padding: 8px 10px;
}

#nav > #search-box > #search-input {
	background-color: #fff;
	color: #000;
	padding-right: 85px;
	width: 100%;
}

#nav > #search-box > #search-submit {
	background-color: #000;
	color: #fff;
	cursor: pointer;
	position: absolute;
	right: -1px;
	width: 75px;
}

@media all and (max-width: 795px) {
	#nav > #search-box {
		border-top: 1px solid #000;
		position: relative;
		width: 100%;
	}
}

/*** CONTENT ***/
#content {
	font-size: 16px;
	line-height: 1.5em;
	orphans: 2;
	padding: 1em;
	widows: 3;
}

/*** FOOTER ***/
#footer-wrap {
	border-top: 1px solid #000;
}

#footer {
	font-size: 0.9em;
	line-height: 200%;
	padding: 1em;
}

#footer:before, #footer:after {
	clear: both;
	content: "";
	display: block;
}

.footer-copyright {
	float: left;
}

.footer-links {
	float: right;
}

.footer-links a {
	margin: 0 10px;
}

/*** GENERAL ***/
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	line-height: 1.15em;
	margin: 0.5em 0;
}

h1 { font-size: 2.00em; }
h2 { font-size: 1.50em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1.00em; }
h5 { font-size: 0.83em; }
h6 { font-size: 0.67em; }

header {
	margin: 0.5em 0;
}

header > h1,
header > h2,
header > h3,
header > h4,
header > h5,
header > h6 {
	margin-bottom: 0;
}

a, a:visited {
	color: #0000EE;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

p {
	margin-bottom: 1em;
}

ol, ul {
	margin: 0.5em 0.5em 0.5em 2em;
}

ul {
	list-style-type: square;
}

pre {
	white-space: pre-wrap;
}

hr {
	background: #000;
	border: 0;
	height: 1px;
	margin: 2em 0;
}

table {
	border-collapse: collapse;
	width: 100%;
}
table, th, td {
	border: 1px solid #000;
}
th, td {
	padding: 0.25em;
}
table ol, table ul {
	margin-top: 0;
}

table.kvp {
	border-collapse: separate;
	border-spacing: 10px;
}
table.kvp, table.kvp th, table.kvp td {
	border: 0;
}
table.kvp th {
	text-align: right;
	text-transform: uppercase;
	vertical-align: top;
	white-space: nowrap;
}
table.kvp th:after {
	content: ": ";
}
table.kvp td {
	vertical-align: bottom;
}
table.kvp tr > :last-child {
	width: 100%;
}
@media all and (max-width: 700px) {
	table.kvp th {
		white-space: normal;
	}
}

input, textarea {
	padding: 1px;
}
input {
	width: 300px;
}
textarea {
	box-sizing: border-box;
	min-height: 200px;
	resize: vertical;
	width: 100%;
}
input[type=submit],
input[type=button],
input[type=checkbox] {
	min-width: 0;
	padding: 0.1em 0.4em;
	width: auto;
}

blockquote {
	border-left: 3px solid #000;
	font-style: italic;
	margin: 1em;
	padding: 0 1em;
}

article section {
	margin-top: 1em;
}

.nobreak {
	white-space: nowrap;
}

.banner {
	border: 2px dashed #000;
	box-sizing: border-box;
	display: table;
	width: 100%;
}
.banner > .banner-icon, .banner > .banner-message {
	display: table-cell;
	padding: 8px;
	vertical-align: middle;
}
.banner > .banner-message {
	padding-left: 0;
	width: 100%;
}

.pagination {
	padding: 0 100px;
	position: relative;
	text-align: center;
}
.pagination > a {
	border: 1px solid #000;
	color: #000;
	display: inline-block;
	margin: 1px;
	padding: 1px 8px;
	text-decoration: none;
}
.pagination > a:hover, .pagination > a:active, .pagination > a:focus, .pagination > a.active {
	background-color: #000;
	color: #fff;
}
.pagination > .left {
	position: absolute;
	margin-left: 0;
	left: 0;
}
.pagination > .right {
	position: absolute;
	margin-right: 0;
	right: 0;
}

@media print {
	.hide-on-print {
		display: none;
		visibility: hidden;
	}
}

/*** adminbar ***/
.adminbar {
	border: 1px solid #000;
	box-sizing: border-box;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin-bottom: 1em;
	position: relative;
	width: 100%;
}

.adminbar > * {
	margin: 0.5em;
}

.adminbar a + a {
	margin-left: 1em;
}
