@font-face {
    font-family: "ms-bb";
    src: url("../fonts/Montserrat-Black.otf") format("truetype");
}
@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");
}

/*-webkit-tap-highlight-color 清除点击高亮*/
*{margin:0;padding:0;box-sizing:border-box;outline:none;border:0;resize:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-appearance:none;}
body{font-family:'ms';color:#333;font-size:14px;overflow-x:hidden;}
ul,li{list-style:none}
img{display:block}
a{text-decoration:none;color:#333;display:inline-block}
input,textarea{font-family:'ms';font-size:14px;color:#333}
input::placeholder,textarea::placeholder{font-family:'ms';font-size:14px;color:#999}
input[type="checkbox"]{position: relative;cursor: pointer;width: 13px;height:13px;margin-right:10px}
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:#1aa444;background:#1aa444 url(../images/checkbox.png) no-repeat center center/100%}
input[type="radio"]{position: relative;cursor: pointer;width: 13px;height:13px;margin-right:10px}
input[type="radio"]::before{content: "";position: absolute;top: 0;left: 0;background: #fff;width: 100%;height: 100%;border: 1px solid #e5e5e5}
input[type="radio"]:checked::before{border-color:#1aa444;background:#1aa444 url(../images/checkbox.png) no-repeat center center/100%}
.select{position: relative}
.select select{font-family:'ms';font-size: 14px;color:#333}
.select:after{content: "";width: 40px;height: 100%;background: url(../images/arrow.svg) no-repeat center center/10px;position: absolute;right: 0;top: 0;pointer-events: none;transform: rotate(90deg);}
select{appearance: none;-webkit-appearance: none;-moz-appearance: none;width:100%;height:100%;border: none;}

.b{font-family:'ms-b'}
.bb{font-family:'ms-bb'}
m{color:#1aa444;font-family: 'ms-b';}

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

.cursor{cursor: pointer;transition: .3s;}

.justify{text-align: justify;}

.width{max-width:1280px;margin:0 auto;width:calc(100% - 100px)}

.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}

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

.dot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dot2,.dot3,.dot4,.dot5,.dot8{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}
.dot8{-webkit-line-clamp:8}

body::-webkit-scrollbar{width:5px}
body::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.11);background: #ccc}
body::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.1);background:#eee}

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

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

.layui-layer-hmg{border-radius:5px !important}
.layui-layer-btn .layui-layer-btn0{background:#1aa444;color:#fff;border-color:#1aa444}
.layui-layer-btn{padding:0 15px 20px}
.layui-layer-btn .layui-layer-btn0{border-color:#1aa444 !important;background-color:#1aa444 !important}

.page{text-align:center;margin:0 auto}
.page a,.page .a_cur{display:inline-block;background:#f5f5f5;width:50px;height:50px;line-height:50px;margin-right:20px;border-radius: 50%;}
.page a:last-child{margin-right:0}
.page .a_cur{background:#1aa444;color:#fff}

.video-popup{display:none;position:fixed;z-index:1001;background:rgba(0,0,0,.3);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:40px;height:40px;background:url(../images/close-w.svg) no-repeat center center/40px;right:-40px;top:-40px;cursor:pointer;z-index:1002;transition:.3s}

@media (max-width:1440px){
    .page a,.page .a_cur{width:45px;height:45px;line-height:43px;margin-right:15px}
}

@media (max-width:1279px){
    .width{width:calc(100% - 40px)}
    .page a,.page .a_cur{width:38px;height:38px;line-height:36px;margin-right:10px}
    .myscroll::-webkit-scrollbar{width:2px;height:2px}
    .video-popup .con{width:90%;height:90%}
    .video-popup .close{width:30px;height:30px;background-size:30px;top:0;right:0}
}

@media (any-hover:hover){
    .layui-layer-btn .layui-layer-btn0:hover{color:#fff !important}
	.img-bg:hover .img{transform:scale(1.1)}
    .page a:hover{background:#1aa444;color:#fff}
    .video-popup .close:hover{transform:rotate(180deg)}
}