html { 
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #F2F2F3;
  color: #4E4E4E;
  font: 0.65em arial, helvetica, serif;
  background: transparent url(img/header.jpg) no-repeat left top;
  width: 100%;
}

a {
  color: #279ac4;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  text-decoration: underline;
}

a img {
  border: none;
}

.spacer{
  clear:both;
  visibility:hidden;
}

pre {
  white-space: pre;
  white-space: -moz-pre-wrap;
  white-space: -hp-pre-wrap;
  white-space: -o-pre-wrap;
  white-space: -pre-wrap;
  white-space: pre-wrap;
  white-space: pre-line;
  word-wrap: break-word;
}

sup {
  font-size:80%;
  line-height:50%;
}

.left {
  float: left;
}

.right {
  float: right;
}

.fleft {
  float: left;
  margin: 0 10px 10px 0;
}

.fright {
  float: right;
  margin: 0 0 10px 10px;
}

#page {
  width: 1060px;
  margin: 0 auto;
  font-size: 1.2em;
}

#top {
  height: 180px;
  padding: 0;
  position: relative;
}

#top h1 {
  position: absolute;
  text-align: left;
  font-size: 3em;
  left: 100px;
}

#top h1 a {
  color: #FFFFFF;
  text-decoration: none;
}

#prelude {
  position: absolute;
  top: 7px;
  right: 7px;
  margin: 0;
  padding: 0;
  color: transparent;
}

#prelude a {
  color: transparent;
}

#prelude a:focus, #prelude a:hover {
  text-decoration: none;
  color: #279ac4;
}

#wrapper {
  overflow: hidden;
  margin: 0 auto 0 auto;
  padding: 20px 0;
}

#main {
  width: 790px;
  float: left;
}

#content {
  padding: 0 25px;
}

#sidebar {
  width: 250px;
  float: right;
}

#blognav, #blogextra {
  padding: 1px 25px;
}

#footer {
  clear: both;
}

#footer p {
  margin: 0 auto;
  padding: 5px 0 20px 0;
  color: #4E4E4E;
  text-align: center;
  font-size: 1.2em;
}

#footer p a {
  color: #0099DD;
}

#sidebar h2 {
  margin: 0;
  color: #0099DD;
  border-bottom: 3px solid #0099DD;
  text-align: right;
}

#sidebar h3 {
  margin: 1em 0 0.5em;
  color: #4E4E4E;
}

#sidebar div div {
  margin-bottom: 2em;
}

#sidebar div div div {
  margin-bottom: 0;
}

#sidebar ul {
  margin: 1em 0;
  padding: 0;
  list-style: circle url(img/circle.png); 
}

#sidebar li {
  display: block;
  margin: 0;
  padding: 4px 0;
}

#sidebar li a {
  color: #6B6B6B;
}

#sidebar ul ul {
  margin: 0;
  padding: 0 0 0 15px;
  border: none;
}

#sidebar li li {
  display: list-item;
  margin: 0.5em 0 0 0;
  padding: 0;
  border: none;
}

#search { 
  position: absolute;
  top: 120px;
  margin-left: -10px;
}

#search p { 
  margin: 0;
  padding: 0;
}

#q {
  position: absolute;
  background: transparent url(img/icons.png) no-repeat 0 -67px;
  border: none;
  width: 201px;
  height: 21px;
  padding: 0 10px;
  margin: 0;
}

#search input.submit { 
  display: none;
}

#search fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

#search-suggest {
  width: 191px;
  z-index: 100;
  border-left: 2px solid #0099DD;
  border-right: 2px solid #0099DD;
  border-bottom: 2px solid #0099DD;
  background-color: #FFFFFF;
}

#search-suggest ul {
  width: 100%;
  margin: 0;
  padding: 0;  
}

#search-suggest li {
  padding: 0;
  margin: 0;
}

#search-suggest li a {
  display: block;
  padding: 4px 5px;
  text-decoration: none;
}

#search-suggest li.suggest-select a {
  color: #FFFFFF;
  background-color: #0099DD;
}

#topnav ul {
  padding: 4px 0;
}

#topnav li {
  display: inline;
  border-bottom: none;
}

#sidebar .syndicate ul {
  border-top: none;
}

#sidebar .syndicate li {
  border-bottom: none;
}

#sidebar .categories ul {
  margin: 0;
  list-style: circle url(img/circle.png); 
  padding: 0 0 0 15px;
  border: none;
}

#sidebar .categories li {
  display: list-item;
  margin: 0.5em 0 0 0;
  padding: 0 0;
  border: none;
}

#sidebar .categories li.category-current {
  font-weight: bold;
}

#sidebar .categories li.category-current li {
  font-weight: normal;
}

#sidebar .tags ul {
  border-top: none;
  font-size: 1.1em;
  text-align: justify;
}

#sidebar .tags ul li {
  display: inline;
  background: none;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.8em;
}

#sidebar .tags ul li a {
  white-space:nowrap;
}

#sidebar .tags ul li a img {
  margin-right:3px;
}

.tag0 { font-size: 75%; }
.tag10 { font-size: 80%; }
.tag20 { font-size: 90%; }
.tag30 { font-size: 100%; }
.tag40 { font-size: 110%; }
.tag50 { font-size: 120%; }
.tag60 { font-size: 140%; }
.tag70 { font-size: 150%; }
.tag80 { font-size: 160%; }
.tag90 { font-size: 170%; }
.tag100 { font-size: 180%; }

ul.tags {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  font-size: 1.3em;
  text-align: justify;
}

ul.tags li {
  display: inline;
  margin: 0;
  padding: 0;
  line-height: 1.8em;
}

h2, h3, h4 {
  color: #0099DD;
  margin: 1em 0 0 0;
  padding: 0;
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.2em;
}

h4 {
  font-size: 1em;
}

#subcategories {
  background: #fbfbfb;
  border-color: #BFBFBF;
  border-style: solid;
  border-width: 1px 0;
  margin: 1em 0;
  padding: 0.5em;
}

#subcategories h3 {
  margin: 0;
}

#subcategories ul {
  margin: 0.5em 0 0 0;
  padding: 0 0 0 20px;
  line-height: 1.4;
}

.day-date {
  font-size: 1em;
  margin: 0 0 0.5em;
  text-align: right;
  color: #279ac4;
}

.post {
  clear: both;
  margin: 0 0 2em 0;
  position: relative;
}

.post-title {
  color: #0099DD;
  font-size:1.7em;
}

.post-title a {
  color: #0099DD;
}

.post-info {
  margin: 0;
}

.post-tags {
  list-style: none;
  margin: 5px 0 10px 0;
  padding: 3px 0;
}

.post-tags li {
  display: inline;
  margin: 0 8px 0 0;
  padding: 5px 0 5px 0px;
}

.post-tags li a {
  color: #6b6b6b;
}

.post-tags li a span {
  background: transparent url(img/icons.png) no-repeat 0 0;
  width: 16px;
  display: -moz-inline-box; 
  display: inline-block;
  vertical-align: middle;
  height: 13px;
}

.post-info-co {
  clear: left;
  padding: 3px 0 3px 0.5em;
  border-width: 1px 0;
  border-style: solid;
  border-color: #bfbfbf;
  background: #fbfbfb;
}
.post-info-co a {
  color: #2b2b2b;
  padding: 2px 10px 2px 0;
}

.post-info-co a span { 
  display: -moz-inline-box; 
  display: inline-block;
  vertical-align: middle;
  background-image: url(img/icons.png);
  background-color: transparent;
  background-repeat: no-repeat;
  margin-right: 2px;
}

.comment_count span {
  background-position: -39px 0;
  width: 14px;
  height: 11px;
}

.ping_count span {
  background-position: -16px 0;  
  width: 11px;
  height: 11px;
}

.attach_count span {
  background-position: -27px 0;  
  width: 12px;
  height: 12px;
}

.read-it {
  font-weight: bold;
  clear: left;
}

a.feed {
  background: transparent url(img/feed.png) no-repeat 0 0.25em;
  padding: 2px 0 5px 22px; 
}

/* Post content */
.post-content, .post-excerpt, #comments dd, #pings dd, dd.comment-preview {
  line-height:1.4em;
}
.post-content acronym, .post-excerpt acronym {
  cursor: help;
  border-bottom: 1px dotted #666;
}

.post-content pre, .post-excerpt pre {
  padding: 10px ;
  font: 1.1em 'courier new', courier, monospace;
}

.post-content ul, .post-excerpt ul, .post-content ol, .post-excerpt ol {
  margin: 0 0 0.5em 0;
  padding: 0 0 0 15px;
}

.post-content li, .post-excerpt li {
  margin: 0;
  padding: 0;
}

.post-content blockquote, .post-excerpt blockquote {
  margin: 4px 0 4px 0;
  padding: 0 5px;
  border-left: 4px solid #bfbfbf;
}

#attachments h3 {
  font-size: 1.2em;
}

#attachments ul {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

#attachments li {
  margin: 0 0 0.6em;
  padding: 2px 10px 2px 18px;
  background: transparent url(img/attach.png) no-repeat 0 50%;
}

#attachments li object {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

/* Comments and trackbacks
   */
#comments {
  clear: both;
}
#comments h3, #comment-form h3, #pings h3, #contact-form h3 {
  border-width: 1px 0;
  border-style: solid;
  border-color: #bfbfbf;
  background: #fbfbfb;
  padding: 5px;
  margin: 20px 0 8px 0;
  font-size: 1.2em;
}

#comments dt {
  margin: 1.5em 0 0 0;
  padding: 5px 0 16px 0;
  background: transparent url(img/comment-t.png) no-repeat bottom left;
}
#comments dt.me {
  background-image: url(img/commentmy-t.png);
}
#comments a.comment-number {
  display: block;
  float: left;
  width: 30px;
  margin-right: 40px;
  font-size: 1.2em;
}
#comments dd {
  margin: 0;
  padding: 1px 1em 0.5em 1em;
  background: #fffad1 url(img/comment-b.png) no-repeat bottom left;
  color:#6b6b6b;
}
#comments dd.me {
  background-color:#f5f9d9;
  color:#6b6b6b;
  background-image:url(img/commentmy-b.png);
}
#comments dd p {
  margin: 0.5em 0;
  line-height: 1.5em;
}

.error {
  margin: 20px 0 0;
  padding: 10px 5px;
  background: #ffcccc;
  border: 2px solid red;
  font-weight: bold;
}

/* Forms
   */
#comment-form {
  padding-top: 10px;
  clear: both;
}

#comment-form fieldset {
  border: none;
}
#comment-form fieldset p {
  padding: 5px 0;
}
#comment-form fieldset p.field {
  padding: 5px 0;
  width: auto;
  margin: 0;
  clear: left;
}
#comment-form p.form-help {
  width: 60%;
  margin: 0 0 0 30%;
  font-style: italic;
}

#comment-form p label {
  width: auto;
}
#comment-form p.field label {
  font-weight: bold;
  display: block;
  padding: 0 1% 0 0;
  width: 29%;
  float: left;
  text-align: right;
}
#comment-form input, #comment-form textarea {
  font: 1em "Lucida Grande",Arial,sans-serif;
  color: #279ac4;
  border: 1px solid #cdcdcd;
  padding: 1px 2px;	
  width: 68%;
}

#comment-form p.remember {
  margin: 0;
}

#comment-form input#c_remember {
  width: auto;
  border: 0;
  margin: 0 5px 0 30%;
}

#comment-form input.preview {
  margin-left: 30%;
}

#comment-form input.preview, #comment-form input.submit {
  width: auto;
  color: #279ac4;
  background: #fff;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid #fff;
}

#comment-form input.preview:hover, #comment-form input.submit:hover {
  background: #6d8824;
  color: #fff;
  border: 1px solid #6d8824;
}

.inner-content h2 { 
  color: #0099DD;
  border: none;
  margin: 0;
  padding: 0 5px;
  position: relative;
  top: -30px;
  display: inline;
  background: #FFFFFF;
}

#to-top {
  display: none;
  text-decoration: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  overflow: hidden;
  width: 51px;
  height: 51px;
  border: none;
  text-indent: -999px;
  background: transparent url(img/icons.png) no-repeat 0 -16px;
}

#to-top-hover {
  background: url(img/icons.png) no-repeat -51px -16px;
  width: 51px;
  height: 51px;
  display: block;
  overflow: hidden;
  float: left;
  filter: alpha(opacity=60);
  opacity: 0.6;
  -moz-opacity: 0.6;
  -khtml-opacity: 0.6;
}

#to-top:active, #to-top:focus {
  outline:none;
}

#related-links { 
  clear: both;
  padding: 20px 0 10px 0;
}

#related-links ul { 
  list-style: circle url(img/circle.png); 
}

@media print { 
  body {
    font : 10pt serif;
    margin: 0;
    color: #000;
    background: #fff;
  }

  #prelude, #sidebar, .pagination, #comment-form {
    display: none;
  }
  
  p {
    margin: 0.2em 0 0.8em 0;
    line-height: 1.3em;
  }
  
  h1,h2,h3,h4,h5, h6 {
    margin: 1em 0 0.2em 0;
    font-weight: bold;
  }
  
  h1 { font-size: 160%; }
  h2 { font-size: 140%; }
  h3 { font-size: 120%; }
  h4 { font-size: 100%; }
  h5 { font-size: 90%; }
  h6 { font-size: 80%; }

  a {
    color: #00f;
    text-decoration: none;
    border-bottom: 1px solid #999;
  }
  
  .post-content a[href^="http"]:after, #comments a[href^="http"]:after,
  #trackbacks a[href^="http"]:after {
    content: " ("attr(href)") ";
    color: #333;
  }
}
