﻿/*通用样式*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
input,
audio,
select,
option,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    font-family: 'DFQingGothicSC24-W4'!important;
}
@font-face {
    font-family: 'DFQingGothicSC24-W4';
    src: url('../fonts/DFQingGothicSC24-W4.otf');
    font-weight: normal;
    font-style: normal;
  }
@font-face {font-family: 'iconfont';
    src: url('../fonts/iconfont.eot');
    src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/iconfont.woff') format('woff'),
    url('../fonts/iconfont.ttf') format('truetype'),
    url('../fonts/iconfont.svg#iconfont') format('svg');
}
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}
html{
  font-size: 16px!important;
  margin:auto!important;
  max-width:786px;
}
body{
    background: #f6f6f6;
    margin: 0 auto;
    text-size-adjust: none;
    overflow-x: hidden;
}
/* header */
.header{
  width: 100%;
  height:4rem;
  /* background-image: url(../images/bg_top.jpg); */
  background-color: #004ea1;
  line-height:4rem;
  text-align: center;
  position: relative;
}
.head_l{
  position: absolute;
  height:4rem;
  left: 10px;

}
.head_l img{
  display: block;
  width: 150px;
  padding-top: .9rem;
}
.head_c{
  color: #fff;
  /* font-weight: bold; */
  margin-left: 10.5rem;
  float: left;
  font-size: 0.8rem;
}
.head_c p{
  line-height: 4rem;
  height: 4rem;
}
.head_r{
  position: absolute;
  line-height: 3rem;
  top: 10%;
  right: 2rem;
  padding-top: .4rem;

}
.head_r .iconfont{
  font-size: 1.4rem;
  color: #fff;
}

/* 导航 */
.large_box{
  padding: 0.60rem 0.32rem 0.24rem 0.32rem;
  overflow: hidden;
  background: url(../images/bg_top1.jpg) no-repeat;
  background-size: cover;
}
.large_box a {
  float: left;
  width: 25%;
  text-align: center;
  display: block;
  margin-bottom: .5rem;
  margin-top: .5rem;
  text-decoration: none;
}
.large_box a label {
  display: block;
  height: 1.1rem;
  margin: 0 auto;
}
.large_box a span{
  display: block;
  color: #333333;
  font-size: 1rem;
  padding: 2rem 0 0.15rem 0;
  text-decoration: none;
}

.large_box a .iconfont {
  font-size: 2rem;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: .5rem;
  background-color: #fff;
  box-shadow: 1px 1px 1px 1px #f9f1f1;
  color: #004ea1;
}
.large_box a b{
  font-size: .9rem;
  color: #999;

}
/* 养宠课堂 */
.card {
    box-shadow: none;
    padding: 1.25rem 0.18rem 0.5rem 0.18rem;
    background: #fff;
    margin-top: 10px;  
    overflow: hidden;
}
.card_header {
  border-radius: 0;
  height: 0.39rem;
  line-height: 0.39rem;
  padding: 0;
  min-height: 0;
  color: #333;
  font-weight: normal;
  margin: 0;
  margin-bottom: 1.5rem;
}
.pet_h2 {
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
}
.pet_more {
  float: right;
  font-size: .8rem;
  color: #999;
  font-weight: normal;
  position: relative;
  text-decoration: none;
  padding-right: .5rem;
}
.card_content {
  position: relative;
}
.com_newlist{
  list-style: none;
}
.com_newlist li:first-child {
  padding-top: .05rem;
}
.com_newlist li {
  padding: .7rem 0 .5rem 0;
  position: relative;
}
.com_newlist li a {
  display: block;
  overflow: hidden;
  text-decoration: none;
}
.com_newlist dt {
  width: 6.5rem;
  height: 6rem;
  float: left;
  margin-right: 1.24rem;
  position: relative;
  margin-bottom: .5rem;
}
.com_newlist dt img {
  display: block;
  width: 100%;
  height:100%;
  border-radius: .5rem;
  font-size: .2rem;
  object-fit: cover;
}
.com_newlist li:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #e9e9e9;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 200%;
  height: 1px;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
}
.com_newlist dd .h3 {
    font-size: 1rem;
    height: 1.2rem;
    line-height: 1.2rem;
    position: relative;
    color: #333;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
}
.com_newlist dd .no_seo{
  position: relative;
  top: 2.8rem;
  color: #afafaf;
}
.com_newlist dd .no_seo span{
  padding-right: 1rem;
float: right!important;
}
.com_newlist dd .no_seo .icon-shijian,.com_newlist dd .no_seo .icon-dongwuleyuan{
  font-size: .7rem;
  padding-right: .2rem;
}
.com_newlist dd .no_seo time{
  font-size: .8rem;
}
.com_newlist dd .no_name{
  font-size: .8rem;
}

/*
 * swiper
 * banner图样式
*/
.banner-par{width:100%;background: #fff;margin: 10px auto;}
.banner{ position:relative; zoom:1;width: 98%;margin: 0 auto;overflow: hidden;padding: .5rem 0rem .5rem 0rem;}
.swiper-banner{ overflow: hidden; }
.swiper-banner a{ display:block; }
.swiper-banner img{ max-width:100%; vertical-align:top;border-radius: 10px; }
.banner .swiper-pagination{ left: 0; bottom:1.2rem; width: 100%; line-height: 0; font-size: 0; text-align: center; }
.banner .swiper-pagination-bullet{vertical-align:top; margin:0 0.08rem; width:0.5rem;height:0.5rem; background:#fff; opacity:1; transition:none;}
.banner .swiper-pagination-bullet-active{ background: #00b5ad; }
.banner li.swiper-slide{list-style:none;}
/* 搜索 */
.button{
    margin:0 auto;
    font-size: 16px;
    display:none; 
    transition: all 1s;
}
.button form{
    padding:15px 0px 5px 0px;
}

.button form tr{
  width:40%;

}
.button .hot-search {
    width:80%;
    margin:10px auto;
}
.button .hot-search h3{
    color: #909399;
    padding-bottom: 10px;
}
.button .hot-search a{
    padding: 3px 10px;
    border-radius: 20px;
    margin: 5px 2px;
    display: inline-block;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #FF7544;
    text-decoration: none;
}
.mianbao{background-color: #fff;
    height: 50px;
    line-height: 50px;
    font-size:14px;
    padding-left:5px;
}
.button form input:nth-child(2){
    background: aqua;
    padding: 5px 7px;
    margin-left: -51px;
    border-radius: 3px;
}
/* 专家团队 */
.hot_item {
  width: 48%;
  display: block;
  float: left;
  font-size: 0.14rem;
  border-radius: 0.04rem;
  overflow: hidden;
  position: relative;
  padding-left: 1%;
}
.hot_item a {
  display: block;
  width: 100%;
}
.hot_item .hot_txt {
position: absolute;
    z-index: 1;
    padding: 0.13rem;
    font-size: 1rem;
    color: #fff;
    overflow: hidden;
    width: 100%;
    height: 1.3rem;
    text-align: center;
    background-color: #004ea1;
    opacity: 0.6;
    bottom: -0.1px;
}
.hot_item .hot_bg, .hot_item .hot_bg img {
  width: 100%;
  vertical-align: top;
  border-radius: 5px;
  object-fit: cover;
}
/* 底部 */
footer {
  text-align: center;
  position: relative;
  z-index: 999;
  font-size: 0.8rem;
  padding-top: 1rem;
  /* background: url(../images/bg_bottom.jpg) no-repeat; */
  background-color: #004ea1;
  background-size: cover;
}
footer a {
  display: block;
  color: #CCCCCC;
  text-decoration: none;
  padding-bottom: 1rem;
}
.consult {
    width:26px;
    position: fixed;
    right: 10px;
    bottom: 100px;
    z-index: 1000;
    opacity: .9;
}
.consult a{
    width: 26px;
    height: 26px;
    background-color: #51c332;
    margin-bottom: 10px;
    line-height: 26px;
    opacity: .7;

}
.consult a:first-child{
    background-color: #f60;
    display: block;
}
.consult a.plane{
    display:none;
}
.consult a .iconfont{
    font-size: 20px;
    padding-left: 3px;
    color: white;
}
.weixin{
    position:fixed;
    top:50%;
    margin:0 auto;
    padding:20px 0px;
    text-align:center;
    left:50%;
    transform: translate(-50%,-50%);
    width: 100%;
    background-color: #f8f8f8;
    z-index: 999;
    display:none;
}
.weixin img{
    display:block;
    width:50%;
    margin:0 auto;
}
.weixin p{
    margin-bottom:10px;
}

/*精彩视频*/
.video_column{
    position: relative;
    left: 0;
    width: 100%;
}
.video_column ul{
    width: 200%;
    /* background-color:red; */
    /* height: 100px; */
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 1rem;
}
.video_column ul li{
    width: 50%;
    float: left;
    list-style: none;
    margin-right:10px ;
    flex: 1;
    position: relative;
}
.video_column ul li img{
    border-radius: .5rem;
    width: 100%;
    height: 5rem;
    object-fit: cover;
}
.video_column ul li a{
    text-decoration: none;
    color: #333;
}
.video_column ul li .icon_play {
    width: 2rem;
    height: 2rem;
    background: url(../images/play_icon.png) no-repeat;
    background-size: 100%;
    position: absolute;
    left: 50%;
    top: 33%;
    text-align: center;
    transform: translate(-50%,-50%);
}
.video_column ul li p{
    padding-top:.5rem;
    font-size:.8rem;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;

}
/* tab栏切换*/
.tab{
    display: flex;
    justify-content: center;
    background-color: #fff;
    margin-bottom: 2px;
    padding-top: 5px;

}
.tab li{
  flex: 1;
  margin: 2px;
  background-color: #ff9896;
  height: 30px;
  text-align: center;
  list-style: none;
  line-height: 30px;
  border-radius: 3px;
}
.tab li a{
  color:#fff;
  font-size: 16px;
}
.tab li.current{
    background-color: #fff6db;
}
.tab li.current a{
    color: #ff9896;
}
/*视频*/
.pro_explain video{
    box-shadow: 1px 5px 5px #ccc;
    width: 95%;
    margin-left: 2.5%; 
}
.pro_explain strong{
    font-weight: bold!important;

}
.com_newlist dt .icon_play{
    width: 2rem;
    height: 2rem;
    background: url(../images/play_icon.png) no-repeat;
    background-size: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    transform: translate(-50%,-50%);
 
}
/*阿闻爱省钱*/
.awasq {
    width: 30px;
    height: 30px;
    position: fixed;
    right: 10px;
    bottom: 70%;
    z-index: 1000;
    opacity: .6;
    animation: move 4s ease-in 2s forwards infinite alternate;
}
.awasq:hover {
    animation-play-state: paused;
}

@keyframes move{
    0%{

    }
    100%{
        transform: translateY(50px);
    }
}


/* 全站搜索结果模板 */
.search-content table.position{
    padding: 1rem 0 0 .5rem;
}
/* index.css */
.search-content table.box tbody input:nth-child(1){
    width: 70%!important;
    height: 2rem;

}
.search-content table.box tbody input:nth-child(2){
    height: 2rem;
    width: 50px;
    background-color: aqua;
}
.search-content table.search-result{
    font-size: 1.2rem;
}
.search-content font{
    line-height: 26px;
}
.search-content .keyword{
    font-size: 1rem;
}
.search-content .box{
   font-size: 0.9rem;

}
.search-content .box h2{
    font-size: 1rem;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;

}
.search-content img {
    display: block;
    float: left;
    width: 40%;
    border-radius: 8px;
    object-fit: cover;
    height: 9rem;
}
.search-content li {
    /* display: flex; */
    float: left;
    margin-top: 1rem;
    width: 100%;
   position: relative;
}
.search-content li::after {
    content: "";
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #fff;
    display: block;
    position: absolute;
    bottom: -9px;
}
.search-content .box tbody tr td li dl {
    float: right;
    top: 0;
    /* margin: 0; */
    width: 65%;
}
.search-content .box tbody tr td li p.no_seo {
    position: relative;
    top: 6rem;
    color: #afafaf;
}
.search-content .float-cont {
    width: 55%;
    float: left;
    margin-left: 5%;
}
table.list_page {
    padding-top:1rem;
    text-align: center;
}
table.list_page a{
    padding: 5px;
    background-color: #fff;
    display: inline-block;
    margin-top: 10px;

}
/*去掉搜索框颜色*/
input:focus {
    outline: none;
}
.items-bg{
  width: 100%;
}
.items-bg img{
  display: block;
  width: 100%;
}

@media screen and (max-width:500px){
  .search-content img{
    height: 5rem;
  }

  .search-content .box tbody tr td li p.no_seo{
    top: 2rem;
  }
}