/*
Theme Name: Liwad
Theme URI: http://www.Liwad.cn/
Description: The Liwad theme based on the famous <a href="http://http://www.Liwad.cn">LEO</a>.
Version: 1.6
Author: LEO 
Author URI: http://Liwad.cn/
Tags: Black , white
*/
a.other:link,a.other:visited,a.other:active { background:url(images/blank_icon.gif) no-repeat top right; padding:0 10px 0 0;}
*,html { padding:0;margin:0;}
body { font-size:12px;line-height:175%; background:#ededed; color: #333; padding:0;margin:0;}
a:link { text-decoration: none;color: #0066cc;}
a:visited { text-decoration: none;color: #0066cc;}
a:hover{ color: #333;text-decoration:underline;}
a:active { color: #999;}
img { border:none;}
hr { display: none;}
h1, h2, h3, h4, h5, h6 { font-family:Arial; }
h1 {font-size:200%;}
h2 {font-size:170%;}
h3 {font-size:150%;}
h4 {font-size:130%;}
h5 {font-size:110%;}
h6 {font-size:100%;}
/*clear_float*/
.clearfix:after { content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix { display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
 .clearfix {display: block;}
.clear {clear: both;}
.alignleft {float: left;width: auto;}
.alignright {float: right;width: auto;}
.border_t {background: url(images/border_c.gif) no-repeat top right;font-size: 0;display: block;height: 12px;margin: 0 -13px 0 -1px ;position: relative;}
.border_r {background: url(images/border_c.gif) no-repeat top left;display: block;font-size: 0;height: 12px;width: 12px;}
.border_b {background: url(images/border_c.gif) no-repeat top right;display: block;font-size: 0;height: 12px;margin: 0 -1px 0 -13px ;position: relative;}
.border_l {background: url(images/border_c.gif) no-repeat top left;display: block;font-size: 0;height: 12px;width: 12px;}
.worp {width: 100%;}
#main {width: 955px;padding: 0 10px 0 15px;margin: 0 auto;}

/* header */
#header {background: #fff;margin: 30px 0;}
#headerimg {width: 960px;height: 115px;margin: 0 auto;position: relative;}
#headerimg h1 {width: 143px;height: 48px;position: absolute;top: 35px;left: 30px;}
#headerimg #menus {width: 510px;height: 75px;position: absolute;top: 40px;right: 0px;}
#headerimg #menus li {display: inline;}
#headerimg #menus li a {font: 125%/40px Georgia, "Times New Roman", Times, serif;font-weight: bold;color: #333;float: left;margin: 25px 5px 0 5px;padding: 0 12px;background: #ededed;border-top: solid #252525 10px;}
#headerimg #menus li a:hover {color: #fff;text-decoration: none;background: #333;border-top: solid #252525 10px;}
#headerimg #menus li a: active {background: #000;}
#headerimg #menus .current_page_item a {color: #fff;background: #333;padding: 0 17px;border-top: solid #252525 10px;margin: 25px 5px 0 5px;position: relative;}

/* content */
#content {width: 550px;background: #fff;float: left;border-left: solid 1px #d7d7d7;border-right: solid 1px #d7d7d7;position: relative;}
.pagetitle {font-size: 16px;line-height: 32px;padding: 20px 25px 0 25px;}
.pagetitle a {color: #333;}
.page_content {padding-top: 20px;}
.postpage ,.post,.page {margin: 0 35px;padding-bottom: 15px;position: relative;color: #333;}
.post .blog-title {background: url(images/h2_bg.gif) 0 0 no-repeat;display: block;height: 25px;margin-top: 10px;margin-left: -47px;padding-top: 12px;position: relative;}
.post .blog-title h3 ,.post .blog-title h2 {font-weight: bold;height: 25px;line-height: 25px;color: #fff;}
.post .blog-title h3 a ,.post .blog-title h2 a {padding: 0 40px;background: #808080;float: left;display: block;color: #fff;display: block;font-weight: bold;height: 25px;line-height: 25px;font-size: 12px;text-decoration: none;}
.post .blog-title h3 a:hover ,.post .blog-title h2 a:hover {color: #fff;background: #61a2ea;}
.post .blog-title h3 #ahover ,.post .blog-title h2 #ahover {color: #fff;background: #61a2ea;}
.post .entry {padding: 20px 0;}
.post .entry p {padding: 0 0 15px 0; }
.post .entry p img {width: expression(this.width > 464 ? '464px': true);max-width: 464px;height: /*expression(this.height > 350 ? '350px': true);max-height: 350px;*/}
.post .entry p a img {display: block;background: #f8f8f8;border: #ededed solid 1px;padding: 8px; ;-khtml-box-shadow: rgba(200,200,200,0.5) 0 0 15px; -moz-border-radius: 10px;-khtml-border-radius: 10px;}
.post .entry p a:hover img {background: #fff;}
.post .entry h1,.post .entry h2,.post .entry h3,.post .entry h4,.post .entry h5,.post .entry h6 {line-height: 175%;}
.post .entry dd ,.post .entry li {margin-left: 2em;}
.page .postcat ,.post .postcat {border-bottom: #d7d7d7 solid 1px;color: #999;}
.post small {text-align: center;font-size: 12px;}
.post blockquote {padding: 10px 20px;background: #f8f8f8;border: #ccc dotted 1px;margin: 10px 0;}
.post code {display: block;border-left: 5px solid #ddd;padding: 10px 20px;margin: 10px 0;}
.postmetadata small {color: #999;}

/* respond*/
#respond {margin: 0 35px 25px 35px;}
#respond h3 {font-weight: bold;font-size: 14px;line-height: 32px;}
#commentform {margin: 5px 0 0 0;}
#commentform input {width: 170px;margin: 5px 5px 1px 0;}
#searchform .ipt ,#commentform .ipt {padding: 2px;border: #666 solid 1px;border-bottom: #ccc solid 1px;border-right: #ccc solid 1px;line-height: 16px;}
#searchform .bnt ,#commentform .bnt {background: #ddd none repeat scroll 0 0;border-color: #fff #666 #666 #fff;border-style: solid;border-width: 1px;color: #333;cursor: pointer;padding: 0 6px;height: 24px;}
/*#searchform .ipt:hover ,#searchform .bnt:hover ,#commentform .bnt:hover {background: #333 none repeat scroll 0 0;border-color: #666 #fff #fff #666;border-style: solid;border-width: 1px;color: #fff;}*/



#searchform .bnt {padding: 0 20px;}
#commentform small {font-size: 12px;}
#commentform textarea {width: 98%;padding: 2px;margin-top: 5px;}
#commentform #submit {margin: 5px 5px 5px auto;float: right;}
.focus {background: #eaf2fa;} 

/* commentlist*/
#comments {font-weight: bold;font-size: 14px;line-height: 32px;padding: 10px 35px 0 35px;}
#commentform p {margin: 5px 0;}
.commentlist {margin: 0 35px 0 55px;}
.commentlist ul {padding: 0;}
.commentlist li {margin: 15px 0 10px;padding: 5px 5px 10px 10px;list-style: none;}
.commentlist li ul li {margin-right: -5px;margin-left: 10px;}
.commentlist p {margin: 10px 5px 10px 0;}
.nocomments {text-align: center;margin: 0 25px 25px 25px;}
.commentmetadata {display: block;}
.commentmetadata a {color: #ccc;}
.commentlist li .avatar {float: right;border: 1px solid #eee;padding: 2px;background: #fff;}
.commentlist cite, .commentlist cite a {font-style: normal;font-weight: bold;}
.commentlist p {line-height: 18px;text-transform: none;}
.alt {margin: 0;padding: 10px;}
.even, .alt {border-left: 1px solid #ddd;}
.thread-alt {background-color: #f8f8f8;}
.depth-1 {border: 1px solid #ddd;} 

#search {padding: 10px 0 0 0;}
#search h3 {font-size: 14px;}

/* thumb */
#thumb {padding: 10px 0 10px 27px;}
#thumb li {width: 216px;height: 140px;border: solid 1px #ededed;float: left;padding: 8px;margin: 12px 27px 0 0;display: inline;position: relative; ;-khtml-box-shadow: rgba(200,200,200,0.5) 0 0 15px; -moz-border-radius: 10px;-khtml-border-radius: 10px;}
#thumb li h3 {width: 216px;padding: 0 8px;position: absolute;bottom: 0;left: 0;line-height: 25px;font-size: 12px;font-weight: normal;}
#thumb li h3 a {color: #666;font-size: 12px;text-decoration: none;}
#thumb li h3 a:hover {color: #0066cc;}
#thumb li sup {position: absolute;top: -123px;left: 8px;display: block;background: url(images/new.gif) no-repeat;height: 27px;font-size: 0;text-indent: -999999em;width: 27px;}

/* production */
#production { margin:-30px -10px 0 -15px;}
#production dl { width:475px; border:solid #ededed 1px; padding:15px 13px 10px 13px;margin:15px 0 0 0;background:#fff;  -khtml-box-shadow: rgba(200,200,200,0.5) 0 0 15px; -moz-border-radius: 10px;-khtml-border-radius: 10px; font-family: Arial, Tahoma, "ËÎÌå"; }
#production dl:hover { -khtml-box-shadow: rgba(129,156,255,0.5) 0 0 15px; border:solid #cacffe 1px; }
#production dt { font-size:0; display:block; height:124px; background:#fbfbfb; float:left; }
#production dt img { border:#ededed solid 1px; padding:5px; height:108px; width:196px; }
#production dd { margin-left:220px; border-bottom: solid #ededed 1px; padding:5px 0 0 5px; line-height:20px; color:#666;}
#production dd em { font-weight:bold; font-style: inherit; padding-right:10px;}
#production dd a:hover {color:#2a5fd2;}

/* navigation*/
.navigation {margin: 10px 35px;}

/* sidebar */
#sidebar {width: 380px;background: #fff;float: right;border-left: solid 1px #d7d7d7;border-right: solid 1px #d7d7d7;position: relative;}
#sidebar ,#sidebar a {color: #999;}
#sidebar a:hover {color: #0066cc;}
#sidebar ul {padding: 0 20px;list-style: none;}
#sidebar ul ul {padding: 0;}
#sidebar li h2 {line-height: 50px;font-weight: normal;color: #666;height: 50px;padding: 10px 0 0 0;font-size: 12px;}
#sidebar #tag_cloud p {font: 110%/160% Georgia, "Times New Roman", Times, serif;}
#sidebar #tag_cloud p a {padding: 0 5px 0 0;}
#sidebar #categories ,#sidebar #ad_img {margin-right: -10px;}
#sidebar #categories li {line-height: 22px;float: left;margin: 0 9px 5px 0;}
#sidebar #categories li a {background: url(images/li_square.gif) no-repeat 10px 8px;display: block;width: 165px;margin-bottom: 2px;text-indent: 2em;}
#sidebar #categories li {display: inline;}
#sidebar #categories li a:hover {color: #333;background: url(images/li_square.gif) no-repeat 10px 8px #f8f8f8;text-decoration: none;}
#sidebar #ad_img a {height: 90px;width: 165px;margin: 0 9px 5px 0;display: inline;float: left;}
#sidebar #ad_img img {height: 90px;width: 165px;}
#sidebar #new_comments ul {padding: 0 0 50px 0;}
#sidebar #new_comments li {background: #f8f8f8;margin-bottom: 4px;padding: 5px 25px 5px 25px;min-height: 38px;height: auto !important;height: 38px;}

/* pagenavi */
#pagenavi {width: 364px;height: 24px;line-height: 12px;font-size: 10px;margin: 40px -1px 0 -13px;padding: 0 0 0 200px;position: relative;display: block;background: url(images/border_c.gif) no-repeat #ededed;}
#pagenavi a {color: #fff;height: 12px;display: block;float: left;margin: 12px 0 0 0;padding: 0 0 0 18px;background: url(images/border.gif) no-repeat left;display: inline;}
#pagenavi a:hover {color: #ccc;display: block;}
#pagenavi span {display: block;float: left;padding: 0 12px 0 0;display: inline;}
#pagenavi #hover {margin: 0 -12px 0 12px;background: url(images/border_b.gif) no-repeat right;}
#pagenavi a span {display: block;float: left;padding: 0 18px 0 0;background: url(images/border.gif) no-repeat right;cursor: pointer;}
#pagenavi b {height: 12px;display: block;padding: 0 6px 0 18px;float: left;background: url(images/border_b.gif) no-repeat left top;}

.info {border-bottom: #d7d7d7 solid 1px;color: #999;}
.info a {color: #999;}
.info a:hover {color: #000;color: #000!important;text-decoration: none;}
.info .date {padding-left: 18px;padding-right: 10px;background: url(images/liwad_icon.gif) no-repeat 0 -64px;}
.info .tags {padding-left: 18px;padding-right: 10px;background: url(images/liwad_icon.gif) no-repeat 0 -224px;}
.info .tags a {color: #999;}
.info .editpost a {color: #999;padding-left: 18px;padding-right: 10px;background: url(images/liwad_icon.gif) no-repeat 0 -192px;}
.info .editpost a:hover {background: url(images/liwad_icon.gif) no-repeat 0 -448px;}
.info .author a {color: #999;padding-left: 18px;padding-right: 10px;background: url(images/liwad_icon.gif) no-repeat 0 -160px;}
.info .author a:hover {background: url(images/liwad_icon.gif) no-repeat 0 -415px;}
.info .comments a {color: #999;padding-left: 18px;padding-right: 10px;background: url(images/liwad_icon.gif) no-repeat 0 -96px;}
.info .comments a:hover {background: url(images/liwad_icon.gif) no-repeat 0 -352px;}
.info .categories a {color: #999;padding-left: 18px;padding-right: 10px;background: url(images/liwad_icon.gif) no-repeat 0 0;}
.info .categories a:hover {background: url(images/liwad_icon.gif) no-repeat 0 -256px;}
#thumb li h3 .author a {padding-left: 18px;background: url(images/liwad_icon.gif) no-repeat 0 -160px;}
#thumb li h3 .author a:hover {background: url(images/liwad_icon.gif) no-repeat 0 -415px;}
#thumb li h3 .comments a {padding-left: 18px;background: url(images/liwad_icon.gif) no-repeat 0 -97px;}
#thumb li h3 .comments a:hover {background: url(images/liwad_icon.gif) no-repeat 0 -352px;}

/* copy */
#footer {background: url(images/footer_bg.gif) repeat-x top;margin-top: 35px;}
#footer_box {width: 960px;margin: 0 auto;padding-bottom: 40px;}
#footer_box p a ,#footer_box p {font-size: 10px;line-height: 38px;height: 38px;}
#footer_box .clearfix {color: #fff;}
#footer_box a {color: #333;}
#footer_box #statistics {width: 0;display: block;height: 0;overflow: hidden;}