/***********************************************************************
** main.css
**  Copyright 2004-2006 Patrick R. Michaud (pmichaud@pobox.com)
**  Copyright 2006 Hagan Fox
**  This file is part of PmWiki; 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.  See pmwiki.php for full details.
***********************************************************************/

.synfunc { font-family: monospace; 	font-size: 0.9em; }
.synkeyword { font-family: monospace; 	font-size: 0.9em; }


.sourcefile {
	background-color: white;
	margin-left: 30px;
	margin-right: 35px;
	padding: 8px;
}

.sourcehead {
	margin-bottom: 1em;
	width: 100%;
	border-bottom: 1px dashed #777;
}

div.sourcefile div.sourceblock { 
   margin: 0px;
	 margin-bottom: -10px;
	 padding: 0px; 0px 0px 0px;
}

div.sourcefile div.sourceblocktext {
  padding: 0px;
	margin: 0px;
  font-family: 'Lucida Console','Andale Mono','Courier New',Courier;
}

div.sourcefile div.sourceblocktext div { 
  font-family: 'Lucida Console','Andale Mono','Courier New',Courier;
  line-height: 1.4em;
  font-size: 0.8em;
}  

div.sourcefile div.sourceblocklink {
	display: none;
}

#wikicmds li.edithide {
	display: none;
}

hr.srcrefs {
	width: 200px;
	text-align: left;
	border: 1px solid black;
	border-width: 1px 0px 0px 0px;
}

.sourcecode {
/*   background-color: #f0f0f0;
   border: #666 1px dashed; */
   padding: 1em;
   padding-left: 2em;
 }

/* Used in a syntax summary table to format a header row. */
.summaryhead {
  background-color: #dddddd;
}

/* Used in a syntax summary for section headings. */
.summarysec {
  background-color: #f0f0f0;
}

/* New entries for the gwtk style. */
a, a:visited, a:link {
	color: #000080;
	text-decoration: none;
}

.sitehead { background-color: #700000; }
.siteicon { padding-left: 12px; padding-right: 12px; }
  
#wikititle {
  margin-top: 30px;
}

.wikitrail {
  background-color: #f0f0f0; 
  font-size: 0.9em;
  display: block;
  text-align: right;
}

.wikitoc { color: #800000; font-weight: bold; 
           font-size: 9pt; text-align: center;
           border-bottom: 1px solid black; border-top: 1px solid black;}
              
.headbar { 
/*  background-color: black; */ /*#cccccc;  #32493b; */
  background-image: url( bar.gif );
	height: 15px;
	color: black;
  font-family: Arial, sans-serif; font-size:9pt;
}

/* This sets the overall frame for the site */
body {
  margin:0px; background-color:#f7f7f7; 
  font-family:Arial,Helvetica,sans-serif; font-size:11pt;
}

/* These control the fixed-width text elements of the page */
#text { font-size: 0.9em;}

textarea, pre, code { font-size: 1em; }
pre, code { font-family: 'Courier New', 'Lucida Console','Andale Mono','Courier New',Courier; }
pre { line-height:1.2em; }
pre code, code code, pre pre { font-size:0.9em; }

/* These primarily adjust the size and spacing of heading elements,
** most browsers have atrocious defaults for these. */
h1, h2, h3, h5, h6 { margin-top:1.5em; margin-bottom: 0.6em; }
h4 { margin-top: 1.5em; margin-bottom: 0em;}
h1, h2, h3 { font-weight:normal; }
h4, h6 { font-weight:bold; }
h5 { font-style: italic; }
h1 code, h2 code, h3 code, h4 code { font-size:1em; }
h1 { font-size:1.8em; }
h2 { font-size:1.6em; line-height: 1em; border-bottom: 1px solid #888; }
h3 { font-size:1.33em; }
h4 { font-size:1.22em; }
h5 { font-size:1.0em; }
h6 { font-size:0.9em; }

/* The #wikilogo element is the logo from $PageLogoFmt */
#wikilogo { padding: 0px 3px 0px 3px; }

/* This controls the rest of the heading (primarily the search box) */
#wikihead { 
/*  position:absolute; right:10px; top:10px; */
  font-family:Arial, Verdana, sans-serif; font-size:10pt;
  color: black;
  padding: 5px 5px 5px 0px;
}
#wikihead input { font-size:80%; } 


/*#wikihead a { color: white; font-size: 100%; }
#wikihead a:hover { text-decoration: underline;}
*/

.topbar {
 background-color:black; 
 padding: 2px; 
 border-bottom: 1px dashed gray;
}

.topbar input { font-size: 80% }

.searchnav {
  color: white;
  font-weight: bold; 
  font-size: 80%;
  font-family: arial,helvetica,Verdana,sans-serif; 
/*  white-space: nowrap;
  padding-bottom: 10px; */
}

.searchnav a { text-decoration:none; color:white; border:none; }
.searchnav a:hover { text-decoration:none; color:yellow; border:none; }


/* These are for the left-sidebar. */
.contents {
  text-align: left;
/*  border-bottom: 1px solid black;*/
  margin-bottom: 10px;
}

#wikileft { 
/*  background-image: url( leftbar.png ); */
  background-color: #D8D8D8;
  width:130px; 
  padding:6px; 
  line-height:1.33em;
  font-size:10pt; font-family:arial,Verdana,sans-serif;
  padding-top: 10px;
}
#wikileft .vspace { margin-top:1.125em; }
#wikileft a { text-decoration:none; color:#000080; }
#wikileft a:hover { text-decoration:underline; color:blue; }
#wikileft ul { list-style:none; padding:0px; margin:0px; }
#wikileft li { margin:0px; padding-left: 6px; }
/* The "#wikileft h1" and "#wikileft h5" settings are for
** backwards compatibility with previous releases of PmWiki.
** They are deprecated (replaced with the .sidehead class),
** and may be removed in a future release. */
#wikileft h1, #wikileft h5, .sidehead {
  margin:0px; padding:4px 2px 2px 2px;
  font-size:10pt; font-weight:bold; font-style:normal; 
}
#wikileft h1 a, #wikileft h5 a, .sidehead a 
  { color:#505050; font-weight:bold; font-style:normal; }

/* These affect the main content area. */
#wikibody { 
  padding:0px 25px 10px 40px; background-color:white;
  font-size:11pt; 
  margin-left: 50px;
}
#wikicmds { 
  float:right; white-space:nowrap; 
  font-family: sans-serif, arial, Verdana; 
  font-size:9pt; 
}
#wikicmds ul { list-style:none; margin: 5px 0px 0px 0px; padding:0px; }
#wikicmds li { display:inline; margin:0px 0px 0px 5px; }
#wikicmds li a { text-decoration:none; color:#0E6E3E; 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.9em; font-weight:normal; }
.wikiaction { margin-top:4px; margin-bottom:4px; }
#wikitext { margin-top:30px; 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: 0px;
  padding-right: 10px;
  padding-top: 20px;
  font-family:arial,Verdana,sans-serif; font-size:8.5pt;
  text-align: right;
  background-color: white;
}


/* 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; }
  #wikihead, #wikileft, #wikicmds, .footnav { display:none; }
  #wikifoot { padding:2px; }
}
