/*
Theme Name: 清柠檬黑白专用，版权所有，请勿复制下载。
Theme URI: http://dengchao.org/
Description:你可以随时访问<a href="http://dengchao.org">清柠檬黑白专用</a>
Date: 26th july 2009
Version: 1.0
Author: applandtea
Author URI: http://dengchao.org/
Tags: white, black
*/
/*=base&reset css****/
*{margin:0; padding:0}
body{font:13px/160% Arial,helvetica,Tahoma,Sans-Serif; 
background:#fff;  color:#4B4B4B;
font-family: 宋体,Arial,  Helvetica, sans-serif; }
blockquote{margin:15px 15px 15px 20px; padding-left:15px; background:#f6f6f6; border-left:3px solid #339999; color:#545454}
h1{ font-size:160%;}h2{ font-size:150%;}h3{ font-size:140%;}h4{ font-size:130%;}h5{ font-size:120%;}h6{ font-size:110%;}
h1,h1 a,h2,h2 a,h3,h3 a,h4,h4 a,h5,h5 a,h6,h6 a{font-weight:normal; line-height:2.2em;}
a,a visited{color:#009999; text-decoration:none;}
a:hover{ background:#fff; color:#009999;}
.clearfix:after{content:"\020"; display: block; height:0; clear:both;}
.clearfix{zoom:1;}
img { border:1px #C0C0C0 solid;padding:4px 5px 4px 5px;background-color:#f1f1f1;margin:1.2em 0em 1.2em 0em;
}
img.wp-smiley {border:0;backgroud-color:auto;margin:0;padding:0;}

abbr {border-bottom: 1px dashed #999;cursor:help;}
caption{ font-weight:bold;}
textarea { overflow:auto;}
hr{ background:#ccc; border:1px solid #ccc;}
.post-content p{ margin-bottom:10px;}
/*.post-content a,a visited{color:#009999;}*/ 
.post-content a:hover{color:#FF0033;}
.post-content dl,.post-content ol,.post-content ul{ margin-left:20px;}
.post-content fieldset {border:1px dashed #CCCCCC;}
.post-content fieldset legend{ font-weight:bold;}
input {border:1px solid #D2D2D2;}
.post-content table{border-color:#CCCCCC;border-style:solid;border-width:0 1px 1px 0;}
.post-content table tr th{background:#F4F4F4;border-color:#CCCCCC;border-style:solid;border-width:1px 0 0 1px;color:#666666;font-weight:bold;padding:5px 10px;text-align:center;}
.post-content table tr td{border-color:#CCC;border-style:solid;border-width:1px 0 0 1px;padding:5px 10px;}

pre {background:#ccc;border:1px solid #DDD;overflow:auto;padding:10px;}
.post-content a img{padding:2px; border:1px solid #275E5F;}
.post-content a:hover img{border:1px solid #275E5F; background:none;}
.aligncenter {display: block;margin-left:auto;margin-right:auto;}
.alignleft {float:left;}
.alignright {float:right;}
/*end base***********/
/*color*/
#description,.post-time,.nav li a span,#postlist .post-title h2 a:hover,#logo a:hover,#rsidebar h3/*,#post-title-single h1*/{color:#275e5f; background:none;}
#searchform #s:hover{ border:1px solid #275e5f;  background:none;}


/*end color*/
/*=header************/
#header{width:100%; background:#fff; height:65px; border-bottom:1px solid #9c9c9c; border-top:3px solid #fff}
#mheader{width:960px; margin:0 auto; height:auto}
#description{font-size:12px; float:left; display:inline; margin:30px auto auto 5px;}
#logo a{float:left; color:#333; font-size:28px; line-height:65px; text-decoration:none; display:inline;}
#logo a:hover{ background:none;}


/*menu*/

#menu{width:100%; background:#fff; height:48px; /*border-bottom:1px solid #c6c6c6; border-top:1px solid #c6c6c6;*/ }
.nav{width:960px; margin:0 auto;list-style:none;}
.nav li{display:block; float:left; border-left:1px solid #cfcfcf; border-right:1px solid #cfcfcf; margin-right:-1px}
.nav li a{height:48px; color:#000; text-decoration:none; display:block;position:relative; padding:0 28px 0 10px; float:left; line-height:23px;white-space: nowrap; min-width:67px;_width:67px;/*for IE 6*/ }
.nav li a span{font-weight:normal;top:21px; position:absolute; left:10px;}
.nav li a:hover{background:#C0C0C0; color:#f6f6f6 !important; border-top:1px solid #333;border-bottom:1px solid #333; margin-top:-1px;margin-bottom:-1px; cursor:pointer;}
.nav .rss{float:right; margin-right:1px}
/*end menu*/
/*end header********/ 



/*=index************/
#main{width:100%; border-top:1px solid #9c9c9c; padding:20px 0;}/*除了头和导航条外的整个下面区域*/
.post-content h1,.post-content h2,.post-content h3,.post-content h4,.post-content h5,.post-content h6{color:#275e5f;}
#content{width:960px; margin:0 auto;}
#postlist{width:701px; float:left; display:inline; overflow:hidden;border:1px solid #ccc/*646464黑色*/;background:#fff;
-moz-border-radius-topright:15px;/*css3 round conel*/
-moz-border-radius-topleft:15px;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;

}
.post-home{ margin-bottom:7px;/*每篇文章下间距*/ position:relative;border-bottom:1px solid #eee;padding-right:10px;}



/*#postlist .post-title{background:url(images/div.gif) left center no-repeat;}*/
#postlist .post-title h2,#post-title-single h1{margin-left:20px;font-size:145%; line-height:25px; padding-right:45px; padding-bottom:2px;padding-top:15px;} 
#postlist .post-title h2 a{ color:#222;color:red/*#009999*/;font-weight:bold;} 
#postlist .post-title h2 a:hover{ background:transparent none repeat;color:#009999;text-decoration:underline;}
.post-content{margin:5px auto auto 20px;}
#postlist .post-messages{ /*background:url(images/div2.gif) right center no-repeat;*/  font-size:12px; padding:3px 0px;border-top:1px solid #eee;}
#postlist .post-messages p{/*border-bottom:1px solid #d2d2d2;*/ color:#717171;position:relative; padding-bottom:2px;}

.comments-popup-link{ float:right; padding:0 5px 0 20px; background:url(images/comment.gif) left center no-repeat;}
#postlist .post-messages .indexpost-meta{ 
float:left; width:585px;
}
.post-time{
left:20px;
font-size:12px;
position:absolute; 
right:0px;
color:#275e5f;
padding:0 0 0 19px;
background:url(images/permalink.gif) left center no-repeat;
}
.more-link{ display:block; font-size:12px;text-align:left; padding-right:20px;width:59px;}
.more-link:hover{ background:none;/*border-top:1px dashed #ccc;border-bottom:1px dashed #ccc; margin:-1px 0 -1px 0;*/ color:#009999;}
.navigation{overflow:hidden; margin-top:5px;}
.alignright a{float:right;}
.alignleft a{float:left}
.alignright a,.alignleft a{padding:2px 5px; border:1px solid #C0C0C0;}
.alignright a:hover,.alignleft a:hover{ border:1px solid #009999; background:none; color:#275e5f;}





/*=csidebar*************/
#csidebar ul,#rsidebar ul{ margin:0; padding:0; list-style:none;}
#csidebar,#rsidebar{display:ivinline;float:left;font-size:12px;margin-left:15px;}
#csidebar {width:240px; overflow:hidden;}

#csidebar h3{
background:red/*#66CCCC蓝色*/;
/*border:1px solid #646464;*/
/*border-top:1px solid #DDD;*/ 
margin-top:0px;
font-size:120%;
font-weight:bold;
overflow:hidden;
padding:0px 0 0 17px;
color:#fff/*156e7e*/ ;
-moz-border-radius-topright:3px;/*css3 round conel*/
-moz-border-radius-topleft:3px;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
/*-moz-opacity:0.5; /* Moz + FF 透明度20%*/
/*opacity: 0.5;*/
}

#csidebar h3 span{color:#B5B5B5;padding-left:15px;}
#csidebar select,#rsidebar select { margin-top:15px; width:100%;}
#csidebar li{ overflow:hidden;_zoom:1;}
#csidebar div{   /*整个右边框架*/
background:#fff;
} 



/*=search widget*/
#search{margin-top:6px;}
#searchform{ position:relative;}
#searchform #searchsubmit{background:url(images/search.gif) center no-repeat; border:0; text-indent:-9999px; width:18px; cursor:pointer;position:absolute; z-index:4; right:0px; top:1px;_top:0px;}
#searchform #s{width:238px; border:1px solid #D2D2D2; z-index:5;  margin-bottom:6px;}
.post-msg{ font-size:12px; color:#717171;}







/*******************************************=csidebar widget*************************************************/
#csidebar .widget_categories ul li,
#csidebar .widget_pages ul li,
#csidebar .widget_links ul li,
#csidebar .widget_meta ul li,
#csidebar .widget_recent_entries ul li,
#csidebar .widget_archive ul li{
display:block;
padding:0 10px 0 27px;
 margin:10px 0 10px 0px; 
 height:20px;
 border-bottom:dotted 1px #ddd;
 background:url(./images/post_yellow.gif) 17px 4px no-repeat
 }

/*#csidebar .widget_recent_entries h3{background:#9999CC;}*/  /*最近文章*/ 

#csidebar .widget_archive h3{background:red/*#66CCCC蓝色*//*669933绿色*/;}/*文章索引CSS 文章日期*/

#csidebar .widget_categories ul li{background:url(./images/categories_yellow.gif) 17px 4px no-repeat !important}





#csidebar .widget_categories ul li a, /*分类目录等*/
#csidebar .widget_pages ul li a,
#csidebar .widget_links ul li a,
#csidebar .widget_meta ul li a,
#csidebar .widget_recent_entries ul li a,
#csidebar .widget_archive ul li a{ 
/*color:#666666;*/padding-left:5px ; margin-right:5px;
font:13px/140% 宋体,helvetica,Arial,Tahoma,Sans-Serif; color:#646464;}

#csidebar .widget_categories ul li a:hover,
#csidebar .widget_pages ul li a:hover,
#csidebar .widget_links ul li a:hover,
#csidebar .widget_meta ul li a:hover,
#csidebar .widget_recent_entries ul li a:hover,
#csidebar .widget_archive a:hover{/*border-left:1px solid #8aab46;*/color:#009999; background:none;text-decoration:none;}



#csidebar .widget_recent_comments ul li{/*border-left:1px solid silver;*/border-bottom:dotted 1px #646464;color:#242424;display:block;padding:0 10px 2px 33px ;margin:5px 0 10px 0;background:url(./images/links_yellow.gif) 17px 6px no-repeat}
 
#csidebar .widget_recent_comments ul li a{ /*border-bottom:1px dashed #ccc;*/ color:#/*275e5f*/66CCCC;}
#csidebar .widget_recent_comments ul li a:hover{ /*border-bottom:1px solid #ccc;*/ background:none;color:red;boder-bottom:solid 1px #ff0033;}

#wp-calendar{ width:100%; padding:10px; border:1px dashed #ccc; text-align:center;}
#wp-calendar a{ font-weight:bold;}


/*=rsidebar*************/
#rsidebar{width:210px; overflow:hidden;}
#rsidebar h3{border:1px solid #D2D2D2; border-right:none;font-size:14px;padding:3px 3px 3px 0;text-align:right;}
#rsidebar ul ul,#rsidebar .textwidget{ border-right:1px solid #D2D2D2; border-bottom:1px solid #D2D2D2; padding:5px; padding-left:0; overflow:hidden;_zoom:1;}
#rsidebar .widget{ margin-bottom:10px;}
#rsidebar p{ padding:5px; padding-left:0;}
#rsidebar ul ul li{ float:left; display:inline;margin:0 2px;white-space:nowrap;}
#rsidebar a{ border-bottom:1px dashed #D2D2D2; padding:0 2px;}









/************************************************************=footer*****************************************************************/
#foot{width:100%; background:#fff; padding:10px 0; font-size:12px;}
#mfoot{width:960px;  margin:0 auto; }
#mfoot p{color:#000; margin-left:70px; line-height:15px;}
#mfoot a{color:#275e5f; text-decoration:none}
#mfoot a:hover{color:#099; text-decoration:underline; background:none;}
#mail{ background:url(./images/mail.gif ) 500px 0px no-repeat}






/************************************************************=single***********************************************************/
#post-title-single{background:#fff;}
.post-main{ font-size:14px;margin-bottom:7px;/*每篇文章下间距*/ position:relative;/*border-bottom:1px solid #ccc;文章下的横线*/padding-right:10px;}
#post-title-single h1{ color:red/*#009999年后恢复*//*66ccee蓝色*/;font-weight:bold;font-size:1.5em;margin-left:20px;/*background:url(images/shadow.gif) no-repeat 50px bottom;*/}
.singlepost-meta{float:left; width:auto;padding-left:20px;}
#post-messages-single{color:#000; margin-bottom:5px; width:100%; margin-bottom:5px;font-size:12px;}
a,a visited{color:#006666/*009900亮绿色*//*0099cc深蓝色*/ /*66CCCC蓝色*/; text-decoration:none;}
a:hover{ background:#fff; color:#FF0033;text-decoration:underline;}
 /*导航条样式*/
.breadcrumb a,a visited{color:#000/*66ccff*/;text-decoration:none;} 
.breadcrumb a:hover{color:#FF0033/*ff0033*/;text-decoration:underline;}
.breadcrumb{color:#000/*66ccff*/;}  
#copyright p{border-bottom:1px solid #D2D2D2; margin-right:20px;line-height:30px; color:#717171; font-size:12px}
#left-content-single{color:#000;width:701px; display:inline; float:left; overflow:hidden;/*color:#000;*/line-height:2em; }
.sharewith{border-bottom:1px solid #ccc;padding-left:20px;padding-top:25px;padding-bottom:15px;margin-left:-20px;margin-right:-10px;}
/*#pagelink{border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin-top:30px;padding-left:20px;padding-top:5px;margin-left:-20px;margin-right:-10px;}*/  /*版权声明*/
#pagelink{border:1px solid #cccc00;width:auto;height:auto;margin-top:30px;padding-left:10px;padding-top:5px;line-height:1em;margin-right:8px;margin-bottom:8px;}
#pagesearch{/*background: url("images/arrow_next.gif") no-repeat left 10px;*/height:67px;border-top:1px solid #ccc;margin-top:40px;padding-left:20px;padding-top:5px;margin-left:-20px;margin-right:-10px;overflow:hidden;}
#relatepost{/*background: url("images/js_morecontent.jpg") no-repeat 20px 0px;*/width:320px;/*padding-left:5px;*/padding-top:10px;margin-top:-5px;padding-bottom:15px;margin-right:25px;margin-bottom:10px;float:right;overflow:hidden;}/* 设置相关日志样式*/
#googlead{height:250px;width:300px;float:left;padding-left:30px;padding-bottom:15px;padding-top:15px/*55px*/;margin-bottom:1px;padding-right:20px;overflow:hidden;}
/*#googleaddiv{height:270px;overflow:hidden; } google广告样式 */
ul .xiangguan{margin-top:15px; line-height:14px;}/* 设置相关日志样式*/
ul li.xiangguan{list-style-type:none;background:url(./images/links_yellow.gif) 0px 1px no-repeat;padding-left:20px;}
#relateandad{background: url("images/js_morecontent.jpg") no-repeat 415px 0px;border-bottom:2px solid #6CAA00;height:290px;width:700px;float:left;overflow:hidden;padding-bottom:10px;margin-top:10px;}/* 相关日志和广告框总样式*/
#pagetextad{width:466px;height:auto;margin-left:-128px;float:left;}   /*文章页面文本广告*/
#pagetextaddiv{width:436px;height:auto;overflow:hidden;margin-left:20px;}
#pagephotoad{border:3px solid #ccc;margin-left:166px;width:336px;height:280px;margin-top:5px;/*margin-bottom:2px;float:left;overflow:hidden;*//*border:2px solid #000;*/} /*标题下图片广告*/
#pagephotoad:hover{border:3px solid red;}
#pagephotoaddiv{margin-left:20px;width:300px;margin-top:5px;/*margin-bottom:2px;*/height:250px;}
#pageendphotoad{/*margin-left:20px;*/width:468px;height:60px;margin-top:5px;/*margin-bottom:10px;*/float:left;overflow:hidden;border:1px solid #000;} /*标题下图片广告*/
#pageendphotoaddiv{width:468px;margin-top:5px;/*margin-bottom:10px;*/height:60px;}
#pageendtextad{width:466px;height:auto;margin-left:-128px;float:left;}   /*文章页面文本广告*/
#pageendtextaddiv{width:436px;height:auto;overflow:hidden;/*margin-left:20px;*/}
#all-body pre{/*margin:15px 0px;*/padding:10px 15px 10px 15px;border-left:5px solid #006666/*900*/;background:#F3F3F3;line-height:1.2em;/*font-family:'Courier New', Courier;*/font-family:  宋体,Arial, Helvetica, sans-serif; }/*代码高亮样式*/
#all-body{/*设置整个中间区域*/
/*border:1px solid #eee;*/
background:#fff;
/*margin:0 auto;*/
/*margin-left: auto;*/
/*margin-right: auto;*/
border:1px solid #C0C0C0; 
} 




/***************************************=comment*************************************************************************/
#comment{ font-size:12px;padding-top:10px;}
h2#comments{backgroundcolor:#ccc;/*background:url(./images/comment-bar.jpg) 0px 282px no-repeat;*/margin-top:20px;padding-left:10px;padding-bottom:-2px;color:#275e5f; font-size:1.1em;border-bottom:2px solid #6CAA00;/*border-bottom:1px dashed #6CAA00;*/ }/*有几条留言*/
h3#pingback,h3#trackback{border-top:1px solid #ccc;padding:5px 0 0 10px;color:#275e5f; font-size:1.2em; border-bottom:1px dashed #ccc;}
#respond h3{/*background:url(./images/comment-bar.jpg) 0px 302px no-repeat;*/padding:5px 0 0 20px;color:#000/*275e5f*/; font-size:1.1em; border-bottom:2px solid #6CAA00;/*border-bottom:1px dashed #ccc;*/}/*发表留言*/
#comment #cancel-comment-reply{float:right;}
#cancel-comment-reply a{text-decoration:none;font-size:12px; color:#F30;}
#cancel-comment-reply a:hover{color:#fff;}
#comment .commentlist{clear:both;list-style:none}
.commentlist li.odd{background:#eef;} /*回复间隔颜色*/
.commentlist li{color:#333; margin:10px auto; overflow:hidden; background:#fcfcfc;/*border-left:1px solid #e2e2e2;*/}
.commentlist li:hover{background:#fff;/*8fffFF*//*border-left:1px solid #eee;*/}
.commentlist li .gravatar{float:left;}
.commentlist li .gravatar img{border:1px solid #ccc;padding:2px 2px 2px 2px; margin-left:5px;}
.commentlist li:hover .gravatar img{border:1px solid #ccc;padding:2px 2px 2px 2px;}
.commentlist .children { margin-right:10px;}
.commentlist .children li{ margin-left:10px;}
#comment ol,#comment ul{ list-style:none;}
#comment .comments{padding-left:55px; padding-right:10px;}
#comment .reply a{float:right; margin:-18px 0 0 0; text-decoration:none;font-size:12px; padding:0px 4px; background-color:#fff; -moz-border-radius:5px; border:1px solid #ddd}
#comment .reply a:hover{border:1px solid #eee; background:none; color:#275e5f;}
code{font:400 9pt 宋体,Tahoma,Arial,Helvetica,sans-serif; color:#006666;background:#fff;/*padding:2px 5px 2px 5px;*/margin-left:5px;line-height:22px;}
.vcard em{font-style:normal; padding-bottom:10px; display:block; font-weight:900}
.vcard small{font:12px/12px Tahoma,Arial,Helvetica,sans-serif; color:#999}
#commentform p{ margin:5px 0; overflow:hidden;}
.commentlist #respond { padding:0 10px;}
#comment #respond p{padding:0 3px;} 
#commentform{margin-top:10px;}
#commentform input{ width:250px;padding:3px;}
#commentform input:hover,#commentform textarea:hover{ border:1px solid #275e5f;}
#commentform textarea { width:98%; height:150px;margin-left:6px; border:1px solid #D2D2D2;}
#commentform #submit{background:url(images/submit.gif) no-repeat; border:0; color:#91B24F; cursor:pointer; width:70px; height:25px; text-indent:-9999px; float:right; clear:right;}
/*=category&tag&archive pages*/
#post-title-page{border-bottom:1px solid #d2d2d2; height:38px; overflow:hidden; margin-bottom:5px}
#post-title-page h1{ color:#275e5f;}
.cate{list-style:none; margin:0; padding:0;}
.cate li{margin-bottom:5px;_width:100%;}
.cate li a{padding:3px 0 7px 5px; color:#333; text-decoration:none; display:block; border-left:1px solid #c0c0c0;}
.cate li a:first-letter{text-transform:uppercase}
.cate li a span{font-weight:normal; color:#275e5f;}
.cate li a:hover{border-left:1px solid #91b24f; background:#eee;color:#333}
div.success{padding:5px 15px;margin:0 0 15px 0;font-size:12px;color:#57861A;/*border-top:2px solid #6CAA00;*/border-bottom:1px dashed #6CAA00;background:#EEF7DD;height:auto;}

/*categoryad 分类中的广告*/
#categoryphotoad{margin-left:120px;margin-top:9px;border:2px solid #000;width:468px;}/*468x60图片广告*/
#categoryad{width:auto;/*height:233px;*/height:250px;margin-left:20px;overflow:hidden;/*float:left;*/}         /*分类页面图片文字混合广告*/
#categoryaddiv{width:100%;/*height:233px;*/height:250px;overflow:hidden;padding-bottom:7px;margin-top:7px;}   
#categorytextad{width:468px;height:auto;margin-left:-112px;}   /*文本广告*/
#categorytextaddiv{width:438px;height:auto;overflow:hidden;margin-left:5px;}
