/* =ORDER
 1. display
 2. float and position
 3. width and height
 4. Specific element properties
 5. margin
 6. border
 7. padding
 8. background
 9. color
10. font related properties
----------------------------------------------- */

/* =MAIN
----------------------------------------------- */
body, td, input, select, textarea, a {
  font: 14px/1.5em "Helvetica Neue", arial, helvetica, verdana, sans-serif;
  color: #333;
}
html, body, form, fieldset, h1, h2, h3, h4, h5, h6, 
p, pre, blockquote, ul, ol, dl, address {
  margin: 0;
  padding: 0;
}
li, dd, blockquote {
  margin-left: 1em;
}
form label {
  cursor: pointer;
}
fieldset {
  border: none;
}
img, table {
  border-width: 0;
}
hr {
  display: none;
}
form {
  display: inline;
}
h1 {
	font-size: 2em;
	line-height: 1em;
	margin-top: 0.25em;
	margin-bottom: 0.9em;
}
h2 {
	font-size: 1.5em;
	line-height: 1.125em;
}
h3 {
	font-size: 1.25em;
	line-height: 1.125em;
	margin-bottom: 1.125em;
}
h4 {
	font-size: 1.333em;
	line-height: 1.2857em;
	margin-bottom: 1.2857em;
}
p, ul, dl, ol, blockquote, pre, td, th {
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 1.5em;
}
p.small {
	font-size: 0.8333em;
	line-height: 1.8em;
	margin-bottom: 1.8em;
}
table {
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

/* =COLORS
----------------------------------------------- */
body {
  color: #444;
}
a {
  font-size: 100%;
}
a:link {
  color: #40769e;
}
a:visited {
  color: #5990b9;
}
a:hover {
  color: #333;
}
h1, h2, h3, h4, h5 {
  color: #4f4f50;
}
h1 span {
  color: #888;
}
h3 {
  margin-bottom: .25em;
}
h4 {
  margin-bottom: .25em;
}

/* =CLEAR FLOATS
----------------------------------------------- */
/* clear float */
.clr:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
.clr {display: inline-block;}
/* Hides from IE-mac \*/
* html .clr {height: 1%;}
.clr {display: block;}
/* End hide from IE-mac */


/* =COMMON
----------------------------------------------- */
.vtop {
  vertical-align: top;
}
.vmid {
  vertical-align: middle;
}
.vbot {
  vertical-align: bottom;
}
.left {
  float: left;
}
.right {
  float: right;
  text-align: right;
}

/* =LAYOUT
----------------------------------------------- */
body {
  background: #434343 url("../images/body_bg.gif") repeat-x;
}
#wrapper {
  width: 904px;
  margin: 9px auto;
  background-color: #fff;
  border: 1px solid #444;
}
#content {
  float: left;
  width: 612px;
  margin: 0 0 0 0;
  padding: 4px 16px;
}
#sidebar {
  float: left; 
  width: 248px;
  padding: 5px 12px 5px 0;
}

/* =HEADER
----------------------------------------------- */
#header {
  background: #fff;
  background: #fff url("../images/header_fade.gif") 4px 0 repeat-x;
  border: 4px solid #fff;
}
#logo {
  float: right;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #80a781;
}
#logo span, #logo a {
  display: block;
  width: 256px;
  height: 178px;
  background: url("../images/logo_hi.gif") 0 0 no-repeat;
}
#logo img {
  display: block;
  width: 0;
}

/* =NAV
----------------------------------------------- */
#nav {
  width: 550px;
  margin: 24px 0 24px 12px;
}
#nav ul {
  width: 528px;
  margin: 0;
  border: 4px solid #fff;
  background-color: #ddecf6;
  padding: 0 8px;
  list-style: none;
}
#nav li {
  float: left;
  padding: 0 4px;
  margin: 0;
  font-weight: bold;
}
#nav li a {
  z-index: 99;
  float: left;
  padding: 10px 8px 10px 8px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1.2px;
}
#nav li.sel a {
  z-index: 2;
  position: relative;
  color: #333;
}
#tape {
  z-index: 1;
  position: relative;
  width: 68px;
  height: 70px;
  background: transparent url("../images/tape.png") 0 0; 
}
#body_home #tape {
  margin: -60px 0px -10px 12px;  
}
#body_blog #tape {
  margin: -60px 0px -10px 76px;
}
#body_about #tape {
  margin: -60px 0px -10px 143px;
}

/* =SNIPPET
----------------------------------------------- */
#snippet {
  width: 636px;
  border-top: 1px solid #80a781;
  border-right: 4px solid #fff;
  padding-bottom: 6px;
  background: #fff url("../images/snippet_hr.gif") 12px bottom no-repeat;  
}
#snippet_inner {
  padding: 12px 12px 12px 66px;
}
#snippet_inner p {
  margin-top: 5px;
  font-style: italic;
  color: #666;
  font-size: 90%;
}
#snippet_inner p a {
  font-style: italic;
}
#snippet .home {
  background: #fff url("../images/icons/home.gif") 12px 18px no-repeat;
}
#snippet .about {
  background: #fff url("../images/icons/about.gif") 12px 18px no-repeat;
}
#snippet .blog {
  background: #fff url("../images/icons/blog.gif") 12px 18px no-repeat;
}
#snippet .work {
  background: #fff url("../images/icons/work.gif") 12px 18px no-repeat;
}
#snippet h3 {
  margin: 10px 0 0 0;
  font-size: 100%;
}
#snippet p {
  margin-bottom: 4px;
} 


/* =FOOTER
----------------------------------------------- */
#footer {
  background: #fff url("../images/sidebar_fade.gif") right 0 repeat-y;
  font-size: 90%;
  padding-right: 260px;
  border-bottom: 4px solid #fff;
}
#footer_inner {
  border: 1px solid blue;
  background-color: #eee;
  border: 4px solid #fff;
  border-bottom-width: 0;
  padding: 4px 12px;
}

/* =CONTENT
----------------------------------------------- */
#main_body {
  background: #fff url("../images/sidebar_fade.gif") right 0 repeat-y;
}


/* =SIDEBAR
----------------------------------------------- */
#sidebar h3 {
  float: left;
  margin-top: 2px;
  padding: 2px 2px 2px 8px;
  background: #fff url("../images/sidebar_head_fade.gif") 0 0 repeat-y;
  font-size: 86%;
  letter-spacing: .4px;
  color: #80a781;
}
#sidebar .side_item {
  clear: both;
  margin-bottom: 12px;
}

#sidebar .figure {
  float: left;
  width: 39px;
  margin: 4px 6px 4px 0;
  border: 3px solid #d7d7d7;
}
#sidebar .figure img {
  border: 1px solid #fff;
}
#sidebar .body {
  padding: 3px 0 2px 8px;
}

/* search */
#sidebar .search #s {
  width: 150px;
  margin-left: 8px;
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
#sidebar .search label {
  margin-left: 8px;
}
#sidebar strong {
  display: block;
  margin: 0px 0 0 0;
  padding: 4px 0 0 0;
}

#sidebar strong a {
  text-decoration: none;
  font-weight: bold;
  line-height: 1.2em;
  color: #333;
  background-color: #fff;
}
#sidebar strong a:hover {
  color: #1e72c1;
}
#sidebar p {
  font-size: 90%;
  margin-bottom: 4px;
}
#sidebar ul {
  margin-left: 8px;
}
#sidebar .follow {
  list-style-type: none;
  margin-bottom: 7px;
  font-size: 90%;
}
#sidebar .follow li {
  margin: 0;
  padding: 2px 0;
}
#sidebar .recent_articles {
  list-style-type: none;
  margin-bottom: 7px;
  font-size: 90%;
}
#sidebar .recent_articles li {
  margin: 0;
  padding: 2px 0;
}
#sidebar .recent_articles li a {
  font-weight: bold;
}
#sidebar .recent_articles .published {
  color: #666;
}


/* =HOME
----------------------------------------------- */
#content .group {
  margin: 16px 0 24px 0;
}
/* headers */
#content .group h2 {
  border-bottom: 1px solid #e9e9e9;
  font-size: 125%;
  margin: 16px 0 0 1px;
  padding: 0 0 6px 0 ;
  color: #333;
}
#content .group h2 img {
  margin-top: 4px;
}
#content .group_body {
  background: #fff url("../images/front_bar.gif") left 0 repeat-y;
}
#content .group .delicious {
  color: #999;
}
#content .group .flick {
  color: #0063c8;
}
#content .group .r {
  color: #ff0084;
}
#content .group .more {
  margin-top: 1.5em;
}

/* date */
#content .group .front_meta {
  float: left;
  width: 78px;
  padding: 0 8px 0 6px;
  margin: 5px 0;
  border-top: 1px solid #f7f7f7;
}
#content .group .front_meta h4 {
  font-weight: normal;
  font-size: 90%;
  text-align: right;
  margin-bottom: 0;
  color: #999;
}

/* content */
#content .group .front_body {
  margin-left: 102px;
  margin-bottom: 6px;
}
#content .group .front_body h3 {
  font-size: 110%;
  margin: 2px 0;
  padding: 0;
}
#content .group .front_body p {
  font-size: 95%;
}
#content .group .front_body h3 a {
  font-weight: bold;
  text-decoration: none;
}
#content .more {
  margin-left: 102px;
}

/* flickr photos */
#content #recent_flickr .figure {
  float: left;
  border: 3px solid #d7d7d7;
  margin-top: 6px;
}
#content #recent_flickr .figure img {
  border: 1px solid #fff;
}
#content #recent_flickr .front_body {
  margin-bottom: 1.5em;
}

#content #recent_flickr h3 {
  float: left;
  width: 415px;
  margin: 2px 0 4px 8px;
}
#content #recent_flickr h4 {
  margin: 0;
  color: #999;
  font-size: 90%;
}
#content #recent_flickr .tags {
  float: left;
  margin: 0 0 0 8px;
}
#content #recent_flickr .tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 90%;
  line-height: 1em;
}
#content #recent_flickr .tags li {
  margin: 0;
  font-size: 95%;
}
#content #recent_flickr .tags li a:link, 
#content #recent_flickr .tags li a:visited {
  color: #666;
}


/* =POSTS
----------------------------------------------- */
#posts {
  font-size: 97%;
}
#posts h2 {
  font-size: 170%;
  margin: .8em 0 1.125em 0;
  padding-bottom: 2px;
  border-bottom: 2px solid #eee;
}
#posts h2 a {
  line-height: 1.125em;
  text-decoration: none;
  font-weight: bold;
  color: #333;
}
#posts .comments a {
  display: block;
  width: 24px;
  height: 22px;
  margin: 0 0 0 10px;
  padding: 4px 0 0 0;
  background: url("../images/comment_bubble.gif") 0 2px no-repeat;
  font-size: 45%;
  color: #fff;
  text-align: center;
  text-decoration: underline;
  border-bottom: 0;
}
#posts .date {
  position: relative;
  width: 57px;
  margin: 0 0 -52px -70px;
  border: 4px solid #fff;
  padding: 2px 0;
  background-color: #eee;
  text-align: center;
}
#posts .date .month, 
#posts .date .year {
  display: block;
  line-height: 1.3em;
}
#posts .date .year {
  font-size: 90%;
  font-weight: normal;
}
#posts .meta {
  font-size: 0.9em;
  line-height: 1em;
  color: #aaa;
  padding-bottom: .25em;
}

#posts h3 {
  font-size: 130%;
	margin: 1.5em 0 .5em 0;
	padding-bottom: .25em;
}
#posts .author,
#posts .date {
  font-weight: bold;
}
#posts li ul {
  list-style: disc;
}
#posts li ul li {
  margin-left: 15px;
}
#posts ol li {
  margin-left: 30px;
}

/* =SINGLE
----------------------------------------------- */
p.post_metadata {
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px;
  background-color: #f6f6f6;
  font-size: 90%;
  color: #666;
}
#respond h2 {
  font-size: 140%;
}
#respond label span {
  color: #666;
  font-style: italic;
}

/* =COMMENTS
----------------------------------------------- */
h2#comments {
  margin-top: 40px;
}
h2#comments, 
h2#post_comment {
  margin-bottom: 0;
  border-bottom: 0;
  padding-left: 5px;
  padding-bottom: 8px;
  font-size: 120%;
}
#comment_list, 
#comment_form {
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  background-color: #f6f6f6;
}
#comment_list {
  list-style: none;
  padding: 2px 5px;
}
#comment_list p {
  margin-bottom: .75em;
}
#comment_list li {
  margin: 0;
  padding: 5px 5px;
  border: 1px solid #f6f6f6;
}
#comment_list .admin {
  background-color: #fff;
  border: 1px dotted #5990b9;
}
#comment_list h4 {
  font-size: 110%;
  margin-bottom: 0;
}
#comment_list h4 a {
  font-weight: bold;
}
#comment_list h4 .author {
  color: #1e72c1;
}
#comment_list h4 .date {
  color: #999;
  padding-left: 4px;
  font-size: 90%;
}
#comment_list .comment_text {
  font-size: 95%;
}
#comment_list blockquote {
  font-style: italic;
  color: #999;
  padding-left: 5px;
}
#comment_list .edit {
  font-size: 90%;
}
#comment_list .edit a {
  margin-left: 3px;
  font-weight: normal;
}

#comment_form {
  display: block;
  padding: 10px 10px;
}
#comment_form .text {
  width: 300px;
}
#comment_form textarea {
  width: 500px;
}
#comment_form p label {
  float: left;
  width: 50px;
}
#comment_form p label.req {
  font-weight: bold;
}
#comment_form p.comment_box label {
  float: none;
  width: auto;
}

/* =ARCHIVES
----------------------------------------------- */
#archives_header {
  margin-top: 45px;
  padding-bottom: 5px;
  border-bottom: 2px solid #f1f0ec; 
}
#archives .archives_left, 
#archives .archives_right  {
  width: 283px;
  float: left;
}
#archives ul {
  list-style-type: none;
}
#archives li {
  margin: 0;
  padding: 0 0 6px 0;
  line-height: 1.3em;
}
#archives li a {
  font-size: 110%;
  line-height: 1.3em;
}
#archives .num {
  font-size: 110%;
  color: #666;
}
#archives .archive_meta {
  font-size: 85%;
  padding-left: 25px;
  color: #333;
}

/* =SEARCH
----------------------------------------------- */
#content.search h1 {
  margin-bottom: .75em;
}
#content.search form {
  display: block;
  float: none;
}
#content.search input.text {
  width: 380px;
  vertical-align: middle;
  border:1px solid #B6B6B6;
  padding: 2px;
}


/* =SYNTAX
----------------------------------------------- */
code {
  background-color: #f6f6f6;
  font-family: "Courier New", Courier, monospace;
}
table pre {
  overflow: visible;
  padding: 0;
} 
table pre.programlisting {
  border: 0;
}

div.wp_syntax div, 
div.wp_syntax td {
  padding: 0;
}
div.wp_syntax {
  border: 0;
}
.wp_syntax pre {
  padding: 5px 10px;
  border: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  background-color: #f6f6f6;
  overflow: auto;
}
