body,p,h1,h2,h3,h4,h5,h6,ul,ol,dl,li,dt,dd{
  /* 默认有边距，都要清除 */
  margin: 0;
  padding: 0;
  /*字体设置*/
  font-size: 14px;
  font-family: "Microsoft Yahei",sans-serif;
  /* color: #ccc; */
  /* 去掉列表的原点 */
  list-style: none;
  /* 默认鼠标 */
  cursor: default;
}
/*可选*/
html,body{
  width: 100%;
  /* height: 100%; */
  /* overflow: hidden; */
  background-color: #F2F2F2;
}
html,body{-webkit-text-size-adjust: 100%;-webkit-tap-highlight-color: rgba(0,0,0,0);}
div {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}

/* 隐藏文本框阴影 */
/* input, textarea{-webkit-appearance: @none;} */

/*行内块元素*/
input,img{
  margin: 0;
  padding: 0;
  border: 0 none;
  outline-style: none;
  vertical-align: bottom; 
}

/*行内元素*/
a,a:active,a:visited{
  /*下划线和颜色*/
  text-decoration: none;
  color: #ccc;
}
a:hover{
  color:#333;
}
textarea{
  /* 边框清零 */
  border:none;
  /* 轮廓线清零 */
  outline: none;
  /* 防止文本域被随意拖拽 */
  resize: none;
}
i{
  /*文字样式*/
  font-style: normal; 
}
table{
  /*边框合并*/
  border-collapse:collapse;
  border-spacing:0;
}


/* 使用伪元素清除浮动 */
.clearfix::before,
.clearfix::after{
  content:"";
  height: 0;
  line-height: 0;
  display: block;
  visibility: none;
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* 版心*/
.w{
  width: 1883px;
  margin: 0 auto;
}

/*可选*/
/*单选框和复选框的配置，一般是分开的*/
input[type="radio"],input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  display: none;
}

label{
  display: inline-block;
  cursor: pointer;
}

label input[type="radio"]+span,label input[type="checkbox"]+span{
  width: 16px;
  height: 16px;
  display: inline-block;
  background: url("../images/nocheck.png") no-repeat;
}

label input[type="radio"]:checked+span,label input[type="checkbox"]:checked+span{
  background: url("../images/check.png") no-repeat;
}

label input[type="radio"]:checked~i,label input[type="checkbox"]:checked~i{
  color: #38d6ff;
}

/*可选*/
/* 自定义数字框配置 */

input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
}

input[type="number"]+div{
  width: 30px;
  height: 40px;
  padding-left: 2px;
  cursor: pointer;
}

input[type="number"]+div > .count_add{
  display: block;
  width: 28px;
  height: 19px;
  background: url("../images/count_add.png") no-repeat;
  background-size: contain;
  margin-bottom: 2px;
}

input[type="number"]+div > .count_subtract{
  display: block;
  width: 28px;
  height: 19px;
  background: url("../images/count_subtract.png") no-repeat;
  background-size: contain;
}



.border-1px, .border-1px-t, .border-1px-b, .border-1px-tb, .border-1px-l, .border-1px-r {
  position: relative;
}


.border-1px:before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  border: 1px solid #C7C7C7;
  color: #C7C7C7;
  height: 200%;
  transform-origin: left top;
  transform: scale(0.5);
}

.border-1px-t:before{
  content: " ";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #C7C7C7;
    color: #C7C7C7;
    transform-origin: 0 0;
    transform: scaleY(0.5);
}

.border-1px-b:after {
  content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px solid #C7C7C7;
    color:#C7C7C7;
    transform-origin: 0 100%;
    transform: scaleY(0.5);
}

.border-1px-tb:before{
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  border-top: 1px solid #C7C7C7;
  color: #C7C7C7;
  transform-origin: 0 0;
  transform: scaleY(0.5);
}

.border-1px-tb:after {
  content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px solid #C7C7C7;
    color:#C7C7C7;
    transform-origin: 0 100%;
    transform: scaleY(0.5);
}

.border-1px-l:before {
  content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    bottom: 0;
    border-left: 1px solid #c7c7c7;
    color: #c7c7c7;
    transform-origin: 0 0;
    transform: scaleX(0.5);
}

.border-1px-r:after {
  content: " ";
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    bottom: 0;
    border-right: 1px solid #c7c7c7;
    color: #c7c7c7;
    transform-origin: 100% 0;
    transform: scaleX(0.5);
}


/* 右下角有字数的 input/textarea */
.textarea-layout {
  position: relative;
  margin: 0 .42rem .32rem .42rem;
  padding: 0.08rem;
  background: #F3F4F5;
  border: 0.7px solid #EEEEEE;
  border-radius: 4px;
  height: 1.6rem;
}


.textarea-layout textarea {
  width: 100%;
  height: 100%;
  font-size: .26rem;
  background: none;
}

.textarea-layout span {
  position: absolute;
  right: 0.08rem;
  bottom: 0.08rem;
  font-size: .24rem;
  color: #606266;
}



.input-layout {
  position: relative;
  height: .8rem;
  margin: .32rem .42rem .31rem .42rem;
  padding: 0 .24rem 0 .24rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8F8F8;
  border: 0.5px solid #E3E5E9;
  border-radius: 4px;

}
 
.input-layout input {
  width: 70%;
  height: 100%;
  background: none;
  line-height: normal;
  font-size: .28rem;
}
.input-layout span {
  position: absolute;
  font-size: .24rem;
  right: .24rem;
  color: #909399;
}

















/* 半弹窗页面 */
.popup-page {
  position: absolute;
  padding-bottom: .44rem;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 800 !important;
  border-radius: 8px 8px 0 0;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 .22rem 0 .32rem;
  height: .88rem;
  background: #F3F4F5;
  color: #4D535E;
  border-radius: 8px 8px 0 0;
  background: #F3F4F5;
}
.popup-header i {
  height: 100%;
  width: 2rem;
  font-size: .35rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 10px;
}

.popup-enter {
  display: flex;
  justify-content: center;
  align-items: center;
  height: .88rem;
  margin: .4rem .42rem 0 .42rem;
  background: #ffe100;
  border-radius: 4px;
  font-size: .32rem;
  color: #003c8d;
}



/* 弹窗遮罩层 */

/* .bgc {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.4);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}  */


.bgc-show{
  display: block;
}



.tips {
  margin-top: .28rem;
  font-size: .24rem;
  color: #4D535E;
  letter-spacing: 0;
  padding: 0 .28rem 0 .28rem;
  
}
.tips p {
  margin-top: .1rem;
}





/*  loading */

.loading {
  z-index: 999 !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-hidden {
  display: none;
}

.loading .content{
  width: 1rem;
  height: 1rem;
  position: relative;
  margin: 0 auto;
  margin-top:1rem;
  overflow: hidden;
  background: rgba(0, 0, 0, .3);
}
.content img {
  height: 1rem;
}


/* 重量切换的loading */
.loadingIndex {
  z-index: 999 !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: -1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.loadingIndex-show {
  display:flex;
}

.loadingIndex .content{
  width: 1rem;
  height: 1rem;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}
.loadingIndex .content img {
  height: 1rem;
}