/*
 *	CONTENTS:
 *	- global stuff
 *	  - width related
 *	- header
 *	- content
 *	  - generic elements
 *	  - toc
 *	  - recent changes
 *	  - login
 *	- footer
 */


* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #ffffff;
	color: #000000;
	font-family: Helvetica, Arial, sans-serif;
	font-size: medium;
	line-height: 1.5em;
}

a {
	background-color: inherit;
	color: #004faf;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}



/*
 *	WIDTH RELATED
 */

.pageheader,
.pageheader .actions ul,
#content,
#footer {
	max-width: 100%;
}

.pageheader,
#footer {
	width: 100%;
}

.pageheader .actions ul,
#content {
	width: 50em;
}



/*
 *	HEADER
 */

.pageheader {
	position: relative;
	border-bottom: 1px solid #000;
}

.pageheader .header {
	min-height: 38px;
	margin-bottom: 0.5em;
	background-image: url(fvwm-logo_sml.png);
	background-repeat: no-repeat;
	background-position: 0.5em center;
	font-size: 120%;
	font-weight: bold;
	line-height: 2.25em;
}

.pageheader .header span {
	display: block;
	margin: 0.5em 0.5em 0.5em 1em;
	padding-left: 115px;
}

.pageheader .header span span {
	display: inline;
	margin: 0;
	padding: 0;
	background: none;
}

.pageheader .header span a {
	margin-right: 0.25em;
}

.pageheader #searchform {
	position: absolute;
	right: 1em;
	top: 0;
}

.pageheader input#searchbox {
	border: 1px solid #000000;
}

.pageheader .actions {
}

.pageheader .actions ul {
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
	border: none;
	font-size: inherit;
}

.pageheader .actions li {
	float: left;
	display: block;
	margin-left: 1px;
	margin-bottom: 1px;
	padding: 0;
}

.pageheader .actions span.createlink,
.pageheader .actions a {
	display: block;
	padding: 0.125em 0.5em;
	border: 1px solid #000000;
}

.pageheader .actions span.createlink a {
	display: inline;
	padding: 0;
	border: none;
}



/*
 *	CONTENT
 */

#content {
	clear: both;
	margin: 1em auto;
}

/*
 *	GENERIC
 */

#content h1 {
	margin-top: 0.5em;
	margin-bottom: 0.25em;
	border-bottom: 1px solid #000;
	line-height: 1em;
}

#content h2 {
	margin-top: 0.75em;
	margin-bottom: 0.25em;
}

#content h6,
#content h5,
#content h4,
#content h3 {
	margin-top: 0.5em;
	margin-bottom: 0.25em;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

#content p {
	margin-top: 0.25em;
	margin-bottom: 0.75em;
	margin-left: 0.5em;
	margin-right: 0.5em;
	text-align: justify;
}

#content dl,
#content ol,
#content ul {
	margin-top: 0.25em;
	margin-bottom: 0.5em;
	margin-left: 2.0em;
	margin-right: 0.5em;
}

#content li p {
	margin-left: 0;
	margin-right: 0;
}

#content pre {
	position: relative;
	margin-top: 0;
	margin-bottom: 0.75em;
	margin-left: 1em;
	margin-right: 1em;
	padding: 0.5em;
	border: 1px solid #888888;
	background-color: #eeeeff;
	color: inherit;
	line-height: 1.25em;
	font-family: monospace;
	font-size: 100%;
	overflow: auto;
}

#content code {
	padding: 0 0.25em;
	background-color: #eeeeff;
	color: inherit;
	border: 1px dotted #000000;
}

#content pre code {
	padding: 0;
	border: none;
}

#content blockquote {
	margin-top: 0.25em;
	margin-bottom: 0.5em;
	margin-left: 1em;
	margin-right: 1em;
	padding: 0.5em;
	border: 1px solid #888888;
	background-color: #eeeeff;
	color: inherit;
	line-height: 1.25em;
	font-style: italic;
	overflow: auto;
}

/* Does not work in IE (and Opera?) */
#content blockquote p:last-child:after,
#content blockquote p:first-child:before {
	content: "\0022";
}

#content blockquote p {
	margin: 0;
	padding: 0;
}

#content hr {
	margin: 0.25em 0 0.5em 0;
	border-width: 1px 0 0 0;
	border-color: #000000;
}

#content textarea {
	width: 96%;
	margin-top: 0.25em;
}

#content table {
	max-width: 100%;
	margin: 0.25em 1em 0.75em 1em;
	border: 1px solid #888888;
	border-left: none;
	border-collapse: collapse;
}

#content table thead {
	background-color: #eeffee;
	color: inherit;
}

#content table tbody tr {
	border-top: 1px solid #888888;
}

#content table td,
#content table th {
	padding: 0 0.25em;
	border-left: 1px solid #888888;
}

/*#content table td:first-child,
#content table th:first-child {
	border-left: none;
}*/

#content form table {
	border: none;
}

#content form table tr,
#content form table td,
#content form table th {
	border: none;
}



/*
 *	TOC
 */

#content .toc {
	float: right;
	max-width: 40%;
	margin: 1.0em 0.5em 0.5em 1.0em;
	padding: 0.5em 0.5em 0.5em 2.0em;
	border: 1px solid #888888;
	background-color: #fff2e5;
	color: inherit;
}

#content .toc ol {
	margin-left: 1em;
}



/*
 *	RECENT CHANGES
 */

#feedlink {
	margin-left: 1em;;
}

.recentchanges {
	width: auto;
	margin: 0 0.5em;
	border: none;
	background: inherit;
	color: inherit !important;
}

.recentchanges .metadata {
	clear: both;
	display: block;
	margin-top: 1em;
	padding: 0;
	border-top: 1px solid #000;
}

.recentchanges .pagelinks {
	float: none;
	display: block;
	width: auto;
	margin: 0 0.5em;
	overflow: auto;
}

.recentchanges .pagelinks a {
	display: block;
	white-space: nowrap;
}

.recentchanges .changelog {
	clear: both;
	padding: 0;
	background: inherit !important;
	color: inherit !important
}

.recentchanges .diff {
	display: none;
}

.recentchanges .committer {
	float: none;
	width: auto;
}

.recentchanges .changedate,
.recentchanges .committype {
	float: none;
	width: auto;
	font-size: inherit;
}



/*
 *	LOGIN/FORMS
 */

#content .fb_form {
	margin: 1em 0;
}

#content .fb_tab {
	margin: 0 1em;
}

#content .fb_label {
	clear: both;
	float: left;
	width: 10em;
/*	margin-right: 1em;*/
	text-align: right;
}

#content .fb_field {
	margin-left: 11em;
}

#content .fb_field input {
	max-width: 25em;
}

#signin_tab1 {
	margin-bottom: 1em;
}

#content .fb_set {
	padding: 0 0.5em 0.5em 0.5em;
/*	border: none !important;*/
}

#signin_openid {
	padding-top: 0.5em !important;
	border: none !important;
}

#signin_body {
	margin-bottom: 1em;
}

#signin_name_row {
	margin-bottom: 0.25em;
}

#content .fb_controls {
	margin: 1em;
}

#content .fb_submit {
	display: inline;
	float: none;
	margin: 0;
}

#comments {
	max-width: 95%;
	margin-bottom: 0.25em;
}

#_submit,
#_submit_2,
#_submit_3,
#_submit_4,
#_submit_5,
#attachment {
	margin-right: 0.25em;
}



/*
 *	FOOTER
 */

#footer {
	margin-top: 2em;
	border-top: 1px solid #000000;
}

#pageinfo {
	margin: 0 !important;
	padding: 0.5em;
	border: none;
	text-align: right;
}

#backlinks {
	float: left;
	margin: 0 !important;
	text-align: left;
}

#backlinks .balloon {
	position: absolute;
	bottom: 0.5em;
	border: 1px solid #000000;
}

#pageinfo .pagedate {
	margin: 0;
}



