/* reset */
html,
body {
  padding: 0;
  margin: 0;
  /* overflow: hidden; */
}

input, textarea {
  caret-color: #710a53;
}

article {
  padding: 0 8px;
  margin: 8px 0;
  overflow: auto;
}

.container {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.page {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.flex-page {
  display: flex;
  flex-direction: column;
}

.flex-page article {
  flex: 1;
  position: relative;
}

.header {
  position: relative;
  width: 100%;
  background-color: #710a53;
  text-align: center;
  color: #FFF;
  /* font-family: serif; */
  padding: 16px 0 1px;
}

.header h1 {
  margin: 0;
}

.header h2 {
  margin: 5px;
  font-size: 22px;
}

.header hr {
  margin: 20px 0 5px;
  border-bottom: none;
}

.notice {
  padding-bottom: 5px;
  text-align: justify;
  width: 90%;
  font-size: 15px;
  padding-left: 20px;
  margin: 0;
  color: #666;
}

.notice > li
{
  word-break: break-all;
}

.notice>li:not(:last-child) {
  margin-bottom: 5px;
}

.first-page article h3 {
  text-align: center;
  color: #333;
  margin: 10px 0;
}

.first-page footer {
  display: flex;
  padding: 8px 0;
}

.first-page footer>div {
  flex: 1;
  margin: 0 10px;
}

.first-page footer button {
  width: 100%;
}

.return {
  position: absolute;
  left: 0;
  top: 0;
  height: 45px;
  width: 45px;
}

.return:active {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.return>div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 10px;
  width: 10px;
  border-top: 2px #fff solid;
  border-left: 2px #fff solid;
  transform: rotate(-45deg);
}

.watermark {
  position: fixed;
  top: 230px;
  bottom: 0;
  left: 0;
  right: 0;
  background-image:url('../image/nklogo-p2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  opacity: 0.03;
}

.result-content {
  position: relative;
  z-index: 1;
}

#applyPage header {
  position: relative;
  height: 45px;
  background-color: #710a53;
  text-align: center;
  color: #fff;
  line-height: 45px;
}

#resultPage header {
  background-color: #f7dde0;
  background-image: url('../image/mian-2.jpg');
  background-size: cover;
  background-position: left top;
  color: #b12b8a;
}

#resultPage .return {
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  width: 30px;
  height: 30px;
  top: 5px;
  left: 5px;
}

#resultPage .return>div {
  left: 4px;
}

.item {
  padding: 16px 8px;
}

.item:not(:first-child):not(:last-child) {
  border-bottom: 1px #eee solid;
}

.item:first-child {
  font-weight: 700;
  text-align: center;
}

.item>span {
  display: inline-block;
}

.item>span:first-child {
  width: 55px;
  color: #710a53;
}

.item>span:last-child {
  color: #333;
}

.item:first-child>span {
  width: auto;
}

/* modal dialog */
.fixed-full {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.modal {
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
  animation: fadeIn .5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.dialog {
  position: fixed;
  width: 85%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
  background-color: #fff;
  max-height: 90%;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 17px;
  border-radius: 8px;
}

.dialog-title {
  padding: 24px 16px 16px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.dialog-content {
  padding: 0 16px;
  color: #666;
}

.input-group {
  position: relative;
  display: flex;
  white-space: nowrap;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  color: #000;
}

.input-group-hd {
  margin-right: 8px;
}

.input-group-bd {
  flex: 1;
}

.input-group input {
  display: inline-block;
  box-sizing: border-box;
  border: none;
  outline: none;
  font-size: 16px;
}

.dialog-foot {
  display: flex;
  height: 56px;
  font-weight: 700;
  align-items: center;
  text-align: center;
  line-height: 56px;
}

.dialog-foot>div {
  display: inline-block;
  height: 100%;
  flex: 1;
  color: #333;
}

.dialog-foot>div:last-child {
  color: #576b95;
}

.dialog-foot>div:active {
  background-color: rgba(0, 0, 0, 0.05);
}

/* toast */
.toast-con {
  background-color: transparent;
  z-index: 20;
}

.toast {
  position: fixed;
  width: 130px;
  min-height: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  text-align: center;
}

.toast-ico-con {
  padding-top: 16px;
}

.toast-ico-con img {
  width: 50px;
}

.loading-ico {
  transform-origin: center;
  animation: loading 1s steps(12) infinite;
}

@keyframes loading {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.toast-tips {
  padding: 5px;
  color: #eee;
  font-size: 14px;
}

.display-none {
  display: none;
}

.slideIn-right {
  animation: slideIn-right .3s ease-out;
}

@keyframes slideIn-right {
  from {
    transform: translateX(100%);
    opacity: .5;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slideOut-right {
  animation: slideOut-right .3s ease-out;
}

@keyframes slideOut-right {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: .5;
  }
}

/* weui css 2.0.1 */
.weui-btn {
  position: relative;
  display: block;
  width: 184px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 24px;
  box-sizing: border-box;
  /* font-weight:700; */
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  color: #FFFFFF;
  line-height: 1.41176471;
  border-radius: 4px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow: hidden;
  border: none;
  outline: none;
}

.weui-btn_primary {
  /*background-color: #07C160;*/
  background-color: #710a53;
}

.weui-btn_primary:not(.weui-btn_disabled):visited {
  color: #FFFFFF;
}

.weui-btn_primary:not(.weui-btn_disabled):active {
  color: #FFFFFF;
  /*background-color: #06AD56;*/
  background-color: #581a49;
}
