/* change default html styles */

* {
	margin: 0;
	padding: 0;
}
a img {
	border-style: none;
}
li {
	list-style-type: none;
}

/* clearfix, the ie part is in the ie css */

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* general styling */

html, body {
	margin-top: 10px;
	background: #aaa;
	color: #1b1b1b;
	font-family: verdana, sans-serif;
	font-size: 87%;
}

h1, h2, h3, h4, h5, h6, #sidebar .sidehead {
	margin-top: 0em;
	margin-bottom: 0.25em;
	font-weight: normal;
}

h1 { font-size: 2.6em; }
h2 { font-size: 2.1em; }
h3 { font-size: 1.9em; }
h4 { font-size: 1.7em; }
h5 { font-size: 1.5em; }
h6 { font-size: 1.3em; }

p {
	line-height: 1.5;
}

a {
	color: #0050a0;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

ul.list, ol.list {
	margin-left: 3em;
	margin-bottom: 1em;
}
.list li {
	margin-bottom: 0.5em;
	color: #1b1b1b;
}
ul.list li {
	list-style-type: square;
}
ol.list li {
	list-style-type: decimal;
}

table {
	text-align: center;
	color: #fff;
	background-color: #666;
	border: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
}
table td {
	background-color: #ccc;
	color: #000;
	padding: 4px;
	text-align: left;
	border: 1px #fff solid;
}
table th {
	background-color: #666;
	color: #fff;
	padding: 4px;
	text-align: left;
	font-weight: bold;
}

mtd {
	padding: 4px
}

span[class=lfloat] {
	margin-right: 30px;
	margin-bottom: 20px;
}
span[class=rfloat] {
	margin-left: 30px;
	margin-bottom: 20px;
}

.pagegroup {
	display: none;
}

/* layout */

#wrapper {
	position: relative;
	width: 980px;
	margin: 0 auto;
	font-size: 1em;
}

#header {
	padding: 10px 0px 10px 40px;
	background: #222;
	font-size: 14px;
}

#siteheader .sitetitle { float: left; font-family: arial, sans-serif }
#siteheader .sitetitle a { display: block }
#siteheader .sitetag { float: left; clear: left }
#siteheader .sitetag { margin-bottom: -5px; color: #868686 }

#siteheader .sitetitle {
	float: left;
	margin-bottom: -15px;
	font-size: 1.8em;
	font-weight: normal;
}
#siteheader .sitetitle a {
	display: block;
	color: #bababa;
}
#siteheader .sitetitle a:hover {
	text-decoration: none;
	color: #f79910;
}

.pageactions li {
	font: normal 12px arial, sans-serif;
}
.pageactions a, #header ul a {
	color: #868686;
}
.pageactions li a,.pageactions a:hover, #header ul a:hover {
	font-weight: normal;
}
.pageactions li a:hover {
	color: #eaeaea;
}
.pageactions ul {
	margin-top: 0; margin-bottom: 0;
}

#menu {
	font: normal 13px arial, sans-serif;
}
#menu ul {
	clear: both;
	float: right;
	display: inline;
	margin-right: 40px;
	padding-right: 3px;
	text-align: right;
}
#menu li, #header ul li {
	display: inline;
	margin-right: 0px;
	color: #868686;
}
#menu a, .pageactions a, #header ul a {
	font-weight: bold;
	text-transform: lowercase;
	text-decoration: none;
}
#menu a {
	color: #bababa;
	padding: 4px;
}
#menu a:hover {
	color: #fff;
	background-color: #c90808;
}
#menu li.selected a, #menu li a.selflink, #header ul li.selected a, #header ul li a.selflink {
	color: #fff;
}
#menu ul {
	margin-top: 0; margin-bottom: 0;
}

#contentwrapper {
	background: #fff
}

#content {
	float: left;
	width: 100%;
	margin-right: -340px;
}

h3.content {
	margin-top: 2em;
	margin-bottom: 1em;
	color: #e68800;
	font-size: 1.6em;
	font-weight: normal;
	text-transform: uppercase;
}

#innerwrapper {
	min-height: 500px;
	margin-left: 40px;
	margin-right: 300px;
	margin-top: 30px;
	margin-bottom: 30px;
}

#sidebar {
	float: right;
	width: 340px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#sidebar h1 a,
#sidebar h2 a,
#sidebar h3 a, #sidebar .sidehead,
#sidebar h4 a,
#sidebar h5 a,
#sidebar h6 a {
	font-weight: normal;
}

#subscribe a {
	font-weight: normal;
	font-size: 1.4em;
}

#footer {
	position: relative;
	padding: 5px 340px 5px 40px;
	background: #222;
	color: #868686;
	font-size: 0.6em;
	text-align: center;
}
#footer a {
	color: #868686;
	text-decoration: underline;
}
#footer a:hover {
	color: #eaeaea;
}

/* article styles */

#wikitext h2.section-head {
	font-weight: bold;
	font-size: 2.3em;
	color: #f79910;
}
.article, #wikitext {
	margin-bottom: 20px;
}
.article h2.title, #innerwrapper h2.title {
	clear: both;
	font-size: 2em;
}
.article h2.title a, #innerwrapper h2.title a, #innerwrapper .pagegroup {
	color: #f79910;
}
.article h2.title a:hover, #innerwrapper h2.title a:hover, #innerwrapper .pagegroup {
	font-weight: normal;
}
.article .meta {
	margin-bottom: 1em;
	color: #838383;
	font-size: 0.8em;
	text-transform: lowercase;
}
.article a, #wikitext a {
	color: #0050a0;
}
.article a:hover, #wikitext a:hover {
	font-weight: normal;
}
.article .body {
	margin-bottom: 1em;
}
.article .comments {
	background: url(images/comments.gif) left center no-repeat;
	padding: 15px 0 16px;
	color: #838383;
}
.article .comments a {
	padding: 5px 0px 10px 35px;
	color: #838383;
	line-height: 30px;
	font-size: 1.2em;
}
.article .comments a:hover {
	font-weight: normal;
}
.article .footer {
	margin: 20px 0 40px;
	font-size: 0.8em;
}
.article .footer h4 .meta {
	font-size: 0.75em;
}
.article .footer ul, .article .footer h4, .article .footer p {
	display: inline;
	font-weight: normal;
}
.article .footer p {
	margin-right: 1em;
	padding-right: 1em;
	border-right: dotted 1px #838383;
}
.article .footer, .article .footer a {
	color: #838383;
}
.article .footer li {
	padding-left: 5px;
	border-left: dotted 1px #838383;
}
.article .footer li.first {
	border-left-style: none;
}

/* article and comment body */

.body ul, .article .body ol, #wikitext ul, #wikitext ol {
	margin-left: 3em;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}
.body li, #wikitext li {
	margin-bottom: 0.25em;
	color: #1b1b1b;
}
.body ul li, #wikitext ul li {
	list-style-type: square;
}
.body ol li, #wikitext ol li {
	list-style-type: decimal;
	background-position: 0px 5px;
}
.body h1, .body h2, .body h3, .body h4, .body h5, .body h6,
#wikitext h1, #wikitext h2, #wikitext h3, #wikitext h4, #wikitext h5, #wikitext h6 {
	color: #1b1b1b;
	text-transform: none;
}

/* preformatted source code */

.body pre, #wikitext pre {
	line-height: 1.25;
	font-size: 110%;
	overflow: auto;
	width: 90%;
	margin: 1em auto;
	padding: 1em;
	border: dotted 1px #aaa;
	background-color: #f6f6f6;
	color: #037;
}
div.sourceblocktext {
	width: 90%;
	margin: 1em auto;
	margin-top: 1em;
	margin-bottom: 0.1em;
 	padding: 1em;
	border: 1px dotted #aaa;
	background-color: #f6f6f6;
	color: #000;
}
div.sourceblocktext .c, div.sourceblocktext .cpp {
	font-family: monospace;
	line-height: 1.25;
	font-size: 110%;
}
div.sourceblocktext .nu0 {color: #000;}
div.sourceblocktext .nu16 {color: #000;}
div.sourceblocktext .nu19 {color: #000;}
div.sourceblocktext .br0 {color: #666;}
div.sourceblocktext .sy0 {color: #037;}
div.sourceblocktext .st0 {color: #c00;}
div.sourceblocktext .es1 {color: #f70;}
div.sourceblocktext .co2 {color: #0a0;}
div.sourceblocktext .kw1 {color: #037; font-weight: bold;}
div.sourceblocktext .kw2 {color: #037;}
div.sourceblocktext .kw3 {color: #037;}
div.sourceblocktext .kw4 {color: #44f;}
div.sourceblocktext .coMULTI {color: #888; font-style: italic;}
div.sourceblocklink {
	width: 90%;
	margin: 1em auto;
	margin-top: 0em;
	margin-bottom: -0.5em;
	padding-left: 3em;
	text-align: right;
	font-size: 70%;
}

/* floating images */

.body .imageleft, #wikitext .imageleft {
	float: left;
	display: inline;
	margin: 10em 20em 1em 10em;
}
.body .imageright, #wikitext .imageright {
	float: right;
	display: inline;
	margin: 20em 10em 1em 10em;
}

/* comments list */

#commentslist h3.content {
	color: #e68800;
	text-transform: uppercase;
}
#commentslist {
	margin-bottom: 2em;
}
#commentslist li.comment {
	overflow: auto;
	width: 100%;
	margin-bottom: 2em;
}
#commentslist li.comment .meta {
	display: block;
	margin-bottom: .5em;
	padding: 0.55em 3%;
	border-bottom: dotted 1px #cacaca;
	background-color: #f6f6f6;
	color: #838383;
}
#commentslist li.by-author .body {
	padding-top: 0.5em;
	border: dotted 1px #cacaca;
	background-color: #f6f6f6;
}
#commentslist li.by-author .meta {
	margin-bottom: 0;
	border-bottom-style: none;
	background-color: #ddd;
}
#commentslist ul, #commentslist ol {
	margin: 0;
}
#commentslist ul li, #commentslist ol li {
	list-style-type: none;
}
.comment .body {
	padding: 0 3%;
	font-size: 0.9em;
	display: block;
	margin-top: 10px;
}
.comment .body p {
	margin-bottom: 1em;
}

.comment .body h1 { font-size: 2.0em; }
.comment .body h2 { font-size: 1.8em; }
.comment .body h3 { font-size: 1.6em; }
.comment .body h4 { font-size: 1.4em; }
.comment .body h5 { font-size: 1.3em; }
.comment .body h6 { font-size: 1.2em; }

#comment-message, #comment-errors, .wikimessage {
	margin-bottom: 1em;
	padding: 0.5em 3%;
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	color: #1b1b1b;
	font-weight: bold;
}
#comment-message {
	background-color: #f6f6f6;
	border-bottom-color: #3a3a3a;
}
#comment-errors, .wikimessage {
	border-bottom-color: #9a3a3a;
	background-color: #fff0f0;
}

/* forms */

fieldset {
	margin-bottom: 0.25em;
	border-style: none;
}
fieldset dt {
	margin-bottom: 0.25em;
	color: #838383;
	font-weight: bold;
}
fieldset dd {
	margin-bottom: 1em;
}
fieldset input, fieldset textarea {
	padding: 2px 4px;
	border: solid 1px #838383;
	background-color: #e0e0e0;
	font-family: monospace;
	font-size: 1.2em;
}
fieldset input:hover, fieldset textarea:hover {
	background-color: #f0f0f0;
}
fieldset input:focus, fieldset textarea:focus {
	background-color: #fff;
	color: #0870ff;
}
input {
	padding: 2px 4px;
}
fieldset textarea {
	width: 500px;
	height: 200px;
}
#search {
	font-weight: normal;
}
#search fieldset {
	text-align: left;
}
#q {
	width: 70%;
}

/* side boxes */

.boxy {
	position: fixed;
	margin: 0px 0px 0px 80px;
	padding: 0px 20px 5px 20px;
}
#sidebar .short {
	width: 200px;
	padding-top: 15px;
	background: #fff;
	border-left: 2px solid #ccc;
}
#sidebar .tall {
	width: 200px;
	margin-top: 65px;
	padding-top: 5px;
	background: #fff;
	min-height: 475px;
	border-left: 2px solid #ccc;
}
#sidebar .minor {
	font-size: 0.8em;
}
#sidebar .minor h3 {
	font-size: 1em;
}
#sidebar .minor dt {
	font-size: 1.5em;
}
.boxy {
	color: #fff;
}
.boxy a {
	color: #222;
}
.boxy a:hover {
	color: #0850a0;
	text-decoration: none;
}
.boxy h3, #sidebar .sidehead {
	margin: 0 0 3px 0;
	color: #666;
	font-size: 1.2em;
	font-weight: bold;
}
.boxy h4 {
	margin: 1em 0 0.25em 0;
}
.boxy li {
	margin-left: 0.75em;
	margin-bottom: 0.25em;
}
.boxy ul, .boxy dt {
	margin-top: 0em;
	margin-bottom: 0.25em;
}
.boxy dt {
	font-size: 1.2em;
	line-height: 2;
	vertical-align: middle;
}
.boxy dt a {
	font-weight: normal;
}
.boxy dt a.feed {
	font-weight: normal;
}
.boxy dd {
	margin-left: 1em;
	margin-bottom: 0.25em;
}
.boxy ul dd, .boxy dl li {
	margin-left: 0;
}
.boxy ul dt, .boxy dl ul {
	margin-top: 0 !important;
}
#sidebar .sidehead {
	margin-top: 10px;
}

/* feed icons */

.feed {
	margin-left: 5px;
	padding-left: 20px;
	background: url(..images/feed.gif) 0% 100% no-repeat;
}
.feed:hover {
	background-position: -2000px 100%;
}
.feed span {
	font-size: 0.8em;
}

/* options box */

#options h2 {
	display: block;
	float: left;
	margin-top: 5px;
	color: #9a9a9a;
	font: normal 10px arial, sans-serif;
	text-transform: uppercase;
}
#options h3 {
	display: none;
}
#options {
	float: right;
}
#options-container {
	position: absolute;
	right: 0;
	top: 0;
	margin-top: 5px;
	margin-right: 40px;
}
#options ul, .pageactions ul {
	float: left;
	display: inline;
	margin-left: 10px;
}
#options li {
	float: left;
	margin: 2px;
	padding: 3px;
}
.pageactions li {
	float: left;
	margin: 0px;
	padding: 3px;
}
#option_size li a {
	display: block;
	width: 10px;
	height: 10px;
	border: solid 1px #9a9a9a;
	background-color: #1c1c1c;
	background-repeat: no-repeat;
}
#options li a span {
	display: none;
}
#options-container .pageactions {
	clear: right;
	float: right;
}
#options ul {
	margin-top: 0; margin-bottom: 0;
}

/* skittlish customizations */

body.fixed	#options li.fixed,
body.fluid	#options li.fluid,
body.gray	#options li.gray,
body.green	#options li.green,
body.blue	#options li.blue,
#options li:hover {
	padding: 3px;
	background-color: #9a9a9a;
}

#options li.fixed	a { background-image: url(images/fixed.gif); }
#options li.fluid	a { background-image: url(images/fluid.gif); }

#options li.gray	a { background-color: #a5a5a5; }
#options li.green	a { background-color: #61ac00; }
#options li.blue	a { background-color: #0870c9; }

#siteheader .sitetitle a { line-height: 1.3; }

.fixed #wrapper {
	width: 980px;
	margin: 0 auto;
}

.fluid #wrapper {
	width: auto;
	margin: 0 80px;
}

body.gray .article h2 a, body.gray #innerwrapper h2 a, body.gray #commentslist h3.content,
body.gray #innerwrapper a.pagegroup, body.gray #wikitext h2.section-head, body.gray #siteheader .sitetitle a:hover { color: #0870c9; }
body.gray .boxy, body.gray #menu a:hover { background-color: #a5a5a5; }

body.green .article h2 a, body.green #innerwrapper h2 a, body.green #commentslist h3.content,
body.green #innerwrapper a.pagegroup, body.green #wikitext h2.section-head, body.green #siteheader .sitetitle a:hover { color: #61ac00; }
body.green .boxy, body.green #menu a:hover { background-color: #60e050 }

body.blue .article h2 a, body.blue #innerwrapper h2 a, body.blue #commentslist h3.content,
body.blue #innerwrapper a.pagegroup, body.blue #wikitext h2.section-head, body.blue #siteheader .sitetitle a:hover { color: #0870c9; }
body.blue .boxy, body.blue #menu a:hover { background-color: #50b0e0 }

/* pmwiki */

#wikiedit textarea { width: 100%; margin-bottom: 15px }
#wikitext .quickref p { line-height: 2em; }
#wikitext .quickref { margin-top: 30px; }
ul, ol, pre, dl, p { margin-top: 0.25em; margin-bottom: 0.25em; }
.varlink, pre, code.escaped { font-size: 140% !important; }
.vspace { margin-top: 1em; margin-bottom: 0.5em; }
.vspace.question { margin-bottom: 0.5em; font-weight: bold; }
.indent { margin-left: 30px; }
.outdent { margin-left: 40px; text-indent: -40px; }
a.createlinktext { text-decoration: none; border-bottom: none; }
a.createlink { text-decoration: none; position: relative; top: -0.5em; font-weight: bold; font-size: smaller; border-bottom: none; }
.readmore { display: block; margin-top: 10px; padding-bottom: 10px; font-weight: bold; }
#menu .createlink, #header ul .createlink { display: none; }
.wikimessage { color: red; font-weight: bold; font-size: 110%; }
