@charset "utf-8";
/*
Theme Name: 农药网
Theme URI: https://wpmbg.com/
Description: WP模板阁开发主题，更多主题请访问：<a href="https://wpmbg.com/">WP模板阁</a>，获得技术支持QQ：1730401718
Author: WP模板阁
Author URI: https://www.google.com/
Version: 1.5
Tags: Wordpress,Wordpress主题,网站主题,WP模板阁
Time: 
*/

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

/* 全大写 
.topnav{text-transform:uppercase;}*/

/* 浮动与清除 */
.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;}
.logoimg{max-width:100%;max-height:100%;}
#wpmobans{display:none;}
.fnone{display:none!important;}
.wp-caption{max-width:100%;}

/*侧边栏三级菜单*/
.zicategory{padding:5px 5px 5px 10px;display:none}
.zicategory li{padding:5px 0;height:40px;line-height:40px}
.sidenav>li{position:relative}
.jia{position:absolute;display:block;width: 30px;height: 30px;text-align:center;line-height:30px;border-radius:50%;border:1px solid #ddd;right:20px;box-sizing: border-box;background: #fff;top:15px;cursor:pointer;}

/*
<script>
$(".jia").click(function () {
if($(this).nextAll("ul").length > 0){
$(this).nextAll("ul").stop().slideToggle();
}
})
</script>
*/


/*二唯码弹窗*/
#share_wechat2,#share_qq2{display: none;position: fixed;left: 0%;top: 0%;z-index: 99;width: 100%;height: 100%;background: rgba(0,0,0,0.3);}
.showwx2 {position: fixed;border-radius: 6px;left: 50%;top: 50%;z-index: 100;width: 380px;margin-left: -200px;margin-top: -200px;background: #fff;padding: 0px;text-align: center;}
.wxclose2 {width: 100%;font-size: 14px;color: #333;cursor: pointer;margin-bottom: 10px;float: right;text-align: right;width: 25px;height: 25px;text-align: center;margin: 5px 5px 0 0;background: url(basic/images/close.png) no-repeat;background-size: contain;}
.showwx2 img {width: 220px;}
.swz22 {text-align: center;font-size: 16px;}
.showwx2-1{padding: 0 10px;font-size: 18px;text-align: left;height: 50px;line-height: 50px;margin: 0;border-bottom: solid 1px #eeeeee;}
.showwx2-2{padding:10px;font-size: 16px;}
.rzimg{display: block;float: left;background: url(basic/images/yrz.png) no-repeat left center;height: 25px;width: 62px;}
.wxhsz{float:left;font-size: 16px;line-height: 25px;}
.showwx2-3{padding:10px;background:#f0f0f0;}
.showwx2-3 span{color: #2196F3;height: 25px;line-height: 30px;font-size: 15px;margin: 0;padding: 0;text-align: center;}
.showwx2-3 img{display:block;width:60%;margin:10px auto;}
.showwx2-4 a{display: inline-block;width: 50%;text-align: center;text-decoration: none;box-sizing:border-box;height: 50px;line-height: 50px;color: #1381ff;border-right: solid 1px #eeeeee;cursor:pointer;}
.showwx2-4 a:nth-child(2){border-right:none;}


/*前台编辑*/
.mbg_s{position:relative;z-index:999999}
.mbg_s .mbg_edit{display:block;width:20px!important;height:20px!important;position:absolute;top:0px;right:-20px;z-index:999999}
.mbg_s.fleft+.mbg_s.fleft .mbg_edit{position:absolute;top:0px;right:-50px;z-index:999999}

.mbg_s .mbg_edit i{display:block;width:20px!important;height:20px!important;border-radius:50%;background:#fff url(basic/images/edit.png) no-repeat;background-size:100% 100%;position:relative;z-index:999999;}
.mbg_s .mbg_flbj i{background:#fff url(basic/images/flbj.png) no-repeat;background-size:100% 100%;}

.mbg_none{display:none!important}



/*评论*/
#comments {width: 100%;margin: 10px 0px;padding:0;text-indent: 8px;border-bottom: 0px solid #d8dde0;}
h3#comments{font-size:18px;font-weight:400;border-left:2px solid #f60;padding-left:10px;margin:20px 0}
ol.commentlist{margin-left:0;}
#commentform{font-size:14px}
.commentlist p {text-indent: 0px;font-size: 14px;line-height: 1.6;padding:10px 0 10px 55px;}
.commentlist a:hover{text-decoration:none !important;}
.commentlist>li.comment{margin: 20px 0;padding:10px;}
.commentlist a:link, .commentlist a:visited {background: none;color: #333;}
.comment-awaiting-moderation{position: absolute;top: -20px;right: 0;font-size: 13px;color: #999;}
.comment-body{font-size:14px}
.commentlist li {list-style: none;background: #FFF;border-bottom: 1px solid #eee;box-sizing:border-box;position:relative}
.commentlist li .gravatar {display:inline-block;vertical-align:top;width: 48px;margin: 0px 8px 5px 0px;padding: 1px 1px;text-align: center;border: 1px solid #C7C7C7;}
.commentlist li .gravatar img,.comment-author img{margin: 0px;margin-right:10px;padding: 0px;border-radius: 50%;vertical-align: top;width: 40px;height: 40px;}
.comment-body,.commentlist li ul li{position:relative;padding-bottom:10px;}
cite.fn{font-style: normal;color: #980606;padding-right: 5px;position: relative;top: -4px;}
.commentlist .comment-author:hover img {-moz-transform: rotate(360deg);-webkit-transform: rotate(360deg);-webkit-transition: all ease-in-out .5s;-moz-transition: all ease-in-out .5s;}
.commentuser{display:inline-block;width:570px;}
.commentuser .codecolorer-container {width:560px !important;}
.commentlist li .floor {float: left;width: 48px;margin-top: 1px;padding: 2px 0px 1px;text-align: center;border-top: 1px solid #A7B6BE;background: F8F8F8;color: #999999;}
.commentlist li .authordata {float: right;width: 480px;}
.commentlist li .commentmetadata {font-size: 10px;color: #999;padding: 0 0 0px 57px;position: absolute;top: 20px;}
.commentlist li .commentmetadata a{color:#999}
.commentlist li .commentcontent {float: right;width: 480px;}
#editcomment p {padding: 10px 10px 5px;}
#author, #email, #url,#result{margin:5px 0 0 0;border: 1px solid #ced4da;color: #906;background: #FCFCFC;padding: 5px 5%;width:90%;}
#commentform label[for='url'],#commentform input#url{display:none;}
#respond {width: 100%;}
#respond h3,h3#respond{font-size:16px;padding:10px 0;border-bottom:1px solid #d8dde0;}
#comment {padding: 10px 3%;margin:5px 0 0 0;width: 94%;height:10em;color: #333;font-size: 14px;border: 1px solid #ced4da;}
#but_submit {margin-left: 72px;}
#commentform #submit {border-radius: 0;padding: 8px 10%;border: 0;background-color: #000;color:#fff;font-size:16px;cursor: pointer;margin-top:20px;}
#commentform #submit:hover{background-color: #333;}
#ctrl_enter {margin: 16px 0px 0px 5px;color: #066283;font-weight: bold;}
.submit_hover {border: 2px solid #FF6600;}
.comment-notes,label[for='comment'],.comment-form-cookies-consent{display:none;}
.comment-form-author{width:49%;float:left;}
.comment-form-email{width:49%;float:right;}
span.says{display:none}
.comment .reply{display: inline-block;position: absolute;top: 0px;right: 20px;font-size:12px;}
.comment .reply a{color:#999}


.ptit{font-size:38px;font-weight:600}

.search {
    float: left;
    padding: 27px 0 0 157px;
}

.goods_list li:nth-child(5n){margin-right:0!important}

.ftnav>li>a{ display:block;font-size: 16px;line-height: 36px;}

.ftnav ul li{margin-left:0 !important}

.floor-box .floor-con .floor-con-left .cat-box dl{float:none}
.floor-box .floor-con .floor-con-left .cat-box dl dd a,.floor-box .floor-con .floor-con-left .cat-box dl dt{width:auto;padding:0 5px}
.floor-box .floor-con .floor-con-left .cat-box dl dt{margin-bottom:10px;float:none;}
.floor-box .floor-con .floor-con-left .cat-box dl dd{width:auto;float:none;margin-bottom:10px}


.tab-bd>div{display:none;}
.tab-bd>div.active{display:block;}

.tabCon>div { display:none}
.tabCon>.active { display:block}

.newslist_bottom li{margin:15px 0}
.newslist_bottom li .newimg{width:25%;}
.newslist_bottom li .newimg img{width:100%;height:140px;}
.newslist_bottom li .news_con{width:73%}
.newslist_bottom li .news_con h3{font-size:18px;margin-bottom:15px}
.newslist_bottom li .news_con p{font-size:14px;color:#999;margin-bottom:15px}

.newslist_bottom li .tobuy a{font-size:14px;color:#999;}


.newslist_main h1{text-align:center;font-size:18px;margin:20px 0;}
.newslist_main .infos{text-align:center;font-size:14px;color:#999;margin:0 0 20px 0;}
.newslist_main .nextwz{padding:20px 0;line-height:2.5em}


.selltop_l{width:100%;}

.pd_buying_handle{width:calc(100% - 460px)}

.pt20{padding-top:20px}

.sellbottom_right .tab ul li.on{z-index:9}

.navlef .nav-category{display:block}




.nav-category dd:hover,.dd-son-box h3:hover,.nav-sub:hover h3.yiji,.dd-son-box:hover h3.erji{background: #c81118;color: #fff!important;cursor:pointer;}

.nav-sub div h3 span,.navlef .nav-category dl dd .dd-box h3 span{font-size:12px}
.box{width:580px;}
		.box img{vertical-align:top;border:0;}
		.tb-pic a{display:table-cell;text-align:center;vertical-align:middle;}
		.tb-pic a img{vertical-align:middle;}
		.tb-pic a{*display:block;*font-family:Arial;*line-height:1;}
		.tb-thumb{margin:10px 0 0;overflow:hidden;}
		.tb-thumb li{background:none repeat scroll 0 0 transparent;float:left;height:42px;margin:0 6px 0 0;overflow:hidden;padding:1px;}
		.tb-s310, .tb-s310 a{height:310px;width:380px;}
		.tb-s310{max-height:310px;max-width:380px;}
		.tb-s310 img{max-height:306px;max-width:376px;}
		.tb-s310 a{*font-size:271px;}
		.tb-s40 a{*font-size:35px;}
		.tb-s40 img{width:40px;height:40px;}
		.tb-s40, .tb-s40 a{height:40px;width:40px;}
		.tb-booth{border:1px solid #CDCDCD;position:relative;z-index:1;}
		.tb-thumb .tb-selected{background:none repeat scroll 0 0 #C30008;height:44px;padding:2px;}
		.tb-thumb .tb-selected div{background-color:#FFFFFF;border:medium none;}
		.tb-thumb li div{border:1px solid #CDCDCD;}
		div.zoomDiv{z-index:999;position:absolute;top:0px;left:0px;width:200px;height:200px;background:#ffffff;border:1px solid #CCCCCC;display:none;text-align:center;overflow:hidden;}
		div.zoomMask{position:absolute;background:url("basic/images/mask.png") repeat scroll 0 0 transparent;cursor:move;z-index:1;}

		/* 本例子css */
		.picFocus{ margin:0 auto;  width:100%; border:0px solid #ccc; padding:5px;  position:relative;  overflow:hidden;  zoom:1;   }
		.picFocus .hd{ width:100%; padding-top:5px;  overflow:hidden; }
		.picFocus .hd ul{ margin-right:-5px;  overflow:hidden; zoom:1; }
		.picFocus .hd ul li{ padding-top:5px; float:left;  text-align:center;  }
		.picFocus .hd ul li img{ width:60px; height:60px; border:1px solid #ddd; cursor:pointer; margin-right:5px;   }
		.picFocus .hd ul li.on{ background:url("images/icoUp.gif") no-repeat center 0; }
		.picFocus .hd ul li.on img{ border-color:#f60;  }
		.picFocus .bd li{ vertical-align:middle; }
		.picFocus .bd img{ width:100%; height:350px; display:block;  }
		
		@media screen and (max-width: 768px) {
		    .picFocus{width:100%}
			.box{width:380px;}
		}
/*底部菜单样式

.ftnav>li{width: 23%;float: left;padding: 30px 0;visibility: visible;animation-delay: 0.2s;animation-name: fadeInLeftA;}
.ftnav>li>a{display:block; padding-bottom: 20px;font-size: 18px;font-weight: normal;    color: #333;}
.ftnav ul li{height: 24px;line-height: 24px;overflow: hidden;}	
.ftnav ul li a {color: #888;}
*/


/*底部小图标
.ftico{width:30px;height:30px;display:block;margin:0px auto;}
.ico-home{background:url(basic/images/ftico/home.png) no-repeat;background-size:100% 100%;}
.ico-lianxi{background:url(basic/images/ftico/lianxi.png) no-repeat;background-size:100% 100%;}
.ico-wx{background:url(basic/images/ftico/wx.png) no-repeat;background-size:100% 100%;}
.ico-qq{background:url(basic/images/ftico/qq.png) no-repeat;background-size:100% 100%;}
.ico-liuyan{background:url(basic/images/ftico/liuyan.png) no-repeat;background-size:100% 100%;}
.ico-tel{background:url(basic/images/ftico/tel.png) no-repeat;background-size:100% 100%;}
.ico-top{background:url(basic/images/ftico/top.png) no-repeat;background-size:100% 100%;}

<i class="ftico ico-home"></i>
<i class="ftico ico-lianxi"></i>
<i class="ftico ico-wx"></i>
<i class="ftico ico-qq"></i>
<i class="ftico ico-liuyan"></i>
<i class="ftico ico-tel"></i>
<i class="ftico ico-top"></i>
*/


/*中英文切换按钮
.languagediv,.languagediv ul li{display:inline-block;margin-left:10px}
.languagediv ul li a{padding-left:20px;background-position: 0px;background-position:0 50%;}
.gt_selector option:first-child{display:none;}
*/

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



/*次导航
方法一：
<?php wp_nav_menu( array( 'theme_location' =>'topmenu','container' => '','menu_class' => 'topnav','menu_id' => 'topmeau','depth' => 2, ) ); ?>
<script>
$('.topnav>li.menu-item-has-children').append('<span class="xlsjx"></span>'); 
$(".topnav li .xlsjx").click(function () {
$(this).siblings("ul").slideToggle();
});
</script>


<style>
.topnav li{position:relative;}
.topnav .sub-menu>li,.topnav .sub-menu>li a{display:block;width:100%;text-align:center;box-sizing:border-box;margin:0;padding:0;}
.topnav .sub-menu li{line-height:36px;position:relative;}

.topnav li .sub-menu li a{color:#444;line-height:1.5em;padding:10px 0;}
.topnav li .sub-menu  li a:hover{color:#333}

.xlsjx{display:block;width:20px;height:20px;background:url(basic/images/down.png) no-repeat 50% 50%;position:absolute;z-index:9;right:5px;top:20px;background-size:70% 70%;}

@media screen and (min-width: 768px) {
.topnav li .sub-menu{position:absolute;left:-10%;right:0;top:100%;z-index:99999999999;background:#fff;width: 120%;box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);}
.topnav li .sub-menu{filter: progid:DXImageTransform.Microsoft.Shadow(color=#4c91c0,direction=120,strength=5);opacity: 0;visibility: hidden;transition: all .6s ease 0s;transform: translate3d(0, 10px, 0);-moz-transform: translate3d(0, 10px, 0);-webkit-transform: translate3d(0, 10px, 0);}
.topnav li:hover>.sub-menu,.topnav .sub-menu:hover{opacity: 1;visibility: visible;transform: translate3d(0, 0, 0);-moz-transform: translate3d(0, 0, 0);-webkit-transform: translate3d(0, 0, 0);}
.topnav .sub-menu .sub-menu{position:absolute;top:0;left:100%;}
}
@media screen and (max-width: 768px) {
	.topnav li .sub-menu{display:none;opacity: 1;position:relative;left:0;right:0;top:0;z-index:1;padding-left:10px;box-sizing:border-box;}
}
</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 p{text-indent:2em;}
.kmain .aligncenter{margin:10px auto;}
.kmain img {max-width:100%;	height:auto;display:block;margin:10px auto;}
.kmain video{max-width:100%;height:auto;display:block;margin:10px 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 1px #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 1px #ddd;border-right:solid 1px #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;}

/* 分页*/
.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;}


@media screen and (max-width: 768px) {
	div[id^="attachment_"]{width:100%!important;}
	.kmain {overflow-x:auto !important;}
	.kmain table{width:100% !important;}
	.kmain table img{max-width:100% !important;}	
	.showwx2{width:94%;margin-left:3%;left:0;}
}