html {
  font-family: 'PingFangSC-Regular', 'PingFang SC', 'STHeiti Light', 'helvetica neue', 'hiragino sans gb', 'arial', 'microsoft yahei ui', 'microsoft yahei', 'simsun', sans-serif;
}
input::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #D1D1D1;
}

input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #D1D1D1;
}

input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #D1D1D1;
}

input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #D1D1D1;
}

body {
  background: #fff;
  color: #292929;
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
em,
i {
  font-style: normal;
}
ul,
dl,
p {
  margin: 0;
}
li {
  list-style: none;
}
a {
  text-decoration: none ;
  outline: none ;
  cursor: pointer;
  color: #333;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* b {
  font-weight: normal;
} */
img {
  border: none;
}
input,
textarea {
  vertical-align: middle;
  outline: none;
  border: none;
  background: none;
  box-sizing: border-box;
}
textarea {
  overflow: auto;
}
table {
  border-spacing: 0;
  border: none;
  border-collapse: collapse;
}
button {
  border: none;
  background: none;
}
button:focus,
button:active:focus,
button.active:focus,
button.focus,
button:active.focus,
button.active.focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.el-scrollbar__bar {
  display: none;
}
.ellipsis-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 两行缩略 */
.ellipsis-2-line {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.flex {
  display: flex;
}
.flex-between {
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
}
.flex-around {
  -webkit-justify-content: space-around;
  -ms-justify-content: space-around;
  justify-content: space-around;
}
.flex-center {
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.flex-row-center{
  justify-content: center;
}
.flex-column {
  -webkit-flex-direction: column ;
  -ms-flex-direction: column ;
  flex-direction: column ;
}
.flex-wrap {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
@keyframes myfirst{
  0% { transform: scale(.8); }
  50% { transform: scale(1); }
  100% { transform: scale(.8); }
}
@-moz-keyframes myfirst{
  0%  {-moz-transform: scale(.8);}
  50% {-moz-transform: scale(1);}
  100%    {-moz-transform: scale(.8);}
}
@-webkit-keyframes myfirst{
  0%  {-webkit-transform: scale(.8);}
  50% {-webkit-transform: scale(1);}
  100%    {-webkit-transform: scale(.8);}
}

@-o-keyframes myfirst{
  0%  {-o-transform: scale(.8);}
  50% {-o-transform: scale(1);}
  100%    {-o-transform: scale(.8);}
}
@keyframes smallchange{
  0% { transform: scale(.9); }
  50% { transform: scale(1); }
  100% { transform: scale(.9); }
}
@-moz-keyframes smallchange{
  0%  {-moz-transform: scale(.9);}
  50% {-moz-transform: scale(1);}
  100%    {-moz-transform: scale(.9);}
}
@-webkit-keyframes smallchange{
  0%  {-webkit-transform: scale(.9);}
  50% {-webkit-transform: scale(1);}
  100%    {-webkit-transform: scale(.9);}
}

@-o-keyframes smallchange{
  0%  {-o-transform: scale(.9);}
  50% {-o-transform: scale(1);}
  100%    {-o-transform: scale(.9);}
}


.add-flash{
  animation:smallchange 1s infinite;
  -moz-animation:smallchange 1s infinite; /* Firefox */
  -webkit-animation:smallchange 1s infinite; /* Safari and Chrome */
  -o-animation:smallchange 1s infinite; /* Opera */
}
.shake-bag{
  animation:shake .2s infinite linear;
	-webkit-animation:shake .2s infinite linear;
}
@-webkit-keyframes shake {
	0% {
		-webkit-transform: rotate(2deg) translate3d(0,0,0)
	}
	50% {
		-webkit-transform: rotate(-2deg) translate3d(0,0,0)
	}
	100% {
		-webkit-transform: rotate(2deg) translate3d(0,0,0)
	}
}

@-moz-keyframes shake {
	0% {
		transform: rotate(2deg) translate3d(0,0,0)
	}
	50% {
		transform: rotate(-2deg) translate3d(0,0,0)
	}
	100% {
		transform: rotate(2deg) translate3d(0,0,0)
	}
}

@-ms-keyframes shake {
	0% {
		transform: rotate(2deg) translate3d(0,0,0)
	}
	50% {
		transform: rotate(-2deg) translate3d(0,0,0)
	}
	100% {
		transform: rotate(2deg) translate3d(0,0,0)
	}
}
.modal{
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 10;
}
.popup{
  background: white;
  border-radius: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 11;
}
/* :root {
  --sat: env(safe-area-inset-top);
  --sar: env(safe-area-inset-right);
  --sab: env(safe-area-inset-bottom);
  --sal: env(safe-area-inset-left);
} */
/* body {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
} */