/* Basics */
html { margin: 0; padding: 0; }

body {
  margin: 0;
  font-family: Trebuchet MS, Verdana, Tahoma, Helvetica, sans-serif;
  color: #555;
  background-color: #eee;
}
/*
body a:hover {
  text-decoration: underline;
}
*/

li { list-style-type: circle; margin-bottom: .5em; }
td { vertical-align: top; }  


DIV.navbar {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 15px;
  margin-bottom: 0;
  background-color: #000;
  color: white;
}
DIV.navbar a {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 2px;
  padding-right: 2px;
  font-size: 10pt;
  color: orange;
  text-decoration: none;
}
DIV.navbar a:hover {
  color: black;
  background-color: orange;
}


/* Wiki styles */
DIV.wikiheader, DIV.wikifooter {
  padding-top: 3px;
  padding-left: 20px;
  background-color: #9ab;
  color: #333;
}

DIV.wikiheader a, DIV.wikifooter a, FORM {
  margin-top: 0;
  font-size: 9px;
  text-decoration: none;
}

DIV.wikiheader h1 a {
  padding-top: 0px;
  margin-top: 0px;
  font-size: 26pt;
}

DIV.wikiheader img, DIV.navbar img {
  position: absolute; top: 3px; right: 5px;
  border: white solid 1px;
}

DIV.wikiheader a:hover, DIV.wikifooter a:hover {
  text-decoration: underline;
}

DIV.wikitext {
  font-size: 11pt;
  margin-left: 3em;  
  margin-right: 15em;  
  margin-top: 2em;  
  margin-bottom: 2em;  
}

DIV.wikitext a {
  text-decoration: underline;
}

/** Hack required because of <p> mishandling by UseModWiki **/
DIV.wikitext h1, DIV.wikitext h2, DIV.wikitext h3, DIV.wikitext h4, DIV.wikitext h5, DIV.wikitext h6 {
  margin-left: -10px;
}
/*  Would rather do this!
DIV.wikitext p {
  margin-left: 1em;
}
*/
DIV.wikifooter {
  margin-top: 20px;
}

DIV.wikimenu {
  float: right; 
  border: black 1px solid; 
  margin: 0px 0px 10px 10px; 
  padding: 10px; 
  background-color: #f0f0f0;
}

table.fancy { 
  color: #222;
  margin: 25px 0 20px 0; 
  border: 2px solid black; 
}
table.fancy a {
  color: #222;
}
table.fancy tr.even { 
  background-color: #def;
}
table.fancy th { 
  background-color: #9ab; 
  font-weight: bold; border-top: 1px black none;
  color: white;
}
table.fancy td {
  font-family: "Trebuchet MS", Tahoma, Verdana, Helvetica, sans-serif;
  font-size: smaller;
}
table.fancy td.date { text-align: center; }


DIV#editinfo {
  font-size: smaller;
  margin-top: 1em;
}

DIV.wikipreview {
}
DIV.wikirc {
}
DIV.wikipref {
}
HR.wikilineheader {
  display: none;
}
HR.wikilinefooter {
  display: none;
}
HR.wikiline {
}
HR.wikilinepref {
}
A.wikipagelink {
}
A.wikipageedit {
  font-weight: bold;
}
TABLE.wikidiffold {
}
TABLE.wikidiffnew {
}



/* Weblog styles */
ul { margin-top: 1px; }
li { list-style-type: square;
     margin-top: 1px; margin-bottom: 1px }

a { text-decoration: none; color: #333; }
a:hover { text-decoration: underline; }

/* This rule seems like a hack - should find a better way */
#link_buttons a:hover { background-color: Transparent; }

h1 { color: gray; }

/* Top of page */
#masthead { font-weight: bold;
           background-color: orange;
           padding-left: 6px;
           padding-bottom: 2px;
           border-bottom: gray 1px solid; 
}
#masthead h1 { color: #333; text-align: left; font-size: 42px; margin: 0 ; }

#breadcrumb { font-size: 16px;
           font-weight: bold;
           background-color: #9ab;
           color: white;
           padding-left: 6px;
           padding-top: 3px;
           padding-bottom: 1px;
           border-bottom: gray 1px solid; 
}


/* Main weblog (and subsection) formatting */
#weblog { padding-top: 10px; }

#weblog h1 a { color: #333;}
#weblog h1 {  }




/* Category box */
#categories { font-weight: bold; font-size: 12px; color: gray; margin-left: 7px; margin-bottom: 2em;}

#categories h1 { margin-left: -8px; margin-bottom: -4px; }




/* Entry elements */
#entries { margin-left: 10px; margin-right: 10px; }

.entry {border: 1px solid gray; margin-bottom: 1em; }

.entry { background-color: #fff; }

span.category { background-color: orange; 
	            padding-left: 5px; padding-right: 5px;  
	            border-right: 1px solid gray; }

span.entry_title a { text-decoration: none; padding-left: 2px; }

.entry_header { border-bottom: 1px solid gray; background-color: #9ab;}

.entry_header h1 { font-size: 16px; margin: 0px;}

.entry_text { font-family: georgia; color: #555; font-size: 14px; margin: 10px; line-height: 165%; }

.entry_text a { text-decoration: underline; color: #444; }

p.date, p.permalink { font-size: 10px; text-align:right; margin: 10px; }




/* Sidebars */
.sidebar_box { border: 1px solid gray; margin-bottom: 1em; background-color: #f4f4f4;}

.sidebar_title { background-color: #9ab; margin-left: 0px; padding-left: 3px; border-bottom: 1px solid gray; }

.sidebar_title h1 { color: #333; margin: 0px; font-size: 16px; }

.sidebar_text { font-size: 11px; padding-left: 0px; margin: 5px; }

.sidebar_text td { font-size: 11px; }

.even, .odd { margin: 0px; padding: 3px; }
.even { background-color: #dfdfdf; }


/* ---- Other stuff ---- */

/* Banner buttons */
#link_buttons { text-align: left; margin-top: 25px; margin-bottom: 10px; }
#link_buttons a { display: block; margin-bottom: 10px; }


/* Contact msg at bottom of page */
#contact { font-size: 10px; text-align: center; margin-bottom: 2em; }
#contact img { border: solid black 1px; }

#portrait { border: solid black 1px; }

/* Misc */
pre { font-size: 12px;
      border: #444 1px solid;
      background-color: #aaa;
      color: white;
      padding: .5em;
      margin-left: 1em;
      width: 80%;
      line-height: 110%;
      display: table;
}



/* Custom */
P.copyright {
  text-align: center;
  margin-top: 3em;
  font-size: smaller;
}
P.quote, div.quote { font-style: italic;
          padding: 15px;
          border: 1px dashed gray;
          margin: 0 20px; font-size: 80%; }
#sitemeter { 
  text-align: center;
}
.centered { margin: 20px 0 20px 0; text-align: center; }

div.photo {
        text-align: center;
        margin-top: 3em;
        margin-left: 3em;
        margin-right: 3em;
}
div.photo img {
	background-color: #fff;
	border: 1px solid #666;
	margin: -4px 4px 4px -4px;
	padding: 4px;
	position: relative;
	vertical-align: bottom;
}
div.photo p { font-family: helvetica, sans-serif;
              font-size: 11px;
              line-height: 125%;
              margin-bottom: 3em;
              color: #444;
}

p.pullquote { float: right;
                width: 200px;
                border: 1px solid gray;
                font-family: helvetica, sans-serif;
                font-size: 20px;
                font-style: italic;
                line-height: 150%;
                text-align: right;
                margin: 5px;
                padding: 8px;
                color: orange;
                background-color: white;
}

/*
div.photo { text-align: center;
            margin-top: 3em;
            margin-left: 3em;
            margin-right: 3em;
} 
div.photo img { margin-left: .5em; margin-right: .5em;  
                margin-top: 1em; 
                border: 1px solid #000;
}
div.photo p { font-family: helvetica, sans-serif;
              font-size: 11px;
              line-height: 125%;
              margin-bottom: 3em;
              color: #444; }
*/

#sitemeter { text-align: center; margin-top: 2em; }

