@font-face {
    font-family: "ms-b";
    src: url("../fonts/Montserrat-Bold.otf") format("truetype");
}
@font-face {
    font-family: "ms";
    src: url("../fonts/Montserrat-Regular.otf") format("truetype");
}

*{margin:0;padding:0;box-sizing:border-box;border:0;outline:none;resize:none}
body{font-family:'ms';font-size:.14rem;color:#000;overflow-x:hidden}
ul,li{list-style:none}
img{display:block}
a{text-decoration:none;display:block;color:#000}
input{font-family:'ms';font-size:.14rem;padding:0 .2rem;color:#000}
textarea{font-family:'ms';font-size:.14rem;padding:.15rem .2rem;color:#000}
input::placeholder,textarea::placeholder{font-family:'ms';font-size:.14rem;color:#999}
input[type="checkbox"]{position: relative;cursor: pointer;}
input[type="checkbox"]::before{content: "";position: absolute;top: 0;left: 0;background: #fff;width: 100%;height: 100%;border: 1px solid #e5e5e5}
input[type="checkbox"]:checked::before{border-color:#ff4e00;background:#ff4e00 url(../images/checkbox.png) no-repeat center center/100%}
.select{position: relative}
.select select{font-family:'ms';font-size: .14rem;color:#000}
.select:after{content: "";width: .4rem;height: 100%;background: url(../images/arrow.svg) no-repeat center center/.12rem;position: absolute;right: 0;top: 0;pointer-events: none;}
select{appearance: none;-webkit-appearance: none;-moz-appearance: none;width:100%;height:100%;border: none;}

.width{max-width:14rem;margin:0 auto;width:calc(100% - 1rem)}

.b{font-family:'ms-b'}

.justify{text-align: justify;}

.click{position:absolute;top:0;left:0;width:100%;height:100%;z-index: 10;}

.img-bg{overflow:hidden;display:flex;justify-content:center;align-items:center}
.bg{width:100%;background-size:cover;background-repeat:no-repeat;background-position:center center;transition:.8s;height:100%}

.img-div{display:flex;justify-content:center;align-items:center}
.img-div img{max-width:100%;max-height:100%;transition: .3s;}

.lazyload{opacity:0;transition:transform .8s,opacity .8s ease-in-out}
.lazyload.loaded{opacity:1}

.dot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dot2,.dot3,.dot4,.dot5{display:-webkit-box;display:box;overflow:hidden;text-overflow:ellipsis;word-break:break-word;-webkit-box-orient:vertical}
.dot2{-webkit-line-clamp:2}
.dot3{-webkit-line-clamp:3}
.dot4{-webkit-line-clamp:4}
.dot5{-webkit-line-clamp:5}

body::-webkit-scrollbar{width:.05rem}
body::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 .05rem rgba(0, 0, 0, 0.11);background: #999}
body::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 .05rem rgba(0, 0, 0, 0.1);background:#eee}

.myscroll{overflow:auto}
.myscroll::-webkit-scrollbar{width:2px;height:2px;}
.myscroll::-webkit-scrollbar-thumb{border-radius:.3rem;-webkit-box-shadow:inset 0 0 1px rgba(0, 0, 0, 0.11);background: #ff4e00}
.myscroll::-webkit-scrollbar-track{border-radius:.3rem;-webkit-box-shadow:inset 0 0 1px rgba(0, 0, 0, 0.1);background:#eee}

.scroll{overflow:hidden}
.mCSB_inside > .mCSB_container{margin-right:.15rem}
.mCS-myscroll.mCSB_scrollTools{top:0;width:2px}
.mCS-myscroll.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:2px;background:#333}
.mCS-myscroll.mCSB_scrollTools .mCSB_draggerRail{background:#ccc}

.layui-layer-content{max-width: 5rem;}
.layui-layer-hmg{border-radius:.5rem !important}
.layui-layer-btn .layui-layer-btn0{background:#ff4e00;color:#000;border-color:#ff4e00}
.layui-layer-btn{padding:0 .15rem .2rem}
.layui-layer-btn .layui-layer-btn0{border-color:#ff4e00 !important;background-color:#ff4e00 !important}

.page{text-align:center}
.page a,.page .a_cur{display:inline-block;width:.48rem;height:.48rem;border-radius:50%;font-size:.16rem;line-height:.48rem;margin-right:.15rem;color:#000;background:#f5f5f5}
.page .a_cur{background:#ff4e00 !important;color:#fff}

.video-popup{display:none;position:fixed;z-index:1001;background:rgba(0,0,0,.7);width:100%;height:100%;top:0;left:0;}
.video-popup .con{width:80%;height:80%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center}
.video-popup video{max-width:100%;max-height:100%;}
.video-popup .close{position:absolute;width:.4rem;height:.4rem;background:url(../images/close-w.svg) no-repeat center center/.4rem;right:-.3rem;top:-.3rem;cursor:pointer;z-index:1002;}

@media (max-width:750px){
    body{font-size:.28rem}
    input{font-size:.26rem;padding:0 .3rem}
    textarea{font-size:.26rem;padding:.3rem}
    input::placeholder,textarea::placeholder{font-size:.26rem}
    .select select{font-size:.26rem;}
    .width{width:calc(100% - .8rem)}
    .page a,.page .a_cur{margin-right:.1rem;width:.7rem;height:.7rem;line-height:.7rem;font-size: .24rem}

    .video-popup .con{width:90%;}
    .video-popup .close{right:0;top:0;width:.6rem;height:.6rem;background-size:.6rem}

    .layui-layer-content{max-width: 6rem;}
}

@media (min-width: 320px){html{font-size: 42.6667px;} }
@media (min-width: 360px){html{font-size: 48px;} }
@media (min-width: 375px){html{font-size: 50px;} }
@media (min-width: 384px){html{font-size: 51.2px;} }
@media (min-width: 414px){html{font-size: 55.2px;} }
@media (min-width: 448px){html{font-size: 59.7333px;} }
@media (min-width: 480px){html{font-size: 48px;} }
@media (min-width: 512px){html{font-size: 68.2667px;} }
@media (min-width: 544px){html{font-size: 72.5333px;} }
@media (min-width: 576px){html{font-size: 76.8px;} }
@media (min-width: 608px){html{font-size: 81.0667px;} }
@media (min-width: 640px){html{font-size: 85.3333px;} }
@media (min-width: 750px){html{font-size: 100px;} }

@media (any-hover:hover){
	.img-bg .bg:hover{transform:scale(1.1)}
    .page a:hover{background:#ff4e00;color:#fff}
}