@charset "utf-8";
/*  
Theme Name: Ricial
Theme URI: http://www.mingsenliu.com
Description:谨此主题，送给Ricial——MingsenLiu.
Version: 2.0
Author: MingsenLiu
Author URI: http://www.mingsenliu.com/
*/
*{margin:0;padding:0;}
html{_overflow:hidden}
body{height:100%;font-family:Tahoma, Geneva, sans-serif;color:#737373;overflow-x:hidden;_overflow-y:auto;}a{color:#737373;}a:hover{color:#3C795B}
img{border:0}
.clear{clear:both}
.aligncenter {display: block;margin-left: auto;margin-right: auto;}
.alignleft {float: left;}
.alignright {float: right;}
#header{width:100%;height:100px;border-bottom:1px solid #ccc;-moz-box-shadow:0 0 10px #ccc;-webkit-box-shadow:0 0 10px #ccc;box-shadow:0 0 10px #ccc;padding-bottom:20px;background:#fff;position:fixed;_position:absolute;top:0;left:0;z-index:1;}
#header #center{width:90%;margin:0 auto}
#header h1{font-size:36px;line-height:1.5;float:left;margin:10px 0;}
#header h1 a{text-decoration:none;font-family:Georgia, "Times New Roman", Times, serif;}
#header ul{list-style:none;}
#header ul.cat-item-box{padding:5px 0;clear:both}
#header ul.cat-item-box li.description{float:right;font-size:12px;color:#777979;}
/*#header ul.cat-item-box li.cat-item{display:inline;font-size:14px;}
#header ul.cat-item-box li.cat-item a{padding:0 10px; border-right:1px solid #737373;text-decoration:none;}*/

#header ul.cat-item-box li.cat-item{height:20px;font-size:14px;position:relative;float:left;border-right:1px solid #ccc;overflow:hidden;z-index:222}
#header ul.cat-item-box li.cat-item a{padding:0 10px;display:block;text-decoration:none;}
#header ul.cat-item-box li.cat-item:hover{text-align:center;height:auto;overflow:visible;z-index:222}
#header ul.cat-item-box li.cat-item ul{position:absolute;text-align:center;top:18px;left:-1px;border:1px solid #ccc;border-top:0 none;background:#fff;z-index:1}
#header ul.cat-item-box li.cat-item ul li{margin:5px 0;border:0 none;}
#header ul.cat-item-box li.cat-item ul li a{display:block;width:100px;border:0 none;}
#header ul.cat-item-box li.cat-item ul li a:hover{background:#EEE;border:0 none;}

#header ul.main-navigation{float:right;}
#header ul.main-navigation li.page_item{display:inline;padding:5px 10px 20px 10px;border-right:1px solid #D9D9D9;float:left;font-weight:bold}
#header ul.main-navigation li.page_item a{text-decoration:none;}
#mainframe{_width:100%;_height:100%;_overflow-y:auto;_overflow-x:hidden;_position:relative}

#container,#pageframe,#category{width:920px;margin:0 auto;padding:20px;min-height:600px;_height:auto!important;_height:600px;padding-top:140px;border:1px solid #ccc;border-bottom:0 none}

#container p.pagenav{font-size:14px;padding:5px;background:#efefef;text-shadow:1px 1px 0px #ffffff;margin-bottom:10px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}
#container p.pagenav a{text-decoration:none}
#container h2.title,
#pageframe h2.title,
#category h2.title{font-size:18px;border-bottom:1px dashed #D9D9D9;line-height:20px;clear:left;margin-bottom:20px;padding:5px 0;}
#container h2 a,#container h3 a,
#pageframe h2 a,#pageframe h3 a,
#category h2 a,#category h3 a{text-decoration:none;}
#container h2.title span{font-size:12px;float:right;display:block;height:20px;line-height:20px;padding:5px 0 0 20px;background:url(img/date_ico.gif) no-repeat 0 7px;}
#container h3.articletitle,
#category h3.articletitle{font-size:14px;line-height:1.8;border-bottom:1px dotted #d9d9d9;padding-left:25px;background:url(img/post.jpg) no-repeat left 5px;}
#container h3 span.date,
#category h3 span.date{font-size:12px;color:#999;background:url(img/date_ico.gif) no-repeat 0 0;padding-left:18px;font-weight:100;margin-left:10px;}
#container h3 span.comment,
#category h3 span.comment{float:right;background:url(img/com_ico.gif) no-repeat 0 7px;display:block;font-size:11px;font-weight:100;padding-left:20px;line-height:25px;}
#container .entry,
#pageframe .entry{margin:10px 0;}
#container .entry p,
#pageframe p{margin:20px 0;line-height:1.5;font-size:14px;}
#pageframe .entry,
#container .entry ul,ol,blockquote{margin:20px 0 20px 40px;line-height:1.5}
#container .entry blockquote{padding:10px 30px;background:url(img/quote.gif) no-repeat left top #FAFAFA;border-left:2px solid #E5E5E5;font-size:12px;}
#container .entry img.attachment-post-thumbnail{float:left;width:380px;height:auto!important;margin:0 10px 10px 0}
#container .entry blockquote p{margin:0;}
#container .entry pre{background:#F9F9F9;color:#FF00FF;padding:10px;}
#container .entry th,
#container .entry td{padding:5px;border:1px solid #ccc}
#container .entry th{background:#cccccc;color:#fff}
#container .postmetadata{margin:20px 0;padding:10px 0 10px 10px;border-left:6px solid #ccc}
#container .postmetadata p.comment,
#container .postmetadata p.tag{height:20px;line-height:20px;font-size:12px;padding-left:20px;background:url(img/com_ico.gif) left no-repeat;}
#container .postmetadata p.tag{background:url(img/tag.gif) left no-repeat;}
#container .postmetadata p.tag a{padding-right:10px}
#container .page_navi{margin-bottom:20px;}

#sidebar{width:300px;position:absolute;top:180px;left:0;z-index:0;border:1px solid #ccc;box-shadow:0 0 5px #ccc;-moz-box-shadow:0 0 5px #ccc;-webkit-box-shadow:0 0 5px #ccc;background:#fff;border-left:0 none;-moz-border-radius-topright:10px;border-top-right-radius:10px;-webkit-border-top-right-radius:10px;}

#sidebar .bgtop{height:40px;position:relative;cursor:pointer}
#sidebar .bgtop .tip{width:180px;height:48px;padding:10px;position:absolute;z-index:10;top:-50px;right:-160px;background:url(img/tip.gif) no-repeat left top;font-size:12px;color:#3C795B;font-weight:bold}
#sidebar ul.bgmiddle{width:230px;padding:0 0 0 30px;list-style:none;margin:0}
#sidebar ul.bgmiddle li.widget{padding:10px 0;}
#sidebar ul.bgmiddle li.widget ul{list-style:inside}
#sidebar ul.bgmiddle li.widget ul li{line-height:15px;font-size:12px;margin-top:10px}
#sidebar ul.bgmiddle li.widget ul li a{text-decoration:none;color:#000}
#sidebar ul.bgmiddle li.widget ul li a:hover{text-decoration:underline;}
#sidebar ul.bgmiddle h2{font-size:14px;margin-bottom:10px;border-bottom:1px dashed #d9d9d9}
#sidebar .bgbottom{height:30px;}
#bottombar{width:735px;height:180px;left:50%;margin-left:-500px;position:fixed;_position:absolute;bottom:-130px;padding:20px 0 0 65px;background:url(img/photobg.png) no-repeat}
#bottombar h2{font-size:14px;line-height:1.5;margin-left:10px;}
#bottombar li{list-style:none}
#footer{height:80px;background:url(img/footerbg.png) no-repeat 55% top;text-align:center;margin:40px 0;padding-top:60px}
#footer p{margin:10px 0;}

#wp-calendar{widht:100%}
#wp-calendar caption{padding:2px 4px;border:1px solid #ccc}
#wp-calendar th{margin:2px;padding:2px 4px;background:#9f9f9f;color:#fff}
#wp-calendar td{border:1px solid #ccc;text-align:center}
#wp-calendar td a{display:block;background:#e9e9e9;text-decoration:none}
#wp-calendar td a:hover{background:#3C795B;color:#fff}

.comments-template{margin: 10px 0 0;padding: 10px 0 0;}
.comments-template ol{margin: 0;padding: 0 0 15px;list-style: none;}
.comments-template ol li{margin: 10px 0 0;line-height: 18px;padding: 0 0 10px;border-bottom: 1px solid #ccc;}
.comments-template h2, .comments-template h3{font-family: Georgia, Sans-serif;font-size: 14px;}
.comments-template h4{margin-bottom:10px;font-size:16px;}
.comments-template ol li .guestphoto{float:left;margin:5px 10px 0 0;padding:1px;border:1px solid #ccc}
.commentmetadata{font-size: 12px;float:left}
.commentmetadata a{text-decoration:none}
.commentcontent{padding:20px 0 10px 40px;}
.comments-template p{padding:5px 0;}
.comments-template p.date{background:url(img/date_ico.gif) no-repeat left 6px;padding-left:20px;}
.comments-template p span{font-size:10px;}
.comments-template p input.text{border:none;border-bottom:1px solid #ccc;padding-bottom:5px;}
.comments-template p input.guestname{background:url(img/user.gif) no-repeat left top;padding-left:20px;}
.comments-template p input.guestmail{background:url(img/mail.gif) no-repeat left top;padding-left:20px;}
.comments-template p input.guestweb{background:url(img/home.gif) no-repeat left top;padding-left:20px;}
.comments-template p.nocomments{padding: 0;}
.comments-template textarea{font-family: Arial, Helvetica, Georgia, Sans-serif;font-size: 12px;margin-top:10px;border:1px solid #ccc;width:40%;height:120px;}

.screen-reader-text{display:none}
input#s{border:1px solid #dedede;width:200px;height:20px;line-height:20px;background:url(img/search.jpg) no-repeat 2px 2px;padding-left:20px;}

div.related_post_frame{width:380px;border:1px solid #ccc;padding:10px;margin-bottom:20px;float:left}
div.related_post_frame h2{font-size:14px;border-bottom:1px dashed #ccc;line-height:1.8}
.related_post{padding:10px;list-style:none}
.related_post li{margin:5px 0;padding-left:20px;background:url(img/post.jpg) no-repeat left;}
.wp-caption{border:1px solid #ccc;background:#f6f6f6;padding:3px}
.wp-caption img{margin:0}
p.wp-caption-text{text-align:center}

.google_adsene_300x250{width:300px;height:250px;float:left;margin-left:10px;}

