@font-face {
	font-family: Anivers;
	src: url('anivers.otf');
}

@font-face {
	font-family: Chunk;
	src: url('chunkfive.otf');
}

body {
	font-family: Georgia, serif;
	margin: 20px 40px 0 40px;
}

header {
	font-family: Chunk;
	font-size: 44px;
	color: #444;
	display: block;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

nav ul {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0
}

nav ul li {
	display: inline;
	font-size: 20px;
	margin-right: 20px;
	padding: 0 30px 10px 30px;
}

nav ul li.active {
	border: 1px solid #ccc;
}

section {
	display: block;
	max-width: 640px;
	color: #444;
	font-size: 12px;
	line-height: 22px;
}

code {
	font-family: Consolas, Inconsolata, Menlo, monospace;
}

aside {
  border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
  background-color: #f5f5f5;
	display: block;
	padding: 10px;
	margin: 0 0 40px 40px;
	border: 1px solid #ccc;
	float: right;
	font-size: 10px;
	text-align: center;
}

img {
	border: none;
}

a {
	font-style: italic;
	font-family: Georgia, serif;
	text-decoration: none;
	color: #3CADB5;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4 {
	color: black;
	font-family: Anivers, sans-serif;
	font-weight: normal;
}

section h1 {
	margin: 1em 0 -10px 0;
	font-size: 34px;
	line-height: 100%;
	letter-spacing: -2px;
}

section p {
	padding-left: 20px;
}

section:first-of-type h1 {
	margin-top: 30px;
}

footer {
-moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px;
-moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px;
	margin-top: 3em;
	font-size: 11px;
	padding: 5px 5px 5px 0;
	display: block;
	text-align: right;
	width: 100%;
	color: white;
	background-color: #444;
}

object {
	display: block;
}

div.downloads {
	margin-left: 20px;
}

div.downloads a {
	margin-right: 20px;
}

div.examplegrid {
	margin-left: 20px;
	margin-right: 20px;
}

div.examplegrid img {
	border: 1px solid black;
	margin: 0 15px 10px 0;
}

div.examplegrid a:hover img {
	border: 1px solid #3CADB5;
}
