/**
Theme Name: TCM
Theme URI: http://songlecn.com
Author URI: http://songlecn.com
Version: 1.0
Author: songle
Description:Chinese Medical style Theme WP
*/
/*clear both*/
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

.clearfix { zoom: 1; display: inline-block; _height: 1px; }

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }

* + html .clearfix { height: 1%; }

.clearfix { display: block; }

/* End hide from IE-mac */
/*global settings begin*/
*{margin:0;padding:0;}
img{border:none;}
ul{list-style:none;}
input, textarea, select {
  font-family:helvetica,arial;
  font-weight:normal;
  border:1px solid #ccc;
  padding:5px;
  font-size:18px;
}
a:link,a:visited{color:#9F7529;text-decoration:none;}
a:hover,a:active{color:#FF3300;text-decoration:underline;}

body{background:url(images/bodybg.gif) repeat left top;color:#9F7529;font-size:12px;font-family:arial,宋体;line-height:150%;}
#wrap{width:778px;margin:0 auto;background:#fff;}
#headtop{height:15px;background:url(images/headtop.gif) repeat-x left top;}

#nav{height:21px;overflow:hidden;line-height:21px;}
#nav li{float:left;height:21px;}
#nav .first{width:15px;background:url(images/navfirst.gif) no-repeat;}
#nav .sep{width:13px;background:url(images/navsep.gif) no-repeat;}
#nav .cat-item{background:url(images/navitem.gif) repeat-x;}
#nav .last{width:15px;background:url(images/navlast.gif) no-repeat;}
#nav a{color:#fff;text-decoration:none;margin:0 10px;}
#nav a:hover{color:#FFFF00;}

#head{height:100px;overflow:hidden;}
#logo{height:100px;width:252px;background:url(images/logo.jpg) no-repeat left;float:left;}
#logo a{display:block;height:100px;width:252px;color:#000;line-height:100px;font-size:40px;text-align:right;text-decoration:none;}
#logoimg{height:100px;width:418px;float:left;background:url(images/logoimg.jpg) no-repeat center;}
#subnav{float:left;margin-top:18px;}
#subnav li{line-height:180%;}
#subnav li a{margin-right:15px;color:#000;}

#red{height:216px;overflow:hidden;}
#red1{height:216px;width:173px;float:left;background:url(images/red1.gif) no-repeat;}
#red2{height:216px;width:381px;float:left;background:url(images/red2.gif) no-repeat;overflow:hidden;}
#red3{height:216px;width:224px;float:left;}
#red4{height:66px;background:url(images/red3.gif) no-repeat;}
#red5{height:150px;background:url(images/red4.gif) no-repeat;}
#red1 ul{margin-top:85px;float:left;}
#red1 ul li{width:143px;overflow:hidden;white-space:nowrap;margin:0 15px;text-overflow:ellipsis;background:url(images/dot.gif) no-repeat left center;padding-left:10px;}
#red1 ul a{color:#fff;}
#red4 a{font-size:13px;font-weight:bold;margin-top:32px;margin-left:20px;float:left;color:#932e1f;display:inline;}
#red5 ul{float:left;margin-left:12px;width:200px;_margin-left:6px;margin-top:5px;}
#red5 ul li{border-bottom:1px #9F7529 solid;background:url(images/dot.gif) no-repeat left center;padding-left:10px;height:19px;width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}

#body{overflow:hidden;}
#bodyleft,#bodycenter,#bodyright{}
#bodyleft a{color:#4B0804;}
#bodyleft a:hover{color:#FF3300;}
#bodyleft{width:173px;float:left;background:url(images/bodyleftbg.gif) repeat-y;}
#bodyleft li.first .title{height:79px;background:url(images/zyxx.gif) no-repeat;position:relative;}
#bodyleft li.first .title a{position:absolute;top:54px;left:55px;font-size:14px;font-weight:bold;width:85px;display:block;text-align:center;}
#bodyleft li .title{height:59px;background:url(images/leftother.gif) no-repeat;position:relative;}
#bodyleft li .title a{position:absolute;top:36px;left:55px;font-size:14px;font-weight:bold;width:85px;display:block;text-align:center;}
#bodyleft ul li ul{margin:11px auto 13px;padding:0 15px;}

#bodycenter{width:388px;float:left;}
#bodycenter .first{background:url(images/firstcenterbody.gif) repeat-y left 79px;}
#bodycenter .first .title{height:79px;background:url(images/firstcenter.jpg) no-repeat;position:relative;}
#bodycenter .first .title a{color:#4B0804;font-size:14px;font-weight:bold;position:absolute;top:34px;left:60px;}
#bodycenter .first .title a:hover{color:#FF3300;}
#bodycenter .centerblock{background:url(images/centerbody.gif) repeat-y left 70px;}
#bodycenter .centerblock .title{height:70px;background:url(images/center.jpg) no-repeat;position:relative;}
#bodycenter .centerblock .title a{color:#4B0804;font-size:14px;font-weight:bold;position:absolute;top:20px;left:60px;}
#bodycenter .centerblock .title a:hover{color:#FF3300;}
#bodycenter ul{padding:0 15px 15px;}
#bodycenter .imgblock ul{overflow:hidden;}
#bodycenter .imgblock li{float:left;margin:0 2px;display:inline;background:none;padding-left:0;}
#bodycenter .imgblock ul li img{width:109px;height:139px;border:1px solid #936E2C;padding:2px;}
#bodycenter ul li{background:url(images/dot.gif) no-repeat left center;padding-left:10px;}

#bodyright{width:217px;float:left;background:url(images/bodyrightbg.gif) repeat-y;}
#bodyrightcontainer{background:url(images/rightlast.gif) no-repeat right bottom;}
#bodyright .first .title{height:66px;background:url(images/firstbodyright.gif) no-repeat right;}
#bodyright .first .title a{color:#932e1f;font-size:13px;font-weight:bold;margin-left:25px;margin-top:33px;float:left;display:inline;}
#bodyright ul{margin:5px 15px;}
#bodyright ul li{width:177px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:url(images/dot.gif) no-repeat left center;padding-left:10px;}
#bodyright .rightblock .title{height:21px;background:url(images/rightother.jpg) no-repeat right;line-height:21px;}
#bodyright .rightblock .title a{color:#932e1f;font-size:13px;font-weight:bold;margin-left:25px;}
#bodyright .last{}
#bodyright .last ul{margin-bottom:0;padding-bottom:5px;}

#bodybottom{clear:both;height:74px;background:url(images/bodybottom.gif) no-repeat;}

#footnav{height:24px;background:#efefef;line-height:24px;border-bottom:1px #aaaaaa solid;}
#footnav ul{overflow:hidden;}
#footnav li{float:left;color:#454545}
#footnav li a{margin:0 10px;color:#454545;}
#footnav li a:hover{color:#FF3300;}

#friendlink{background:#fef8f1;color:#454545;padding:10px;}
#friendlink a{color:#454545;}
#friendlink a:hover{color:#FF3300;}
#friendlink ul{overflow:hidden;}
#friendlink li{float:left;margin:0 10px;display:inline;}
#copyright{clear:both;text-align:center;margin-top:10px;}

/*archive*/
#twocol{overflow:hidden;background:#FFFFD1;}
#leftcol{width:163px;float:left;background:#ab7c2c;}
#leftcol li.first{height:60px;background:url(images/sidebartop.gif) no-repeat;}
#leftcol li.item{margin-bottom:15px;}
#leftcol .item ul{margin-left:10px;}
#leftcol ul li a{color:#F5DD85;}
#leftcol ul li a:hover{color:#fff;}
#leftcol li .title{color:#000;font-size:14px;line-height:47px;text-align:center;height:47px;background:url(images/sidebartitlebg.gif) no-repeat;}
#leftcol ul li ul li a{display:block;width:144px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}

#rightcol{background:#ffffd1;width:615px;float:left;}
#rightcoltop{height:28px;background:url(images/rightcoltop.gif) no-repeat;color:#823217;font-size:14px;font-weight:bold;padding-top:25px;padding-left:64px;}
#twocol .page_rightcoltop{background:url(images/page_rightcoltop.gif) no-repeat;padding-left:74px;}
#htop{height:54px;background:url(images/htop.gif) no-repeat;overflow:hidden;}
#twocol .page_htop{background:url(images/page_htop.gif) no-repeat;}
#hbottom{height:79px;background:url(images/hbottom.gif) no-repeat;}
#twocol .page_hbottom{background:url(images/page_hbottom.gif) no-repeat;}
#hbody{background:url(images/hbody.gif) repeat-y;overflow:hidden;padding:1px;}
#twocol .page_hbody{background:url(images/page_hbody.gif) repeat-y;}
#hbody .list{margin:10px 60px;}
#hbody .list li{line-height:180%;clear:both;background:url(images/dot2.gif) no-repeat left center;padding-left:8px;}
#hbody .list li a{float:left;color:#333;}
#hbody .list li a:hover{color:#FF3300;}
#hbody .list li span{float:right;color:#741700;}

/*single*/
#hbody .con{margin:0 45px;color:#333;padding:1px;}
#hbody .title{color:#300901;font-size:24px;line-height:20pt;text-align:center;margin-top:15px;}
#hbody .author{color:#000;text-align:center;border-bottom:1px gray solid;padding-bottom:7px;}
#hbody .author span{color:#336699;}
#hbody .tag{font-weight:bold;color:#000;}
#hbody .tag a{font-weight:normal;color:#000;}
#hbody .singlecon{margin:15px 5px;overflow:hidden;}

.wp-pagenavi{text-align:center;}
