@charset "utf-8"; * { margin: 0px; padding: 0px; box-sizing: border-box; } h1,h2,h3,h4,h5,h6{font-weight: normal;} ul, li { list-style: none; margin: 0px; padding: 0px; box-sizing: border-box; } a { text-decoration: none; color: #3e3e3e; } ::selection { background: #4612a4; color: #fff; } input { -webkit-appearance: none; } img { max-width: 100%; vertical-align: top; max-width: 100%; } html, body { font-family:"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif; font-size: 14px; color: #222; } a{color: #000;} a:hover{color:var(--theme-color);} /* 去除iphone按钮默认样式代码 */ input[type=button], input[type=submit], input[type=file], button { cursor: pointer; -webkit-appearance: none; } /* 通用外层 */ .boxes { position: relative; padding: 100px 0px; background: #fff; } .boxes.f { background: #f9f9f9; } .wap_show{display: none;} .wap_hide{display: block;} .clearfix:after {display: block;content: "";clear: both; } .fl {float: left;} .fr {float: right;} /* 通用宽度 */ .w1400 { width: 90%; max-width: 1400px; margin: 0px auto; position: relative; } /* 通用处理单行文字溢出代码 */ .text-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 通用处理多行文字溢出代码 */ .text-2 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; white-space: break-spaces; -webkit-box-orient: vertical; line-height: 1.7; } .text-3 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; white-space: break-spaces; -webkit-box-orient: vertical; line-height: 1.4; } .text-4 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; white-space: break-spaces; -webkit-box-orient: vertical; line-height: 1.4; } .text-5 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; white-space: break-spaces; -webkit-box-orient: vertical; line-height: 1.4; } .text-6 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 6; white-space: break-spaces; -webkit-box-orient: vertical; line-height: 1.4; } /* 通用滚动条代码 */ ::-webkit-scrollbar {width: 10px;height: 1px;} ::-webkit-scrollbar-thumb {background: rgba(0,0,0,.3);} ::-webkit-scrollbar-track {-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);background: rgba(0,0,0,.1);} input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none !important; } input[type="number"] { -moz-appearance: textfield; } /* 轮播圆点 */ .pubbage{text-align: center;} .pubbage span{margin:0 5px !important;vertical-align: top;background: #fff; opacity: 1 !important;width: 12px;height: 12px;border-radius:12px;} .pubbage .swiper-pagination-bullet-active{background: #ff0000 !important;opacity: 1 !important;} @media screen and (max-width:1000px){ .pubbage span{width: 10px;height: 10px;border-radius:50%;background: #000;} .pubbage .swiper-pagination-bullet-active{background: #0b73d1 !important;opacity: 1 !important;width: 10px;} .boxes{padding-top:40px;padding-bottom:40px;} } /* 通用回到顶部代码 */ .backTop { position: fixed; z-index: 2; right: 50px; bottom: -100px; width: 50px; height: 50px; background-color: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .2); cursor: pointer; line-height: 50px; font-size: 20px; border-radius: 50%; z-index: 50; text-align: center; overflow: hidden; cursor: pointer; color: #394374; } .backTop i{ position: relative; z-index: 2; } .backTop::after{ width: 50px; height: 100px; content: ''; background: #e36463; position: absolute; left: 0px; top: 50px; border-radius: 50px; -webkit-transition: all .25s; } .backTop.active { bottom: 50px } .backTop:hover { color: #fff; } .backTop:hover::after{ top: -5px; }