/*样式初始化*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  /*outline （轮廓）是绘制于元素周围的一条线，位于边框边缘的外围，可起到突出元素的作用。*/
  font-size: 100%;
  /*inherit 关键字指定一个属性应从父元素继承它的值。*/
  font: inherit;
  /*baseline 默认。元素放置在父元素的基线上。*/
  vertical-align: baseline;
}

* {
  font-style: normal;
  /* font-weight: inherit; */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /*禁止链接高亮（苹果手机)*/
  -webkit-touch-callout: none;
  /*禁止链接长按弹出选项菜单*/
  box-sizing: border-box;
}

html {
  width: 100%;
  background: #fff;
}

body {
  width: 100%;
  /*PC网页最小的宽度*/
  color: #333;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  /*解决Iphone下橱窗字体变大问题*/
}

a {
  text-decoration: none;
  color: inherit;
}

a:link {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /*禁止链接高亮*/
  -webkit-touch-callout: none;
  /*禁止链接长按弹出选项菜单*/
}

a:link,
a:visited,
a:hover,
a:active {
  /* color: #000; */
  text-decoration: none;
}

img {
  display: block;
  border: none;
}

ol,
ul,
li {
  list-style: none;
}

input,
textarea {
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  box-shadow: none;
  -webkit-appearance: none;
  outline: 0;
  border: 0;
  font-size: 16px;
  /*去除input默认样式*/
}

input::placeholder {
  color: #999;
}
select {
  font-size: 0.3733rem;
}

.info-list table {
  width: 100%;
  border-collapse: collapse;
  /*为表格设置合并边框模型*/
}

.info-list table,
.info-list th,
.info-list td {
  border: 1px solid #e5e5e5;
  text-align: center;
  font-size: 0.3733rem;
  vertical-align: middle;
  word-break: break-all;
}

.info-list table tr {
  height: 1.1733rem;
}

.info-list table tr td:first-child {
  width: 25%;
  background: #f7f7f7;
  padding: 0 0.1333rem;
}

.info-list table tr td:first-child.required::before {
  content: "*";
  color: #ff2b0b;
}

.info-list table tr td input {
  height: 1.1733rem;
  width: 85%;
  font-size: 16px;
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
}

.info-list table tr td select {
  width: 85%;
  height: 1rem;
  border: none;
  outline: none;
}
.info-list table tr td .select2-container--default .select2-selection--single {
  background-color: #fff;
  border: unset;
}
/* table tr td input[type="radio"] {
  width: 0.32rem;
  height: 0.32rem;
  border: 0.0267rem solid #999999;
  border-radius: 100%;
  margin: 0;
  margin-right: 0.1333rem;
  opacity: 0;
} */
.radio-box {
  padding: 0.24rem 0.567rem;
}
.radio-item {
  position: relative;
  min-width: 50%;
  margin: 0.08rem 0;
}
.radio-box label {
  font-weight: 400;
  font-size: 0.3467rem;
  color: #666666;
  display: flex;
  align-items: center;
}
.radio-box label::before {
  content: "";
  display: inline-block;
  width: 0.32rem;
  height: 0.32rem;
  border: 1px solid #999999;
  border-radius: 100%;
  margin-right: 0.1333rem;
}
/* 隐藏原生单选按钮 */
input[type="radio"] {
  display: none;
}

/* 当单选按钮被选中时更改样式 */
input[type="radio"]:checked + label::before {
  background: #2e72f2 url("../../img/h5/icon_radio_ck.svg") no-repeat center;
  border: 1px solid #2e72f2;
  /* border: 0; */
  background-size: 100% 100%;
}

/* input:checked + label {
  background-color: #fe6d32;
  border: 1px solid #fe6d32;
} */
/*添加的加号与label进行拼接(一个矩形边框去掉上和左的边框),再旋转45度*/
/* input:checked + label::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 10px;
  top: 3px;
  left: 6px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
} */
.form-item-box .form-value select {
  border-radius: 0.1067rem;
  width: 100%;
  padding: 0.32rem;
  border: 0;
  outline: none;

  /* 修改原生箭头 */
  appearance: none;
  background: url("../../img/h5/icon_down.svg") no-repeat right 5% center;
  padding-right: 0.8533rem;
  background-color: #f7f7f7;
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
}

/* 修改Select2默认样式 */
.select2-results ul li {
  font-size: 0.3733rem;
}
.select2-container .select2-selection--single {
  height: 1.0667rem;
}
.select2-container--default .select2-selection--single {
  background-color: #f7f7f7;
  border: unset;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 0.9867rem;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0.35rem;
  padding-right: 0.8333rem;
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 0.3067rem;
  right: 0.2233rem;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  all: unset;
  display: block;
  width: 0.4267rem;
  height: 0.4267rem;
  background: url("../../img/h5/icon_down.svg") no-repeat;
}

/* 通用样式 */
.container-box {
  width: 100%;
}

.min-h100 {
  min-height: 100vh;
}
.w59 {
  width: 1.5733rem;
}
.w85 {
  width: 2.2667rem;
}
.w72 {
  width: 1.92rem;
}

.w77 {
  width: 2.3667rem;
}

.w25 {
  width: 2.5rem;
}

.bgf7 {
  background: #f7f7f7;
}

.hide {
  display: none;
}

.txt-left {
  text-align: left !important;
}

.txt-right {
  text-align: right !important;
}

.df {
  display: flex;
}

.flex1 {
  flex: 1;
}
.flex2 {
  flex: 2;
}

.aic {
  align-items: center;
}

.aifs {
  align-items: flex-start;
}

.jcc {
  justify-content: center;
}

.jcsb {
  justify-content: space-between;
}

.jcsa {
  justify-content: space-around;
}

.jcfe {
  justify-content: flex-end;
}

.fdc {
  flex-direction: column;
}

.fl-wrap {
  flex-wrap: wrap;
}

.df-c {
  display: flex;
  justify-content: center;
  align-items: center;
}

.df-c-c {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.f500 {
  font-weight: 500;
}

/* 1行省略号 */
.txt-line1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3行省略号 */
.txt-line3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

/* padding */
.pt-bar {
  padding-top: 1.1733rem;
}

.pb-bar {
  padding-bottom: 1.7333rem;
}

.pb-btn {
  padding-bottom: 2.1333rem;
}

.plr16 {
  padding-left: 0.4267rem;
  padding-right: 0.4267rem;
}

.pt16 {
  padding-top: 0.4267rem;
}

.pt10 {
  padding-top: 0.2667rem;
}

.p12 {
  padding: 0.32rem;
}

.pb80 {
  padding-bottom: 2.1333rem;
}

/* margin */
.mr6 {
  margin-right: 0.16rem;
}
.mr12 {
  margin-right: 0.32rem;
}

.mtb10 {
  margin-top: 0.2667rem;
  margin-bottom: 0.2667rem;
}

.mt6 {
  margin-top: 0.16rem;
}

.mt16 {
  margin-top: 0.4267rem;
}

.mt5 {
  margin-top: 0.1333rem;
}

.mt9 {
  margin-top: 0.24rem;
}

.mt10 {
  margin-top: 0.2667rem;
}

.mb5 {
  margin-bottom: 0.1333rem;
}

.mb6 {
  margin-bottom: 0.16rem;
}

.mb10 {
  margin-bottom: 0.2667rem;
}

.mb16 {
  margin-bottom: 0.4267rem;
}

/* 阴影 */
.list-shadow {
  background: #ffffff;
  box-shadow: 0px 0px 0.2667rem 0px rgba(209, 220, 255, 0.5);
  border-radius: 0.2133rem;
}

/* 底部tab */
.footer-tab {
  /*padding: 0.2667rem 0 0.2667rem;*/
  padding: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
}

.footer-tab .footer-item {
  margin: 0 1.3333rem;
  color: #777777;
}

.footer-tab .footer-item.active {
  color: #2759b1;
}

.footer-item span {
  font-weight: 400;
  font-size: 0.2667rem;
  line-height: 0.3733rem;
}

.footer-tab .footer-item .icon {
  width: 0.64rem;
  height: 0.64rem;
  margin-bottom: 0.1333rem;
}

.footer-tab .home .icon_home {
  background: url("../../img/h5/icon_home.svg") no-repeat;
  background-size: 100% 100%;
}

.footer-tab .home.active .icon_home {
  background: url("../../img/h5/icon_home_a.svg") no-repeat;
  background-size: 100% 100%;
}

.footer-tab .mes .icon_mes {
  background: url("../../img/h5/icon_mes.svg") no-repeat;
  background-size: 100% 100%;
}

.footer-tab .mes.active .icon_mes {
  background: url("../../img/h5/icon_mes_a.svg") no-repeat;
  background-size: 100% 100%;
}

.footer-tab .mine .icon_mine {
  background: url("../../img/h5/icon_mine.svg") no-repeat;
  background-size: 100% 100%;
}

.footer-tab .mine.active .icon_mine {
  background: url("../../img/h5/icon_mine_a.svg") no-repeat;
  background-size: 100% 100%;
}

/* 导航栏 */
.nav-bar {
  padding: 0 0.4267rem;
  height: 1.1733rem;
  background: #fff;
  box-shadow: 0px 1px 0px 0px #e5e5e5;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-bar .back {
  height: 100%;
  position: absolute;
  left: 0.4267rem;
  top: 50%;
  transform: translateY(-50%);
}

.nav-bar .back img {
  width: 0.48rem;
  height: 0.48rem;
}

.nav-bar .title {
  font-weight: 500;
  font-size: 0.4267rem;
  color: #333333;
  padding: 0.2933rem 0;
  max-width: 5rem;
  margin: 0 auto;
  text-align: center;
}

.nav-bar .right {
  height: 100%;
  font-weight: 500;
  font-size: 0.32rem;
  color: #333333;
  position: absolute;
  right: 0.4267rem;
  top: 50%;
  transform: translateY(-50%);
}

.nav-bar .right img {
  margin-right: 0.1067rem;
}

/* 列表tab切换 */
.list-tab-box {
  font-weight: 500;
  font-size: 0.4rem;
  color: #666666;
  line-height: 0.56rem;
  height: 1.3867rem;
  margin-bottom: 0.4267rem;
}

.list-tab-box .tab-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.list-tab-box .tab-item.active {
  color: #2759b1;
}

.list-tab-box .tab-item.active::after {
  content: "";
  display: block;
  width: 1.0667rem;
  height: 0.16rem;
  background: linear-gradient(90deg, #2c8aff 0%, #2759b1 100%);
  border-radius: 3px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* 吐司提示 */
.toast-tips {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.2133rem 0.4rem;
  border-radius: 0.2667rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.3467rem;
  max-width: 50%;
  word-break: break-all;
  z-index: 9999;
}

/* 弹窗提示 */
.modal-tips {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}

.modal-tips .modal-box {
  width: 7.2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.3733rem;
  backdrop-filter: blur(20px);
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.modal-tips .modal-title {
  padding: 0.5067rem 0.4267rem 0.2133rem;
  font-weight: 600;
  font-size: 0.4533rem;
  color: #000000;
  line-height: 0.5867rem;
  text-align: center;
}

.modal-tips .modal-content {
  padding: 0 0.4267rem 0.4533rem;
  font-weight: 400;
  font-size: 0.3467rem;
  color: #000000;
  line-height: 18px;
  text-align: center;
}

.modal-tips .modal-btn {
  padding: 0.2667rem 0;
  border-top: 0.0267rem solid rgba(60, 60, 67, 0.29);
}

.modal-tips .modal-btn span {
  font-weight: 600;
  font-size: 0.4533rem;
  color: #007aff;
  line-height: 0.5867rem;
}

/* 底部按钮 */
.btn-box {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0.5rem 0.1867rem;
  background: white;
}

.btn-box .btn-item {
  padding: 0.2933rem 0;
  background: #0f70fa;
  border-radius: 0.5867rem;
  font-weight: 500;
  font-size: 0.4rem;
  color: #ffffff;
  line-height: 0.56rem;
  text-align: center;
  margin: 0 0.24rem;
}

/* 表单样式 */
.form-item-box .form-label {
  font-weight: 400;
  font-size: 0.3467rem;
  color: #333;
  line-height: 0.48rem;
  text-align: right;
}

.form-item-box .form-label.required::before {
  content: "*";
  color: #ff2b0b;
}

.form-item-box .form-value {
  font-size: 0.3733rem;
}

.form-item-box .form-value input {
  width: 100%;
  height: 1.0667rem;
  background: #f7f7f7;
  border-radius: 0.1067rem;
  padding: 0.2667rem 0.32rem;
  font-size: 0.427rem;
  white-space: pre-wrap; /* css-3 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
}

.head-line-title {
  font-weight: 500;
  font-size: 0.4267rem;
  color: #0056d1;
  line-height: 0.5867rem;
}

.search-box input {
  font-size: 0.3rem;
}

/* 内容溢出换行 */
div,
span,
a {
  overflow-wrap: break-word;
}
