/* Main layout blocks. */

body {
	margin: 20px 0;
	text-align: center;
    /* Base color for site.  See also A HREF text color. */
	/* background: #f4a153 url(../../images/theme/bg-tile.gif) repeat-x; */
	font-family: Arial, Verdana, Helvetica, sans-serif;
	color: black;
}

#container {
	margin: 0 auto;
	width: 760px;
	text-align: left;
	background: #fff;
	border: 10px solid #fff;
}
	
#header { 
	background: #e1e7ef url(../../images/theme/hdr.jpg) no-repeat;
	width: 516px;
	height: 129px;
	margin: 0;
	text-align: center;
	float: left;
}
	
#content {
	margin-top: 30px;
}

#main { 
	float: left;
	width: 516px;
	background: #fff;
	padding: 1px;
}

#search {
	background: #f4d9bf;
	height: 129px;
	margin-left: 546px;
	padding-left: 14px;
}
	
#sidebar {
	margin-left: 546px;
        /* This width needs to be explicit or IE will be unhappy.  Don't
           ask me why we subtract an extra 4; IE seems to need it. */
        width: 210px; /* 760 - 546 - 4 */
	padding: 0px;
}

/* This is needed to clip the tags list in IE 6. */
#sidebar .tags { width: 210px; padding: 0; margin: 0; }
#sidebar .tags p { width: 100%; clip: auto; }

#footer {
	background: #f4d9bf;
	margin-top: 10px;
	height: 35px;
	text-align: center;
}


/*=========================================================================
**  Links
**=======================================================================*/

/* Hue: 211 degrees in Keynote. */
a:link { color: #0c69c0; }
a:visited { color: #c26916; }
a:hover { color: #f4841c; /* Also top of screen background gradient. */ }


/*=========================================================================
**  Utility
**=======================================================================*/

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}
	
form, div { padding: 0; margin: 0; }
p, ol, ul, pre { margin: 0 0 1em 0; padding: 0; }
li { margin-left: 2em; }
img { border: 0; }

  
/*=========================================================================
**  Header
**=======================================================================*/

#logo { padding-top: 20px; }
	
#logo a { text-decoration: none; color: black; }

#logo h1 { font-size: 36pt; }
#logo h2 { color: black; margin-top: 10px; font-size: 18px; }


/*=========================================================================
**  Search
**=======================================================================*/

#sform { padding-top: 30px; }
 
#sidebar #searchform #s {
    width: 130px;
    margin-top: 25px;
}

#sidebar #searchsubmit {
    padding: 1px;
}
	
#search-results {
}
  

/*=========================================================================
**  Post
**=======================================================================*/

.post {
    margin: 0;
    margin-bottom: 50px;
    font-family: "Times New Roman", Times, serif;
}

.post h2, .post h3 { font-family: Arial, Verdana, Helvetica, sans-serif; }

.post h2 { margin-bottom: 0px; }
.post h2 a { text-decoration: none; }
.post h2 a:link { color: black; }
.post h2 a:visited { color: black; }
.post h2 a:hover { text-decoration: underline; color: #c26916; }

.post h3 { margin-top: 1.50em; margin-bottom: 0.75em; }
	
p.meta {
	text-align: right;
	margin-right: 5px;
}

p.meta a { text-decoration: none; }
p.meta a:hover { text-decoration: underline; }
	
p.auth {
    padding: 0 0 0 12px;
    font-size: smaller;
    margin-left: 10px;
    color: #9a9a9a;
    background: url(../../images/theme/bracket.gif) no-repeat;
}
	
h4.blueblk {
    background: #f4d9bf;
    padding: 5px;
 	margin: 10px 0;
}

.postmetadata {
    display: none;
}

 /*+-------------------------------------------+
  |   			      COMMENTS						         |
  +-------------------------------------------+*/

.comment-list {
    list-style: none;
    padding-left: 0px;
}

.comment-list li, #preview {
    font-family: "Times New Roman", Times, serif;
    border: solid 1px #9a9a9a;
  	padding: 5px;
  	margin-bottom: 8px;
    clear: right;
    min-height: 60px;
}

.gravatar {
    float: right;
    padding: 0 5px;
}

 /*+-------------------------------------------+
  |   			SIDEBAR 						               |
  +-------------------------------------------+*/

#sidebar a { text-decoration: none; }
#sidebar a:hover { text-decoration: underline; }

#sidebar .sidebar-node { 
    margin: 0px;
    margin-bottom: 2em;
}

#sidebar h3 {
    font-size: 110%;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    color: black;
    margin-top: 0px;
    margin-bottom: 0.5em;
}

#sidebar h3 a {
    color: black;
    text-decoration: underline;
}

/*#sidebar p, #sidebar ul { margin: 0 0 20px 0; padding: 0; }*/

#sidebar ul {
    /*margin: 0;*/
    padding: 0;
    list-style-type: none;
}
 		
#sidebar ul li { 
    background: url(../../images/theme/bullet.gif) 0 3px no-repeat;
    margin-left: 0;
    padding-left: 17px;
}

#flickr div img {
    border: 4px solid #fff;
}
 	
#flickr div {
    width: 108px;
 	border: 2px solid #dbd1c1;
 	margin-bottom: 5px;
}

#flickr div.flickrsquare { 
    width: 82px;
    border-right: 3px solid #dbd1c1;
    float:left;
    margin-right: 5px;
    margin-right: 5px;
}

#flickr div a { border: none; }

  
 /*+-------------------------------------------+
   |   			FOOTER 						                 |
   +-------------------------------------------+*/

#footer a { text-decoration: none; }
#footer a:hover { text-decoration: underline; }
  
#footer ul {
  	margin: 0;
  	padding: 10px 0 0 0;
  	list-style: none;
}
  	
#footer ul li {
  	display: inline;
  	margin: 0;
  	padding: 0 5px 0 0;
}
  	
 /*+-------------------------------------------+
   |   			       FORMS 						           |
   +-------------------------------------------+*/
   
 input, textarea, select {
 	border: 1px solid #9a9a9a;
 	background: #fff;
}
 	
.frm-tbl td { vertical-align: top; padding: 5px; }
td#frm-btns { text-align: right; }
 	
#comment_body { height: 220px; }
#form-submit-button { background: #f4d9bf; }

#errorExplanation {
    border: 1px solid black;
    margin-top: 1em;
    margin-bottom: 1em;
}
#errorExplanation h2 {
    font-size: 120%;
    background: #f4d9bf;
    margin-bottom: 10px;
    border-bottom: 1px solid black;
    padding: 10px;
}
#errorExplanation p, #errorExplanation ul { 
    padding-left: 10px; padding-right: 10px;
}
.fieldWithErrors { border: 2px solid red; }

 /*+-------------------------------------------+
   |   		          	MISC 						         |
   +-------------------------------------------+*/
   
 .powered { border: none; }
 .powered img { margin-top: 0px; }
 .pullquote {
		width: 30%;
		float:right;
		font: 150%/1.5em Times, Helvetica, "Times New Roman", serif;
		color: #666;
		margin:10px;
		background: url(../../images/theme/q-close.gif) no-repeat 70% 100% !important;
		background /**/:url(); /* removing quote graphic in IE5+ */
		padding: 0 25px 5px 0;
}
.pullquote:first-letter {
	background: url(../../images/theme/q-open.gif) no-repeat left top !important;
	padding:5px 2px 10px 35px!important;
	padding /**/:0px; 	/* resetting padding in IE5+ */
	background /**/: url(); /* removing quote graphic in IE5+ */
}

 .light-bg { background: #f7f7f7; padding: 2px; }
   .clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
 }
 
 #errors {
   color: red;
 }

.admintools {
  float: right;
  background-color: #fff;
  font-size: smaller;
  padding: 0 2px;
  margin: 0 1px;
  color: #ccc;
  border: 1px solid #ccc;
}

.admintools:hover {
  color: #c00;
  border: 1px solid #c00;
}

a[name] { border: none; }

 /* Hides from IE-mac \*/
 * html .clearfix {height: 1%;}
 /* End hide from IE-mac */

#categories li em, #archives li em
{
  color: #98B4D1;
  font-size: smaller;
}


/* Syntax highlighting */
/* haskell source-code colors to match Emacs haskell-mode faces */

.typocode_haskell .keyglyph { color: #008; font-weight: bold; }
.typocode_haskell .layout { color: #000; font-weight: bold; }
.typocode_haskell .keyword { color: #008; font-weight: bold; }
.typocode_haskell .comment,
.typocode_haskell .comment a { color: #800; font-style: italic; }
.typocode_haskell .str,
.typocode_haskell .chr,
.typocode_haskell .num { color: #666; }
.typocode_haskell .conid { color: #080; }
.typocode_ruby .normal {}
.typocode_ruby .comment { color: #800; font-style: italic; }
.typocode_ruby .keyword { color: #008; font-weight: bold; }
.typocode_ruby .method { color: #080; }
.typocode_ruby .class { color: #080; }
.typocode_ruby .module { color: #080; }
.typocode_ruby .punct { color: #008; font-weight: bold; }
.typocode_ruby .symbol { color: #666; }
.typocode_ruby .string { color: #666; }
.typocode_ruby .char { color: #666; }
.typocode_ruby .ident { color: #000; }
.typocode_ruby .constant { color: #080; }
.typocode_ruby .regex { color: #666; }
.typocode_ruby .number { color: #666; }
.typocode_ruby .attribute { color: #000; }
.typocode_ruby .global { color: #606; }
.typocode_ruby .expr { color: #008; }
.typocode_ruby .escape { color: #008; }
.typocode_xml .normal {}
.typocode_xml .namespace { color: #B66; font-weight: bold; }
.typocode_xml .tag { color: #F88; }
.typocode_xml .comment { color: #005; font-style: italic; }
.typocode_xml .punct { color: #447; font-weight: bold; }
.typocode_xml .string { color: #944; }
.typocode_xml .number { color: #F99; }
.typocode_xml .attribute { color: #BB7; }
.typocode_yaml .normal {}
.typocode_yaml .document { font-weight: bold; color: #07F; }
.typocode_yaml .type { font-weight: bold; color: #05C; }
.typocode_yaml .key { color: #F88; }
.typocode_yaml .comment { color: #005; font-style: italic; }
.typocode_yaml .punct { color: #447; font-weight: bold; }
.typocode_yaml .string { color: #944; }
.typocode_yaml .number { color: #F99; }
.typocode_yaml .time { color: #F99; }
.typocode_yaml .date { color: #F99; }
.typocode_yaml .ref { color: #944; }
.typocode_yaml .anchor { color: #944; }

.typocode {
  background-color:#e1e7ef;
  padding: 0px;
  margin-top: 0em;
  margin-left: 1em;
  margin-bottom: 1em;
  margin-right: 0em;
}

.typocode pre {
  width: 100%; /* Explicit width helps a lot. */
  padding: 0px; /* I'd love some padding, but it makes overflow tricky. */
  margin: 0px;
  background: transparent;
  font-family: monospace;
  overflow:auto;
}


.typocode .lineno {
  text-align: right;
/*  color: #B00;*/
  font-family: monospace;
  padding-right: 1em;
}

code {
  font-size:120%;
}

 /*+-------------------------------------------+
   |   		          	TAGLIST 						         |
   +-------------------------------------------+*/

ul#taglist li {
	display: inline;
	line-height: 2em;
}

.tags .tags0  { font-size: 1.0em; }
.tags .tags1  { font-size: 1.2em; }
.tags .tags2  { font-size: 1.4em; }
.tags .tags3  { font-size: 1.6em; }
.tags .tags4  { font-size: 1.8em; }
.tags .tags5  { font-size: 2.0em; }
.tags .tags6  { font-size: 2.2em; }
.tags .tags7  { font-size: 2.4em; }
.tags .tags8  { font-size: 2.6em; }
.tags .tags9  { font-size: 2.8em; }
.tags .tags10 { font-size: 3.0em; }

