/** 全局 **/

a:link,
a:active,
a:visited {
  text-decoration: none;
}

a:hover {
  color: rgba(0, 0, 0, 0.9);
  color: var(--weui-FG-0);
  cursor: pointer;
}

.weui-tab__panel [title]:not([title='']) {
  pointer-events: none;
}

.weui-tab__panel [title]:not([title=''])::before {
  content: '';
  margin-right: 0.3em;
  vertical-align: middle;
  color: #07c160;
  font-size: 1.5em;
  line-height: 1;
  font-weight: 900;
  font-family: 'wei-icon' !important;
  pointer-events: auto;
}

.banner-box {
  position: fixed;
  width: 100%;
  height: 100%;
  height: calc(100% - 60px);
  top: 0;
  left: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 400;
}

.banner-box div {
  height: 100%;
}

.banner-box > div {
  height: 100%;
  height: calc(100% - 2em);
}

.banner-box > ul,
.banner-box > ul > li {
  display: inline-block;
  vertical-align: bottom;
  list-style: none;
}

.banner-box > ul > li::after {
  content: ' ';
  display: block;
  width: 1em;
  height: 1em;
  background-color: whitesmoke;
  border-radius: 1em;
}

.banner-box > ul > li.slick-active::after {
  background-color: cornflowerblue;
}

.banner-box > ul > li + li {
  margin-left: 0.5em;
}

.banner-box > ul > li > button {
  display: none;
}

.banner-box img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
}

.img-box {
  position: relative;
  height: 100%;
  width: 100%;
  text-align: center;
}

.banner-box > div.img-box {
  height: 100%;
}

.img-box img {
  display: block;
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.img_hide:after,
.file_hide:after,
.res_hide::before,
.other_hide::before {
  display: block;
  width: 100%;
  content: '点击加载图片';
  text-align: center;
  font-weight: 600;
}

.img_hide ul.weui-uploader__files,
.file_hide ul.weui-uploader__files {
  display: none;
}

.red {
  color: #fa5151;
  color: var(--weui-RED);
}

.bg_red {
  background-color: #fa5151;
  background-color: var(--weui-RED);
}

.green {
  color: #07c160;
  color: var(--weui-BRAND);
}

.bg_green {
  background-color: #07c160;
  background-color: var(--weui-BRAND);
}

.hide {
  display: none !important;
}

/** IOS 兼容错误**/

.weui-form-preview__label {
  text-align: right;
  text-align-last: auto;
  /* text-align: justify;
    text-align-last: justify; */
  min-width: 4em;
}

/** 图标字体 **/

@font-face {
  font-family: 'wei-icon';
  src: url('./font/iconfont.eot?v=3');
  src: url('./font/iconfont.eot?v=3') format('embedded-opentype'),
    url('./font/iconfont.woff2?v=3') format('woff2'),
    url('./font/iconfont.woff?v=3') format('woff'),
    url('./font/iconfont.ttf?v=3') format('truetype'),
    url('./font/iconfont.svg?v=3') format('svg');
}

.container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  color: var(--weui-FG-0);
}

.wei-tabbar__icon {
  display: inline-block;
  position: relative;
  font-size: 25px;
  width: 1em;
  line-height: 28px;
}

.wei-icon {
  font-family: 'wei-icon' !important;
  font-size: 25px;
  font-style: normal;
  vertical-align: bottom;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/** 图片浏览 **/

.view_img_box {
  position: relative;
  height: 100%;
  width: 100%;
  background-color: grey;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.view_img_box .img_list {
  position: relative;
  flex: 1;
}

.view_img_box ul.button_box {
  display: block;
  width: 100%;
  padding: 0.5em 0;
  text-align: center;
  background-color: white;
  list-style: none;
  z-index: 1;
}

.view_img_box ul.button_box i {
  color: blue;
  font-size: 9px;
  font-weight: 900;
}

.view_img_box ul.button_box li {
  display: inline-block;
  padding: 6px 10px;
  font-size: 0;
  background: gainsboro;
  cursor: pointer;
  border-radius: 50%;
  box-sizing: border-box;
}

.view_img_box ul.button_box li + li {
  margin-left: 10px;
}

.view_img_box li.img_box {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.view_img_box li.img_box:first-child {
  display: block;
}

.view_img_box .number {
  padding: 5px 10px;
  left: 50%;
  font-size: 9px;
  text-align: center;
  color: blue;
  background-color: white;
  z-index: 1;
}

.view_img_box li.img_box img {
  display: block;
  position: relative;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-in;
}

/** 顶部导航 **/

.top-bar {
  display: flex;
  flex-direction: row;
  height: 35px;
  padding: 0 8px;
  line-height: 35px;
  background-color: #f7f7f7;
  background-color: var(--weui-BG-1);
}

.top-bar .wei-icon {
  font-size: 20px;
}

.top-bar .wei-icon:first-child {
  margin-right: 0.5em;
}

.top-bar .wei-icon:last-child {
  margin-left: 0.5em;
}

.top-bar .title {
  width: 100%;
  text-align: center;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/** 底部导航 **/

.weui-tabbar__item {
  position: relative;
  cursor: pointer;
}

.weui-tabbar-up {
  display: none;
  min-width: 100%;
  max-width: 4rem;
  position: absolute;
  left: 50%;
  bottom: 100%;
  padding: 0 2px;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  color: rgba(0, 0, 0, 0.5);
  color: var(--weui-FG-1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border: 1px solid var(--weui-FG-3);
  border-bottom: none;
  background-color: #f7f7f7;
  background-color: var(--weui-BG-1);
}

.weui-tabbar-up .wei-tabbar__icon {
  min-width: 2em;
  width: auto;
}

.weui-tabbar-up .weui-tabbar__item .weui-tabbar__label {
  color: rgba(0, 0, 0, 0.9);
  color: var(--weui-FG-0);
}

.weui-tabbar-up .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label,
.weui-tabbar-up .weui-tabbar__item.weui-bar__item_on .wei-tabbar__icon {
  color: #07c160;
  color: var(--weui-BRAND);
}

.weui-tabbar > .weui-tabbar__item.weui-bar__item_on > .weui-tabbar__label,
.weui-tabbar > .weui-tabbar__item.weui-bar__item_on > .wei-tabbar__icon {
  color: #07c160;
  color: var(--weui-BRAND);
}

/* 搜索 筛选 */

.weui-search-bar_focusing .screenBar {
  display: none;
}

.weui-search-bar .screenBar {
  font-family: 'wei-icon' !important;
  content: '';
  /* position: absolute;
    right: 0;
    padding: 0 0.8em; */
  padding-left: 0.3em;
  font-size: 1.2em;
  color: #009688;
  z-index: 9;
}

.weui-search-bar .weui-search-bar__filter-btn {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  margin-left: 8px;
  line-height: 28px;
  color: #576b95;
  color: var(--weui-LINK);
}

/* 栏目列表入口 */

ul.link-list {
  margin-top: 50px;
  text-align: center;
  color: rgba(0, 0, 0, 0.9);
  color: var(--weui-FG-0);
  list-style: none;
}

ul.link-list li + li {
  margin-top: 20px;
}

ul.link-list li {
  display: inline-block;
  min-width: 60%;
  padding: 5px 10px;
  height: 50px;
  text-align: left;
  line-height: 50px;
  border: 1px solid #04be02;
  border-radius: 5px;
}

ul.link-list li i {
  font-size: 35px;
  color: #007dbb;
  color: var(--weui-TAG-TEXT-BLUE);
}

ul.link-list li span {
  margin-left: 15px;
}

/* 数据列表 */

.weui-tab {
  position: relative;
}

.weui-tab__panel {
  position: relative;
  background-color: #ededed;
  background-color: var(--weui-BG-0);
}

.page__hd {
  padding: 10px 40px;
}

.weui-search-bar + .weui-tab__panel .page__hd {
  padding: 0 20px 10px 40px;
}

.page__title {
  text-align: left;
  font-size: 20px;
  font-weight: 400;
}

.page__hd .weui-form-preview__item {
  padding-left: 120px;
}

.page__desc {
  margin-top: 4px;
  color: var(--weui-FG-1);
  text-align: left;
  font-size: 14px;
}

ul.weui-form-preview__value {
  font-size: 0;
  list-style: none;
}

ul.weui-form-preview__value li {
  display: inline-block;
}

ul.weui-form-preview__value li + li {
  margin-left: 5px;
  margin-bottom: 5px;
}

ul.weui-form-preview__value li img {
  height: 28px;
  font-size: 0;
  vertical-align: bottom;
}

.weui-form-preview__bd .weui-uploader__bd {
  margin-right: 0;
  margin-bottom: 0;
}

.weui-uploader__bd {
  margin-top: 8px;
}

.weui-cell_uploader ul.weui-uploader__files li::before {
  pointer-events: none;
}

.weui-form-preview__bd + .weui-form-preview__bd {
  position: relative;
}

.weui-form-preview__bd + .weui-form-preview__bd .weui-uploader__bd {
  margin-top: 0;
}

.weui-form-preview__bd + .weui-form-preview__bd:after {
  content: ' ';
  position: absolute;
  top: 0;
  right: 1em;
  height: 1px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--weui-FG-3);
  color: rgba(0, 0, 0, 0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  left: 16px;
}

.weui-form-preview__ft .weui-form-preview__btn[disabled] {
  color: rgba(0, 0, 0, 0.2);
  color: var(--weui-BTN-DISABLED-FONT-COLOR);
  background-color: #f2f2f2;
  background-color: var(--weui-BTN-DEFAULT-BG);
}

.res_hide::before {
  content: '点击加载数据';
}

.file_hide:after {
  content: '点击加载文件';
}

.other_hide::before {
  content: '点击加载信息';
}

.res_hide .weui-form-preview__bd,
.other_hide .weui-form-preview__item {
  display: none;
}

.weui-form-preview__bd .weui-form-preview__bd {
  padding: 10px 0;
  font-size: 1em;
}

.flex {
  display: flex;
}

.res-data {
  line-height: 1.5;
}

.res-data .weui-form-preview__item {
  flex: 1;
}

.weui-form-preview__item.flex .weui-form-preview__label {
  margin-left: 1em;
}

/* 表单 */

input:disabled,
input:read-only,
textarea:disabled,
textarea:read-only {
  color: #1485ee;
  color: var(--weui-INDIGO);
}

.weui-form {
  padding: 10px 0 0;
  padding: calc(10px + constant(safe-area-inset-top))
    constant(safe-area-inset-right) constant(safe-area-inset-bottom)
    constant(safe-area-inset-left);
  padding: calc(10px + env(safe-area-inset-top)) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.weui-form__desc {
  font-size: 14px;
  text-align: left;
  color: rgba(0, 0, 0, 0.5);
  color: var(--weui-FG-1);
}

.weui-form__control-area {
  margin: 24px 0;
}

.weui-cells {
  overflow: inherit;
}

.weui-cell {
  font-size: 15px;
}

.weui-cell.top {
  align-items: normal;
  -webkit-align-items: normal;
}

.weui-cell > .weui-cell__bd:first-child,
.weui-cell > .weui-cell__hd:first-child {
  font-weight: 900;
}

label.weui-cell .weui-cells_checkbox,
label.weui-cell .weui-cells_radio {
  display: flex;
  flex-flow: wrap;
  gap: 2em;
  flex: 1;
  margin: 0;
}

label.weui-cell .weui-cells_checkbox label,
label.weui-cell .weui-cells_radio label {
  display: flex;
  min-width: calc(50% - 1em);
  line-height: 24px;
}

label.weui-cell .weui-cells_checkbox label .weui-cell__hd,
label.weui-cell .weui-cells_radio label .weui-cell__hd {
  padding-right: 6px;
}

label.weui-cell .weui-cells_radio label .weui-cell__bd {
  text-align: right;
}

.weui-cells.weui-cells_checkbox::before,
.weui-cells.weui-cells_checkbox::after,
.weui-cells.weui-cells_radio::before,
.weui-cells.weui-cells_radio::after {
  display: none;
}

.weui-cell__bd .weui-select {
  padding-left: 0;
  padding-right: 30px;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

select.weui-select:focus {
  text-align: center;
}

ul.weui-uploader__files {
  display: inline;
  font-size: 0;
  pointer-events: none;
}

ul.weui-uploader__files li:first {
  margin-left: 2.5%;
}

.weui-cell_uploader ul.weui-uploader__files li::before {
  content: 'X';
  position: absolute;
  bottom: -1px;
  padding: 1px 5px 0px 5px;
  font-size: 12px;
  color: white;
  text-align: center;
  background-color: rgba(250, 81, 81, 0.9);
  z-index: 1;
  pointer-events: auto;
  border-radius: 10px;
}

.weui-cell_uploader.no-del ul.weui-uploader__files li::before {
  display: none;
}

ul.weui-uploader__files li,
.weui-uploader__input-box {
  display: inline-block;
  position: relative;
  /* float: none; */
  width: 30%;
  height: auto;
  padding-bottom: 30%;
  margin-right: 2.5%;
  margin-bottom: 2%;
  background: no-repeat 50% 25%;
  background-size: contain;
  list-style: none;
}

.weui-uploader__input-box {
  padding-bottom: calc(30% - 2px);
  box-sizing: border-box;
  border: 1px solid #a3a3a3;
}

li.weui-uploader__file img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  pointer-events: auto;
}

ul.weui-uploader__files.files {
  flex: 1;
  font-size: 0.8em;
  text-align: left;
  pointer-events: auto;
}

ul.weui-uploader__files.files li {
  width: 100%;
  padding: 0.5em 4em 0.5em 0.25em;
  margin-bottom: 0;
  margin-right: 0;
  box-sizing: border-box;
  line-height: 1.5em;
}

ul.weui-uploader__files.files li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--weui-FG-3);
}

.weui-cell_uploader ul.weui-uploader__files.files li::before {
  content: '删除';
  right: 0.25em;
  bottom: 0.5em;
  padding: 0 0.5em;
  line-height: 1.5em;
  color: #fa5151;
  color: var(--weui-RED);
  background-color: #f2f2f2;
  background-color: var(--weui-BTN-DEFAULT-BG);
  border-radius: 0.3em;
}

ul.weui-uploader__files.files + .weui-uploader__input-box {
  width: 100%;
  padding-bottom: 0;
  margin-top: 0.5em;
  border: none;
}

ul.weui-uploader__files.files + .weui-uploader__input-box:before {
  content: ' ';
}

ul.weui-uploader__files.files + .weui-uploader__input-box:after {
  content: '选择文件';
  display: inline-block;
  position: inherit;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  padding: 5px 0;
  text-align: center;
  color: white;
  background-color: #10aeff;
  background-color: var(--weui-BLUE);
  transform: none;
  -webkit-transform: none;
}

.weui-form xm-select {
  min-height: 19px;
  border: none;
}

.weui-form xm-select * {
  font-size: 15px;
}

.weui-form xm-select > .xm-body {
  min-width: auto;
}

.weui-form xm-select > .xm-tips {
  padding: 0 10px 0 0;
  color: rgba(0, 0, 0, 0.3);
  color: var(--weui-FG-2);
}

.weui-form xm-select .xm-label .scroll .label-content {
  padding: 0;
  line-height: normal;
}

.weui-form xm-select .xm-option::after {
  content: ' ';
  position: absolute;
  left: 16px;
  left: var(--weui-cellPaddingLR);
  top: 0;
  right: 16px;
  right: var(--weui-cellPaddingLR);
  height: 1px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--weui-FG-3);
  color: rgba(0, 0, 0, 0.1);
  color: var(--weui-FG-3);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  left: 16px;
  z-index: 2;
}

/** 文章 **/

.explan_right {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  margin: 0 5px;
  color: #8799a3;
  text-align: right;
}

.weui-panel__bd {
  background-color: white;
}

.weui-media-box {
  display: block;
}

.right {
  float: right;
}

.weui-article {
  padding: 10px 20px;
  padding: 20px calc(10px + constant(safe-area-inset-right))
    calc(20px + constant(safe-area-inset-bottom))
    calc(10px + constant(safe-area-inset-left));
  padding: 20px calc(10px + env(safe-area-inset-right))
    calc(20px + env(safe-area-inset-bottom))
    calc(10px + env(safe-area-inset-left));
  min-height: 100%;
  font-size: 15px;
  background-color: white;
  box-sizing: border-box;
}

.weui-article h1 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0.9em;
}

.explan {
  width: 100%;
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
}

.explan span {
  color: rgba(0, 0, 0, 0.9);
}

.article-content {
  margin-top: 15px;
}

.weui-article p {
  margin: 0;
}

.more {
  position: fixed;
  width: 1em;
  top: 30%;
  left: 0;
  padding: 0.3em;
  font-weight: 600;
  color: whitesmoke;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid grey;
  border-left: none;
  border-radius: 0 0.5em 0.5em 0;
  z-index: 99;
}

/** 弹窗 **/

.weui-half-screen-dialog_large {
  top: 35px;
}

.weui-half-screen-dialog__box {
  visibility: hidden;
  transition-delay: 0.3;
}

.weui-half-screen-dialog__box .weui-mask {
  opacity: 0;
  transition: 0.3s;
  z-index: 250;
}

.weui-half-screen-dialog__box .weui-half-screen-dialog {
  bottom: 60px;
  z-index: 300;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s linear;
}

.weui-half-screen-dialog__box.show {
  visibility: visible;
  transition-delay: 0;
}

.weui-half-screen-dialog__box.show .weui-mask {
  opacity: 1;
}

.weui-half-screen-dialog__box.show .weui-half-screen-dialog {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.weui-half-screen-dialog__bd {
  padding-bottom: 25px;
}

.weui-half-screen-dialog__bd .weui-form-preview__item {
  text-align: right;
}

.weui-half-screen-dialog__ft {
  padding: 10px 0;
}

.big-dialog .weui-dialog {
  left: 1em;
  right: 1em;
  width: inherit;
}

.big-dialog .weui-dialog__bd {
  font-size: 0.9em;
  text-align: left;
  white-space: pre-wrap;
}

/** 全局 **/

.weui-sign-box {
  position: fixed;
  width: 50px;
  height: 50px;
  left: 50%;
  bottom: calc(60px);
  padding: 5px;
  border-radius: 50%;
  box-sizing: border-box;
  background-color: white;
  box-shadow: 0 0 5px #666;
  background-color: #10aeff;
  background-color: var(--weui-BLUE);
  transform: translate(-50%, -50%);
  z-index: 9;
}

.weui-sign-btn {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 5px;
  color: white;
  border-radius: 50%;
  box-sizing: border-box;
}

.weui-sign-btn .wei-icon {
  font-size: 35px;
  position: relative;
  bottom: 13px;
  right: 4.5px;
}

.weui-sign-box.sm {
  width: 40px;
  height: 40px;
  padding: 2.5px;
}

.sm .weui-sign-btn {
  width: 35px;
  height: 35px;
}

.sm .weui-sign-btn .wei-icon {
  font-size: 25px;
  bottom: 7.5px;
  right: 1.5px;
}

@media screen and (min-width: 640px) {
  .container,
  .weui-mask,
  .weui-half-screen-dialog {
    left: calc((100% - 640px) / 2);
    right: calc((100% - 640px) / 2);
    border-left: 1px dashed lightgray;
    border-right: 1px dashed lightgray;
    box-sizing: border-box;
  }

  .big-dialog .weui-dialog {
    left: calc(((100% - 640px) / 2) + 1em);
    right: calc(((100% - 640px) / 2) + 1em);
    width: inherit;
  }

  .weui-picker {
    width: auto;
  }

  .more {
    left: calc(50% - 320px);
  }
}
