html {
    font-family: sans-serif;
}

html,
body,
header,
section,
footer,
div,
ul,
ol,
li,
img,
a,
span,
em,
i,
del,
legend,
center,
strong,
var,
fieldset,
form,
label,
dl,
dt,
dd,
cite,
input,
hr,
time,
mark,
code,
figcaption,
figure,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    border: 0;
    padding: 0;
    font-style: normal;
    outline: none;
    list-style: none;
}

html,
body {
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    background-color: #fff;
    width: 100%;
    min-height: 100vh;
    font-family: "黑体";
}

body {
    font-size: 16px;
}

nav,
article,
aside,
details,
main,
header,
footer,
section,
fieldset,
figcaption,
figure {
    display: block;
}

img,
a,
button,
em,
del,
strong,
var,
label,
cite,
small,
time,
mark,
code,
textarea {
    display: inline-block;
}

header,
section,
footer {
    position: relative;
}

ol,
ul {
    list-style: none;
}

input,
button,
textarea {
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 1em;
    line-height: 1em;
    /*-webkit-appearance:none;*/
    background-color: rgba(0, 0, 0, 0);
}

span {
    display: inline-block;
}

a:active,
a:hover {
    outline: 0;
}

a,
a:visited {
    text-decoration: none;
}

label,
.wordWrap {
    word-wrap: break-word;
    word-break: break-all;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

.clearfix:after {
    content: ' ';
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.dn{display: none}
.loading_more {
    display: block;
    height: 1.5em;
    width: 100%;
}

.loading_more:before {
    display: inline-block;
    vertical-align: text-bottom;
    content: ' ';
    height: 16px;
    width: 16px;
    margin-right: 6px;
    background: url(../image/loading_more.gif) no-repeat center;
    -webkit-background-size: contain;
    background-size: contain;
}

.loading_more:after {
    content: '加载更多';
}

#loadMoreDiv {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: .16rem;
}

#loadMoreDiv img {
    width: .16rem;
    opacity: 0.6;
}

.item_bj {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

#main {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

#wrap {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-flow: column;
    flex-flow: column;
}

/*头部样式*/

#topbar {
    position: relative;
    box-sizing: content-box;
    display: none;
    /* background: linear-gradient(180deg, #22D4A7 0%, #2BD1AB 100%); */
    background: #117BF1;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    width: 100%;
}

#topbar>div:nth-of-type(2) {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
}

#topbar .leftIcon,
#topbar #leftIcon {
    width: 10px;
    position: absolute;
    bottom: 17px;
    left: 17px;
    padding: 0;
    height: 16px;
    background: url("../image/back.png") no-repeat 0 0;
    background-size: 100% 100%;
}

#topbar .right {
    position: absolute;
    bottom: 0;
    right: 17px;
    line-height: 50px;
    height: 50px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
}


/*头部样式结束*/


/**wap端预览图片样式*/

.swiper-banner-browser-img {
    height: auto;
    width: 100%;
    max-height: 100%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}

.swiper-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: .5;
}

.swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}


/*Chrome 下去除type ==  "number"  时 的右侧图标*/

#newCode::-webkit-outer-spin-button,
#newCode::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}


/*火狐 下去除type ==  "number"  时 的右侧图标*/

input[type="number"] {
    -moz-appearance: textfield;
}


/*IE下去除 右边的×*/

input::-ms-clear {
    display: none;
}


/*基本样式*/

.fl {
    float: left;
}

.fr {
    float: right;
}

.of {
    overflow: hidden;
}

.fs12 {
    font-size: 12px;
}

.fs14 {
    font-size: 14px;
}

.pr {
    position: relative;
}

.pa {
    position: absolute;
}

.cl {
    clear: both;
}

.dis {
    display: block;
}

.boxbor {
    box-sizing: border-box;
}


/*商城底部导航*/

.footer__nav {
    width: 100%;
    max-height: 0.6rem;
    padding: 0.08rem 0;
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer__nav ul {
    width: 100%;
    overflow: hidden;
}

.footer__nav ul li {
    width: 33.333333%;
    float: left;
    display: block;
}

.footer__nav ul li span {
    font-size: 12px;
    font-family: PingFangSC;
    font-weight: 400;
    color: rgba(151, 151, 151, 1);
    line-height: 0.17rem;
    width: 100%;
    text-align: center;
    display: block;
}

.footer__nav ul li i {
    margin: 0 auto;
    display: block;
    height: 0.27rem;
}

.footer__nav ul li.active span {
    color: #343434FF;
}

.footer__nav ul li.home i {
    width: 0.24rem;
    background: url("../image/mall/home.png") no-repeat;
    background-size: 100% 0.27rem;
}

.footer__nav ul li.shoppings i {
    width: 0.26rem;
    background: url("../image/mall/shoppings.png") no-repeat;
    background-size: 100% 0.26rem;
}

.footer__nav ul li.mine i {
    width: 0.21rem;
    background: url("../image/mall/mine.png") no-repeat;
    background-size: 100% 0.26rem;
}

.footer__nav ul li.home.active i {
    background: url("../image/mall/homeActive.png") no-repeat;
    background-size: 100% 0.27rem;
}

.footer__nav ul li.shoppings.active i {
    background: url("../image/mall/shoppingsActive.png") no-repeat;
    background-size: 100% 0.26rem;
}

.footer__nav ul li.mine.active i {
    background: url("../image/mall/mineActive.png") no-repeat;
    background-size: 100% 0.26rem;
}


/*超出隐藏-单行*/

.text-hidden {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: break-word;
    word-break: break-all;
}


/*超出隐藏-多行*/

.text-hidden-n {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}


/*弹窗样式  两个按钮*/

.layui-m-layerchild.quakoo-dialog {
    width: 66.3%;
    padding: 25px 14px 0;
    box-sizing: border-box;
    max-width: 640px;
}

.layui-m-layerchild.quakoo-dialog .layui-m-layercont {
    padding: 0 11px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 13px;
    font-size: 14px;
    font-family: PingFangSC-Semibold, PingFangSC;
    font-weight: 600;
    color: rgba(52, 52, 52, 1);
}

.layui-m-layerchild.quakoo-dialog .layui-m-layerbtn {
    height: 44px;
    line-height: 44px;
    background: #fff;
    border-color: #DCDCDC;
}

.layui-m-layerchild.quakoo-dialog .layui-m-layerbtn span {
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFangSC;
    font-weight: 400;
    color: rgba(151, 151, 151, 1);
}

.layui-m-layerchild.quakoo-dialog .layui-m-layerbtn span[yes] {
    color: #2CDBB0;
}

.layui-m-layerchild.quakoo-dialog .layui-m-layerbtn span[no] {
    border-color: #DCDCDC;
    color: #979797FF;
}
.mask {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
}

/*textarea,input {*/
/*    -webkit-appearance: none;*/
/*    -webkit-user-select: auto;*/
/*}*/
/*input,button,select,textarea{outline:none}*/
textarea{resize:none}

/*引入字体的方式  哪个页面需要在哪个页面引入所需要的 字体文件*/


/*!*思源Regular*!
@font-face {
    font-family: 'SourceHanSerifCN-Regular';
    src: url('../font/SourceHanSerifCN-Regular.otf');
}
!*思源Medium*!
@font-face {
    font-family: 'SourceHanSerifCN-Medium';
    src: url('../font/SourceHanSerifCN-Medium.otf');
}
!*思源SemiBold*!
@font-face {
    font-family: 'SourceHanSerifCN-SemiBold';
    src: url('../font/SourceHanSerifCN-SemiBold.otf');
}*/


/* swich开发样式 */
.switch {
    width: 100px;
    height: 50px;
    border-radius: 30px;
    overflow: hidden;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    background: #ccc;
    box-shadow: 0 0 1px red;
}

.switch input {
    visibility: hidden;
}

.switch span {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: #fff;
    width: 50%;
    height: 100%;
    transition: all linear 0.2s;
}

.switch span::before {
    position: absolute;
    top: 0;
    left: -100%;
    content: '';
    width: 200%;
    height: 100%;
    border-radius: 30px;
    background: red;
}

.switch span::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
}

.switch input:checked+span {
    transform: translateX(100%);
}

/* 加载loading */
.loading3 {
    width: .3rem;
    height: .3rem;
    margin: .5rem auto;
    position: relative;
}

.circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.circle span {
    width: .08rem;
    height: .08rem;
    display: inline-block;
    background: #67CF22;
    border-radius: 100%;
    position: absolute;
    -webkit-animation: mycircle 1.2s infinite ease-in-out;
    animation: mycircle 1.2s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.circle2 {
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.circle3 {
    -webkit-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
}

.circle>span:nth-child(1) {
    top: 0;
    left: 0;
}

.circle>span:nth-child(2) {
    top: 0;
    right: 0;
}

.circle>span:nth-child(3) {
    right: 0;
    bottom: 0;
}

.circle>span:nth-child(4) {
    left: 0;
    bottom: 0;
}

.circle2>span:nth-child(1) {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.circle3>span:nth-child(1) {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.circle1>span:nth-child(2) {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.circle2>span:nth-child(2) {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.circle3>span:nth-child(2) {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.circle1>span:nth-child(3) {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.circle2>span:nth-child(3) {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.circle3>span:nth-child(3) {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.circle1>span:nth-child(4) {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.circle2>span:nth-child(4) {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.circle3>span:nth-child(4) {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes mycircle {
    0% {
        transform: scale(0.0);
    }

    40% {
        transform: scale(1.0);
    }

    80% {
        transform: scale(0.0);
    }

    100% {
        transform: scale(0.0);
    }
}

@keyframes mycircle {
    0% {
        transform: scale(0.0);
    }

    40% {
        transform: scale(1.0);
    }

    80% {
        transform: scale(0.0);
    }

    100% {
        transform: scale(0.0);
    }
}
/* 加载loading */

.one_line {
    /* 溢出隐藏 */
    overflow: hidden;
    /* 溢出用省略号显示 */
    text-overflow: ellipsis;
    /* 文本不换行  ↓↓↓ */
    /* white-space: nowrap;  */
    /* 把对象设置为盒子模型 */
    display: -webkit-box;
    /* 从上到下垂直排列子元素 */
    -webkit-box-orient: vertical;
    /* 组合属性 表示显示的行数 */
    -webkit-line-clamp: 1;
}