/* Structural Layout */
.clear {
    clear:both;
}
body {
       margin: 0;
       padding: 0;
       border: 0;
}

#container {
	width: 760px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
}

#head {
    width: 760px;
    margin: 0;
}

#head ul {
	padding-top: 150px;
	padding-left:30px;
	padding-bottom:10px;
	margin: 0;
}

#head li {
    display: inline;
    padding-right: 10px;
}

#searchform {
    float: right;
}

#footer {
    padding: 10px 10px 10px 10px;
    margin:0;
}

#content {
    width: 740px;
    margin:0px;
    padding:10px;
}


.categories {
  float: right;
  width: 10em;/* em width variance by element*/
  margin-left: 0.5em;
  padding: 0.2em;
  border: 4px solid #333333;
  color: #d0d0d0;
  background: #404040;
}

.categories li {
    list-style: none;
}

.categories h3 {
    margin:0;
    color: #d0d0d0;
}

.categories ul{
    padding:0 0 0 1em;
}

.categories li a {
    color: #d0d0d0;
}

.paging {
    float: right;
}

/* Presentation (colours, fonts, etc.) */

/* some defaults */

h1,h2,h3,h4,h5,h6,ul,ol {
    margin: 0px;
}

/* here we go */
body {
       font-family:"Lucida Grande","Lucida Sans Unicode",verdana,sans-serif;
       font-size: 11px;
       background: #c0c0c0 url("/images/16.gif") repeat top left;
}

#head {
    background-color: #333333;
    background-image: url("/images/15.gif");
    background-repeat:no-repeat;
    background-position:0px 0px;
    text-align: left;
}

#head ul {
    font-variant: small-caps;
    list-style: none;
}

#head li {
    font-size: large;
}

#head a {
       	color: #d0d0d0;
}

#footer {
    background-color: #333333;
    color: #d0d0d0;
}

#footer a {
       	color: #d0d0d0;
}

#content {
    background: white;
}

a:link, a:active,a:hover,a:visited {
    color: #004080;
}

h1,h2,h3,h4,h5,h6 {
    font-variant:  small-caps;
    color: #405060;
    margin-top: 10px;
}

p, blockquote, cite {
    text-align:  justify;
    padding-left: 10px;
}

p.larger {
    font-size: larger;
}

.excerpt{
   font-style: italic;
   padding-left: 10px;
   padding-right: 10px;
}

.tableOfContents {
    font-variant:  small-caps;
    font-size: larger;
    list-style: none;
}

img {
         border: none;
}

img.article {
    float:right;
    margin:10px;
}

/* Comments */
.comments li {
  margin: 10px;
  padding: 5px 0 20px 0;
  list-style: none;
}

.comment_header {
    font-variant: small-caps;
    border-bottom: 1px solid black;
    margin-bottom: 5px;
}

.comment_submit {
    clear:both;
    padding-top: 20px;
}

.comments_error { 
    background-color: #ffa 
}

div.comments_error { 
  border: 1px solid #cc8; padding : 0.3em;
}

.gravatar {
    float: left;
    margin: 5px;
    height: 40px;
    width: 40px;
    border: 1px solid black;
}


/* Code Mark up */
code, ul.codeBlock li, table.equation {
      white-space:pre;
	font-family: "Andale Mono", "Courier New", monospace;
}

ul.codeBlock, table.equation {
	border: solid;
	border-width: thin;
	border-color: black;
	padding: 10px;
	margin: 20px;
}

ul.codeBlock li {
	text-align: left;
	list-style: none;
	margin-top: 0;
	margin-bottom: 0;
}

span.keyword {
	color: #404040;	
}

span.string {
	color: green;
}

span.variable {
	color: purple;
}

/* Book Lists */
table.bookList {
    table-layout: auto;
    width: 100%;
}

table.bookList td {
    font-weight: bold;
    font-style: normal;
    width: 20%;
}

table.bookList td + td {
    font-weight: normal;
    font-style: italic;
    width: 70%;
}

table.bookList td + td + td {
    width: 40px;
}

/*** Plugins ***/

/* RSS Live Search */
#livesearch {
	float:  right;
}

fieldset  {
   border: none;
}

#LSResult {
	position:  absolute;
	background-color: #404040;
	width:  250px;
	margin:  10px 0 10px 0;
}

#LSShadow {
	border:  2px solid #000000;
	padding:  5px;
}

#LSRes {

}

.LSRow {
	padding:  0 5px;
}

#LSHighlight {
	background-color:  #e0e0e0;
}

#LSHighlight a {
	color:  #404040;
}


#LSHeader {
	padding:  2px 2px 8px;
       color:white;
}

.lsDate {
	display:  block;
	color:  #555555;
}

/* rss live archive */
#rssLiveArchive { margin: 10px 0 0; }
#rssLiveArchive ul { padding: 0; list-style-type: none; }
#rssLiveArchive ul li { text-align: left; padding: 1px 8px; }
#rssLiveArchive-year { float: left; width: 100px; margin: 0; padding: 0; }
#rssLiveArchive-year li { position: relative; font-weight: bold; }
#rssLiveArchive-month { float: left; width: 100px; margin: 0; font-weight: bold; }
#rssLiveArchive-month li { position: relative; }
#rssLiveArchive-post { float: left; width: 250px; margin: 0; }
#rssLiveArchive-post li { position: relative; font-weight: bold; }
#rssLiveArchive ul li span { position: absolute; right: 8px; font-weight: normal; color: #333; }
*html #rssLiveArchive ul li span { top: -4px; }
#rssLiveArchive .selected { background: #eee; padding-top: 0; padding-bottom: 0; }