/*
Original design: 1024px (v3.0 - Apr 24, 2008) - A free xhtml/css website template by Andreas Viklund and stylishtemplate.com.
For more information, see http://andreasviklund.com/templates/1024px/
*/

/* General tags */
/*
body {background:url(images/background.gif) repeat-y top center #fff; color:#404040; font:76% Verdana,Tahoma,Arial,sans-serif; line-height:1.3em; margin:0 auto; padding:0;}
*/
body {background:url(images/background.gif) repeat-y top center #fff; color:#404040; font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, "ヒラギノ丸ゴ Pro W4", HiraMaruPro-W4, "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, Osaka, sans-serif; margin:0 auto; padding:0;}
a {color:#4088b8; font-weight:700; text-decoration:none;}
a:hover {text-decoration:underline;}
a img {border:0;}
p {margin:0 0 18px 12px;}
ul,ol,dl {margin:2px 0 16px 2px;}
ul li, ol li {margin-bottom: 5px}
ul ul,ol ol {margin:4px 0 4px 2px;}
blockquote {border:1px solid #dadada; font-size:0.9em; margin:20px 10px; padding:8px;}

.blog_title {color:glay; font-size:3.6em; letter-spacing:-3px; margin:0 0 20px 0px;}
.entry_title {border-bottom:4px solid #dadada; color:glay; font-size:1.2em; margin:0 0 10px 10px; padding: 0 0 5px 0;}

/* Headers */
h1 {border-bottom:1px solid #dadada; color:glay; font-size:1.2em; margin:0 0 10px 10px; padding: 0 0 5px 0;}
h2 {border-bottom:1px solid #dadada; color:glay; font-size:1.1em; margin:0 0 10px 10px; padding: 0 0 5px 0;}
h3 {border-bottom:1px solid #dadada; color:glay; font-size:1.0em; font-weight:700; margin:10px 0 8px; padding:1px 2px 2px 3px;}

/* Main wrap */
#wrap {color:#404040; margin:10px auto; padding:0; width:970px;}
#header {margin:0;}
#toplinks {font-size:0.9em; padding:5px 2px 2px 3px; text-align:right; text-decoration:underline;}
#slogan {color:gray; font-size:1.7em; font-weight:700; letter-spacing:-1px; line-height:1.2em; margin:-15px 0 5px 15px;}

/* Sidebar and menu */
#sidebar {float:right; line-height:1.4em; margin:-35px 0 5px; padding:1px 0 0; width:195px;}
#sidebar ul {font-size:1.0em; margin:0; padding:0 0 15px 10px;}
#sidebar li {margin:0 0 0px 10px; padding:0;}
#sidebar li a {font-size:1.0em; padding:0px;}
#sidebar ul ul {line-height:1.0em; margin:4px 0 3px 15px; padding:0;}
#sidebar ul ul li a {font-weight:400;}
#sidebar h2 {margin:3px 0 8px;}
#sidebar p {font-size: 0.8em}

/* Main content */
#content {float:left; line-height:1.4em; margin:0 0 0 0; padding:0; text-align:left; width:750px; letter-spacing: 0.1em;}
#contentalt {float:left; line-height:1.5em; margin-right:20px; padding:0; text-align:left; width:750px;}

#content h3, #contentalt h3 {margin:0 0 18px 10px;}
#content h4, #contentalt h4 {margin:0 0 18px 10px;}

#content_body img { max-width: 750px }

#facebook {margin:0 0 0 10px;}

#content hr {width: 400px; margin-top: 10px; margin-bottom: 15px; }

/* Footer */
#footer {border-top:4px solid #dadada; clear:both; color:gray; font-size:0.9em; line-height:1.6em; margin:0 auto; padding:8px 0; text-align:right;}
#footer p {margin:0; padding:0;}
#footer a {color:#808080;}

/* Additional classes */
.box {background:glay; border:1px solid #c8c8c8; color:#fff; font-size:0.9em; line-height:1.4em; padding:10px 10px 10px 13px;}
.box a {color:#f0f0f0;}
.left {float:left; margin:0 15px 4px 0;}
.right {float:right; margin:0 0 4px 15px;}
.readmore {margin:-10px 10px 12px 0; text-align:right;}
.timestamp {font-size:1em; margin:-5px 0 15px 12px;}
.timestamp a {font-weight:normal;}
.blue {color:#4088b8;}
.clear {clear:both;}
.fade {color:#c8c8c8;}
.gray {color:gray;}
.photo {background:#fff; border:1px solid #bababa; margin:6px 18px 2px 5px; padding:2px;}

span.updated {font-size:0.8em}
span.strike {text-decoration: line-through;}
img.attach_img {max-width: 750px}

.recent_entry {font-size:0.75em}

.ad {width:195px;}

#contents_bottom {min-height: 250px}

p code {
   font-family: consolas, courier, monospace;
   background-color: #F5F5E5;
   color: #000;
   font-weight: 550;
   font-size: 1.0em;
}

li code {
   font-family: consolas, courier, monospace;
   background-color: #F5F5E5;
   color: #000;
   font-weight: 550;
   font-size: 1.0em;
}

pre {
  font-family: consolas, courier, monospace;
  letter-spacing: 0em;
  line-height: 1.2em;
  white-space: pre;
  background-color: #F5F5F5;
  color: #000;
  border: 1px solid #666;
  padding: 0.5em;
  margin:0 0 18px 14px;
  width: 700px;
  overflow: auto;
}

#fbshare {
  margin:0 0 18px 14px;
}

#fblike {
  margin:0 0 18px 14px;
}

#navi {font-size: 0.8em;}
#border {width: 82%}
#previous_link {float:right; margin:0 0 4px 15px;}
#next_link {float:left; margin:0 15px 4px 0;}

#autopagerize_insert_before {clear:both;}

#amazon_ad {padding: 10px 0px 20px 10px}
#related_entries {padding: 10px 0px 20px 10px}
#related_entries ul {margin: 5px 0 0 0;}
#related_entries li {font-size: 0.9em; padding: 0px 0px 0px 10px; margin: 0 0 0 20px;}

#comment_link {margin:0 0 0px 10px;}
a.delicious_link {font-size: 12px; color: #404040;}

#sbm a {
   margin: 0px 10px 0px 0px;
   vertical-align: baseline;
}


#content table {margin:0 0 18px 10px;}

table, th, td {
   border: 1px solid #D4E0EE;
   border-collapse: collapse;
   color: #555;
}

td, th {
   padding: 4px;
}

thead th {
   text-align: center;
   background: #E6EDF5;
   color: #4F76A3;
   font-size: 100% !important;
}

tbody th {
   font-weight: bold;
}

tbody tr {
   background: #FCFDFE;
}
