/***********************************************************************
** main.css
***********************************************************************/

/* Compat for older browsers. */
article, section { display: block; }
input, button { overflow:visible; }

/* This sets the overall frame for the site */
body {
	margin:0px;
	background-color: lightgray;
}

/* These control the fixed-width text elements of the page */
textarea, pre, code { font-size:0.9em; }
pre, code { font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace; }
pre { line-height:1.2em; }
pre code, code code, pre pre { font-size:100%; }

/* These primarily adjust the size and spacing of heading elements,
** most browsers have atrocious defaults for these. */
h1, h2, h3, h4, h5, h6 { margin-top:1.0em; margin-bottom:0.6em; }
h1, h2, h3, h6 { font-weight:normal; }
h4, h5 { font-weight:bold; }
h1 code, h2 code, h3 code, h4 code { font-size:1em; }
h1 { font-size:1.8em; }
h2 { font-size:1.44em; }
h3 { font-size:1.22em; }
h4 { font-size:1.07em; }
h5 { font-size:1.0em; }
h6 { font-size:1.0em; }

/* Handle the page's header */
header {
	background-color: purple;
	color: black;
	width: 100%;
	display: table;
}
header div {
	padding: 1px;
	display: table-cell;
	vertical-align: top;
	margin: 0 auto;
	width: 400px;
}
div#header {
	width: 800px;
	margin: 0 auto;
	display: block;
}

/* Navigation Menu */
nav {
	display: block;
	border-bottom: 1px solid black;
	padding-top: 1em;
	background-color: orange;
	color: black;
}
nav ul {
	list-style: none;
	display: inline;
	margin-left: 0em;
}
nav ul li {
	border: 1px solid black;
	border-top-right-radius: 0.5em;
	border-top-left-radius: 0.5em;
	background-color: lightgrey;
	display: inline;
	color: black;
	font-weight: bold;
	font-variant: small-caps;
	padding: 0.15em 0.5em;
}
nav ul li.selected {
	background-color: white;
}
nav ul li:hover.selected {
	background-color: white;
}
nav ul li:hover {
	background-color: aqua;
}
nav a {
	text-decoration: none;
	color: black;
}
/* The #wikilogo element is the logo from $PageLogoFmt */
/* Handle advertising sections. */
#content {
	width: 100%;
	display: table;
}
#content section {
	background-color: purple;
	color: black;
	width: 10em;
	display: table-cell;
	border: 1px solid black;
	vertical-align: center;
}
#content section h1 {
	text-align: center;
}
#content section ul {
	list-style: none;
	margin: 0;
	padding: 0.5em;
}
#content section li {
	margin-bottom: 1em;
	padding: 0.5em;
	font-size: small;
	border: 1px solid black;
	background-color: lightgray;
}
#content section ul li a.ad {
	color: black;
	text-decoration: none;
}
#content section img {
	width: 10em;
	height: 7em;
}
#content section p {
	line-height: 100%;
	margin: 0;
}
#content article {
	background-color: silver;
	color: black;
	display: table-cell;
	vertical-align: center;
	padding: 0 1em;
}

#content section#media {
	width: 100%;
	display: block;
	border: none;
	background-color: silver;
}
#content section#media img {
	display: inline;
	width: 15%;
}

/****** Layout based classes *******/
/* Group lists into table like layout */
div.group {
	display: table;
}
div.group ul {
	display: table-row;
}
div.group p {
	display: none;
}
div.group ul li p {
	display: block;
}
div.group ul li {
	vertical-align: top;
	list-style: none;
	display: table-cell;
	padding: 0 1em;
}
div.group .label {
	text-align: center;
}
div.group ul li li {
	display: list-item;
	list-style-type: disc;
}

/* These affect the main content area. */
#wikibody { 
	padding:0px 10px 10px 10px; background-color:white; 
	font-size:11pt; 
}
#wikicmds { 
	float:right; white-space:nowrap; 
	font-family:Verdana,sans-serif; font-size:80%; 
}
#wikicmds ul { list-style:none; margin:0px; padding:0px; }
#wikicmds li { display:inline; margin:0px 5px; }
#wikicmds li a { text-decoration:none; color:black; border:none; }
#wikicmds li a.createlink { display:none; }
#wikicmds li a:hover { text-decoration:underline; color:blue; }
.pagegroup { margin-top:8px; margin-bottom:2px; }
.pagetitle { line-height:1em; margin:0px; font-size:1.6em; font-weight:normal; }
.wikiaction { margin-top:4px; margin-bottom:4px; }
#wikitext {
	background-color: silver;
	color: black;
	margin-top:12px;
	line-height:1.33em;
}
#wikitext table {
	font-size:100%;
	line-height:1.33em;
} /* For MSIE 5.5 */

/* These are for the edit form. */
#wikiedit form { margin:0px; width:100%; }
#wikiedit textarea { width:100%; }
.wikimessage { margin-top:4px; margin-bottom:4px; font-style:italic; }

/* These affect the lines at the very bottom. */
#wikifoot { 
	padding-left:178px; padding-bottom:4px; border-top:1px #cccccc solid;
	font-family:Verdana,sans-serif; font-size:80%; 
}

/* These affect the printed appearance of the web view (not the separate
** print view) of pages.  The sidebar and action links aren't printed. */
@media print {
	body { width:auto; margin:0px; padding:0.5em; }
	header { display: none; }
	section { display: none; }
	#wikifoot { padding:2px; }
}