// 本css由宏博cms原创，如需修改或转载请保留版权说明
// 宏博cms官方网站： http://www.hbcms.com/
// 如果您需要修改页面风格，请尽量在css里做修改
// 有满意的模板作品，请到宏博cms官方论坛和大家一起分享
// 欢迎您在此模板基础上做进一步的美化和个性化修改

document.write('<style>');

/*  ########### 网页重要参数设定 ###########  */


// 参数page_width表示整个网站的网页宽度
// 设置为980适合1024分辨率的屏幕，设置为780适合800分辨率的屏幕
page_width = '980px';	
nav_left_width = '8px'; // 导航条左右2边圆角的宽度
nav_body_width = '964px'; // 导航条正文宽度

page_left_width = '180px'; // 网页左边树形导航条宽度
page_left_show = 'block'; // 改成 none 则不显示左边树形导航条

page_right_width = '180px'; // 网页右边树形导航条宽度
page_right_show = 'block'; // 改成 none 则不显示,block 表示显示

focus_show= 'block'; // 改成 none 则不显示今日头条

border_color = '#5F5F5F';

title_link_color = '#FFFFFF';

sub_nav_bg_1 = '#DFDFDF';


is_firefox = ( document.all ) ? false : true;

/*  ########### 网页字体，链接等基本设置 ###########  */
document.write("body{margin: 0px;FONT-SIZE: 9pt;COLOR: #454545;LINE-HEIGHT: 158%;FONT-FAMILY:Arial, Helvetica, sans-serif; background-color: #FFFFFF;}form{margin:0}");

document.write(".tb_w{width:"+page_width+";text-align: center;}");
document.write(".dot{color:gray;}");
 
document.write("a:link,a:visited{color:#271624;text-decoration: none;}");
 document.write("a:hover{color:#D50000;text-decoration: underline;};");
 
/* ########### 导航条相关 ############### */

nav_link_height = '44px';	// 导航条的高度
nav_link_size = '14px';	// 导航条字体大小
nav_link_space = '8px';	// 导航条链接间距

nav_bg_pic = tpl_img_dir+"/nav_bg.gif";
nav_hover_pic = tpl_img_dir+"/nav_bg_hover.gif";
nav_left_pic = tpl_img_dir+"/nav_left.gif";
nav_right_pic = tpl_img_dir+"/nav_right.gif";

//nav_bg_pic = nav_hover_pic = nav_left_pic = nav_right_pic = tpl_img_dir+'/search_title_bg.gif';


// 导航条的基本风格
/*
//document.write(" .nav { border:1px solid "+border_color+";}");

document.write(" .nav ul {margin:0; padding:0;list-style:none;white-space: nowrap;overflow:hidden;}");
document.write(" .nav li {list-style-type: none;display: inline;float:left;text-align:center;overflow:hidden;text-overflow:ellipsis; height:"+nav_link_height+";white-space:nowrap; }");
document.write(".nav a:link, .nav a:visited {color:black;text-decoration: none;}");
document.write(" .nav a{height:"+nav_link_height+";text-decoration:none;}");

if (!document.all){
	document.write(" .nav a{display:block;}"); // 兼容firefox
}

// 自定义导航条（top_nav标记）的字体风格
document.write(" .nav .top_nav{font-size:"+nav_link_size+";font-weight:bold;color:white;margin-bottom:0px; }");
document.write(".nav .top_nav p { margin:0px;}");

document.write(" .nav a h1{font-size:"+nav_link_size+";font-weight:bold;line-height:46px; margin:0;padding:0;padding-left:"+nav_link_space+";padding-right:"+nav_link_space+";}");

// 导航条的各个链接的分隔符
document.write(" .nav li.split{border-left:1px solid #C0C0C0; height:13px; margin-top: 17px;margin-left:4px;width:4px; }");
//document.write(" .nav li.split{background-image:url("+tpl_img_dir+"/nav_split.gif); background-repeat:no-repeat;background-position: 0 5;height:20px;width:1px;}");

// 导航条的链接的背景和字体风格
document.write(".nav li.item a:link, .nav li.item a:visited{color:#FFFFFF;background-image:url("+nav_bg_pic+"); background-repeat:repeat-x;}");
// 导航条鼠标移动上去变化背景

//document.write(" .nav li.item a:hover{color:#FFFF66;background-image:url("+nav_hover_pic+"); background-repeat:repeat-x;background-position: 2px 8px;}");
document.write(" .nav li.item a:hover{color:#56E047;}");

// 导航条最左边（最前面）的背景
document.write(" .nav .nav_left {background-image:url("+nav_left_pic+");background-position: left top;width:8px;}");
// 导航条最右边（最后面）的背景
document.write(" .nav .nav_right {background-image:url("+nav_right_pic+");background-position: right top;width:8px;}");
// 导航条的静态背景
document.write(".nav_body {color:black;background-image:url("+nav_bg_pic+"); background-repeat:repeat-x;text-align: center;background-color: #272727;}");


// 导航条每个链接都预留了一个CLASS供个性化设置，
// CLASS名称为 nav栏目ID 请查看网页源代码
// 例如： document.write(".nav0 h1{color:green;}");

*/



document.writeln(".center{text-ailgn:center; float:center;margin-left:auto;margin-right:auto;}");


document.writeln(".nav { text-align: center;float:center;width:"+page_width+";} ");

// 导航条最左边（最前面）的背景
document.write(" .nav .nav_left {background-image:url("+nav_left_pic+");background-position: left top;width:"+nav_left_width+";margin:0;height:"+nav_link_height+";float:left;}");

// 导航条最右边（最后面）的背景
document.write(" .nav .nav_right {background-image:url("+nav_right_pic+");background-position: right top;width:"+nav_left_width+";height:"+nav_link_height+";float:right;}");

// 导航条主题部分
document.writeln(".nav_body .table { display:table; margin:0 auto; height:"+nav_link_height+";width:"+nav_body_width+";overflow:hidden;} ");

document.writeln(".nav_body .select, .nav_body .current { margin:0; padding:0; list-style:none; display:table-cell; white-space:nowrap; } ");
document.writeln(".nav_body li { margin:0; padding:0; height:auto; float:left; } ");

// 顶级栏目的链接
document.writeln(".nav_body .select a { display:block; height:"+nav_link_height+"; float:left; background: url("+nav_bg_pic+"); padding:0 30px 0 30px; text-decoration:none; line-height:"+nav_link_height+"; white-space:nowrap; color:#FFFFFF; background-color: #000000; } ");

// 当前栏目风格（预留，未启用）
document.writeln(".nav_body .current a { display:block; height:"+nav_link_height+"; float:left; background: url(none); padding:0 0 0 15px; text-decoration:none; line-height:"+nav_link_height+"; white-space:nowrap; color:#fff; background-color: #808080; } ");

// 当前栏目风格2（预留，未启用）
document.writeln(".nav_body .current a b { display:block; padding:0 30px 0 15px; background:url(none) right top; background-color: #FF00CC; } ");

// 鼠标移动到顶级栏目的风格1
document.writeln(".nav_body .select a:hover,.nav_body .select li:hover a { background: url(none); padding:0 0 0 15px; cursor:pointer; color:black; background-color: "+sub_nav_bg_1+"; } ");

// 鼠标移动到顶级栏目的风格2
document.writeln(".nav_body .select a:hover b, .nav_body .select li:hover a b { display:block; float:left; padding:0 30px 0 15px; background:url(none) right top; cursor:pointer; background-color: "+sub_nav_bg_1+"; } ");


document.writeln(".nav_body .select_sub { display:none;}  ");

document.writeln(".nav_body table { border-collapse:collapse; margin:-1px; font-size:1em; width:0; height:0; } ");

document.writeln(".nav_body .sub { display:table; margin:0 auto; padding:0; list-style:none;} ");

document.writeln(".nav_body .sub_active .current_sub a,.nav_body .sub_active a:hover { background:transparent; color:#f00; } ");

// 下级栏目的大背景
document.writeln(".nav_body .select :hover .select_sub, .nav_body .current .show { display:block; position:absolute; width:"+page_width+"; top:"+nav_link_height+"; background:url(none); padding:0; z-index:100; left:-"+nav_left_width+"; text-align:center; background-color: "+sub_nav_bg_1+"; } ");

document.writeln(".nav_body .current .show { z-index:10; } ");

//下级栏目的链接默认风格
document.writeln(".nav_body .select :hover .sub li a, .nav_body .current .show .sub li a { display:block; float:left; background:transparent; padding:0 10px 0 10px; margin:0; white-space:nowrap; border:0; color:#000000; } ");


document.writeln(".nav_body .current .sub li.sub_show a { color:#9900FF; cursor:default; background:url(none); background-color: #408080; } ");

//下级栏目链接的鼠标移动上去的风格
document.writeln(".nav_body .select :hover .sub li a:hover, .nav_body .current .sub li a:hover { visibility:visible; color:#CC0000; background:url(none); background-color: none; text-decoration: underline;} ");

// 导航条大背景
document.write(".nav_body {height:"+nav_link_height+"; background: url("+nav_bg_pic+") repeat-x; position:relative; font-family:宋体, arial, verdana, sans-serif; font-size:9pt; width:"+nav_body_width+";z-index:500;background-color: #330000;float:left;margin-left:auto;margin-right:auto;}");

if ( !is_firefox ){
	document.writeln(".nav_body ul {display:inline-block;} ");
	document.writeln(".nav_body ul {display:inline;} ");
	document.writeln(".nav_body ul li {float:left;} ");
	document.writeln(".nav_body {text-align:center;} ");
	document.writeln(".nav_body .select a:hover b, ");
	document.writeln(".nav_body .select li:hover a b {float:none;} ")
}

/* ################# 您的位置 ################# #EBFEFE */
document.write(".posi .tr1{background-color: white;}");
document.write(".posi .tr1 .td1{padding-left:25px;background-image:url("+tpl_img_dir+"/jian_tou.gif);background-repeat:no-repeat;background-position: 3 center; height:24px;}");
document.write(".posi .tr1 .td3{padding-right:5px; }");

document.write(".posi .tr2{background-color: white;height:0px;}");
document.write(".posi .tr3{height:4px;}");



/* ################# 树形导航条相关 ################# */
document.write(".page_left {width:"+page_left_width+";padding-right:5px;displ"+"ay:"+page_left_show+";}");
document.write(".page_right {width:"+page_right_width+";padding-left:5px;di"+"splay:"+page_right_show+";}");
document.write(".vertical_space {height:8px;}");



/* ################# 搜索框 ################# */
document.write(".search_title { background-color: #3D3D3D;height:30px;background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;font-weight: bold;padding-top: 9px;border:1px solid "+border_color+";border-bottom:0px solid white;color:"+title_link_color+";font-size:14px;}");
document.write(".search_body { background-color: #FFFFFF; padding-left: 2px;border:1px solid "+border_color+";border-top:0px solid white;}");
document.write(".search_title p { margin:0px;}");
//document.write(".search_body .search_box{ background-image:url("+tpl_img_dir+"/search_icon.gif);background-repeat:no-repeat;background-position: 10px center;padding-top:18px;padding-left:15px;}");
document.write(".search_body .search_box{ padding-top:18px;padding-bottom:18px;}");

document.write("#search_word {border: "+border_color+" 1px solid;width:100px;height:21px;}");
document.write("#search_btn { border:0px;width:32px;height:21px;background-color: white;padding-top:2px;}");

/* ################# 热门文章 ################# */
 
document.write(".hot_title { background-color: #3D3D3D;height:30px;background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;font-weight: bold;padding-top: 9px;border:1px solid "+border_color+";border-bottom: 0px solid white;color:"+title_link_color+";font-size:14px;}");
document.write(".hot_body { background-color: #FFFFFF; padding-left: 2px;border:1px solid "+border_color+";border-top:0px solid white;}");

/* ################# 推荐文章 ################# */
 
document.write(".commend_title { background-color: #3D3D3D;height:30px;background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;font-weight: bold;padding-top: 9px;border:1px solid "+border_color+";border-bottom:0px solid white;color:"+title_link_color+";font-size:14px;}");
document.write(".commend_body { background-color: #FFFFFF; padding-left: 2px;border:1px solid "+border_color+";border-top:0px solid white;}");
 
 
/* ################# 最新文章 ################# */
document.write(".new_title { background-color: #3D3D3D;height:30px;background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;font-weight: bold;padding-top: 9px;border:1px solid "+border_color+";border-bottom:0px solid white;color:"+title_link_color+";font-size:14px;}");
document.write(".new_body { background-color: #FFFFFF; padding-left: 2px;border:1px solid "+border_color+";border-top:0px solid white;}");
 
 

/* ################# 广告相关 ################# */
document.write(".gg_title { background-color: #3D3D3D;height:30px;background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;font-weight: bold;padding-top: 9px;border:1px solid "+border_color+";border-bottom:0px solid white;color:"+title_link_color+";font-size:14px;}");
document.write(".gg_body { background-color: #FFFFFF; padding-left: 2px;border:1px solid "+border_color+";border-top:0px solid white;}");
document.write(".gg_title p { margin:0px;}");


/* ################# 网页中间的内容主体相关 ################# */
document.write(".main_content {}");

document.write(".main_title {border:1px solid "+border_color+";border-bottom:0px solid white;background-color: #3D3D3D;height:30px;background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;font-weight: bold;color:"+title_link_color+";font-size:14px;padding-top:8px;padding-left:10px;text-align: left;}");
document.write(".main_body {padding-top:3px;background-color: #FFFFFF; padding-left: 2px;border:1px solid "+border_color+";border-top:0px solid white;}");

document.write(".main_title a:link, .main_title a:visited {color:"+title_link_color+";}");

//  ################# 今日头条表格风格 ################# 
document.write(".focus_tb {width:99%;}");
document.write(".focus_tb .td1 {}");
document.write(".focus_tb .td2 {width:290px;padding-left: 5px;disp"+"lay:"+focus_show+";}");
 
document.write(".focus_tb .tr1 td {background-image:url("+tpl_img_dir+"/jian_tou.gif);background-repeat:no-repeat;background-position: 0 center;color:#1BB0B8;padding-left: 19px;padding-top:2px;font-weight:bold;border-bottom:1px dashed #D9D9D9;height:29px;}");

document.write(".focus_tb .tr2 td { padding-left: 5px;height:28px;border-bottom:1px dashed #D9D9D9;}");
document.write(".focus_tb .tr3 td { height:28px; }");

//  ################# 首页栏目列表风格 ################# 
document.write(".category_title {border:1px solid "+border_color+";border-bottom:0px solid white;background-color: #3D3D3D;height:30px;background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;font-weight: bold;}");

document.write(".category_title a:link,.category_title a:visited{ color:"+title_link_color+";}");

document.write(".category_title .td1{ padding-left: 16px;padding-top:8px;color:#1B3278;font-size:14px;font-weight: bold;}");

document.write(".category_title .td2{ padding-right:2px;padding-top:2px;}");

document.write(".category_title .more{font-weight:normal;text-align:center;width:50px;line-height:16px;font-size:12px;color:#172444;border:1px solid #B1C1EF;background-color:#FFF;padding:0px 2px;padding-top:2px;margin:2px 0px;margin-right:4px; cursor:pointer;cursor:hand; di"+"splay:n"+"one;}");
document.write(".category_title .td2 a:link,.category_title .td2 a:visited{ color:#496DDA;}");
document.write(".category_body {background-color: #FFFFFF; padding-right: 6px;border:1px solid "+border_color+";border-top:0px solid white;line-height: 20px;padding-left:6px; height:100%;}");

document.write(".category_body td{background-color: #F7F7F7; padding-left: 6px;padding-top:5px;border-bottom:1px dashed #D7D7D7; }");
document.write(".category_body .td1{width:67px;}");
document.write(".category_body .s_img_div{width:65px;height:65px;border:0px;}");
document.write(".category_body .td2{text-align: left;color:gray;}");
document.write(".category_body .td2 a:link,.category_body .td2 a:visited,{ color:#232323;font-weight:bold;}");


//  ################# 首页友情链接风格 ################# 
document.write(".links .tr1 { background-image:url("+tpl_img_dir+"/search_title_bg.gif);background-repeat:repeat-x;}");
document.write(".links .tr1 .td1 { color:white;padding-left:10px;text-align: left;}");
document.write(".links .tr1 a:link{color:white;}");

//  ################# 列表页面风格 ################# 
document.write(".article_list {width:98%;}");
document.write(".article_list .tr1 {height:30px;}");
document.write(".article_list .tr1 a:link{color:blue;}");
document.write(".article_list .tr1 b{color:#BF0000;}");

document.write(".article_list .tr2 h1{background-image:url("+tpl_img_dir+"/jian_tou_5.gif);background-repeat:no-repeat;background-position: 0 center;font-size:14px;padding-left: 25px;padding-top: 3px;margin:0;}");
document.write(".article_list .tr2 .desc1{color:gray;height:24px;padding-left: 25px;padding-top: 4px;}");
document.write(".article_list .tr2 .desc2{padding-left: 23px;padding-bottom: 9px;}");

//  ################# 文章（列表）分页页码链接风格 ################# 
document.write(".page_links{ padding:10px 0; clear:both; height:18px;overflow:hidden; text-align: center;}");
document.write(".page_links u{ text-align:center; padding:3px 0 0 0; background:#FF9900; border:1px solid #FF6600; font-weight:bold; padding:2px 5px 0px 5px;color:#FFFFCC;text-decoration: none;font-size:11px;}");
document.write(".page_links a { text-align:center; padding:3px 0 0 0; background:white; border:1px solid #CCCCCC; font-weight:bold; padding:2px 5px 0px 5px; color:black; text-decoration: none;font-size:11px;}");
document.write(".page_links a:visited{ color:black;text-decoration: none;font-size:11px;}");
document.write(".page_links a:hover{ background:#1F3A87; color:#fff; padding:3px 5px 1px 5px;text-decoration: none;font-size:11px;}");
document.write(".page_links center {color:gray;}");

//  ################# 缩略图风格 ################# 
document.write(".s_img_table{width:130px;}");
document.write(".s_img_div {width:120px;height:120px;border:1px solid "+border_color+";overflow:hidden;position:relative;display:table-cell;text-align:center;vertical-align:middle;}");
document.write(".s_img_div p{position:static;+position:absolute;top:50%;}");
document.write("");
document.write(".s_img_div p img{filter : progid:DXImageTransform.Microsoft.Shadow ( enabled=t , color="+border_color+" , direction=135 , strength=5);border:1px solid #DEC992; +position:relative; top:-50%;left:-50%;}");
document.write(".s_img_title{height:30px;}");
document.write("");
document.write(".list_r{ border-bottom:1px dotted "+border_color+";margin:5px 10px; }");
document.write("");


/* 网页顶部背景 */

//document.write(".top_bg_1{background-image:url("+tpl_img_dir+"/top_bg_1.gif);background-repeat:no-repeat; }");
//document.write(".top_bg_2{background-image:url("+tpl_img_dir+"/top_bg_2.gif);background-repeat:no-repeat; }");
 
 /*  ################# 文章页风格 #################  */

document.write("hr{ color:"+border_color+";background-color:"+border_color+";border:0;Height:1px; }");

document.write(".button_001{ float:left; margin:4px 5px; width:70px; line-height:22px; height:22px; font-size:12px; text-align:center; border:1px solid #2F2F2F; cursor:pointer;cursor:hand; 	filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#FFFFFF, EndColorStr=#2F2F2F); background-color:#C0C0C0;}");

 document.write(".button_001, .button_001 a:link, .button_001 a:visited{color:#2F2F2F;}");

document.write(".jump_page_box{width:96%;}");
document.write(".article_info{height:24px;color:gray;padding-top:6px;}");
document.write(".this_page_url{ }");
document.write(".relate_aritcle{width:90%;}");
document.write(".relate_comment{width:95%;}");
document.write(".relate_category{padding-left:35px;background-image:url("+tpl_img_dir+"/jian_tou.gif);background-repeat:no-repeat;background-position: 13 center;  text-align: left; }");

/* ################# 文章页面评论框 ################# */
document.write(".comment_form_tb td{color:#2F2F2F;padding-left:15px;}");
document.write(".comment_form_tb .comment_body{border:1px solid "+border_color+";overflow: auto;}");
document.write(".comment_form_tb .comment_author{border:1px solid "+border_color+"; }");

document.write(".comment_form_tb .comment_submit{border:1px solid #C0C0C0;background-color:"+border_color+";padding-left:2px;padding-right:2px;padding-top:3px;}");
 


document.write('</style>');