/*---BASE---*/
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, strong, 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

/* ol, ul {
	list-style: none;
} */
blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  color: #1F1F2D;
  line-height: 1;
  overflow-y: hidden;
}

html.no-scroll {
  overflow-y: hidden;
}

img {
  max-width: 100%;
}

input {
  font-family: "Noto Sans SC", sans-serif;
}

input:focus {
  outline: 0 none;
}

textarea:focus {
  outline: 0 none;
}

a {
  text-decoration: unset;
}

header .wrapper .sort {
  display: none;
}
header .wrapper .sort.active {
  display: flex;
}

.input-wrapper {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.input-wrapper.active label {
  font-size: 12px;
  line-height: 160%;
  color: #13ADAD;
  top: 3px;
}
.input-wrapper.active input {
  border-color: #13ADAD;
}
.input-wrapper.active .showPassword {
  filter: brightness(0) saturate(100%) invert(51%) sepia(98%) saturate(358%) hue-rotate(131deg) brightness(89%) contrast(100%);
}
.input-wrapper.error label {
  color: #F95557;
}
.input-wrapper.error input {
  background: #FFEBED;
  border-color: #F95557;
  border-radius: 8px 8px 0 0;
}
.input-wrapper.error .error-message {
  display: flex;
}
.input-wrapper label {
  transition: 0.3s;
  position: absolute;
  font-size: 16px;
  line-height: 160%;
  color: #001730;
  left: 16px;
  top: 12.5px;
}
.input-wrapper label span.required {
  color: #CD455C;
}
.input-wrapper input {
  transition: 0.3s;
  font-family: "Noto Sans SC", sans-serif;
  width: 100%;
  height: 56px;
  padding: 22px 0 8px 16px;
  font-size: 16px;
  line-height: 160%;
  color: #001730;
  box-sizing: border-box;
  border-bottom: 1px solid #F1F2F4;
  border-width: 0 0 1px 0;
  border-radius: 2px;
}
.input-wrapper input#pinyin {
  background: #F1F2F4;
}
.input-wrapper input#pinyin.filled {
  background: #DDF0EE;
}
.input-wrapper .error-message {
  padding-left: 16px;
  color: #F95557;
  font-size: 12px;
  line-height: 160%;
  display: none;
}
.input-wrapper .showPassword {
  top: 18px !important;
}

.overlay {
  background-color: rgba(0, 23, 48, 0.4);
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: center;
  transition: 0.3s;
  z-index: -1;
  opacity: 0;
}
@media (min-width: 768px) {
  .overlay {
    max-width: 768px;
    left: calc((100% - 770px) / 2);
  }
  .overlay.scroll {
    left: calc((100% - 770px) / 2 - 8px);
  }
}
.overlay.active {
  z-index: 9999;
  opacity: 1;
}

.desktop-wrapper {
  min-height: calc(100vh - 2px);
  border: 1px solid transparent;
}

@media (min-width: 768px) {
  body {
    background-color: #a6a6a6;
  }

  .desktop-wrapper {
    position: relative;
    background-color: #fff;
    border: 1px solid #000;
    max-width: 768px;
    margin: 0 auto;
    min-height: 100vh;
    box-sizing: border-box;
  }
}
.fixed_header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-sizing: border-box;
}
.fixed_header.scrolled {
  box-shadow: 0 2px 8px -6px #3A3C40;
}
@media (min-width: 768px) {
  .fixed_header {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    max-width: 768px;
    transform: translateX(-1px);
  }
}

.dropdown .list.long_list {
  z-index: 99;
  max-height: 168px;
  overflow-y: scroll;
}

.closeoverlay button {
  padding: 10px 0;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  width: 152px;
  box-sizing: border-box;
  border: unset;
  transition: 0.3s;
}
.closeoverlay button:first-child {
  margin-right: 5px;
}
.closeoverlay button:last-child {
  margin-left: 5px;
}
.closeoverlay button.primary {
  color: #fff;
  background: #CD455C;
}
.closeoverlay button.primary:hover {
  background: #DE576D;
}
.closeoverlay button.secondary {
  color: #001730;
  background: #DDDFE4;
}
.closeoverlay button.secondary:hover {
  background: #F1F2F4;
}
.closeoverlay button.disabled {
  color: #C0C3CC !important;
  background: #F1F2F4 !important;
}

.content {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.content > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.content .wrapper {
  margin-top: -40px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 16px 16px 0px 0px;
  background-color: #fff;
  height: inherit;
  padding: 0 32px 64px 32px;
  position: relative;
}
.content .wrapper .home {
  display: inline-block;
  margin-top: -24px;
  margin-bottom: 32px;
}
.content .wrapper h1 {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 150%;
  margin-bottom: 19px;
}
.content .wrapper form {
  display: flex;
  flex-direction: column;
}
.content .wrapper form .password_block {
  margin-bottom: 19px;
  display: flex;
  position: relative;
}
.content .wrapper form .password_block img {
  position: absolute;
  right: 16px;
  top: 10.5px;
  cursor: pointer;
}
.content .wrapper form .forgot_password {
  color: #27C4BC;
  font-size: 12px;
  line-height: 160%;
  font-family: "Noto Sans SC", sans-serif;
  margin-left: 16px;
  text-decoration: none;
  width: fit-content;
}
.content .wrapper form button {
  background: #CD455C;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  color: #fff;
  font-family: "Noto Sans SC", sans-serif;
  padding: 10px 0;
  outline: none;
  box-shadow: none;
  border: none;
  cursor: pointer;
  position: absolute;
  bottom: 16px;
  width: calc(100% - 64px);
  transition: 0.3s;
}
@media (min-width: 769px) {
  .content .wrapper form button:hover {
    background: #DE576D;
  }
}
.content .wrapper form button.disabled {
  color: #C0C3CC !important;
  background: #F1F2F4 !important;
}
@media (min-height: 570px) {
  .content .wrapper form button {
    bottom: 64px;
  }
}