body, h1, h2, h3, h4, p, ul, ol, li {
    padding: 0;
    margin: 0;
}

html, body {
    height: 100%;
}

body {
    font-size: 100%;
    font-family: Arial, sans;
    
	background: #222;
}

.page-inner,
.site-logo,
.global-navigation,
.copyright {
	margin-left:auto;
	margin-right:auto;
	width: 800px;
}

.section-title {
	height: 75px;
	background: #fff;
}	

.section-title a {

	background: #990000;
	color: #fff;
	
	padding: 8px 8px 4px 8px;
	display: inline;
	margin-left: 18%;
	
	font-family: georgia;
	font-weight: normal;
	font-size: 48px;
	letter-spacing: -1px;
	text-align: center;
	text-decoration: none;
}

.quick-links {
    position: absolute;
    list-style: none inside;
    top: 0;
    left: 60%;
}

.quick-links li {
    float:left;
}

.quick-links li a {
    display: block;
    padding: 2px 6px 3px;
    
    text-decoration: none;
    font-family: georgia;
    color: #fff;
    background: #990000;
}

.page {
	background: #eee;
	color: #444;
	padding: 18px 0 18px 0;
	overflow: auto;
}

.column {
	width: 160px;
	float:left;
	margin-right: 16px;
}

.local-navigation {
	list-style: none;
	text-align: right;
}

.local-navigation li {}

.local-navigation li a {
	text-decoration: none;
	font-size: 18px;
	line-height:1.5;
	
	background: #444;
	color: #f5f5f5;
	
	padding: 4px 5px 5px 4px;
}

.local-navigation li.selected {}

.content {
	width: 600px;
	line-height:1.4;
}

.content h1 {
	font-size: 32px;
	letter-spacing: -1px;
	color: #333;
	
	position: relative;
	top: -8px;
}

.content h2 {
	font-size: 28px;
	font-weight: normal;
	letter-spacing: 0px;
	color: #444;
    margin-bottom: 16px;
}

.content p {
	font-size: 16px;
	margin-bottom: 18px;
}

.content p a,
.content ul a,
.content ol a {
	text-decoration: none;
	font-weight: bold;
	color: #990000;
	border-bottom: 1px dotted #c4c2c2;
}

.content p code,
pre {
	color: #666;
	background: #fff;
	font-size: 14px;
	padding:0 3px;
	vertical-align:middle;
}

pre {
	padding: 12px;
	line-height: 1.4;
}

.content p code {
	border-top: 4px solid #fff;
	border-bottom: 2px solid #fff;
}

/*some prettprint arguing*/
code .pln {
	color: #333;
}

ul,
ol {
	list-style: inside square;
	
}

.content li {
   padding-left: 4px;
}

.site {
	background: #222;
	color: #eee;
	
	clear:both;
	padding: 18px 0;
}

.site-logo h1,
.site-logo a {
	display: block;
	
	color: #fff;
	
	text-decoration:none;
	text-transform:uppercase;
	letter-spacing: 1px;
	
	font-size: 32px;
	font-family: georgia;
}

.global-navigation {
	list-style: none;
}

.global-navigation li {
	display:inline;
}

.global-navigation a {
	text-decoration:none;
	text-transform:uppercase;
	font-size: 11px;
	font-weight: bold;
	line-height: 1;
	
	background: #eee;
	color: #222;
	
	float:left;
	padding: 3px 5px;
	margin: 0 3px;
}

.copyright {
	color: #555;

	font-size: 13px;
	text-align: right;
	
	clear: both;
	position: relative;
	top: 12px;
}

.copyright a {
	color: #777;
	text-decoration:none;
}

/* thanks to http://unindented.org/articles/2009/10/github-ribbon-using-css-transforms/ */

.ribbon {
  background-color: #990000;
  overflow: hidden;
  /* top right corner */
  position: fixed;
  right: -3em;
  top: 2.5em;
  /* 45 deg ccw rotation */
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  /* shadow */
  -moz-box-shadow: 0 0 1em #888;
  -webkit-box-shadow: 0 0 1em #888;
}

.ribbon a {
  border: 1px solid #faa;
  color: #fff;
  display: block;
  font: bold 81.25% 'Helvetiva Neue', Helvetica, Arial, sans-serif;
  margin: 0.05em 0 0.075em 0;
  padding: 0.5em 3.5em;
  text-align: center;
  text-decoration: none;
  /* shadow */
  text-shadow: 0 0 0.5em #444;
}