
/**
 * 中国标准物质标准样品信息网入口
 * @module index
 * @author zhanghuan
 * @date 2021/01/06
 */

.layui-carousel[lay-arrow=always] .layui-carousel-arrow {
    left: 100px;
}

.layui-carousel:hover .layui-carousel-arrow[lay-type=add],
.layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add] {
    right: 100px;
}

.index {
    color: red;
}

.index a {
    margin: 20px;
}

/* 首页轮播 */
.layui-carousel {
    height: 400px;
}

.layui-carousel img {
    width: 100%;
    height: 400px;
}

.layui-carousel-ind ul {
    background-color: rgba(0, 0, 0, 0) !important;
}

/* 产品 */
.activityEntrance {
    background: transparent !important;
    width: 18%;
    position: relative;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
    float: right !important;
}

.layui-carousel>[carousel-item]>* {
    background-color: #fff;
}

.productTitle {
    width: 80%;
    color: #333333;
    font-size: 22px;
    border-bottom: solid 2px #e3e3e3;
    margin: 20px 0;
    font-weight: bold;
    padding: 10px 0 10px 10px;
}

.productTitle span {
    cursor: pointer;
    padding: 10px 0;
}

.productTitle span:first-of-type {
    margin-right: 10px;
}

.more {
    color: #333;
    float: right;
    font-size: 14px;
    line-height: 40px;
    font-weight: 400;
}

.active {
    border-bottom: solid 3px #EA5413;
}

.btn_buy{
    width: 86px;
    height: 30px;
    color: #fff;
    line-height: 30px;
    text-align: center;
    background: #FF7C1C;
    border-radius: 4px;
    border: none;
    float: right;
    position: relative;
    top: 8px;
    margin-right: 0px;
}

.productDetail {
    height: 260px;
    float: left;
    width: 18%;
    background: #fff;
    padding-bottom: 20px;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.06);
}

.productList .productDetail {
    margin-left: 2.4%;
}

.productDetail:first-child {
    margin-left: 0;
}

.productDetail p {
    padding: 0 10px;
}

.productDetail .productDetailPic {
    width: 100%;
    height: 160px;
}

.productDetailTitle {
    height: 19px;
    line-height: 19px;
    font-size: 18px;
    font-family: Microsoft YaHei;
    color: #333333;
    margin-top: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.productDetailNum {
    margin-top: 6px;
    height: 13px;
    line-height: 13px;
    font-size: 12px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #999999;
}

.productDetailMoney {
    height: 13px;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #FF6000;
    float: right;
}





.activityEntranceBg {
    position: absolute;
    bottom: 0;
    /* width: 100%; */
    width: 235px;
}


.conferenceHall {
    /* height: 18px; */
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #CF4000;
}

.fullReduction {
    position: absolute;
    top: 10%;
    left: 18%;
    cursor: pointer;
}

.seckill {
    position: absolute;
    top: 40%;
    left: 18%;
    cursor: pointer;
}

.Discount {
    font-size: 22px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #FFE8C6;
    position: absolute;
    top: 70%;
    left: 28%;

}

.goNew {
    text-align: center;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #B56E21;
    position: absolute;
    bottom: 4%;
    left: 20%;
    width: 155px;
    height: 30px;
    line-height: 30px;
    background: #FFE4A2;
    border-radius: 15px;
    cursor: pointer;
}

.industrialProducts .firstPic img,
.nonIndustrialProducts .firstPic img {
    background: transparent !important;
    width: 100%;
    padding: 0;
    height: 260px;
}

.industrialProducts .productDetail,
.nonIndustrialProducts .productDetail {
    width: 18%
}

.industrialProducts .productDetail,
.nonIndustrialProducts .productDetail {
    margin-left: 2.4%;
    margin-bottom: 20px;
}

.industrialProducts :first-child,
.nonIndustrialProducts :first-child {
    margin-left: 0;
}

.productTitleCm {
    width: 100%;
}

.dynamic {
    background: #fff;
    margin-bottom: 20px;
}

.dynamicPic {
    width: 23%;
    height: 191px;
    float: left;
    margin-right: 1.5%;
}

/* 企业动态 */
.dynamicYear {
    width: 74%;
    height: 191px;
    float: left;

}

#test2,
#test3 {
    /* padding: 0 3%; */
    width: 100%;
    height: 191px;
}

#test2 .layui-carousel-ind,
#test3 .layui-carousel-ind {
    display: none;
}

/* .swiper-wrapper{
    overflow: hidden;
    
  } */

.swiper-slide {
    height: 190px;
    float: left;
    width: 20%;
    text-align: center;
    font-size: 18px;
    background-color: #fff;
}

.swiper-button-prev,
.swiper-button-next {
    color: #000;
    /* background: #5e5f5e; */
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 16px;
    font-weight: 600;
}

.swiper-slide-cotent {
    padding: 30px 10px 20px 10px;
    height: 95px;
    width: 100%;
    border-bottom: solid 1px #000;
    color: #333333;
    font-size: 14px;
    text-align: center;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dian {
    position: absolute;
    top: 48%;
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #007CFF;
    border-radius: 50%;
}

.dynamicTime {
    padding-top: 20px;
    height: 11px;
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    line-height: 18px;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: -9px;
    left: auto;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    left: -9px;
    right: auto;
}

#news {
    display: none;
}

.knowledgeBaseSwiper .layui-carousel[lay-arrow=always] .layui-carousel-arrow,
.dynamicBox .layui-carousel[lay-arrow=always] .layui-carousel-arrow {
    opacity: 1;
    left: -25px;
}

/* .knowledgeBaseSwiper .layui-carousel:hover .layui-carousel-arrow[lay-type=add], */
.knowledgeBaseSwiper .layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add],
.dynamicBox .layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add] {
    right: -20px;
    opacity: 1;
}

.knowledgeBaseSwiper .layui-carousel-arrow,
.dynamicBox .layui-carousel-arrow {
    top: 49%;
    background-color: transparent;
    color: #000;

}