:root{
    --red--:#8b171a;
    --cyan--:#333333;
}
*{
    margin:0px;
    padding:0px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    font-family: 'Arial';
}
img,a{
    -webkit-touch-callout: none;
    text-decoration: none;
    max-width: 100%;
}
body{
    width: 100%;
    min-width:320px;
    max-width:640px;
    margin:0 auto;
    background: #fff;
    font-size:14px;
    font-family: -apple-system,Helvetica,sans-serif;
    line-height:1.5;
}
p{
    margin:0;
}
ul,li{
    padding:0;
    margin:0;
    list-style:none;
}
.cl{
    clear: both;
}
/* 菜单 */
.am-menu{
    position: static;
}
.am-menu-offcanvas1 .am-menu-toggle{
    width:2.8rem;
    top:16px;
    right:20px;
}
.am-menu-offcanvas1 .am-menu-toggle span{
    width:100%;
    border-radius: 1rem;
    background:var(--red--);
    height:3px;
    margin-top:.7rem;
    display: block;
    transition: all .2s;
}
.am-offcanvas-page .am-menu-offcanvas1 .am-menu-toggle span:last-child{
    display:none;
}
.am-offcanvas-page .am-menu-offcanvas1 .am-menu-toggle span:nth-child(1){
    transform:skewY(40deg) translateX(7px);
}
.am-offcanvas-page .am-menu-offcanvas1 .am-menu-toggle span:nth-child(2){
    transform:skewY(-40deg) translateX(7px);
}
header{
    min-width:320px;
    max-width:640px;
    width: 100%;
    padding:1.6rem 2rem;
    z-index: 999;
    position:fixed;
    top:0;
    background: #fff;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .05);
}
header .logo{
    display:flex;
    justify-content: center;
    align-items: center;
}
header .logo a{
    display:block;
    width:46%;
}
.am-slider-default .am-direction-nav a:before{
    content:'<';
    color:#fff;
}
.am-slider-default .am-direction-nav a.am-next:before{
    content:'>';
    color:#fff
}
.am-slider-default .am-control-nav{
    bottom: 14px;
}
.am-slider-default{
    margin:0;
}
.am-slider-default .am-control-nav li{
    margin:0 3px;
}
.am-slider-default .am-control-nav li a{
    width:12px;
    height:4px;
    border-radius: 2px;
    background-color:rgba(255, 255, 255, .5);
}
.am-slider-default .am-control-nav li a.am-active{
    background-color: rgba(0, 0, 0, .1);
}

/* product  */
.product-menu ul{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding:1.5rem 0;
}
.product-menu ul li{
    width:16.65%;
    margin:2rem 0 .6rem 0;
}
.product-menu ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-menu ul li a span{
    font-size:1rem;
    color:#333333;
    padding-top:1rem;
    word-break: keep-all;
}
.product-ul{
    padding:1rem;
}
.product-li{
    float:left;
    width:46%;
    margin:1rem 2%;
    box-shadow: 2px 4px 13px 5px #f1f1f1;
}
.product-li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:.7rem;
}
.product-li a p{
    width:100%;
    height:16rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-li a p img{
    width:100%;
}
.product-li a span{
    display: block;
    font-size:1.2rem;
    color:#333333;
    padding:.8rem .4rem;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* about */
.about{
    padding:3rem 0 20rem 0;
    background:#f8f8f8 url(../images/about.jpg) no-repeat center bottom;
    background-size:contain;
}
.about-desc{
    padding:1.2rem 1rem;
    font-size:1.6rem;
    line-height:1.65;
}
.about-info{
    padding:1rem 5%;
}
.about-info ul{
    display:flex;
    justify-content:space-between;
}
.about-info ul li{
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    line-height:1.4;
}
.about-info ul li p{
    font-size:2.5rem;
    color:var(--red--);
    font-weight:bold;
}
.about-info ul li span{
    font-size:1.3rem;
    color:rgba(48, 48, 48, .6);
}
.about-info ul li em{
    position: absolute;
    top:.5rem;
    right:0;
    transform: translateX(110%);
    font-size:.7rem;
    color:#303030;
    font-style: normal;
}
/* news */
.news{
    padding:2.5rem 0;
}
.news-recommend{
    display:flex;
    justify-content:space-between;
    padding:0 1.5rem;
    margin:2rem 0 .5rem 0;
}
.news-pic{
    width:30%;
    height:8.5rem;
}
.news-pic a{
    width:100%;
    height:100%;
    display: flex;
    align-items: center;
    justify-items: center;
    overflow: hidden;
}
.news-pic a img{
    min-height:100%;
}
.news-info{
    width:65%;
    display: flex;
    flex-direction: column;
}
.news-info a{
    font-size:1.5rem;
    color:#333333;
    display: block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.news-info span{
    font-size:1rem;
    color:#909090;
    display: block;
    margin:.4rem 0;
}
.news-info p{
    font-size:1.3rem;
    color:#909090;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-list ul{
    padding:0rem 1.5rem;
}
.news-list ul li{
    padding:1.8rem 0;
    border-bottom:1px solid #e5e5e5;
    position: relative;
}
.news-list ul li::before{
    content:'';
    width:.8rem;
    height:.8rem;
    border:1px solid #7c7c7c;
    border-radius: 50%;
    position: absolute;
    left:0;
    top:50%;
    transform: translateY(-50%);
}
.news-list ul li::after{
    content:'';
    width:1.5rem;
    height:1.5rem;
    position: absolute;
    background: url(../images/arrow.svg) no-repeat;
    background-size: 100%;
    right:0;
    top:50%;
    transform: translateY(-50%);
}
.news-list ul li a{
    font-size:1.6rem;
    color:#333333;
    padding:0 1.5rem;
    display: block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}


/* tbox */
.tbox{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:2.2rem;
}
.tbox span{
    font-size:2rem;
    font-weight: bold;
    color:#303030;
    text-transform: uppercase;
}
.tbox a{
    font-size:1.6rem;
    color:#838383;
}

/* foot */
.foot{
    background: #8b171a url(../images/foot.png) no-repeat center top;
    background-size: 100%;
    padding-top: 8rem;
}
.foot-logo{
    display:flex;
    justify-content: center;
}
.foot-logo a{
    display: flex;
    justify-content: center;
}
.foot-logo a img{
    width:50%;
}
.foot-menu ul{
    display: flex;
    justify-content: space-around;
    padding:1rem 1rem 1.8rem 1rem;
}
.foot-menu ul li a{
    font-size:1.2rem;
    color:rgba(255, 255, 255, .85);
}
.copy{
    border-top:1px solid #972f31;
    padding:1.2rem 0;
}
.copy p,
.copy a{
    transform: scale(.85);
    font-size:.7rem;
    color:rgba(255, 255, 255, .55);
}

/* nav */
.nav{
    padding:.5rem 0;
    font-size:1rem;
    color:#8d8d8d;
}
.nav a{
    font-size:1rem;
    color:#8d8d8d;
    margin:0 6px;
}
/* page */
.container,
.page{
    padding:6px 10px;
}
.page-name{
    display: flex;
    justify-content: center;
    font-size:2rem;
    font-weight:bold;
    padding:.5rem 0 1rem 0;
}
.page-view{
    font-size:1.4rem;
    line-height:1.5;
    padding-bottom:2rem;
}

.page .news-list ul{
    padding:0;
}
.page .news-list ul li{
    padding:1.6rem 0;
}

/* 分页 */
.pager{
    display: flex;
    justify-content: center;
    padding:3rem 0;;
}
.pager li {
    display: none;
}
.pager li:last-child,
.pager li:first-child{
    display: inline;
    margin:0 2rem;
}
.pager li span,
.pager li a
{
    margin:0 .5rem;
    padding:.5rem 2rem;
    border-radius: .5rem;
    border:1px solid #e1e1e1;
    color:#777777;
}

.pagination > .active > span{
    background:#8b171a;
    color:#fff;
}
.pagination > .disabled > span{
    background: white !important;
    color:#666666;
}

/* 内页 */
.title{
    font-size:2rem;
    line-height: 140%;
    color: #0a272c;
    font-weight: bold;
    text-align: center;
}
.time{
    display:flex;
    justify-content: center;
    font-size: 12px;
    color: var(--cyan--);
    margin:1rem 0;
}
.time span{
    padding:0 .5rem;
    height:2rem;
}
.content{
    padding:.5rem 0;
    color: #5a5a5a;
    text-indent:0;
    font-size:1.5rem;
    line-height:2;
}
.tool {
    width:100%;
}
.tool ul{
    display:flex;
    flex-direction: column;
    justify-content:space-between;
}
.tool ul li{
    color: var(--cyan--);
    height:30px;
    line-height:30px;
    font-size:12px;
    overflow:hidden;
}
.tool ul li a{
    font-size:12px;
    color:#464646;
}
.tool ul li a:hover{
    color: var(--cyan--);
}
.page .product-menu ul{
    padding:.5rem 0;
}
.page .product-menu ul li{
    margin:0 0 1.6rem 0;
}
.page .product-ul{
    padding:1rem 0;
}
.firstRow{
    display:flex;
    flex-direction: column;
    margin:1rem .5rem;
}
