/* grease/grease.css v0.1
 *
 * PmWiki Grease skin stylesheet
 * Copyright 2005 Dominique Faure (dfaure@cpan.org)
 * Based on 'Dive Into Greasemonkey' online book Copyright © 2005 Mark Pilgrim
 * ( mark@diveintomark.org).
 * This file is part of the PmWiki Grease skin; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 */
html {
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Helvetica, sans-serif;
	font-size: x-small;
	color: #020202;
	background: #fff url("bg.png") center center fixed no-repeat;
	margin: 10px;
	padding: 0;
}
#globalwrapper { /* scale back up to a sane default */
	font-size: 127%;
	width: 100%;
	margin: 0;
	padding: 0;
	float: none;
	height: 1%; /* workaround for various ie float bugs */
}

#pagetitle h1 {
	margin: 8px 0 0 0;
	padding: 0;
	font-variant: small-caps;
	letter-spacing: 0.15em;
	font-family: "Book Antiqua", Georgia, Palatino, Times, "Times New Roman", serif;
}
#pagetitle p {
	font-size: small;
	font-weight: normal;
	margin: 1.2em 0 0 0;
	padding: 0;
}
#pagetitle p a {
	color: #020202;
	text-decoration: none;
}
#pagetitle p a:hover { text-decoration: underline; }
#pagetitle ul {
	margin-left: 0;
	padding-left: 0;
	display: inline;
}
#pagetitle ul li {
	display: inline;
	font-size: smaller;
}

#pagelogo {
	text-decoration: none;
}
#pagelogo img {
	vertical-align: text-top !important;
	vertical-align: top;
	float: right;
	margin: 4px;
}

.z {
	float: left;
	background: url(shadowAlpha.png) no-repeat bottom right !important;
	background: url(shadow.gif) no-repeat bottom right;
	margin: 15px 0 0 10px !important;
	margin: 15px 0 0 5px;
	width: 98.5%;
}
.z .inner {
	background: none !important;
	background: url(shadow2.gif) no-repeat left top;
	padding: 0 !important;
	padding: 0 6px 6px 0;
}
.z .inner2 {
	background-color: #fff;
	border: 1px solid #a9a9a9;
	padding: 4px;
	margin: -6px 6px 6px -6px !important;
	margin: 0;
}
.s {
	margin-left: 1em;
	margin-right: 1em;
	margin-bottom: 1em;
}

#page {
	/*border: 1px solid red;*/
	clear: left;
	margin: 0 6px 1em 6px;
	padding: 0;
	float: none;
	height: 1%; /* workaround for various ie float bugs */
}

#content {
	/*border: 1px solid blue;*/
	padding: 0;
	margin: 1em;
	position: relative;
	height: 1%; /* workaround for various ie float bugs */
}
#content h1 { font-size: 188%; }
#content h2 { font-size: 150%; }
#content h3 { font-size: 132%; }
#content h4 { font-size: 116%; }
#content h5 { font-size: 100%; }
#content h6 { font-size: 80%;  }

#maincontent {
	/*border: 1px solid green;*/
/*
	position: absolute;
	top: 0;
	left: 0;
*/
	float: left;
	width: 80.5%;
	margin-top: 0;
}

#sidecontent {
	/*border: 1px solid orange;*/
/*
	position: absolute;
	top: 0;
	right: 0;
	left: 80%;
*/
	float: right;
	width: 19%;
	margin-top: 0;
	overflow: hidden;
}

#footcontent {
	/*border: 1px solid purple;*/
}

#pagetext {
	position: static;
}

#sidebar {
	margin: 1em 0;
	padding: 0.5em;
	padding-right: 0;
	border-left: 1px solid #ccc;
	font-size: smaller;
}
#sidebar h1,
#sidebar h2,
#sidebar h3,
#sidebar h4,
#sidebar h5,
#sidebar h6,
#sidebar .sidehead,
#sidebar .divider {
	margin: 0;
	padding: 0;
	font-size: 1.2em;
}
#sidebar ul li {
	padding: 0;
	margin: 0;
}
#sidebar ul {
	padding-left: 0;
	margin-left: 20px;
	line-height: 1.3em;
}
#sidebar form,
#sidebar input {
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	font: normal 11px tahoma, geneva, arial, helvetica, sans-serif;
}
.sidehead { font-weight: bold; }

hr {
	margin-top: 1.5em !important;
	margin-top: 1em;
	height: 1px;
	background-color: #ccc;
	color: #ccc;
}

#footer {
/*	padding: 0 1em;*/
	text-align: center;
	font-size: smaller;
}
#footer ul {
	margin-left: 0;
	padding-left: 0;
	display: inline;
}
#footer ul li {
	display: inline;
}

code { /*background-color: #f9f9f9;*/ }
pre {
	clear: none;
	padding: 1em;
	color: #000;
	/*background-color: #f9f9f9;*/
	line-height: 1.1em;
}

a:link { color: #0000ee; }
a:visited { color: #551a8b; }
a.urllink {
	background: url(external.png) center right no-repeat;
	padding-right: 13px;
}
a.createlinktext,
a.createlinktext:visited {
	color: red;
	border-bottom: none;
	text-decoration: underline;
}
a.createlink,
a.createlink:visited {
	left: 2px;
	top: 2px;
}
.frame .urllink,
.frame .attachlink,
.wikilink .urllink,
.wikilink .attachlink {
	background: none;
	padding: 0;
}
#wikitext {
	position: relative;
}
#wikitext form,
#wikitext input {
	font: normal 11px tahoma, geneva, arial, helvetica, sans-serif;
}
#wikiedit textarea {
	margin-top: 0.5em;
	padding: 0;
	width: 100%;
}
