/*
Theme Name: Dreambox V1
Theme URI: http://www.99is.com/
Version: 1.4
Author: thewei
Author URI: http://www.99is.com
Description: A simple wordpress theme
Tags: Green,two-columns,custom-header
*/
@import url("basic.css");

/* 整体 */
body {
    font: 14px/1 "微软雅黑",Tahoma, Helvetica, Arial,"\5b8b\4f53", sans-serif;
    line-height: 1.5;
    color: #444;
	position:relative;
	background:#F8FEE0 url(images/header.gif) no-repeat 50% 0;
	text-align:center;
}
a {color:#060;}
a:hover {text-decoration:none; color:#c30;}
blockquote {
	/* giving blockquotes and lists room to breath */
	margin: 1em;
}
th,td {
	/* padding to make the table readable */
	padding: .5em;
}
caption {
	/* coordinated margin to match cell's padding */
	margin-bottom: .5em;
}
p, fieldset, table, pre {
	/* so things don't run into each other */
	margin-bottom: 1em;
}
#wrap {width:960px;text-align:left;margin:0 auto;}
/* 头部 */
#header { position:relative;height:250px;}
.logo { width:300px; float:left;position:relative;top:2px;left:10px; }
.logo a {font-size:36px;color:#367233;}
.logo p { font-size:12px;color:#367233;}
.nav { position:absolute;top:1px; left:580px;}
.nav a{ font-weight:bold; font-size:12px; color:#fff;}
.nav a:hover { color:#eee;}
.nav ul {line-height:24px;}
.nav ul li { float:left; padding-left:15px;}
.search { position:absolute;top:50px; left:650px;width:350px;}
#searchform { margin:12px;}
#searchform input { width:50px; height:25px; font-size:12px; margin-right:6px;}
#searchform #s { width:130px; height:20px; float:left}
.widget_search { margin-left:12px;}
.widget_search #searchform input { width:50px; height:25px; font-size:12px;}
.widget_search #searchform #s { width:100px; height:20px;}
/* 内容 */
#content {width:670px; float:left;background:url(images/c2.gif) 0 0 repeat-y;}
.c1 { background:url(images/c1.gif) 0 0 no-repeat; width:670px; height:9px;}
.c2 { background:url(images/c3.gif) 0 0 no-repeat; width:670px; height:19px;}
.content {padding:12px;}
.post { padding:12px;}
.post .content h2{ margin:0 0 12px 0; border-bottom:1px dotted #CCC;}
.post .content .meta { padding-bottom:12px; font-size:12px;}
.post .content .meta .tag{ background:#78B600; color:#fff;height:28px; line-height:28px; padding-left:12px;padding-right:12px; display:inline-block; font-weight:bold;}
.post .content .meta .tag a { color:#FFF;}
.post .content .meta .time{ background:#D7EB84; color:#80971d;height:28px; line-height:28px; padding-left:12px;padding-right:12px; display:inline-block;font-weight:bold;}
.post .content .meta img{ border:none;padding-right:12px;}
.post .content .meta a{ color:#9ac73e;padding-right:12px;}
#content .post img { }
#content .post p img { MAX-WIDTH: 100%!important;scale:expression((this.offsetWidth > this.offsetHeight)?(this.style.width = this.offsetWidth >= 620 ? "620px" : "auto"):"auto"); display:inline !important;border:solid 1px #e6f5a4;padding:2px;}
#content .post p img:hover {border:solid 1px #d7f45e;padding:2px;}
.content p { line-height:25px;}
.more-link { background:url(images/morepic.gif) 0 0 no-repeat;width:86px; height:27px; display:block; text-indent:-9999px;}
#post_metadata { padding:6px; line-height:20px; color:#666; background: #FBFDBE; font-size:12px; border: 1px dotted #DCF08C; margin-left:12px; margin-right:12px;}
#post_metadata h3{ font-size:14px; padding-left:12px;}
.navigation { clear:both;}
.navigation a{ font-size:14px; font-weight:bold;}
.post_nav { height:25px; line-height:25px; border-top:1px dotted #EBF7BB;margin-bottom:6px;}
.alignleft { float:left; padding-left:24px; padding-bottom:12px;}
.alignright { float:right; padding-right:24px;padding-bottom:12px;}
.navigation { clear:both;}
.navigation a{ font-size:14px; font-weight:bold;}
.page { margin:24px;}
.meta h3{ margin-left:24px; margin-top:12px;}
#page_content {margin:24px;}
.friendlinks { font-size:12px;}
.friendlinks li { width:150px; float:left;}
/* 侧栏 */
#sidebar {width:250px; float:right;color:#80971d; font-size:12px;}
.r1 { background:url(images/r1.gif) 0 0 no-repeat; width:250px; height:9px; padding-left:0px;}
.r2 {background:url(images/r2.gif) 0 0 repeat-y; padding-bottom:12px;}
.r3 { background:url(images/r3.gif) 0 0 no-repeat; width:250px; height:9px;}
.r2 li { margin-bottom:12px; padding-left:12px;}
#sidebar ul li h2{ font-size:12px;padding-bottom:10px; padding-left:12px;}
#sidebar ul li ul{ padding-left:1em;}
#sidebar li li {margin-bottom:2px; padding-bottom:2px; border-bottom:1px dashed #ddd; width:200px;}
.rssme { background:url(images/rss.gif) 0 0 no-repeat;height:37px; line-height:37px;}
.rssme a { padding-left:25px;}
.widget select { margin-left:12px;}
.widget_calendar { margin-left:12px;}
.widget_calendar table { line-height:12px;}
.widget_calendar table caption { border-bottom:1px dotted #ddd; padding-bottom:12px;}
.widget_calendar table tbody a { color:#6C6;}
.widget_calendar table tfoot { border-top:1px dotted #ddd; padding-top:12px; }
/* 底部 */
#footer {margin-top:24px; color:#fff;background:#439500 url(images/foot1.gif) no-repeat 50% 0; text-align:left;font-size:12px;}
#footer a { color:#fff;font-size:12px;}
.footbar { background:url(images/foot2.gif) 0 0 repeat-x;}
.footbar ol{ padding-top:50px;margin-left:3px; width:960px;  margin:0 auto;}
.footbar ol li { float:left; width:220px; margin-right:2px; padding-right:3px; padding-left:3px;}
.footbar ol li ul li{ margin-top:3px;}
.footbar ol li h2 { font-size:12px; border-bottom:1px dotted #ccc;margin-bottom:6px;padding-bottom:6px;}
.footbar ol li ul a { color:#ddd;}
.foot { margin-top:24px; text-align:center;border-top:dotted 1px #CCC;padding-top:12px;padding-bottom:12px;width:960px; margin:0 auto;margin-top:12px; color:#ccc;}
/* 随机日志 */
.related_post_title { margin-top:6px; margin-bottom:6px;}
.related_post li { width:290px; float:left; overflow:hidden; font-size:12px; border-bottom: 1px dotted #ccc; margin-left:12px; margin-right:12px; margin-bottom:6px;}
.related_post {overflow:auto; margin-bottom:6px;}
/* 评论 */
#comments { margin-top:12px; margin-left:24px;}
.comment_list { font-size:12px;}
h3#comments { font-size:14px; padding-bottom:6px;}
.comment { background:#fbffee;padding:6px 12px; margin:12px; border:1px solid #EBF7BF;}
.comment-author img{ border:3px solid #E5F2B0;float:left; width:32px; height:32px; margin-right:6px;}
.comment-author cite {float:left; font-weight:bold;}
.comment-meta {float:left; font-size:10px;}
.comment-body { line-height:18px;}
.comment-body p { clear:both;margin-top:1em; display:block;}
.comment-author-admin { background:#fbfdbe; border:1px solid #dcf08c;}
#post_comment {font-size:14px; padding-top:12px;padding-bottom:12px; margin-left:24px;}
#commentform { line-height:18px; margin:6px 24px; font-size:12px;}
#commentform p textarea {background-image: url(images/pinglun.png);width:100%; height:100px; border:1px solid #D2D2D2;background-repeat: no-repeat;background-position: center center;}
#commentform p input { width:150px; height:24px;margin-top:6px; padding:2px 6px;}
/* RSS */
body div#tooltip { position:absolute;z-index:1000;max-width:220px;width:auto !important;width:220px;background:#000;text-align:left;padding:5px;min-height:1em;}
body div#tooltip p { margin:0;padding:0;color:#fff;font:12px verdana,arial,sans-serif; }
body div#tooltip p em { display:block;margin-top:3px;color:#f60;font-style:normal;font-weight:bold; }
/* 清除浮动 */
.clear {clear:both;}