@charset "utf-8";
/*
Theme Name: 凯达
Theme URI: 
Description: 
Author: 
Author URI: 
Version: 1.5
Tags: 
Time: 
*/

/* 首字母大写 
body{text-transform:capitalize;}*/

/* 浮动与清除 */
.fleft {float: left;}
.fright {float: right;}
.clearfix:after {clear: both;content: ".";display: block;height: 0;font-size: 0;visibility: hidden;}
.clearfix {*zoom:1;}
img.aligncenter{display:block;margin-left:auto;margin-right:auto;}
.ovh{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
#wpmobans{display:none;}
.languagediv,.languagediv ul li{display:inline-block;}
.languagediv ul li a{padding-left:20px;background-position: 0px;}

.topdiv1{width:40%}
.topdiv1 img{width:100%;height:280px;border:1px solid #ddd;}
.topdiv2{width:55%}
.topdiv2 h2{font-size:1.5em;font-weight:600;margin-bottom:20px}
.topdiv2 p{line-height:2em}
.proul{text-align:center}

.proul li{padding:20px 10px;font-size:1.2em;display:inline-block;}

.picScroll-left{ width:100%;  position:relative;  margin-top:20px }
.picScroll-left .prev,.picScroll-left .next{ position:absolute; left:3%; top:50%; margin-top:-25px; display:block; width:32px; height:40px; background:#ddd url(indexstatic/images/slider-arrow.png) -110px 5px no-repeat; filter:alpha(opacity=50);opacity:0.5;  z-index:999; }
		.picScroll-left .next{ left:auto; right:3%; background-position:8px 5px; }
.picScroll-left .prev:hover{}
		.picScroll-left .next:hover{ filter:alpha(opacity=100);opacity:1;  }
		.picScroll-left .prevStop{ display:none;  }
		.picScroll-left .nextStop{ display:none;  }
		.picScroll-left .bd{ padding:0px;   }
		.picScroll-left .bd ul{ overflow:hidden; zoom:1; }
		.picScroll-left .bd ul li{ float:left; _display:inline; overflow:hidden; text-align:center; margin:20px 10px}
		
		.picScroll-left .next{right:-30px;}
		.picScroll-left .prev{left:-30px}

.picScroll-left .bd{ padding:10px;   }
		.picScroll-left .bd ul{ overflow:hidden; zoom:1; }
		.picScroll-left .bd ul li{width:23.5%; margin:0 8px; float:left; overflow:hidden; text-align:center;  }
		.picScroll-left .bd ul li .pic{ text-align:center; }
		.picScroll-left .bd ul li .pic img{ width:100%; height:160px; display:block;   }
		.picScroll-left .bd ul li .pic a:hover img{ border-color:#999;  }
		.picScroll-left .bd ul li .title{ line-height:24px;  }

		@media screen and (max-width: 768px) {
			.picScroll-left{width:100%}
			.picScroll-left .bd ul li{width:98%;}
		}


.picScroll-left{margin-top:20px}		
.newproul img{height:260px !important}

.slideTxtBox{ width:450px; border:1px solid #ddd; text-align:left;  }
		.slideTxtBox .hd{ height:30px; line-height:30px; background:#f4f4f4; padding:0 10px 0 20px;   border-bottom:1px solid #ddd;  position:relative; }
		.slideTxtBox .hd ul{ float:left;  position:absolute; left:20px; top:-1px; height:32px;   }
		.slideTxtBox .hd ul li{ float:left; padding:0 15px; cursor:pointer;  }
		.slideTxtBox .hd ul li.on{ height:30px;  background:#fff; border:1px solid #ddd; border-bottom:2px solid #fff; }
		.slideTxtBox .bd ul{ padding:15px;  zoom:1;  }
		.slideTxtBox .bd li{ height:24px; line-height:24px;   }
		.slideTxtBox .bd li .date{ float:right; color:#999;  }






.topnav li.menu-item-has-children .sub-menu{ display:none; left:0; top:64px;  position:absolute; left:-20px;background:#fff;  line-height:26px; width: calc(100% + 40px);z-index:999; }
.topnav li.menu-item-has-children .sub-menu li{ zoom:1;display:block;float:none;  }
.topnav li.menu-item-has-children .sub-menu li a{ display:block; width:100% !important;color:#666;border-bottom:1px solid #eee;text-align:center;}
.topnav li.menu-item-has-children .sub-menu li:hover a{ background:#252525;color:#fff; }

/*解决图片高度不一样错位问题 2n+3:一行2个+（2+1）
.product_list88 li:nth-child(2n+3){clear:left}
*/
/*解决图片高度不一样错位问题 2n+3:一行2个+（2+1）


/*
页面简介调用：
<?php $wzjianjie = get_post_meta($page->ID,'wzjianjie',true);if($wzjianjie){echo $wzjianjie;}else{?><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $page->post_content)), 0, 200,'……'); ?><?php }?>

文章简介调用：
<?php $wzjianjie = get_post_meta($post->ID,'wzjianjie',true);if($wzjianjie){echo $wzjianjie;}else{?><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 100,'……'); ?><?php }?>

*/



/*次导航
方法一：
<?php wp_nav_menu( array( 'theme_location' =>'topmenu','container' => '','menu_class' => 'topnav','menu_id' => 'topmeau','depth' => 2, ) ); ?>
<style>
.topnav li{position:relative;}
.topnav .sub-menu{display:none;position:absolute;left:0;right:0;top:60px;z-index:999;width: 100%;background:#333;}
.topnav .sub-menu>li,.topnav .sub-menu>li a{display:block;width:100%;text-align:center;}
.topnav li:hover>.sub-menu,.topnav .sub-menu:hover{display:block;}
.topnav .sub-menu li{line-height:30px;}
.topnav .sub-menu .sub-menu{position:absolute;top:0;left:100%;}
</style>

方法二：
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/admin/js/jquery.SuperSlide.2.1.3.js"></script>

<?php wp_nav_menu( array( 'theme_location' =>'topmenu','container' => '','menu_class' => 'topnav','menu_id' => 'topmeau','depth' => 2, ) ); ?>

<script id="jsID" type="text/javascript">
			
			jQuery("#topmeau").slide({ 
				type:"menu",// 效果类型，针对菜单/导航而引入的参数（默认slide）
				titCell:"li.menu-item-has-children", //鼠标触发对象
				targetCell:".sub-menu", //titCell里面包含的要显示/消失的对象
				effect:"slideDown", //targetCell下拉效果
				delayTime:300 , //效果时间
				triggerTime:0, //鼠标延迟触发时间（默认150）
				returnDefault:true //鼠标移走后返回默认状态，例如默认频道是“预告片”，鼠标移走后会返回“预告片”（默认false）
			});
		</script>
		
.topnav>li{float:left;font-size: 15px;color: #282828;margin-left: 28px;position:relative;}
.topnav>li:hover,.topnav>li.current-menu-item{border-bottom:1px solid #d82019;}
.topnav li.menu-item-has-children .sub-menu{ display:none; left:0; top:80px;  position:absolute; left:-20px;background:#fff;  line-height:26px; width: calc(100% + 40px);z-index:999; }
.topnav li.menu-item-has-children .sub-menu li{ zoom:1;  }
.topnav li.menu-item-has-children .sub-menu li a{ display:block; padding:10px; color:#666;border-bottom:1px solid #eee;text-align:center;}
.topnav li.menu-item-has-children .sub-menu li:hover a{ background:#0b50a2;color:#fff; }


*/



/*文章页*/
.kmain,.kmain p{line-height:2.3em;}
.kmain img {display:block;	max-width:100%;	height:auto;margin:10px auto;}
.kmain video{display:block;	max-width:100%;	height:auto;}

.kmain code{padding:1px 4px;border-radius:2px;background-color:#eee;font-family:'courier new';color:#777;margin:0 4px}
.kmain table{border:solid 0px #ddd;max-width: 100%;box-sizing:border-box;margin-bottom: 16px;border-collapse:collapse;}
.kmain table th{background-color:#f9f9f9;text-align:center}
.kmain table td,.kmain table th{border-bottom:solid 0px #ddd;border-right:solid 0px #ddd;padding:5px 10px}

.kmain .alignleft{float:left;text-align:left;margin-right:10px}
.kmain .aligncenter{text-align:center}
.kmain .alignright{float:right;text-align:right;margin-left:10px}

.kmain pre{margin:15px auto;font:12px/20px 'courier new';border:1px solid #d6d6d6;border-left-width:4px;background:#fbfbfb;padding:10px 15px}
.kmain blockquote{margin:15px auto;border:1px solid #d6d6d6;border-top-width:3px;padding:15px 20px 10px;background-color:#fdfdfd;}
.kmain blockquote p{margin:0;padding:0;text-indent:24px;margin-bottom:10px;}

@media screen and (max-width: 768px) {
	.kmain {overflow-x:auto !important;}
	.kmain table{width:100% !important;}
	.kmain table img{max-width:100% !important;}
	.topdiv1,.topdiv2{width:100%;margin-bottom:10px;}
}

/* 分页*/
.pagination{height:40px;width:100%;text-align:center;margin-top: 20px;text-align:center;}
.pagination .current, .pagination a{display:inline-block;height:30px;line-height:30px;padding:0px 8px;border:1px solid #c0c8ce;border-radius: 3px;margin-right:10px;font-size:14px;text-decoration:none;}
.pagination a:hover,.pagination .current{color:#6e7275;background:#FFF;}
.pagination a{background:#c0c8ce;color:#FFF;}