body {
    color: #4D4D4D;
	font-size: 12px;
	font-family: Helvetica, Arial, sans-serif;
	text-align: center;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
    background-color: #FFF;
    border-top: 15px solid #000;
}

#container {
	width: 770px;
	margin: 0px auto 0px auto;
	padding: 0px 0px 0px 0px;
	text-align: left;
}

#content {
    margin-bottom: 40px;
}

/* Layout blocks */

#main {
    float: left;
    width: 540px;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    margin-right: 30px;
    overflow: hidden;
}

#sidebar {
	float: left;
	width: 200px;
	margin: 60px 0px 45px 0px;
	padding: 0px 0px 0px 0px;
	background: transparent;
}

/*
#footer {
    clear: both;
    font-family: 'Gill Sans', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    background-color: #F9F9F9;
    border-top: 1px solid #E1E1E1;
    border-bottom: 1px dotted #E1E1E1;
    padding: 10px;
    margin-bottom: 10px;
    height: 40px;
}

#footer a {
    color: #333;
}

#snf {
    text-align: right;
    font-size: 11px;
    margin-top: 0;
}

#snf a {
    color: #333;
}
*/

#footer {
    clear: both;
    height: 200px;
    background-color: #F9F9F9;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 0;
    padding-top: 25px;
    padding-bottom: 45px;
    border-top: 1px solid #CCC;
}

#footer #footer-container {
    width: 770px;
    text-align: left;
    margin: 0 auto;
}

#footer #footer-snf, #footer #footer-also, #footer #footer-etc {
    background-color: #F9F9F9;
    float: left;
    width: 130px;
    margin-right: 30px;
    margin-bottom: 45px;
}

#footer ul {
    margin-left: 0;
    padding-left: 0;
}

#footer ul li {
    color: #666;
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 10px;
    padding-left: 0;
}

#footer p {
    color: #666;
}

#footer address {
    color: #666;
    font-size: 11px;
    font-style: normal;
}

#footer a img {
    border: none;
}

#footer a {
    color: #666;
}

#popup-content {
    margin: 20px;
    text-align: left;
}

/* Formatting */

.clear {
    clear: both;
}

p {
    line-height: 130%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    color: #000;
    margin-top: 7px;
    margin-bottom: 10px;
}

h1 {
    font-size: 56px;
    text-transform: uppercase;
}

h2 {
    font-size: 48px;
    text-transform: uppercase;
    line-height: 50px;
}

h3 {
    font-size: 22px;
    line-height: 24px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

#content > h2 a {
    color: #000;
}

hr {
    color: #FFF;
    background-color: #FFF;
    height: 4px;
    border: 0;
    border-top: 1px solid #AAA;
    border-bottom: 1px dotted #AD9B9F;
}

ul li {
    list-style-type: square;
    margin-bottom: 3px;
}

#sidebar ul {
    text-indent: 0;
    margin-left: 0;
    padding-left: 0;
}

#sidebar ul li {
    list-style-type: none;
    text-indent: 0;
    margin-left: 0;
    margin-bottom: 5px;
    padding-left: 0;
}

img {
	border: 1px solid #EEE;
}

img.noborder {
    border: none;
}

a:link, a:visited, a:active, a:hover {
	color: #C03;
	text-decoration: none;
	border-bottom: 1px solid #EEE;
}

a:hover {
	border-bottom: 1px solid #999;
}

input[type="text"], input[type="password"] {
}

input[type="submit"], input[type="button"] {
    font-variant: small-caps;
    padding: 0px;
}

kbd, code, pre, tt, samp, var {
    font-family: 'Andale Mono', Monaco, 'American Typewriter', monospace;
}

pre, code {
    background-color: #FFC;
}

pre {
    overflow: auto !important;
    overflow: scroll;
    padding: 10px;
    border: 1px solid #EEE;
}

#header {
    margin-top: 25px;
    margin-bottom: 25px;
}

#header a {
	text-decoration: none;
	border: none;
}

#header img {
	border: none;
    behavior: url(/js/iepngfix.htc);
}

/* Index */

ul#index-nav:before {
    content: "[ ";
}

ul#index-nav:after {
    content: " ]";
}

ul#index-nav, ul#index-nav li {
    display: inline;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

ul#index-nav li:after {
    content: " | ";
}

ul#index-nav li.last:after {
    content: "";
}

ul.index > li {
    list-style-type: none;
    padding-bottom: 15px;
    border-bottom: 1px dotted #CCC;
}

ul.index > li:hover {
    background-color: #FC6;
}

ul.index li h3 {
    display: inline;
    position: relative;
    top: 25px;
    left: -10px;
    color: #525252;
    font-size: 32px;
    text-transform: uppercase;
}

ul.index li ul li {
    margin-left: 10px;
    margin-bottom: 5px;
}

/* History and Search */

ul.history, ul.search {
    padding-left: 1px;
}

ul.history li, ul.search li {
    list-style-type: none;
    line-height: 150%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-bottom: 3px;
    border-bottom: 1px dotted #CCC;
}

ul.history li h3, ul.search li h3 {
    font-size: 14px;
    display: inline;
}

ul.history li:hover, ul.search li:hover {
    background-color: #FC6;
}

ul.history li h3:after, ul.search li h3:after {
    content: ": ";
    font-weight: normal;
}

/* Editing */

#edit-hidden, #edit-help {
    display: none;
}

.edit {
    background-color: #FAFAFA;
    border-top: 1px solid #E1E1E1;
    border-bottom: 1px solid #E1E1E1;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.edit p {
    background-color: #FAFAFA;
}

.edit .edit-form {
    width: 80%;
}

.edit textarea {
    width: 500px;
}

.edit fieldset {
    border: 1px solid #E1E1E1;
}

#edit-link {
    text-transform: uppercase;
}

/* Articles */

#controls, #controls a {
    color: #FFF;
    background-color: #AC821C;
}

#controls {
    padding: 1px;
    padding-left: 6px;
    padding-right: 6px;
}

#controls ul li {
    text-transform: uppercase;
    margin-bottom: 5px;
}

#controls a {
    border-bottom: 1px dotted #FFF;
}

#controls ul#incoming-links {
    margin-left: 15px;
}

#controls img {
    border: none;
}

#progress {
    display: none;
    font-weight: bold;
}

#version-info {
    color: #999;
    font-size: 11px;
}

#version-info a {
    color: #999;
}

#article {
    margin-bottom: 25px;
}

#article h2, #article h3, #article h4 {
    margin-bottom: 5px;
    padding-bottom: 0px;
}

#article h2 {
    font-size: 26px;
}

#article h3 {
    font-size: 22px;
}

#article h4 {
    font-size: 18px;
}

#article h5 {
    font-size: 16px;
}

#article h2 a, #article h3 a, #article h4 a {
    color: #000;
}

#article p {
    line-height: 150%;
    word-spacing: 0.06em;
    margin-top: 5px;
}

#article ul li, #article ol li {
    line-height: 135%;
}

#article img {
    margin-right: 7px;
    margin-top: 10px;
    margin-bottom: 5px;
}

#article p.byline {
    color: #666;
    font-size: 10px;
    line-height: 130%;
    margin-top: 1px;
}

#article p.byline .extended {
	text-transform: uppercase;
}

#comments-form {
    margin-top: 40px;
}

.comment {
    line-height: 150%;
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-bottom: 1px dotted #CCC;
}

p.posted {
    color: #999;
    margin-bottom: 5px;
}

p.posted .commenter {
    font-weight: bold;
}

p.posted a.commenter-profile {
    border: none;
}

p.posted a.commenter-profile img {
    border: none;
    vertical-align: bottom;
}

/* General navigation */

#wiki-nav {
    margin-top: 40px;
}

/* Messages and such */

.help, .help p {
    color: #616161;
    font-size: 12px;
    background-color: #FFC;
}

.help {
    border: 2px #EEE solid;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.help a {
    color: #616161;
}

#sidebar .help, #sidebar .help p {
    font-size: 11px;
}

#edit-help {
    margin-top: 25px;
}

.box {
    color: #000;
    background-color: #F7F7F7;
    border: 1px dotted #666;
    padding: 5px;
    padding-top: 5px;
    padding-left: 10px;
    margin-top: 20px;
}

.box p {
    color: #000;
    background-color: #F7F7F7;
}

.info {
    color: #FFF;
    line-height: 18px;
    background-color: #7D9EDF;
    background-color: #5E5E5E;
    padding: 15px 10px 5px 10px;
    margin-top: 20px;
}

div.info {
    margin-bottom: 20px;
}

.info p {
    background-color: #7D9EDF;
    background-color: #5E5E5E;
    margin-top: 0;
    margin-bottom: 10px;
}

.info a {
    color: #FFF;
    border-bottom: 1px solid #999;
}

.info a:hover {
    border-bottom: 1px solid #000;
}

.warning, .error {
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
    background-color: #DF5F5F;
    border: 2px solid #C00;
    padding: 10px;
    margin-top: 20px;
}

.warning p, .error p {
    color: #FFF;
    background-color: #F6D1D1;
}

.warning a, .error a {
    color: #FFF;
}

/* Page-specific styles */

body#diff del, .del {
    background-color: #EAA;
    text-decoration: line-through;
}

body#diff ins, .ins {
    background-color: #FFFF80;
    text-decoration: none;
}

.info .ins, .info .del {
    color: #999;
    text-decoration: none;
    padding: 2px;
}

.diff {
    line-height: 140%;
}

