@font-face {
  font-family: "PingFangSC-Light";
  src: url("/styles/fonts/PingFang Light.woff");
}

@font-face {
  font-family: "PingFangSC-ExtraLight";
  src: url("/styles/fonts/PingFang ExtraLight.woff");
}

/* @font-face {
  font-family: "PingFangSC";
  src: url("/styles/fonts/PingFang Medium.woff");
} */

/* reset */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  background: #fff;
}

body {
  margin: 0;
  color: #212121;
  font-size: 14px;
  font-family: "PingFangSC", "Microsoft YaHei";
}

h1 {
  font-size: 2em;
  margin: .67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance: button;
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

dd,
dl {
  margin: 0;
}

ul {
  padding: 0;
}

[hidden] {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  outline: 0;
  color: inherit;
  text-decoration: none;
}

.wrapper {
  width: 1180px;
  margin: auto;
}

.alert {
  top: -50px;
  opacity: 0;
  position: fixed;
  width: 300px;
  height: 50px;
  line-height: 50px;
  left: 0;
  right: 0;
  font-size: 16px;
  text-align: center;
  margin: auto;
  z-index: 999999;
  border-radius: 4px;
  background: red;
  border: 1px solid #666
}

.alert.success {
  background-color: #f0f9eb;
  border-color: #e1f3d8;
  color: #67c23a
}

.alert.error {
  background-color: #fef0f0;
  border-color: #fde2e2;
  color: #f56c6c
}

body>div:not(.alert),
body>section {
  min-width: 1180px;
}

.form-modal {
  transition: all .3s;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
}

.form-modal .form-content {
  opacity: 0;
  transition: all .3s;
}

.form-modal.active {
  visibility: visible;
  background: rgba(0, 0, 0, 0.4);
}

.form-modal.active .form-content {
  opacity: 1;
}

.form-modal>.form-wrapper {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.form-modal>.form-wrapper>.form-content {
  width: 450px;
}

.form-modal>.form-wrapper>.form-content>.form-head {
  position: relative;
  padding-left: 30px;
  color: #fff;
  font-size: 16px;
  height: 60px;
  line-height: 60px;
  background: #409EFF;
}

.form-modal>.form-wrapper>.form-content>.form-head>.close {
  position: absolute;
  right: 11px;
  top: 0;
  width: 30px;
  height: 100%;
  background: url(/images/x.png) no-repeat center center;
  background-size: 15px 15px;
  cursor: pointer;
}

.form-modal>.form-wrapper>.form-content>.form-body {
  padding: 40px;
  color: #444;
  font-size: 14px;
  background: #fff;
}

.form-modal>.form-wrapper>.form-content>.form-body>.form-item {
  margin-bottom: 20px;
}

.form-modal>.form-wrapper>.form-content>.form-body>.form-item>label {
  display: inline-block;
  width: 4em;
}

.form-modal>.form-wrapper>.form-content>.form-body>.form-item>input {
  -webkit-appearance: none;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
  color: #606266;
  display: inline-block;
  font-size: inherit;
  height: 30px;
  line-height: 30px;
  width: 15em;
  outline: none;
  padding: 0 15px;
  transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
}

.form-modal>.form-wrapper>.form-content>.form-body>.form-item>.form-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #dcdfe6;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0 auto;
  transition: .1s;
  font-weight: 500;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}