/*
Theme Name: 爱唯主机建站教程模板  
Theme URI: http://idc.aiweiidc.com
Description: 清爽 干净 整洁 大气的模板
Author: longtian 
Author URI: http://idc.aiweiidc.com
Version: 1.0 
Tags: 大气, 清爽, 美观

主题文件夹路径：<?php bloginfo('template_directory'); ?>
获取主页路径：<?php echo get_option('home'); ?>
*/
@charset "utf-8"; 
/* DIVCSS5-CSS初始化模板 */ 
body, div, address, blockquote, iframe, ul, ol, dl, dt, 
dd, li, dl, h1, h2, h3, h4, pre, table, caption, th, td, form, 
legend, fieldset, input, button, select, textarea {margin:0; 
padding:0;font-style: normal;font:12px/22px Arial, Helvetica, sans-serif;} 
ol, ul ,li{list-style: none;} 
img {border: 0; vertical-align:middle;} 
body{color:#000000;background:#FFF; text-align:center;} 
.clear{clear:both;height:1px;width:100%; overflow:hidden; margin-top:-1px;} 
a{color:#000000;text-decoration:none; }  
a:hover{color:#BA2636;text-decoration:none;} 
.clear {clear:both;}
.center {
	width: 1155px;
	margin:0 auto;
}
/*幻灯片*/
#myFocus{ width:880px; height:418px;margin:0;}

/* DIVCSS5-CSS初始化模板结束 */ 
#header_top {
	width:100%;
	height:70px;
	background:#353535;
}
#header {
	width: 1180px;
	height: 65px;
	margin:0 auto;
}
#header h1 {
	background:url(images/logo.png) no-repeat;
	height: 65px;
	width:150px;
	float:left;
}
#header h1 a {
	display:block;
	width:150px;
	height:65px;
	text-indent:-9999px;
}
#header #nav {
	margin-left:160px;
	float:left;
	color: #A7A9AC;
    font-size: 14px;
    height: 65px;
}
#header #nav ul li {
	float: left;
	line-height: 65px;
}
#header #nav ul li a {
	color: #C3C6CA;
    display: block;
    font-family: "Microsoft Yahei";
    font-size: 15px;
    font-weight: bold;
    padding: 0 20px 15px 10px;
}
#header #nav ul li a:hover {
	text-decoration:none;
	color:#0be;
}
#header #search {
	float:left;
	padding-top:20px;
	line-height: 28px;
	padding-left:20px;
	margin:0;
}
#header #search input#go {
	float:left;
}
#search #sub {
	background:url(images/search-new.png);
	height: 30px;
	width: 37px;
	border:0;
	cursor: pointer;
}
#login {
	margin-top:25px;
	float:right;
	padding-right:45px;

}
#login a {
	color: #777777;
    font-family: "宋体";
    font-size: 12px;
    font-weight: normal;
    padding-left:5px;
}
#login a:hover {
	color:#bbb;
	text-decoration:none;
}
/*头部结束*/
#top_con {
	background:#DEDEDE;
    height: 430px;
    padding: 40px 0;
    width: 100%;
    margin:0 auto;
}
#slide {
	float:left;
}
#bigimg {
	 float: right;
    height: 430px;
    overflow: hidden;
    width: 255px;
}
/*top结束*/
/*main开始*/
#main {
	margin:30px 0;
	width: 870px;
	float:left;
	text-align:left;
}
#newtitle {
	height:75px;
	width: 100%;
}
#newtitle h3 {
	float:left;
	width: 300px;
	height: 75px;
	background: url(images/title_h3.png) no-repeat;
}
#newtitle h3 a {
	display:block;
	width:300px;
	height:75px;
	text-indent:-9999px;
}
#newtitle ul {
	float:right;	
	margin-top:27px;
}
#newtitle ul li {
	display:inline-block;
	float:left;
}
#newtitle ul li a {
	font-family: "Microsoft Yahei";
	border-right: 1px solid #777777;
	color:#777;
    float: left;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
}
#newtitle ul li a:hover {
	color:#c40000;
	text-decoration:none;
}
#newtitle ul li a.more {
	border-right:none;
}
.maintitle {
	border-bottom: 1px solid #CCCCCC;
    height: 280px;
    margin-bottom: 40px;
    width: 860px;
    position: relative;
}
.maintitle a {
	float:left;
}
.maintitle a img {
	width: 400px;
	height: 240px;
}
.maintitle a img:hover {
	filter:alpha(opacity=80);       /* IE */
	-moz-opacity:0.8;              /* Moz + FF */
	opacity: 0.8;    
}
.maintitle .titlebox {
	width:400px;
	height:210px;
	padding:15px;
	float:right;
}
.maintitle .titlebox h2 {
 	color: #333333;
    font-size: 20px;
    font-weight: bold;
    line-height: 32px;
    overflow: hidden;
    height:32px;	
}
.maintitle .titlebox span.time a {
	float:none;
	color:#777;
}
.maintitle .titlebox span.time a:hover {
	text-decoration:underline;
}
.maintitle .titlebox h2 a {
	font-weight: bold;
	display:block;
	width: 400px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.maintitle .titlebox h2 a:hover {
	color:#c40000;
}
.maintitle .titlebox span.time {
	color: #777;
    display: block;
    height: 30px;
    line-height: 30px;
    margin-bottom: 20px;	
}
.maintitle .titlebox .titlep {
	height: 105px;
    line-height: 25px;
    overflow: hidden;
    color:#666;
    text-indent:24px;
}
.maintitle .titlebox .b {
    width: 380px;
    height: 20px;
    text-align: right;
}
.maintitle .titlebox .b .read {
	background: url(images/smallimg.png) no-repeat 0 -22px;
	padding-left: 20px;
	height: 20;
	line-height:20px;
	color:#555;
}
.maintitle .titlebox .b .love {
	background: url(images/smallimg.png) no-repeat 0 -62px;
	padding-left: 20px;
	height: 20;
	line-height:20px;
	color:#555;
	margin-left:10px;
}
.maintitle .titlebox .b .love a {
	float:none;
}
.maintitle .titlebox .cat {
	background: none repeat scroll 0 0 #000000;
    bottom: 40px;
    font-family: "Microsoft Yahei";
    font-size: 11px;
    height: 26px;
    left: 0;
    line-height: 26px;
    opacity: 0.7;
    position: absolute;
}
.maintitle .titlebox .cat a {
	color:#fff;
	display:block;
	height: 26px;
	padding: 0 15px;
	border:none;
}
.maintitle .titlebox .cat a:hover {
	background:#0E7DB1;
}

/*sidebar开始*/
#sidebar {
	margin:30px 0;
	float:right;
	width: 250px;
}
#sidebar h3 {
	width: 250px;
	height:42px;
	background:url(images/sidebat_h3.png) no-repeat;
	color:#fff;
	line-height: 35px;
	text-align: center;
	font-size:20px;
	font-weight: bold;
	letter-spacing:3px;
}
#sidebar img {
	width: 250px;

}
#sidebar dl dt img:hover {
	filter:alpha(opacity=80);       /* IE */
	-moz-opacity:0.8;              /* Moz + FF */
	opacity: 0.8;   
}
#sidebar dl dt a {
	color: #555;
	font-size:14px;
	height: 30px;
	line-height: 30px;
	text-align:center;
	font-weight:bolder;
}
#sidebar dl dt a:hover {
	color:#c40000;
}
#sidebar dl dd {
	color:#09f;
}
#sidebar dl dd a {
	color:#09f;
}
#sidebar dl dd a:hover {
	text-decoration:underline;
}
.sidebarmore {
	width: 100%; 
	text-align: right;
	margin:10px 0 30px 0;
}
.sidebarmore a {
	color:#555;
}
.sidebarmore a:hover {
	color:#c40000;
}
h3#tupian {
	margin-bottom:20px;
}
.leftbg {
	width: 42px;
	height:70px;
	background: url(images/leftbg.jpg);
	float:left;
}
.bg1 {
	background: url(images/leftbg1.jpg) no-repeat;
	height:51px;
	padding-top:5px;
}
span.month {
    font-size: 20px;
    color:#fff;
   
}
span em {

	color:#fff;
    font-size: 12px;
    font-style: normal;
}
span.year {
	 color: #888888;
    font-size: 12px;
    text-align: center;
    width: 42px;
    display: block;
    padding-top: 3px;
}
#sidebar ol li {
	text-align: left;
	border: 1px solid #CCCCCC;
    line-height: 35px;
    margin-bottom: 10px;
    width: 185px;
  	float:right;
}
#sidebar ol li a {
	padding-left:10px;
	display:block;
	width: 175px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
#sidebar ul#hot {
	margin-top:20px;
}
#sidebar ul#hot li {
	border-bottom: 1px dashed #CCCCCC;
    height: 70px;
    margin-bottom: 15px;
}
#sidebar .smallimg img{
	width: 85px; 
	height: 55px;
 	float:left;
}
#sidebar ul#hot li a.righttitlt{
	float: right;
    height: 52px;
    overflow: hidden;
    width: 145px;
    color: #333333;
    font-family: "Microsoft Yahei";
    font-size: 13px;
    line-height: 24px;
    text-align: left;
}
#sidebar ul#hot li a.righttitlt:hover {
	color:#c40000;
}
#link {
	margin-top:30px;
}
#link ul {
	margin-top:20px;
}
#link ul li {
	border-bottom: 1px solid #E5E5E5;
    float: left;
    height: 28px;
    line-height: 28px;
    overflow: hidden;
    padding-right: 10px;
    width: 115px;
    font-size: 13px;
    text-align: left;
}
#link ul li a {
    color: #555555;
}
#link ul li a:hover {
	color: #c40000;
}
#link h3 {
	width: 250px;
	height:47px;
	background:url(images/links_bg.png) no-repeat;
	color:#000;
	line-height: 35px;
	text-align: center;
	font-size:20px;
	font-weight: bold;
	letter-spacing:3px;
}
/*fotter*/

#sitemap {
    border-top: 8px solid #333333;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 40px;
    width: 1180px;
    text-align: left;
}
#sitemap h4 {
    color: #000000;
    font-family: arial;
    font-size: 34px;
    line-height: 70px;
    margin-bottom: 10px;
}
#sitemapmenu {
	width: 880px;
	float:left;
}
#sitemapmenu .fenlei {
	border-left: 1px solid #CCCCCC;
    color: #333333;
    float: left;
    font-weight: bold;
    line-height: 24px;
    list-style: none outside none;
    min-height: 200px;
    padding: 0 10px 10px;
    width: 140px;
}
#sitemapmenu .fenlei a {
	color: #333;
    font-weight: bold;
}
#sitemapmenu .fenlei a:hover {
	text-decoration:underline;
}
#sitemapmenu .fenlei ul li {
	background:url(images/sitemap-dot.gif) no-repeat left center;
	border: medium none;
    float: none;
    font-weight: normal;
    min-height: 24px;
    padding: 0 0 0 15px;
}
#sitemapmenu .fenlei ul li a {
    font-weight: normal;
    color:#555;
}
.rss {
	border-left: 1px solid #CCCCCC;
    float: right;
    min-height: 200px;
    padding: 0 10px;
    width: 240px;
}
.rss h3 {
	color: #333333;
    font-size: 12px;
    margin-bottom: 12px;
    padding-top: 0;
    font-weight: bold;
}
.rss img {
	margin: 0 12px 12px 0
}

#footer_wrap {
	background: url(images/footer_bg.jpg) repeat scroll 0 0 ;
    min-width: 1180px;
    overflow: hidden;
    padding: 25px 0 30px 0;
}
#footer {
	margin: 0 auto;
    position: relative;
    width: 1180px;
}
.footer_navi {
    margin-bottom: 15px;
    overflow: hidden;
}
.footer_navi ul li {
    float: left;
    list-style: none outside none;
}
.footer_navi ul li a {
    color: #00BBEE;
    font-family: "Microsoft Yahei";
    margin-right: 25px;
}
.footer_navi ul li a:hover {
	color:#fff;
}
.footer_info {
    text-align: left;
    color:#666;
}

.footer_info a {
    color: #999999;
}
.footer_info a:hover {
	color:#c40000;
}
/*分类*/
#mainbg {
	width: 100%;
	background:#f4f4f4;
	overflow:auto
}
.lbg {
	border-right: 1px solid #000000;
	min-height: 1410px;
}
/*面包屑导航*/
#bcrumbs {
    border-bottom: 1px solid #CCC;
    height: 30px;
    line-height: 30px;
    padding-right: 30px;
    width: 830px;
    margin-bottom:30px;
}
#bcrumbs a {
	color:#000;
}
#bcrumbs a:hover {
	color:#0be;
}
/*文章页面*/
#single {
	color:#666;
	font-size: 16px;
    line-height: 2.1em;
    font-family: "宋体";
}
#single img {
	padding:2px;
	max-width:860px;
	border: 1px solid #ccc;
}
#single img:hover {
	border: 1px solid #666
}
#single h2{
	font-weight: bold;
	font-size:20px;
	color:#333;
	margin-bottom:10px;
}
#single span {
	display: block;
	width:860px;
	padding-bottom:30px;
	margin-bottom:20px;
	border-bottom: 1px solid #CCCCCC;
}
#single span a,#single a {
	color:#09f;
}
#single span a:hover,#single a:hover {
	color:#c40000;
}
#single p {
	text-indent:32px;
	padding:0 10px 10px 0;
}
/*---PageNumber---*/
.page_navi{width:100%;height:36px;line-height:36px;text-align:center;overflow:hidden;}
.page_navi a{padding:3px 8px;margin:2px;text-decoration:none;color:#888;border:1px solid #ccf;-moz-border-radius: 12px;-webkit-border-radius: 12px;border-radius: 12px;}
.page_navi a:hover,.page_navi a.current{border:1px solid #FA983F;color:#F53B24;font-weight:bolder;}
.postcopyright{width:98%;margin:15px 0;border:1px solid #e5e5e5;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 4px;line-height:25px;padding:5px 5px;font-size:13px}
.postcopyright a {
	color:#09f;
}
.postcopyright a:hover {
	color:#c40000;
}
/*猜你喜欢*/
#love h3 {
 	color: #000000;
    font-weight: bold;
    padding-bottom: 4px;
    vertical-align: middle;
    font-size:12px;
   	border-bottom: 1px solid #E0E0E0;
    width: 100%;
}
#love ul {
	margin:0 auto; 
	width: 780px;
	text-align: center;
	margin-top:20px;
}
#love ul li {
	 float: left;
    font-size: 12px;
    height: 200px;
    text-align: center;
    width: 260px;
}
#love ul li a img {
	width: 250px; 
	height: 150px; 
	margin-bottom: 0px;
}
#love ul li a span {
	margin-top: -5px;
}
/*多说评论*/
#ds-reset {
	width:850px;
}
/*独立页面*/
#page {
	width: 100%;
	background: url(images/body_bg.jpg) repeat scroll 0 0 #3C3E41;
	color:#999;
	font-family: "Microsoft Yahei","Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 12px;
    height: 100%;
    text-align: left;
    padding:30px 0;
}
#pagesmain {
	width: 1155px;
	margin:0 auto;
	background: none repeat scroll 0 0 #F4F4F4;
    color: #666;
    font-size: 12px;
    padding: 20px 30px 100px;
}
#pagesmain a {
	color: #FF0000;
}


/*暗箱图片*/
/*::::: PIROBOX RULES::::::::*/
.piro_overlay { position: fixed; _position: absolute; top: 0; left: 0; width: 100%; height: 100%; background:#000; display: none; z-index:99997; }

.loading span{position:absolute;top:50%;left:50%;margin-top:-15px;margin-left:-15px;width:30px;height:30px;display:block;z-index:100008; background:none }
.loading span span{position:absolute; display:block; width:30px;height:30px; z-index:100009;background: url(img/ajax-loader.gif) center center no-repeat!important;background: url(img/ajax-loader.gif) center center no-repeat;}

.caption{position:absolute;bottom:0;left:0;margin:0;display:block; padding:0px; cursor:text; background:#222;}
.piro_nav{position:absolute;bottom:0;left:50%;margin:0;display:block; padding:0; background:none;}
.caption p{ display:block; margin:0;padding:4px 28px 4px 38px; text-align:center; font-weight:normal; background:black; color:white; font-size:12px;}

a.piro_close{position:absolute;top:20px;right:20px;height:35px;width:35px;background:url(img/close_btn.png) no-repeat;cursor:pointer;z-index:100006;}
a:hover.piro_close{background:url(img/close_btn_h.png) no-repeat;}

a.piro_next{position:absolute;top:50%;width:35px; height:35px;right:20px;text-indent:-999em;outline:none; display:block; margin:-18px 0 0 0;background:url(img/next.png) center right no-repeat; border:none; cursor:pointer;z-index:1000000001}
a:hover.piro_next{background:url(img/next_h.png) center right no-repeat;}

a.piro_prev{position:absolute;top:50%;width:35px; height:35px;left:20px; text-indent:-999em; outline:none;display:block;margin:-18px 0 0 0;background: url(img/prev.png) center left no-repeat;border:none; cursor:pointer; z-index:1000000000}
a:hover.piro_prev{background:url(img/prev_h.png) center left no-repeat;}



.pirobox_content {position:absolute; top:50%; left: 50%; padding:0; width: 800px; height: 600px; margin:-300px 0 0 -400px; display:block; z-index:99998;font-family:Trebuchet MS,Arial;}
.pirobox_content table,tbody,tr,th,td{margin:0;padding:0;border:none;}
.pirobox_content img{ margin:0; padding:0; border:none;}

.t_l{background:url(img/t_l.png) no-repeat; width:20px; height:20px;}
.t_r{background: url(img/t_r.png) no-repeat; width:20px; height:20px;}
.t_c{height:20px; background:url(img/t_c.png) repeat-x;}

.c_l{width:20px; background: url(img/c_l.png) repeat-y;}
.c_c{background:black; margin:0; padding:0;}
.c_c div{width:760px; height:560px; margin:0; padding:0 0 0px 0;}
.c_r{width:20px; background: url(img/c_r.png) repeat-y;}

.b_c{height:20px; background:url(img/b_c.png) repeat-x;}
.b_l{background:url(img/b_l.png) no-repeat; width:20px; height:20px;}
.b_r{background:url(img/b_r.png) no-repeat; width:20px; height:20px;}

/*.t_l{background:#000; width:10px; height:10px;}
.t_r{background:#000; width:10px; height:10px;}
.t_c{height:10px; background:#000;}

.c_l{width:10px; background:#000;}
.c_c{background:#000; margin:0; padding:0;}
.c_c div{width:380px; height:180px; margin:0; padding:0;}
.c_r{width:10px; background: #000;}

.b_c{height:10px; background:#000;}
.b_l{background:#000; width:10px; height:10px;}
.b_r{background:#000; width:10px; height:10px;}
*/
.box_img{ position:absolute; z-index:99995; background: url(img/img_bg.png);width: 100%; top:30px; left:30px; height: 100%; padding:0;}
.err_mess{ position:absolute;bottom:20px; color:white; padding:0; margin:0 0 0 20px; display:block;}
.err_mess a{color:red; font-weight:700;}
.number{position:absolute;margin-left:3px;height:18px;width:30px; padding:3px;left:0;color:#666;bottom:1px; font-size:11px;}
a.link_to {position:absolute;margin-right:6px;height:20px;width:20px;right:0;color:#999;bottom:3px; background:url(img/link_out.png) no-repeat; text-indent:-999em;}
a:hover.link_to { background:url(img/link_out_h.png) no-repeat;}
a.play{position:absolute;top:20px!important;top:20px;left:20px!important;left:20px;width:40px; height:40px; margin:0; outline:none; display:block;background:url(img/play.png) no-repeat; text-indent:-999em; border:none;cursor:pointer;}
a:hover.play{background:url(img/play_h.png) no-repeat;}
a.stop{position:absolute;top:20px!important;top:20px;left:20px!important;left:20px;;width:40px; height:40px; margin:0; outline:none; display:block;background:url(img/pause.png) no-repeat;text-indent:-999em; border:none;cursor:pointer;}
a:hover.stop{background:url(img/pause_h.png) no-repeat;}

/*归档页面*/

h2#guidang {
	font-size:20px;
	font-weight: bold;
}
#guidang1 p {
	color: #666666;
    font-size: 14px;
    line-height: 180%;
    margin: 5px 0 10px;
    text-indent: 2em;
}
#guidang1 em {
   color: #A40000;
    padding: 0 2px;	
}

#guidang1 a {
	color: #35aadc;
}
#guidang1 a:hover {
	color:#e14d43;
}
#guidang1 h3 {
	border-bottom: 1px solid #666;
    color: #666666;
    font-size: 18px;
    line-height: 28px;
    margin: 15px 0;
    padding-left: 10px;
}
#guidang1 ul {
	padding: 5px 10px;

}
#guidang1 ul li {
	list-style: circle outside none;
    margin-left: 20px;
   	font-size:14px;
}