﻿/* COMMON
-------------------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
  font-size: 14px;
  font-family: PingFangSC-Regular, "Segoe UI", SegoeUI, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.bold {
  font-family: PingFangSC-Semibold, "Segoe UI", SegoeUI, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

input, select, textarea, option, optgroup {
  font-family: PingFangSC-Regular, "Segoe UI", SegoeUI, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *:focus, *:active {
  outline: none !important;
}

a, a:focus, a:active, a:visited {
  text-decoration: none;
  font-style: normal;
  color: #333;
}

a:hover {
  color: #C91627;
}

.page-header {
  width: 1200px;
  margin: 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.page-header > .buttons {
  margin-left: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  line-height: 1;
  width: 250px;
}

.page-header > .buttons > span {
  margin: 0 15px;
  background-color: #333;
  width: 1px;
  height: 14px;
  line-height: 1;
}

.page-banner {
  height: 279px;
  background-color: #C91627;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.page-content {
  width: 1200px;
  margin: 0 auto;
}

.qrcode-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.qrcode-group > img {
  width: 144px;
  height: 144px;
}

.hotline-label {
  line-height: 24px;
}

.hotline-number {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.page-contacts {
  padding: 20px;
  box-sizing: border-box;
  background-color: #5D0009;
}

.page-contacts > .content {
  width: 1200px;
  margin: 0 auto;
  color: #fff;
}

.page-contacts-header {
  margin-bottom: 1em;
  font-size: 18px;
  font-weight: 600;
  padding-left: 44px;
  background-image: url("../assets/icons/contactus.svg");
  background-position: left center;
  background-size: 28px 28px;
  background-repeat: no-repeat;
}

.page-contacts-item {
  display: flex;
  align-items: center;
  margin: 0.5em 0;
}

.page-contact-label {
  width: 44px;
}

.page-contact-label::after {
  content: '：';
}

.page-contact-value {
  width: calc(100% - 3em);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-footer {
  background-color: #212121;
  color: #fff;
  padding: 20px 0;
}

.page-footer > .content {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-footer a,
span.copyright {
  color: #fff;
  opacity: 0.6;
  padding: 5px 15px;
  display: inline-block;
}

.page-footer a:hover {
  color: #C91627;
  opacity: 1;
}

.page-footer .gongan {
  display: none;
}

.page-footer .gongan > img {
  margin-right: 3px;
}

/* FIELDS
-------------------------------------------------- */

.field-message {
  margin-top: -5px;
  box-sizing: content-box;
  height: 16px;
  padding: 0 10px;
  font-size: 12px;
  color: #FF5153;
  margin-bottom: 5px;
}

/* PAGER
-------------------------------------------------- */

.pager {
  padding: 16px 8px 16px 16px;
  box-sizing: border-box;
  display: none;
  align-items: center;
  justify-content: flex-end;
  color: #666;
}

.pager > *,
.pager-middle-pages > * {
  margin-right: 8px;
}

.pager-middle-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
}

.pager-total-rows::before {
  content: '共有';
}

.pager-total-rows::after {
  content: '条';
}

.pager-input,
.pager-button {
  height: 32px;
  line-height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  box-sizing: border-box;
}

.pager-button {
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pager-button:not(.dots) {
  cursor: pointer;
}

.pager-button > img {
  width: 16px;
  height: 16px;
}

.next-page > img {
  transform: rotate(180deg);
}

.pager-button.current {
  background-color: #C91627;
  color: #fff;
  border-color: #C91627;
}

.pager-jumper {
  width: 48px;
  height: 32px;
  box-sizing: border-box;
}

.pager-jumper-prefix {
  margin-right: 8px;
  margin-left: 16px;
}

/* OVERLAPPED
-------------------------------------------------- */

body.overlapped {
  overflow: hidden;
  position: relative;
}

.confirm-backdrop {
  z-index: 9999;
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 30px;
}

.confirm-backdrop.opened {
  display: flex;
}

.confirm-box {
  background-color: #fff;
  border-radius: 6px;
  width: 800px;
  height: 430px;
  box-shadow: 0 2px 11px 0 rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.confirm-header {
  flex: 0 0 auto;
  padding: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 26px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.confirm-close {
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../assets/icons/close.svg");
  cursor: pointer;
}

.confirm-body {
  flex: 1 1 auto;
  padding: 0 30px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.confirm-footer {
  flex: 0 0 auto;
  padding: 37px 0 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.confirm-footer > * {
  width: 240px;
  height: 50px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.confirm-confirm {
  background-color: #B51826;
  display: flex;
  justify-content: center;
  align-items: center;
}

.confirm-confirm > img {
  display: none;
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

.confirm-confirm.confirm-step-1 {
  background-color: #2BBC9C;
}

.confirm-confirm.confirm-step-2 {
  background-color: #FFC70E;
}

.confirm-confirm.confirm-step-3 {
  background-color: #FF7112;
}

.confirm-cancel {
  background-color: #615F5F;
}

.confirm-accent-message {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  height: 52px;
  line-height: 52px;
  color: #C91627;
}

.confirm-primary-message {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  line-height: 30px;
}

.confirm-primary-message > .em {
  color: #C91627;
}

.confirm-secondary-message {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  height: 22px;
  line-height: 22px;
  margin-top: 8px;
  color: #666;
}

.confirm-step-title {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  height: 25px;
  line-height: 25px;
}

.confirm-attrs {
  margin-top: 15px;
  width: 650px;
  padding: 15px 0;
  background-color: #f5f5f5;
}

.confirm-attr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  box-sizing: border-box;
}

.confirm-attr-label {
  width: 218px;
  text-align: right;
  font-size: 16px;
  font-weight: 500;
}

.confirm-attr-label::after {
  content: '：';
}

.confirm-attr-value {
  color: #888;
  width: calc(100% - 212px);
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* LIST
-------------------------------------------------- */

.list-header {
  background-color: #f7f7f7;
  border: 1px solid #EEEEEE;
}

.list-header,
.list-row {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border-bottom: 1px solid #EEEEEE;
}

.list-cell {
  flex: 0 0 auto;
  padding: 15px 7.5px;
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: content-box;
}

.list-header > .list-cell {
  font-weight: 600;
}

.list .w-check {
  width: 1em;
  display: flex;
  justify-content: center;
}

.list .w-2 {
  width: 2em;
}

.list .w-3 {
  width: 3em;
}

.list .w-4 {
  width: 4em;
}

.list .w-5 {
  width: 5em;
}

.list .w-6 {
  width: 6em;
}

.list .w-7 {
  width: 7em;
}

.list .w-8 {
  width: 8em;
}

.list .w-9 {
  width: 9em;
}

.list .w-10 {
  width: 10em;
}

.list .w-11 {
  width: 11em;
}

.list .w-12 {
  width: 12em;
}

.list .w-13 {
  width: 13em;
}

.list .w-14 {
  width: 14em;
}

.list .w-15 {
  width: 15em;
}

.list .w-16 {
  width: 16em;
}

.list .w-17 {
  width: 17em;
}

.list .w-18 {
  width: 18em;
}

.list .w-19 {
  width: 19em;
}

.list .w-20 {
  width: 20em;
}

.list .w-auto {
  flex: 1 1 auto !important;
}

.list .money::before {
  content: '￥';
}

.list .actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.list .actions > a {
  color: #C91627;
  cursor: pointer;
}

.list .actions > a:not(:first-child) {
  margin-left: 1em;
}

.list .text-center {
  text-align: center;
}

.list .text-right {
  text-align: right;
}

/* SUBJECT TAB ARTICLES
-------------------------------------------------- */

.subject-tab-article {
  padding: 0 30px;
}

.subject-tab-article > h2 {
  text-align: center;
}

.subject-tab-article > p {
  text-indent: 2em;
  line-height: 1.75;
}

/* EDITOR
-------------------------------------------------- */

.editor-group {
  margin: 20px 0 30px 0;
}

.editor-group-header {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  background-color: #f5f5f5;
  position: relative;
  height: 50px;
  line-height: 50px;
  padding: 0 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-group-header::before {
  content: '';
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background-color: #C91627;
  position: absolute;
  left: 20px;
  top: 16px;
}

.editor-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 10px 15px 0 15px;
  box-sizing: border-box;
  margin: 0 -10px;
}

.editor-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: calc(33.3333333% - 24px);
  margin: 10px 12px;
}

.editor-field-label {
  position: relative;
  color: #666;
  font-weight: 600;
  box-sizing: border-box;
  margin-bottom: 6px;
}

.editor-field-label.required::before {
  content: '*';
  color: #f00;
  margin-right: 3px;
}

.editor-field-label::after {
  content: ':';
  margin-left: 3px;
}

.editor-field-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  height: 38px;
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 10px;
}

.editor-field-value > input,
.editor-field-value > select {
  box-sizing: border-box;
  border: 0;
  height: 36px;
  width: 100%;
  padding: 0;
  background-color: transparent;
}

.editor-field-unit {
  background-color: #f5f5f5;
  color: #999;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
}

.editor-field-unit sup {
  font-size: 10px;
}

.editor-field-value.with-unit {
  padding-right: 0;
}

.editor-field-value.with-unit > input {
  width: calc(100% - 46px);
}

.editor-field-full {
  width: 100%;
  display: flex;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
  margin: 20px 10px;
  position: relative;
}

.editor-field-full > textarea {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border: none;
  resize: vertical;
  min-height: 38px;
  max-height: 500px;
}

.editor-field-full > .counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  text-align: right;
  font-size: 12px;
  color: #666;
}

.editor-field-file-uploader {
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #f5f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.editor-field-file-uploader > .editor-upload-delete-file {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  display: none;
  cursor: pointer;
}

.editor-upload-thumb {
  width: 100%;
  height: 100%;
  border: 8px;
  overflow: hidden;
  display: none;
}

.editor-upload-thumb.file-icon {
  width: 75%;
  height: 75%;
}

.editor-field-file-uploader.big {
  width: 300px;
  height: 210px;
}

.editor-field-file-uploader.big > .editor-upload-button {
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
}

.editor-field-file-uploader.small {
  width: 125px;
  height: 125px;
  cursor: pointer;
}

.editor-field-file-uploader.small > .editor-upload-plus-indicator {
  width: 40px;
  height: 40px;
  opacity: 0.2;
  display: block;
}

.editor-upload-field {
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.editor-upload-field-label {
  color: #666;
  margin-top: 5px;
}

.editor-upload-has-file .editor-upload-delete-file,
.editor-upload-has-file .editor-upload-thumb {
  display: block !important;
}

.editor-upload-has-file .editor-upload-plus-indicator,
.editor-upload-has-file .editor-upload-button {
  display: none !important;
}

.editor-field-file-uploader::after {
  content: '';
  display: none;
}

.editor-field-file-uploader.uploading::after {
  content: '正在上传...';
  position: absolute;
  left: 10px;
  right: 10px;
  height: 30px;
  line-height: 30px;
  color: #999;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  display: block;
}

.editor-field-file-uploader.big::after {
  top: 90px;
}

.editor-field-file-uploader.small::after {
  top: 47.5px;
}

.editor-field-file-uploader.uploading .editor-upload-plus-indicator,
.editor-field-file-uploader.uploading .editor-upload-button {
  display: none !important;
}

/* BREADCRUMB
-------------------------------------------------- */

.breadcrumb > .content {
  width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 10px 10px 6px 10px;
  display: flex;
  align-items: center;
}

.breadcrumb-bullet {
  width: 6px;
  height: 14px;
  background: #C91627;
  border-radius: 3px;
}

.breadcrumb-title {
  font-weight: 600;
  height: 21px;
  line-height: 21px;
  color: #666;
  margin-left: 6px;
}

.breadcrumb-label {
  color: #666;
  height: 21px;
  line-height: 21px;
  margin: 0 6px;
}

.breadcrumb-label::after {
  content: '/';
  margin-left: 6px;
}

/* BACK TO TOP
-------------------------------------------------- */

.back-to-top {
  z-index: 8888;
  position: fixed;
  right: 44px;
  bottom: 44px;
  width: 52px;
  height: 66px;
  cursor: pointer;
  background-color: rgba(19, 20, 21, 0.5);
  box-shadow: 0 1px 8px 0 rgba(0,0,0,0.10);
  border-radius: 4px;
  background-image: url("../assets/icons/ico-回到顶部-click.svg");
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center 15px;
  display: none;
}

.back-to-top::after {
  content: '回到顶部';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  color: #fff;
  font-size: 10px !important;
}

/* MISC
-------------------------------------------------- */

.full-justify {
  text-align: justify;
}

.full-justify:after {
  content: "";
  display: hidden;
  width: 100%;
}

.rmb-prefix::before {
  content: '￥';
}
