/***********************************************************************
 ** pmwiki.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.
 ***********************************************************************/

/* 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 */
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; }

/* The #wikitop positions the logo, site title, and search features at the top of ths window. */
#wikitop {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    height: 50px;
    border-bottom:1px #cccccc solid;
    background-color: #f7f7f7;
}

/* The #wikilogo element is the logo from $PageLogoFmt */
#wikilogo {
    position: absolute;
    width: 180px;
    height: 50px;
    margin-top: 10px;
    text-align: center;
}

/* This controls the format of the wiki title */
.wikititle {
    position: absolute;
    left: 180px;
    text-align:left;
    line-height:1em;
    margin:10px;
    font-size:2em;
    font-weight:normal;
}

/* This controls the rest of the heading (primarily the search box) */
#wikihead { 
    float: right;
    margin:10px;
    font-family:Verdana,sans-serif;
    font-size:85%; 
}
#wikihead input { font-size:85%; } 

/* These are for the left-sidebar.
   The overall width is the sum of width, padding, border and margin.
   For the values at the time of this comment:
      167 + 2 * 6 + 1 = 180
 */
#wikimiddle {
    position: fixed;
    top: 50px;
    left: 0px;
    right: 0px;
    height: 191px;
    background-color: #f7f7f7;
}

#wikiimage {
    display: block;
    margin: auto;
}

#wikileft {
    position: fixed;
    top: 50px;
    left: 0px;
    width: 180px;
    bottom: 30px;
    padding: 6px;
    border-right:1px #cccccc solid; 
    line-height:1.33em;
    font-size:9.4pt;
    font-family:Verdana,sans-serif;
    overflow:auto;
    background-color: #f7f7f7;
}

#wikileft .vspace { margin-top:1.125em; }
#wikileft ul { list-style:none; padding:0px; margin:0px; }
#wikileft li { margin:0px; padding-left: 6px; }
#wikileft a { text-decoration:none; color:black; }
#wikileft a:hover { text-decoration:underline; color:blue; border:none; }

.sidehead {
    margin:0px; padding:4px 2px 2px 2px;
    font-size:11pt; font-weight:bold; font-style:normal; 
}
.sidehead a 
{ color:#505050; font-weight:bold; font-style:normal; }

/* This affects the non-scrolling commands area at the top */
#wikitopcmds {
    position: fixed;
    top: 40px;
    left: 180px;
    right: 200px;
    height: 10px;
}

/* These affect the main content area. */
#wikibody {
    position: fixed;
    top: 250px;
    left: 193px;
    right: 200px;
    bottom: 30px;
    padding: 6px;
    background-color:white;
    font-size:11pt;
    overflow: auto;
}
/* These are for the right-sidebar. */
#wikiright {
    position: fixed;
    top: 50px;
    right: 0px;
    width: 187px;
    bottom: 30px;
    padding:6px;
    border-left:1px #cccccc solid; 
    line-height:1.33em;
    font-size:9.4pt;
    font-family:Verdana,sans-serif;
    overflow: auto;
    background-color: #f7f7f7;
}
#wikiright .vspace { margin-top:1.125em; }
#wikiright a { text-decoration:none; color:black; }
#wikiright a:hover { text-decoration:underline; color:blue; }
#wikiright ul { list-style:none; padding:0px; margin:0px; }
#wikiright li { margin:0px; padding-left: 6px; }

#wikicmds {
    float:right; white-space:nowrap; 
    font-family:Verdana,sans-serif; font-size:50%;
    color: white;
}
#wikicmds ul { list-style:none; margin:0px; padding:0px; }
#wikicmds li { display:inline; margin:0px 5px; }
#wikicmds li a { text-decoration:none; color:white; border:none; }
#wikicmds li .browse b { text-decoration:none; color:white; border:none; }
#wikicmds li a:hover { text-decoration:underline; color:blue; border:none; }
#wikicmds li a.createlink { display:none; }

.wikicmds { color:white; }

.pagegroup { margin-top:8px; margin-bottom:2px; }
.pagetitle { text-align:left; line-height:1em; margin:0px; font-size:1.6em; font-weight:normal; }
.wikiaction { margin-top:4px; margin-bottom:4px; }
#wikitext { margin-top:12px; line-height:1.33em; max-width: 800px;}
#wikitext table { font-size:100%; line-height:1.33em; } /* For MSIE 5.5 */

#twocolumntext {
    margin-top:12px; line-height:1.33em; max-width: 800px;
    -moz-column-count: 2;
    -moz-column-gap: 1.5em;
    -webkit-column-count: 2;
    -webkit-column-gap: 1.5em;
    column-count: 2;
    column-gap: 1.5em;
    text-align: justify;
}

#threecolumntext {
    margin-top:12px; line-height:1.33em; max-width: 800px;
    -moz-column-count: 3;
    -moz-column-gap: 1.5em;
    -webkit-column-count: 3;
    -webkit-column-gap: 1.5em;
    column-count: 3;
    column-gap: 1.5em;
    text-align: justify;
}

/* 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;
}

/* This affects the non-scrolling area at the bottom */
#wikibottom {
    position: fixed;
    bottom: 0px;
    right: 200px;
    height: 30px;
}

/* This affects the non-scrolling area at the left bottom */
#wikileftbottom {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 200px;
    height: 30px;
    font-family:Verdana,sans-serif; font-size:50%;
}

/* This affects the non-scrolling area at the right bottom */
#wikirightbottom {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 200px;
    height: 30px;
    font-family:Verdana,sans-serif; font-size:50%;
}

#wikirightbottom a { text-decoration:none; color:#eeeeee; border:none; }
#wikirightbottom a:hover { text-decoration:underline; color:blue; border:none; }
#wikirightbottom a.createlink { display:none; }

#wikileftbottom a { text-decoration:none; color:#eeeeee; border:none; }
#wikileftbottom a:hover { text-decoration:underline; color:blue; border:none; }
#wikileftbottom a.createlink { display:none; }

/* This affects the non-scrolling area at the bottom for nav buttons */
.wikibottomnav {
    position: fixed;
    bottom: 0px;
    left: 193px;
    height: 30px;
}

/* These affect the lines at the very bottom. */
#wikifoot {
    white-space: nowrap;
    padding-left:210px;
    padding-bottom:4px;
    border-top:1px #cccccc solid;
    white-space:nowrap; 
    font-family:Verdana,sans-serif;
    font-size:50%;
    color:black;
}
#wikifoot a { text-decoration:none; color:white; border:none; }
#wikifoot a:hover { text-decoration:underline; color:blue; border:none; }

#wikifootv { 
    padding-left:198px;
    padding-bottom:4px;
    border-top:1px #cccccc solid;
    font-family:Verdana,sans-serif;
    font-size:75%;
    color:black;
}
#wikifootv a { text-decoration:none; color:whiteblack; border:none; }
#wikifootv a:hover { text-decoration:underline; color:blue; border:none; }

/* 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; }
}
