@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.28rem;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

body * {
  max-width: 750px;
  -webkit-text-size-adjust: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
body {
  /* *position: static; */
  width: 100%;
  height: 100%;
  margin: 0 auto;
  max-width: 750px;
  /* overflow-x: hidden; */
  -webkit-tap-highlight-color: transparent;
  -ms-tap-highlight-color: transparent;
  background: #f7f8f9;
}

a,
input,
button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background: transparent;
}

input,
button {
  -webkit-appearance: none;
  border-radius: 0;
}

a {
  text-decoration: none;
  outline: none;
}

a:hover {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

textarea {
  resize: none;
}

input:focus {
  outline: none;
}

input {
  outline: none;
  vertical-align: middle;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
input,
select,
textarea,
option,
button {
  font-weight: normal;
}

*,
a,
button,
input,
select,
option,
img,
dl,
dd,
div,
label,
textarea {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

input[type="button"],
input[type="submit"],
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea,
button {
  -webkit-appearance: none;
  color: #333;
  outline: none;
}

input:focus {
  outline: none;
}

em,
i {
  font-style: normal;
}

input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
  border: none;
  padding: 0;
  color: #333;
}

input[type="button"],
input[type="submit"],
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea,
button {
  -webkit-appearance: none;
  color: #333;
  outline: none;
}

input,
textarea,
select,
option,
button,
form,
fieldset {
  margin: 0;
  padding: 0;
  border-width: 1px;
  outline: none;
  font-family: "Helvetica Neue", Helvetica, STHeiTi, "Microsoft YaHei",
    "微软雅黑", SimSun, sans-serif;
}

/*placeholder 文字颜色设置*/

input::placeholder,
textarea::placeholder {
  color: #666;
  font-size: 0.3rem;
}

select {
  appearance: none;
  -moz-appearance: none;
  /* Firefox */
  -webkit-appearance: none;
  /* Safari 和 Chrome */
}

/* Chrome浏览器会在输入控制聚集的时候添加一个蓝色的outline*/

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* 如果有输入内容IE会给输入框右边加一个大大的X */

input::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.clear:after {
  content: "";
  display: block;
  clear: both;
}

.clear {
  zoom: 1;
}

.clear {
  clear: both;
}

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

.flex {
  display: flex;
}

.f-d-c {
  flex-direction: column;
}

.ai-center {
  align-items: center;
}

.jc-center {
  justify-content: center;
}

.jc-sb {
  justify-content: space-between;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

/* 隐藏滚动条 */
.hide-scrollbar {
    scrollbar-width: none !important;
}

.hide-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: transparent;
}

.hide-scrollbar::-webkit-scrollbar-thumb {
    display: none !important;
}

.ellipsis {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* 英文也换行 */
    word-break: break-all;
}

/* 复选框样式 */

input[type="checkbox"] {
  cursor: pointer;
  position: relative;
  width: 16px;
  height: 16px;
}

input[type="checkbox"]::after {
  position: absolute;
  top: 0;
  background-color: #fff;
  color: #fff;
  width: 16px;
  height: 16px;
  display: inline-block;
  visibility: visible;
  padding-left: 0px;
  text-align: center;
  content: " ";
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid #ddd;
}

input[type="checkbox"]:checked::after {
  content: "";
  background-color: #7368f2;
  border-color: #7368f2;
  background-color: #7368f2;
}

input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 3px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  z-index: 1;
}

.pop {
  padding: 0.4rem 0;
}

.pop p {
  text-align: center;
  line-height: 1rem;
  font-size: 0.36rem;
  color: #333;
}
