/*  
Theme Name: Thaumaturgy
Theme URI: http://wordpress.org/
Description: Thaumaturgical processes underpin all logic!  Bush 2008!
Version: 1.0
Author: Ken-ichi
Author URI: http://pageofguh.org/

*/


/************** STRUCTURE **************/

body {
	margin: 0;
	padding: 0;
}

#page {
	/* width: 800px; */
	width: 80%;
	min-width: 900px;
	margin: 20px auto;
	padding: 30px 0px 30px 0px;
}

#header {
	/* width: 740px; */
	height: 98px;
	margin: 0px 30px 20px 30px;
	padding-top: 18px;
}

#header h1 {
	margin: 0;
	padding: 0;
}

#header ul {
	margin-top: 5px;
}
#header ul li {
	display: inline;
	margin-right: 40px;
}

#header ul li a {
	padding-bottom: 18px;
}

#main {
	width: 500px;
	margin: 0 30px;
	/* float: left; */
}


#main.single {
	width: 600px;
	float: none;
	margin: 0 auto;
}

#main.wide {
	width: auto;
	float: none;
	margin: 0 30px;
}

.post h1, h2{
	margin: 0px 0px 10px 0px;
	padding: 0;
}

.left, .img_left {
	float: left;
	margin: 0px 15px 10px 0px;
}

.right, .img_right {
	float: right;
	clear: right;
	margin-left: 10px;
	margin-bottom: 1em;
}

center.clear {
	clear: both;
	text-align: center;
}
/* this amazing little clearing technique comes from http://www.csscreator.com/attributes/containedfloat.php */
center.clear:after {
 	content: ".";
 	display: block;
 	height: 0;
 	overflow: hidden;
 	clear: both;
 	visibility: hidden;
}

#search {
	white-space: nowrap;
}
#search_field {
	float: left;
	width: 60%;
	margin-right: 10px;
	padding: 3px;
	border: 1px solid #d3db9b;
	vertical-align: middle;
}
#search_submit {
	background-color: #d3db9b;
	border: none;
	height: 24px;
	padding: 3px;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 8pt;
}

#side {
	width: 250px;
	margin: 0px 30px 30px 30px;
	padding: 20px;
	float: right;
}
/* this amazing little clearing technique comes from http://www.csscreator.com/attributes/containedfloat.php */
#side:after {
 	content: ".";
 	display: block;
 	height: 0;
 	overflow: hidden;
 	clear: both;
 	visibility: hidden;
}

.wide #side {
	margin: 0 30px;
	padding: 20px 0 0 20px;
}

.wide #side:after {
 	content: "."; 	
 	display: block; 	
 	height: 0; 	
 	overflow: hidden; 	
 	clear: both; 	
 	visibility: hidden;
}

.wide #side .category {
	width: 30.5%;
	float: left;
	clear: both;
	margin: 0 20px 20px 0;
}

#side .post {
	margin-bottom: 1em;
}

#side .post:after {
 	content: "."; 	
 	display: block; 	
 	height: 0; 	
 	overflow: hidden; 	
 	clear: both; 	
 	visibility: hidden;
}

#side .category {
	margin-bottom: 2em;
}


#side .category h2 a, .cattitle {
	padding-left: 32px;
}

/*
#side .category ul {
	list-style: none;
	padding: 0;
	margin-left: 0;
}

#side .category li {
	position: relative;	
	margin: 0 0 0.5em 1em;	
	padding-left: 3em;
}

#side .category li .date {
	display: block;
	width: 3em;
	position: absolute;
	left: 0;
}
*/

#side .post h3 {
	margin-bottom: 0.2em;
}

#side blockquote {
	padding: 10px;
	margin: 10px;
}
#footer {
	margin: 30px 30px 0px 30px;
	clear: both;
	padding: 20px;
}

blockquote {
	padding: 20px;
	min-height: 35px;}

#search_results .post {
	margin: 0px 0px 20px 100px;
}
#search_results .post .date {
	margin-left: -100px;
	text-align: left;
	float: left;
	width: 100px;
}
#search_results_header, #archive_header {
	padding: 10px 10px 5px 10px;
	text-align: center;
	margin-bottom: 1em;
}

#search_results_header form {
	margin: 0% 30%;
}

#archive ul {
	list-style: none;

	padding: 0;
	margin-bottom: 20px;
}

#archive li {
	padding-left: 100px;
}

#archive .date {
	width: 100px;
	float: left;
	margin-left: -100px;
}

#archive li.day {
	position: relative;
	padding-left: -50px;
	margin-bottom: 5px;
}
 /* this amazing little clearing technique comes from http://www.csscreator.com/attributes/containedfloat.php */
#archive li.day:after {
 	content: ".";
 	display: block;
 	height: 0;
 	overflow: hidden;
 	clear: both;
 	visibility: hidden;
}
#archive li.day .date {
	width: 40px;
	/* margin-left: -50px;*/
	position: absolute;
	left: 100px;
}

#archive li.day li.entry {
	margin: 0;
	padding: 0;
	clear: left;
}

#comments {
	margin-top: 30px;
	padding: 20px;
  width: auto;
}

#main.single #comments {
  clear: both;
}

#side #comments {
	clear: both;
	padding: 10px;
	margin: 0;
}



/************** COLOR & TYPOGRAPHY **************/
#page {
	background-color: #eeebd0;
	font-family: Trebuchet MS, Verdana, Helvetica, Arial, sans-serif;
}

#header img {
	border: none;
}
#header, #footer {
	background-color: #d3db9b;
	text-align: center;
}

#header ul li {
	font-size: 10pt;
	letter-spacing: 0.3em;
}

#header ul li a, #side .category h2 a, .cattitle {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	color: #666;
}

#header ul li a:hover, #header ul li a.active, #side .category h2 a:hover, .cattitle:hover {
	color: #333;
	text-decoration: none;
}

#side, #comments, #search_results_header, #archive_header {
	background-color: #e0e6ba;
	font-size: 8pt;
	line-height: 130%;
}

#main {
	font-size: 9pt;
	line-height: 160%;
	word-spacing: 0.2em;
}

#main img, #side img, #main .figure, #side .figure {
	border: 1px solid #e0e6ba;
	background-color: whitesmoke;
	padding: 5px;
}

#main .figure {
    padding: 1em;
}

#side img {
	padding: 2px;
}

#side .figure {
    padding: 0.5em;
}

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

h1, h2, h3 {
	font-family: Futura, Helvetica, Arial, Verdana, sans-serif;
	line-height: 120%;	
	letter-spacing: .3em;
	font-weight: normal;
}

h1 a, h2, h2 a, h3 a, h4 a {
	color: black;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	text-decoration: none;
}

blockquote {
	font-family: Georgia, Times, serif;
	font-style: oblique;}
blockquote:before {
	content: open-quote;
	font-size: larger;
	display: block;
	margin-left: -0.75em;
	height: 0;
}
blockquote:after {
	content: close-quote;
	font-size: larger;
}
blockquote em, blockquote i {
	font-style: normal;
}

.post h2 {
	font-size: 18pt;
}

.post h3 {
	font-size: 14pt;
	border-bottom: 1px solid #e0e6ba;
}

.post h4 {
	font-size: 10pt;
	font-weight: bold;
}

.post h3, .post h4 {
    margin-bottom: 0.05em;
}

.post .date {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 8pt;
	color: #666;
	letter-spacing: .1em;
}

.single .post .date {
	display: block;
	text-align: center;
	font-size: 8pt;
	margin-bottom: 1em;
}

.single .post .date h2 {
	display: inline;
	font-size: 12pt;
}
.single .post #previous {
	float: left;
	font-size: 20pt;
	margin-left: -1em;
}
.single .post #next {
	float: right;
	font-size: 20pt;
	margin-right: -1em;
}

#side .post h3 {
	margin-top: 0;
	font-size: 12pt;
	letter-spacing: 0.1em;
}

#side .date {
	font-size: 7pt;
}
/*
#side .category ul {
	font-family: Helvetica, Arial, Verdana, sans-serif;

	letter-spacing: .3em;
}

#side .category li {
	letter-spacing: .1;
}

#side .category li a {
	font-size: 8pt;
	line-height: 100%;
}
#side .category li a.archive {
	font-size: larger;
	letter-spacing: 0.3em;
}
*/
#footer {
	font-size: 8pt;
}

.comment {
	margin-left: 20px;
	font-size: 10pt;
}
.comment .author {
	margin-left: -20px;
	font-size: 12pt;
	font-style: oblique;
	text-transform: capitalize;
}
#comments table {
	margin: auto;
}

#comments label {
	display: block;
	text-align: right;
	margin-right: 1em;
}
#comments table tr td {
	padding-bottom: 0.5em;
}
#comments table tr td.input {
	font-size: 8pt;
	color: #666;
	font-style: oblique;
}

#comments input, #comments textarea {
	padding: 3px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-style: normal;
	font-size: 10pt;
}

#comments form {
	margin-top: 4em;
}

#archive li.year, #archive li.month {
	font-family: Futura, Helvetica, Arial, Verdana, sans-serif;
	letter-spacing: 0.2em;
}
#archive li.day {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	letter-spacing: 0;
	line-height: 120%;
	margin-bottom: 1.5em;
}

#archive li.day .time {
	font-size: smaller;
	color: #666;
}

/* pre - mostly for <code> tags with the Geshi sytax hilighting plugin */
pre {
	overflow: auto;
	padding: 5px 10px 5px 10px;
	background-color: white;
	border: 1px solid #cccccc;	
	color: black;
	word-spacing: normal;
}

/************** IMAGES (move to header.php in WP) **************/

/* Header category links */

/* See header.php */


/************** DEL.ICIO.US STYLES **************/
#side .delicious-posts img {
  border: none;
  padding: 0;
  float: left;
  margin-right: 5px;
  vertical-align: middle;
}
#side .delicious-posts ul {
  margin: 0;
  padding: 0;
}
#side .delicious-posts li {
  margin: 0 0 1em 0;
  padding: 0;
}

#flickr_badge_wrapper {
  text-align: center;
  line-height: 120%;
}
h2 #flickr_www strong {
	font-family: Arial, Verdana, sans-serif;
}
#side .flickr_badge_image {
  display: inline;
  margin: 5px;
}

