blockquote, body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, td, textarea, th, ul, header, section, footer, aside, article, nav {
  box-sizing: border-box;
}
:root {
  --primary: #017CFE;
}
body {
  position: relative;
  max-width: 900px;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden auto;
  line-height: 1.4;
  font-size: .26rem;
  font-family: '苹方';
  color: #383838;
  background-color: #fafafa;
}
.t-80 {
  color: #808080;
}
.t-a6 {
  color: #a6a6a6;
}
.t-white {
  color: #fff;
}
.t-black {
  color: #000;
}
.t-orange {
  color: #ff5733;
}
@media screen and (min-width:750px) {
  html {
    font-size: .26rem !important;
    /*font-size: 100px !important;*/
  }
}
img {
  width: 100%;
  height: 100%;
}
input, button, select, textarea {
  border: none;
  outline: none;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.flex {
  display: flex;
  align-items: center;
}
.f-col {
  flex-direction: column;
}
a {
  color: inherit;
}
.active {
  color: var(--primary);
}

/* 页面布局 */
.page {
  height: calc(100vh - 1.6rem);
  overflow-y: auto;
}
.main {
  padding: .2rem .2rem 20px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 10px;
}
.br10 {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* 自定义表单 */
.input-box {
  margin-bottom: .24rem;
  padding-right: .2rem;
  height: .92rem;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  transition: all 0.2s;
}
.input-box:focus-within {
  border-color: var(--primary);
}
.input {
  background-color: initial;
  padding-left: .24rem;
  font-size: .3rem;
}
.input::placeholder {
  color: #a6a6a6;
}
/* 标签 */
.common-tag {
  min-width: 60px;
  height: .6rem;
  padding: 0 0.5em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #808080;
  border-radius: 5px;
  white-space: nowrap;
}
.primary {
  background-color: rgba(1, 124, 254, 0.1);
  color: var(--primary);
}
.success {
  background-color: rgba(0, 186, 173, 0.1);
  color: rgba(0, 186, 173, 1);
}
.purple {
  background-color: rgba(121, 72, 234, 0.1);
  color: rgba(121, 72, 234, 1);
}
.common-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: .8rem;
  border-radius: 5px;
  font-size: .3rem;
  color: #fff;
  padding: 0 0.5em;
  margin-right: 8px;
  white-space: nowrap;
}
.common-btn:active {
  opacity: 0.8;
}
.btn-primary {
  background-image: linear-gradient(90deg, #3393fe 0%, #2b82ff 100%);
}
.btn-success {
  background-image: linear-gradient(90deg, #20c3a2 0%, #0aaf93 100%);
}
.btn-orange {
  background-color: #fc6644;
}
.btn-gray {
  background-color: #c9c9c9;
}
.save {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 6rem;
  text-align: center;
}
.btn-large {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.2rem;
  height: 44px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  border-radius: 5px;
  padding: 0 1em;
}


/* layui表单相关 */
.form-box {
  padding: 24px 20px;
  background-color: #fff;
  border-radius: 10px;
}
.layui-form-item {
  margin-bottom: 10px;
}
.layui-form-label {
  padding: 9px 5px;
  text-align: left;
  font-size: 16px;
  color: #808080;
}

.layui-input-block {
  margin-left: 90px;
}

.layui-input {
  color: #808080;
}

.layui-input::placeholder,
.layui-textarea::placeholder {
  color: #80808080;
}

.required::before {
  content: "*";
  color: #ff5733;
}

/* 固定底部 */
.footer {
  z-index: 999;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  max-width: 900px;
  width: 100%;
  /*padding-bottom: .4rem;*/

  background-color: #f2f2f2;
  overflow: hidden;
  border-top: 1px solid #cccccc20;
}
.footer-wrap {
  height: 1.2rem;
  padding: 0 .6rem;
  background-color: #fff;
  border-radius: 10px 10px 0 0;
  justify-content: space-between;
}
.tabbar {
  flex-direction: column;
}
.tab-icon {
  width: auto;
  height: .56rem;
}
.tab-text {
  font-size: .26rem;
}