html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  padding: 0 !important;
  overflow-y: auto;
}

body, input, textarea, select, button {
  font-family: Microsoft YaHei, -apple-system, PingFang SC, Hiragino Sans GB, Helvetica Neue, Arial, sans-serif;
}

/* 滚动条样式 */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-track:hover {
  background: #eee;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #b9b9b9;
}

::-webkit-scrollbar-thumb:hover {
  background: #747474;
}

* {
  padding: 0;
  margin: 0;
}

* {
  box-sizing: border-box;
}

pre {
  white-space: pre-wrap;
  font-size: 14px;
  font-family: PingFang SC, Hiragino Sans GB, Microsoft YaHei, -apple-system, Helvetica Neue, Arial, sans-serif;
}

ul, ol {
  list-style: none;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

iframe {
  border: 0 none;
  outline: 0 none;
}

img {
  display: block;
}

a {
  text-decoration: none;
}


.flex {
  display: flex;
}

.flex_top {
  display: flex;
  align-items: flex-start;
}

.flex_wrap {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap
}

.flex__item {
  flex: 1;
}

.flex-xc {
  justify-content: center;
}

.flex-yc {
  align-items: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.flex-reverse {
  flex-direction: row-reverse;
}

.flex-sa {
  justify-content: space-around;
}

.flex1 {
  flex: 1;
}

.ell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*2行截断*/

.ell2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*3行截断*/

.ell3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.clearfix {
  clear: both;
}

.hide {
  display: none;
}

.mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);

}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
}

.dialog {
  width: 580px;
  min-width: 300px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 22px;
}

.dialog .dia-header {
  padding: 30px 0 20px;
  text-align: center;
  border-bottom: 1px solid #EEEEEE;
}

.dialog .dia-header .t1 {
  font-size: 20px;
  color: #333333;
}

.dialog .dia-header .t2 {
  font-size: 14px;
  color: #999999;
}

.dialog .dia-content {
  padding: 30px 0 60px;
  text-align: center;
}

.dialog .dia-content .pay-way {
  margin-bottom: 50px;
}

.dialog .dia-content .pay-way .way {
  margin-right: 20px;
  padding: 10px 28px;
  border: 1px solid #DDDDDD;
  font-size: 16px;
  color: #333333;
}

.dialog .dia-content .pay-way .way.active {
  position: relative;
  border-color: #43C93E;
}

.dialog .dia-content .pay-way .way.active::after {

  content: '';
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 20px;
}

.dialog .dia-content .pay-way .way.active.wechat::after {
  background-image: url(../imgs/wechat-active.png);
}

.dialog .dia-content .pay-way .way.active.alipay::after {
  background-image: url(../imgs/alipay-active.png);
}

.dialog .dia-content .pay-tip {
  margin-bottom: 25px;
  font-size: 16px;
  color: #333333;
}

.dialog .dia-content .pay-tip .txt {
  margin-left: 10px;
}

.dialog .dia-content .pay-tip .txt b {
  font-size: 24px;
  font-weight: normal;
}

.dialog .dia-content .pay-tip img {
  display: inline-block;
  width: 22px;
  height: auto;
  padding: 0;
  border: none;
  vertical-align: middle;
}

.dialog .dia-content img {
  display: inline-block;
  max-width: 165px;
  height: 164px;
  padding: 20px;
  border: 1px solid #EEEEEE;
}

.dialog .dia-content form {
  padding: 0 60px;
}

.dialog .dia-content form .form-item {
  margin-bottom: 30px;
}

.dialog .dia-content form .form-item input {
  width: 100%;
  height: 60px;
  background: #F5F5F5;
  border-radius: 8px 8px 8px 8px;
  font-size: 16px;
}

.dialog .dia-content form .form-item input:focus {
  border: 1px solid #713C12;
}

.dialog .dia-content form .form-item .btn-code {
  margin-left: 20px;
  width: 136px;
  height: 60px;
  background: #E7E8E8;
  border-radius: 8px 8px 8px 8px;
  font-size: 16px;
  color: #333333;
}

.dialog .dia-content form .form-item .btn-submit {
  width: 460px;
  height: 60px;
  background: #713C12;
  border-radius: 8px 8px 8px 8px;
  font-size: 18px;
  color: #ffffff;
}

.dialog .dia-content .btm-info {
  margin-top: 80px;
}

.dialog .oper {
  height: 40px;
  position: relative;
}

.dialog .oper .close {
  display: block;
  position: absolute;
  top: 30px;
  right: 34px;
}

.dialog .oper .close::before, .dialog .oper .close::after {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: 20px;
  background: #666666;
}

.dialog .oper .close::before {
  transform: rotate(45deg);
}

.dialog .oper .close::after {
  transform: rotate(-45deg);
}