/*
 Overview in body
div#header
  h1
    a
  div#introduction
div#content
  div#main
    div.entry
      div.entryHeader
        div.date
          span.year
          span.month
          span.day
        div.entryTitle
          h2
            a
          h3
      div.entryBody
        div.body
        (div.extend)
        div.tag
        div.posted
        (div.neighbors)
      ...
      ...
    div#footer
      div
        span
  div#sub
    div.subBlock
      div.title
      div#calendar
        table.month
    div.subBlock
      div.title
      div#recentEntries
        ul
          li
          li
          li
          ...
    div.subBlock
      div.title
      div#tags
    ...
    ...
*/

/* General */
html {
  margin: 0;
  padding: 0;
}
body { 
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
  font: 85% "Lucida Grande","Trebuchet MS",Trebuchet,Verdana,sans-serif;
}
a {
  color: #3A3DDE;
  text-decoration: underline;
}
a:link {
  color: #3A3DDE;
  text-decoration: underline;
}
a:visited {
  color: #990066;
  text-decoration: underline;
}
a:active,a:hover {
  color: #AADD99;
}

/* for header */
#header {
  position: relative;
  width: 800px;
  height: 80px;
  padding: 2px;
  margin-left: 5%;
  background: #ffffff;
  color: #000000;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  filter: alpha(opacity=75);
  -moz-opacity: 0.75;
  opacity: 0.75;
}
#header h1 { 
  position: relative;
  width: 279px;
  height: 73px;
  overflow: hidden;
  margin: 0;
}
#header a {
  text-decoration: none;
}
#header h1 span { 
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(/blog/image/logo.png);
  background-repeat: no-repeat;
}
#introduction  { 
  position: absolute;
  width: 500px;
  left: 300px;
  bottom: 5px;
}
#content {
  position: relative;
}
#main {
  margin: 0 220px 0 5%;
  padding: 10px 10px 30px 10px;
  min-width: 500px;
}
.paging {
  position: relative;
  height: 20px;
  text-align: center;
  margin-bottom: 10px;
  clear: both;
}
.paging .older {
  position: absolute;
  left: 0;
  width: 40%;
}
.paging .newer {
  position: absolute;
  right: 0;
  width: 40%;
}
.paging .disabled {
  color: #808080;
}

/* for entry */
.entry {
  border-top: 1px solid;
  border-color: #666666;
  margin-bottom: 20px;
  clear: both;
}
.entryHeader {
  position: relative;
  border-bottom: 1px solid;
  border-color: #666666;
}
.entryHeader .date {
  position: relative;
  width: 96px;
  height: 48px;
  margin: 0;
  padding: 0;
}
.entryHeader .date .year, .entryHeader .date .month {
  display: block;
  width: 48px;
  height: 24px;
  font-size: 12pt;
  text-align: center;
  margin: 0;
  padding: 0;
}
.entryHeader .date .day {
  position: absolute;
  bottom: 0;
  left: 48px;
  width: 48px;
  font-size: 20pt;
  float: right;
  margin: 0;
  padding: 0;
}
.entryTitle {
  position: absolute;
  left: 96px;
  padding-left: 20px;
  top: 0px;
  height: 48px;
}
.entryTitle h2 {
  height: 30px;
  margin: 0;
  padding: 0;
  font-size: 14pt;
}
.entryTitle h2 a {
  text-decoration: none;
  color:#009900;
}
.entryTitle h3 {
  height: 18px;
  margin: 0;
  padding: 0;
  font-size: 10pt;
}
.entryBody { 
  padding: 5px;
  line-height: 1.889;
}
.entryBody .body, .entryBody .extend, .entryBody .tag, .entryBody .posted {
  clear: both;
}
.entryBody .tag, .entryBody .posted { 
  margin: 3px 0 0 0;
  text-align: right;
}
.entryBody img {
  margin: 0 8px 2px 0;
  border: 0;
  float: left;
}
.comment {
  margin: 10px 0px;
  border-top: 1px solid;
}
.commentTitle {
  border-bottom: 1px dotted;
}
.commentBody {
  padding: 10px;
}

.commentForm {
  margin-top: 5px;
}
.commentForm label {
  position: relative;
  float: left;
  width: 10em;
  margin-right: 1em;
}

.commentForm .req {
  margin-left: 10em;
}

.commentForm em {
  color: #F00;
}

.commentForm label em {
  position: absolute;
  left: 10em;
  top: 0;
}

#comm_author, #comm_title, #comm_body {
  width: 50%;
}

.entryAd {
  text-align: center;
}

/* for sub */
#sub {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 220px;
  background: #ffffff;
  border: 1px solid #ffffff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

#sub a:active, #sub a:hover {
  color: #012;
  background-color: #F8F8F8;
}

.subBlock {
  padding: 6px;
}
.subBlock .title {
  text-align: center;
  text-transform: capitalize;
  font-size: 10pt;
  font-weight: bolder;
  border-top: 1px solid #333333;
  border-bottom: 1px solid #333333;
}

#search_div {
  padding: 6px;
}
#search_div input {
  width: 100%;
  padding: 0;
}

#calendar {
  text-align: center;
}

#calendar table th, #calendar table td { 
  font-size: xx-small;
  width: 27px;
}

.sun a, .mon a, .tue a, .wed a, .thu a, .fri a, .sat a {
  display: block;
}

#sub li a {
  text-decoration: none;
  display: block;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

#sub ul { 
  margin: 0;
  padding: 5px;
}
#sub li{ 
  list-style-type: none;
  line-height: 1.8em;
  width: 100%;
  font: 10px verdana, sans-serif; 
}
#allTags li span { 
  position: relative;
  display: block;
}
#allTags li span em { 
  position: absolute;
  top: 0;
  right: 0;
  font-weight: bold;
}
#allTags li.expander { 
  margin-top: 1.5em;
}
#allTags li a { 
  display: block;
}
#archives li a {
  text-decoration: none;
  display: inline;
}

/* for footer */
#footer {
  height: 30px; 
  margin-top: 30px;
  width: 100%;
  text-align: center;
  display: block;
}
#footer div {
  vertical-align: bottom;
  width: 96%;
  height: 100%;
  margin: auto;
  text-align: right;
  padding: 2px 2px 0 2px;
  background: #000000;
  color: #F8F8F8;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  filter: alpha(opacity=75);
  -moz-opacity: 0.75;
  opacity: 0.75;
}

#footer span {
  margin-right: 4px;
  padding-right: 4px;
}

blockquote, pre, code {
  margin: 2px 2px 2px 10px;
  padding: 4px 4px 4px 6px;
  background: #ffffff;
  border-left: 4px solid #FF5511;
  white-space: pre;
  word-break: break-all;
  line-height: 1.2em;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
