body {margin:0;font-size:12px;color:#666;font-family:tahoma,宋体;line-height:1.5}
td, div {font-size:12px;word-wrap:break-word}
input,button { font-size:12px; border-width:1px}
select {font-size:12px; border-width:1px}
textarea { font-size:12px; border:1px solid #ccc}
form {margin:0}
img {border:0;_vertical-align:middle}
button, input.btn {background:#FFF8C5 url(btnBg.gif) repeat-x 0 0;border:1px solid #B4C91A;color:#080;line-height:20px;height:20px}

/*内容宽度背景等*/
.twidth {width:950px;background:#fff;margin-right:auto;margin-left:auto;overflow-x:hidden}

/* 栏目加右margin */
.mR {margin-right:5px}

.grid {border:1px solid #e6e6e6;border-collapse:collapse}
.gridHead {font-size:12px;font-weight:bold;background:#fafaf4;height:30px;text-align:center}
.grid td {border-color:#e6e6e6;height:23px}

a:link, a:visited {color:#66c;text-decoration:none}
a:hover {color:#e00;text-decoration:underline}

/*列表标题样式*/
ul.nl {list-style:none outside none; margin:0; padding:0}
ul.nl li {line-height:22px;padding-left:15px;background:url(bg.gif) no-repeat 0 -350px}

/*按钮图片*/
.btBuy {width:66px;height:33px;background:url(bt.gif) no-repeat 0 0}
.btBuyOver {background:url(bt.gif) no-repeat -100px 0;}
.btPay {width:66px;height:33px;background:url(bt.gif) no-repeat 0 -800px}
.btPayOver {background:url(bt.gif) no-repeat -100px  -800px;}
.btDown {width:92px;height:33px;background:url(bt.gif) no-repeat 0 -100px}
.btPubResource {width:130px;height:36px;background:url(bt.gif) no-repeat 0 -300px}
.btRegDesigner {width:130px;height:36px;background:url(bt.gif) no-repeat 0 -400px}
.btChkRegister {width:130px;height:36px;background:url(bt.gif) no-repeat 0 -500px}
.btCharging {width:100px;height:30px;background:url(bt.gif) no-repeat 0 -600px}
.btEditIntro {width:16px;height:16px;background:url(bt.gif) no-repeat 0 -700px;vertical-align:bottom}

/*资源名称*/
.rname {font-size:14px;font-weight:bold}

/*资源信息*/
.rinfo {background:#fcfcfc;line-height:1.8;padding:5px;border-bottom:2px solid #f6f6f6}

/*资源介绍*/
.rintro {padding:10px;line-height:1.5}

/*评论表单*/
#fmComment {padding:5px}

/* 评论样式 */
#commentList {padding:10px 20px;border-top:2px solid #f6f6f6}
#commentList .user {font-weight:bold}
#commentList .date {padding-left:30px;color:#999}
#commentList .body {padding:6px 0}
#commentPages {padding:0 20px}

/*购买注释*/
.info {background:#FFFACD; border:1px solid #ccc; padding:5px; color:#666; margin:3px 1px}


/*新闻内容样式*/
#content {font-size:14px;font-family:tahoma,宋体;line-height:1.6;margin:20px auto;width:96%}
#content td, #content div {font-size:14px;font-family:tahoma,宋体;line-height:1.6}
#content A:visited, #content A:link {color:#b32bd5;text-decoration:underline}


.alignTop {vertical-align:top}
.alignCenterTop {vertical-align:top;text-align:center}

/* 网站头 */
#sitehead {overflow:hidden;border-bottom:1px solid #e3e3e3;_width:100%}
#sitehead .l {display:none}
#sitehead .r {display:none}

#middle {overflow:hidden}
#footer {text-align:center;line-height:1.5;margin:10px 0;padding:20px 0;border-top:1px solid #e6e6e6}

/* 导航条 */
#navbar {overflow:hidden}
#navbar .m {text-align:right;line-height:33px;background: url(bg.gif) repeat-x 0 -50px}
#navbar .l {display:block;float:left;height:33px;width:2px;background: url(bg.gif) no-repeat 0 0}
#navbar .r {display:block;float:right;height:33px;width:2px;background: url(bg.gif) no-repeat 0 -150px}
#navbar a:link, #navbar a:visited {color:#666;text-decoration:none;background:url(bg.gif) no-repeat 0 -100px;padding:0 15px 0 20px;}
#navbar a:hover {}
#navbar a.first {background:none!important}

/* 副导航 */
#navsub {overflow:hidden;_width:100%}
#navsub .m {text-align:left;line-height:25px;height:25px}
#navsub .l {display:none}
#navsub .r {display:none}

/*tab标签样式*/
.tab {line-height:27px;border-bottom:3px solid #F27B04}
.tab .on, .tab .off {width:93px;background:url(bt.gif) 0 -200px;float:left;text-align:center;font-size:14px;color:#fff!important;font-weight:bold}
.tab .off {background:url(bt.gif) -100px -200px;color:#f27b04!important}

/* 日期与点击 */
.gray {color:gray !important;text-decoration:none;font-size:12px}
.time {color:red;font-size:12px}
.hit {color:green;font-size:12px}

/* 间隔背景色 */
.tdbg {background:#fff;}
.tdbg-dark {background:#fcfcfc;}

/* 取下级分类链接函数 */
.scl {list-style:none;margin:0;padding:0}
.scl li {display:inline;margin-right:5px}

.inputbg { background:url(inputBorder.gif) no-repeat top left;border:1px solid #d5dee9}


/* 主栏目 */
.mframe {margin-bottom:4px}
.mframe .tm {height:31px;line-height:31px;background:url(bg.gif) repeat-x 0 -250px;border:1px solid #e0e0e0;border-width:0 1px;padding-left:20px}
.mframe .tl {display:none;_margin-right:-3px}
.mframe .tr {display:none}
.mframe span.tt {font-size:14px;color:#666;font-weight:bold;padding-left:10px;background:url(bg.gif) no-repeat 0 -300px}
.mframe .mm {background:#fff;padding:5px;border:1px solid #e0e0e0;border-width:0 1px}
.mframe .ml {display:none}
.mframe .mr {display:none}
.mframe .bm {height:10px;border-top:1px solid #e0e0e0}
.mframe .bl {display:none}
.mframe .br {display:none}
.mframe ul.nl a, .mframe ul.pl a {font-size:14px}

/* 主栏目显示为消息时限制宽度 */
.msgfrm {width:360px;margin:0 auto}

/* 侧边栏目 */
.lframe {margin-bottom:4px;_width:100%}
.lframe .tm {height:31px;line-height:31px;background:url(bg.gif) repeat-x 0 -200px;border:1px solid #e0e0e0;border-width:0 1px;padding-left:20px}
.lframe .tl {display:none}
.lframe .tr {display:none}
.lframe span.tt {font-size:14px;color:#666;font-weight:bold;padding-left:10px;background:url(bg.gif) no-repeat 0 -300px}
.lframe .mm {padding:5px;border:1px solid #e0e0e0;border-width:0 1px}
.lframe .ml {display:none}
.lframe .mr {display:none}
.lframe .bm {height:10px;border-top:1px solid #e0e0e0}
.lframe .bl {display:none}
.lframe .br {display:none}


.dateR {float:right;padding-right:5px}
.moreR {float:right;padding-right:8px;_margin-top:4px}


/* 图片列表资源 */
.thumb {text-align:center;line-height:1.5}
.thumbLink img {border:1px solid #e6e6e6;margin:5px}


.wrapper {overflow:hidden}
.tl, .bl { float:left}
.tr, .br { float:right}
.ml, .l { float:left;padding-bottom:10000px;margin-bottom:-10000px}
.mr, .r { float:right;padding-bottom:10000px;margin-bottom:-10000px}


/* ajax信息 */
.aj_msg {position:absolute;padding:4px 5px;border:1px solid #CAD9EA;background:#fff;color:#404040;font:9pt 宋体 arial;white-space:nowrap}
.aj_msgTop {background:#FFF1A8;border:0;color:#666;-webkit-border-bottom-left-radius:8px;-webkit-border-bottom-right-radius:8px;-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px}
.aj_form {display:none;position:absolute;background:#fff url(bg.gif) repeat-x 0 -700px;border:1px solid #CAD9EA;padding:5px}
.aj_title {font-weight:bold;padding:4px 0 5px 20px;margin-bottom:10px;border-bottom:1px solid #9ef}
.aj_close {text-align:right;padding-right:10px}


.shadow {background:#ddd}



.boxy-wrapper {position:absolute;}
.boxy-wrapper.fixed {position:fixed;}

/* Modal */
.boxy-modal-blackout { position:absolute;background-color:black;left:0;top:0;}

/* Border */
.boxy-wrapper {empty-cells:show;}
.boxy-wrapper .top-left,
.boxy-wrapper .top-right,
.boxy-wrapper .bottom-right,
.boxy-wrapper .bottom-left {width:2px;height:2px;background-color:#666;padding:0;opacity:0.2; filter:alpha(opacity=20) }

.boxy-wrapper .top,
.boxy-wrapper .bottom {height:2px;background-color:#666;opacity:0.2;filter:alpha(opacity=20);padding:0}

.boxy-wrapper .left,
.boxy-wrapper .right {width:2px;background-color:#666;opacity:0.2;filter:alpha(opacity=20);padding:0}

/* Title bar */

.boxy-wrapper .title-bar {background:url(boxy.gif) repeat-x 0 0;font-weight:bold;padding:10px;position:relative;}
.boxy-wrapper .title-bar.dragging {cursor:move;}
.boxy-wrapper .title-bar h2 {font-size:14px;color:#666;line-height:1;margin:0;padding:0;}
.boxy-wrapper .title-bar .close {color:#666;position:absolute;top:10px;right:6px;font-size:90%;line-height:1;}

/* Content Region */
.boxy-inner {background-color:white;padding:0}
.boxy-content {padding:10px;}

/* Question Boxes */
.boxy-wrapper .question {width:350px;min-height:80px;}
.boxy-wrapper .answers {text-align:right;}
