:root{
    --red--:#8b171a;
    --cyan--:#333333;
}
*{
    box-sizing: border-box;
    padding:0;
    margin:0;
    font-family:'Arial';
}
ul,li{
    list-style: none;
}
a:hover,
a{
    text-decoration: none;
}
img{
    border:none;
    max-width:100%;
}
::selection {
    background:var(--red--); 
    color:#fff;
}   
::-moz-selection {
    background:var(--red--); 
    color:#fff;
}  
::-webkit-selection {
    background:var(--red--); 
    color:#fff;
}
.cl{
    clear: both;
}
.container{
    max-width:1300px;
    margin:0 auto;
}
/* head */
.head{
    height:100px;
}
.head .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:100%;
}
.head .container .menu ul{
    display: flex;
}
.head .container .menu ul li{
    padding:41px 8px;
    position: relative;
    margin:0 22px;
}
.head .container .menu ul li a{
    font-size:16px;
    color:var(--cyan--);
}
.head .container .menu ul li.active::after,
.head .container .menu ul li::after{
    content: '';
    position: absolute;
    right:0;
    bottom: 0;
    width:0;
    height:4px;
    border-radius:2px;
    background-color: var(--red--);
    transition: all .3s;
}
.head .container .menu ul li:hover::after{
    right:auto;
    left:0;
    width:100%;
}
.head .container .menu ul li.active::after{
    right:auto;
    left:0;
    width:100%;
}
.head .container .menu ul .active a{
    color:var(--red--);
}

/* swiper */
.rotation{
    height:820px;
}
@media (max-width: 1440px) {
    .rotation{
        height:600px;
    }
}
.rotation .swiper-slide {
    overflow: hidden;
}
.rotation .swiper-slide img{
    transition: 1s linear 2s;
}
.rotation .swiper-slide-active img{
    transition: 16s linear;
	transform: scale(1.2, 1.2);
    -webkit-transform:scale(1.2, 1.2);
    -ms-transform:scale(1.2, 1.2);
    -moz-transform:scale(1.2, 1.2);
    -o-transform:scale(1.2, 1.2);
}
.rotation .pagination {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    -webkit-transform:translateX(-50%);
    -ms-transform:translateX(-50%);
    -moz-transform:translateX(-50%);
    -o-transform:translateX(-50%);
    display:flex;
    align-items: center;
}
.swiper-pagination-switch {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: rgba(217, 217, 217, .6);
    margin-right: 20px;
    border-radius:50%;
    cursor: pointer;
}
.swiper-active-switch {
    background: none;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(0, 0, 0, .3);  
}

/* 产品 */
.product{
    padding:80px 0;
}

.product-main{
    display: flex;
    justify-content: space-between;
    padding:30px 0;
}
.product-menu{
    width:240px;
    padding-top: 20px;
}
.product-menu ul li a{
    display: flex;
    align-items: center;
    padding:12px 0;
}
.product-menu ul li a p{
    width:42px;
    height:42px;
    overflow: hidden;
}
.product-menu ul li.active a span,
.product-menu ul li a:hover span{
    color:var(--red--);
    font-weight: bold;
}
.product-menu ul li a span{
    color:#000000;
    display: block;
    margin-left:30px;
}
.product-ul{
    width:1020px;
}
.product-li{
    width:312px;
    height:412px;
    box-shadow: 2px 4px 13px 5px #f1f1f1;
    float:left;
    margin:15px 13px;
    padding:14px;
}
.product-li a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-li a p{
    width:283px;
    height:332px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-li a p img{
    transition: all .3s;
    height: 90%;
    max-width: none;
}
.product-li a span{
    font-size:16px;
    color:#000000;
    height:60px;
    display: flex;
    align-items: center;
}

/* 关于我们 */
.about{
    height:900px;
    padding-top:80px;
    background:  url(../images/about.jpg) no-repeat center bottom;
}
.about-desc{
    font-size:16px;
    color:var(--cyan--);
    line-height:2;
    text-align: center;
    padding:26px 50px;
}
.about-info ul{
    display: flex;
    width:100%;
    justify-content: center;
}
.about-info ul li{
    margin:20px 65px;
    text-align: center;
    position: relative;
    padding:0 20px;
}
.about-info ul li span{
    font-size:14px;
    color:#303030;
}
.about-info ul li p{
    font-size:44px;
    color:var(--red--);
    font-weight: bold;
}
.about-info ul li em{
    position: absolute;
    top:0;
    right:0;
    font-size:14px;
    color:#303030;
    font-style: normal;
}

/* 新闻资讯 */
.news{
    padding:70px 0 40px 0;
}
.news-main{
    display: flex;
    justify-content: space-between;
    margin:40px 0;
}
.news-recommend{
    width:538px;
    height:415px;
    background-color: #f9f9f9;
    padding:42px 65px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.news-recommend a:first-child{
    font-size:16px;
    color:#8b171a;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.news-recommend p{
    font-size:14px;
    color:#909090;
    line-height:24px;
    margin-top:14px;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.recommend-pic{
    width:410px;
    height:165px;
    overflow: hidden;
    margin-top:26px;
}
.news-recommend a:last-child{
    font-size:15px;
    color:#8b171a;
    display: block;
    border-bottom: 1px solid #8b171a;
    padding: 10px 7px;
    margin-top:20px;
}
.news-list{
    width:690px;
}
.news-li{
    padding:28px 0;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
}
.news-info{
    width:550px;
    padding-left:5px;
}
.news-info a{
    font-size:16px;
    color:#444444;
    position: relative;
    padding-left:20px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.news-info a::before{
    content: '';
    width:6px;
    height:6px;
    background: #b6b6b6;
    border-radius: 50%;
    position: absolute;
    top:50%;
    left:0;
    transform: translateY(-50%);
}
.news-info p{
    font-size:14px;
    color:#8e8e8e;
    line-height:24px;
    margin-top:12px;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-time{
    width:72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-time span{
    font-size:18px;
    color:#8e8e8e;
}
.news-time a{
    display: flex;
    align-items: center;
    padding:0 16px;
    position: relative;
    margin-top:16px;
}
.news-time a::before{
    content: '';
    width:1px;
    height:16px;
    background: #d2d2d2;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    left:0;
}

/* foot */
.foot{
    height:428px;
    background: #8b171a url(../images/foot.png) no-repeat center top;
    padding-top:130px;
}
.foot .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.foot-main{
    height:160px;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.foot-tel{
    width: 252px;
    padding-left:22px;
    display: flex;
    flex-direction: column;
    line-height: 1.8;
    position: relative;
}
.foot-tel::after{
    content: '';
    width:1px;
    height:60px;
    background: #9c3a3c;
    position: absolute;
    top:50%;
    right:0;
    transform: translateY(-50%);
}
.foot-tel span{
    font-size:13px;
    color:rgba(255, 255, 255, .8);
}
.foot-tel p{
    font-size:28px;
    font-weight: bold;
    color:rgba(255, 255, 255, 1);
}
.foot-add{
    width:550px;
    font-size:14px;
    color:#fff;
    line-height:2;
    padding-left:70px;
    position: relative;
}
.foot-add::after{
    content: '';
    width:1px;
    height:60px;
    background: #9c3a3c;
    position: absolute;
    top:50%;
    right:0;
    transform: translateY(-50%);
}
.foot-code{
    width:400px;
    padding-left:90px;
    display: flex;
}
.foot-code p{
    display: flex;
    flex-direction: column;
    margin:0px 10px;
}
.foot-code p img{
    width:82px;
    height:82px;
}
.foot-code p span{
    font-size:14px;
    color:#fff;
    text-align: center;
    padding:8px 0;
}
.copyright{
    height:80px;
    width:100%;
    padding:0 20px;
    border-top:1px solid #972f31;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright a,
.copyright p{
    font-size:13px;
    color:rgba(255, 255, 255, .7);
    line-height:1.6;
}
.copyright p span{
    font-size:12px;
    color:rgba(255, 255, 255, .5);
}
/* 公用 */
.tbox{
    display:flex;
    flex-direction: column;
    align-items: center;
    line-height:1.3;
}
.tbox span{
    font-size:40px;
    color:#303030;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: -1px;
}
.tbox a{
    font-size:24px;
    color:#838383;
}

/* page */
.page-bar{
    background: url(../images/page-bar.jpg) no-repeat center top;
    background-size: 100%;
    height:480px;
}
/* nav */
.nav{
    height:42px;
    line-height:42px;
    border-bottom: 1px solid rgba(139, 23, 26, .05);
}
.nav,
.nav span,
.nav a{
    font-size:14px;
    color:#8d8d8d;
    padding:0 6px;
}
.nav span{
    position: relative;
    padding-left:26px;
}
.nav span::before{
    content: '';
    position: absolute;
    top:50%;
    left:0;
    transform: translateY(-50%);
    width:20px;
    height:20px;
    background: url(../images/home.svg) no-repeat;
    background-size: 100%;
}
.page-view{
    padding:20px 20px 40px 20px;
	line-height:2.5em;
}
.page-view .news-list{
    width:100%;
}
.page-view .news-list .news-li .news-info{
    flex:.95;
}

/* 分页 */
.pagination {
	display: inline-block;
	border-radius: 4px;
}
.pager {
	display: flex;
	justify-content: center;
	margin:2rem 0;
}
.pager li {
	display: inline;
}
.pager li span,  .pager li a {
	margin:0 8px;
	padding:7px 12px;
	border:1px solid var(--red--);
	color:var(--red--);
}
.pagination > .active > span {
	background:var(--red--);
	color:#fff;
}
.pagination > .disabled > span {
	background: white !important;
	color:#666666;
}

/* view 页 */
.title{
    font-size: 20px;
    line-height: 140%;
    color: #0a272c;
    font-weight: bold;
    text-align: center;
}
.time{
    height:24px;
    display:flex;
    align-items: center;
    font-size: 12px;
    color: var(--cyan--);
    margin:1rem 0;
    justify-content: center;
}
.time span{
    padding:0 12px;
    height:24px;
    display:flex;
    align-items: center;
}
.image{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px;
}
.content{
    padding:20px;
    color: #5a5a5a;
    text-indent:0;
    font-size:15px;
    line-height:2;
}
.tool {
    width:100%;
    padding:10px 15px 10px 0;
}
.tool ul{
    display:flex;
    justify-content:space-between;
}
.tool ul li{
    color:var(--black--);
    height:30px;
    line-height:30px;
    margin:0px 20px 0px 20px;
    font-size:12px;
	overflow:hidden;
}
.tool ul li a{
    font-size:12px;
    color:#464646;
}
.tool ul li a:hover{
    color:var(--cyan--);
}

/* 产品列表 */
.page-view .product-main{
    flex-direction: column;
    padding:0;
}
.page-view .product-main .product-menu{
    width:100%;
}
.page-view .product-main .product-menu ul{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.page-view .product-main .product-menu ul li a{
    flex-direction: column;
}
.page-view .product-main .product-menu ul li a span{
    margin-left:0;
}
.page-view .product-main .product-ul{
    width:100%;
}
.page-view .product-main .product-ul .product-li{
    width:289px;
    height:378px;
}
.page-view .product-main .product-ul  .product-li a p{
    width:262px;
    height:307px;
}
.page-view .product-main .product-ul  .product-li a span{
    height:44px;
    align-items: flex-end;
}

/* info */
.info{
    position:fixed;
    right:0;
    top:50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform:translateY(-50%);
	-o-transform:translateY(-50%);
    width:60px;
    z-index:999;
}
.info ul li{
    width:100%;
    height:58px;
    display:flex;
    justify-content: center;
    align-items: center;
    background: #2e2e2e;
    border-bottom: 1px solid #2e2e2e;
    cursor: pointer;
    position: relative;
}
.info ul li:first-child{
    border-radius: 10px 10px 0 0;
}
.info ul li:last-child{
    border-radius:0 0 10px 10px;
}
.info ul li:hover{
    background-color:#8b171a;
    border-bottom: 1px solid #8b171a;
}
.info ul li img{
    width:30px;
    height:30px;
}
.info ul .code:hover p{
    display: block;
}
.info .code p{
    display: none;
    position: absolute;
    top:0;
    transform: translateY(-40px);
    -webkit-transform:translateY(-40px);
	-moz-transform: translateY(-40px);
	-ms-transform:translateY(-40px);
	-o-transform:translateY(-40px);
    right:66px;
    background: #fff;
    padding:10px;
    width:200px;
    height:200px;
    border-radius: 10px;
}
.info .code p img{
    width:180px;
    height:180px;
}
.info .tel p{
    position: absolute;
    top:51%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform:translateY(-50%);
	-o-transform:translateY(-50%);
    right:58px;
    background: #8b171a;
    width:160px;
    height:58px;
    line-height: 58px;
    text-align: center;
    font-size:20px;
    color:#fff;
    display:none;
    border-radius: 10px 0 0 10px;
}
.info .tel:hover p{
    display:block;
}
.link a{
    font-size:14px;
    color:#808080;
    padding:0 10px;
}
