/*---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;
}

header {
  padding: 0 26px 0 20px;
  background: #001730;
}
header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}
header .wrapper a {
  display: flex;
  font-weight: 500;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.15px;
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
}
header .wrapper a img {
  padding-right: 16px;
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(326deg) brightness(103%) contrast(104%);
}
header .wrapper .menu-wrapper {
  position: relative;
}
header .wrapper .menu-wrapper .menu-nav {
  cursor: pointer;
}
header .wrapper .menu-wrapper .menu {
  position: absolute;
  right: 0;
  top: 100%;
  padding: 16px 28px 16px 24px;
  background: #fff;
  box-shadow: 0px 2px 8px rgba(45, 43, 70, 0.06), 0px 0px 6px rgba(45, 43, 70, 0.08);
  border-radius: 8px;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.2s;
}
header .wrapper .menu-wrapper .menu.active {
  transform: scaleY(1);
}
header .wrapper .menu-wrapper .menu a {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 160%;
  color: #001730;
  width: max-content;
}

main {
  margin-top: 72px;
  padding-bottom: 120px;
}
main .wrapper {
  padding: 0 16px;
}
main form {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
main form .avatar_block {
  position: relative;
  width: fit-content;
  display: flex;
  margin-bottom: 16px;
}
main form .avatar_block .avatar {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  border: 1px solid #C0C3CC;
  box-sizing: border-box;
}
main form .avatar_block a {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #51B8B8;
  border-radius: 8px;
}
main form .avatar_block a img {
  width: 13px;
  height: 12px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}
main form .input_block {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  padding-top: 3px;
}
main form .input_block.input_position {
  position: relative;
}
main form .input_block.input_position img {
  position: absolute;
  left: 18px;
  top: 13.5px;
  width: 20px;
  height: 18px;
}
main form .input_block.input_position label, main form .input_block.input_position input {
  padding-left: 52px;
}
main .password_block {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
main .password_block h4 {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.15px;
  color: #000000;
}
main .password_block a {
  font-size: 16px;
  line-height: 26px;
  color: #27C4BC;
}
main .delete_profile {
  margin-bottom: 77px;
  padding: 0;
}
main .delete_profile a {
  font-size: 16px;
  line-height: 26px;
  color: #27C4BC;
}

.button_block {
  display: flex;
  justify-content: space-between;
}
.button_block button {
  width: calc(50% - 5px);
  padding: 8px 0;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 20px;
  outline: unset;
  cursor: pointer;
}
.button_block button.cancel {
  border: 1px solid #F1F2F4;
  border-radius: 4px;
  font-weight: bold;
  color: #848790;
  background: transparent;
}
.button_block button.proceed {
  background: #D11241;
  box-shadow: 2px 2px 2px rgba(14, 65, 103, 0.1);
  border-radius: 8px;
  color: #fff;
  border: unset;
}

.password_change {
  align-items: flex-end;
}
.password_change .wrapper {
  padding: 56px 32px 64px 32px;
  background-color: #fff;
  width: 100%;
  position: relative;
  border-radius: 16px 16px 0px 0px;
  transition: 0.3s;
  transform: translateY(calc(100% + 24px));
}
.password_change .wrapper.active {
  transform: translateY(0);
}
.password_change .wrapper .home {
  position: absolute;
  top: -24px;
}
.password_change .wrapper form .title {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 150%;
  color: #1F1F2D;
}
.password_change .wrapper form .password_block {
  display: flex;
  position: relative;
  margin-bottom: 16px;
}
.password_change .wrapper form .password_block input {
  width: -webkit-fill-available;
}
.password_change .wrapper form .password_block img {
  position: absolute;
  right: 16px;
  top: calc(50% - 7.5px);
  cursor: pointer;
}
.password_change .wrapper form .submit_block {
  margin-top: 100px;
}

.delete_profile {
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
}
.delete_profile .wrapper {
  padding: 24px;
  background: #fff;
  box-shadow: 0px 8px 36px rgba(0, 0, 0, 0.16);
  border-radius: 8px;
}
.delete_profile .wrapper .title {
  font-weight: bold;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.15px;
  color: #001730;
  margin-bottom: 16px;
}
.delete_profile .wrapper .text {
  padding: 8px 0;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.005em;
  color: #848790;
}
.delete_profile .wrapper .delete_block {
  margin-top: 16px;
}

.fab {
  padding: 21px 19px;
  background-color: #D11241;
  box-shadow: 0px 8px 8px rgba(45, 43, 70, 0.12), 0px -2px 6px rgba(45, 43, 70, 0.08);
  border-radius: 24px;
  display: flex;
  width: fit-content;
  position: fixed;
  right: 16px;
  bottom: 17px;
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}
@media (min-width: 768px) {
  .fab {
    right: calc((100vw - 770px) / 2 + 24px);
  }
}
.fab.active {
  animation-duration: 5s;
  animation-name: done;
}
.fab img {
  width: 18px;
  height: 14px;
}

.overlay.photo {
  flex-direction: column;
  justify-content: flex-end;
}
.overlay.photo .uplod_zone {
  background: #fff;
  padding: 16px 24px;
}
.overlay.photo .uplod_zone .title {
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.15px;
  color: #001730;
}
.overlay.photo .uplod_zone form {
  display: flex;
  justify-content: center;
}
.overlay.photo .uplod_zone form label {
  width: 312px;
  height: 312px;
  border: 1px dashed #C0C3CC;
  box-sizing: border-box;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.overlay.photo .uplod_zone form input {
  display: none;
}
.overlay.photo .closeoverlay {
  background: #fff;
  padding: 8px 24px 40px 24px;
  display: flex;
  justify-content: center;
}

@keyframes done {
  0% {
    opacity: 0;
  }
  30% {
    z-index: 999;
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    z-index: -1;
    opacity: 0;
  }
}
.dropdown {
  position: relative;
  border-radius: 8px 8px 0 0;
  margin-bottom: 16px;
  height: 56px;
}
.dropdown.active {
  box-shadow: 0px 2px 8px -2px rgba(45, 43, 70, 0.06), 0px 0px 6px rgba(45, 43, 70, 0.08);
}
.dropdown.active .arrow {
  transform: rotateX(180deg);
}
.dropdown .current {
  padding-top: 16.5px;
  padding-left: 18px;
  padding-bottom: 7px;
  height: 56px;
  border-color: #13ADAD;
  border-style: solid;
  border-width: 0 0 1px 0;
  color: #001730;
  border-radius: 2px;
  transition: 0.2s;
  cursor: pointer;
  display: flex;
  box-sizing: border-box;
  align-items: flex-start;
}
.dropdown .current img {
  width: 20px;
  height: 18px;
  margin-right: 14px;
}
.dropdown .current p {
  align-self: flex-end;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}
.dropdown .list {
  padding: 8px 0;
  transition: 0.3s;
  transform: scaleY(0);
  transform-origin: top;
  position: absolute;
  z-index: 9;
  width: 100%;
  background-color: #fff;
}
.dropdown .list.active {
  transform: scaleY(1);
  box-shadow: 0px 2px 8px -2px rgba(45, 43, 70, 0.06), 0px 0px 6px rgba(45, 43, 70, 0.08);
}
.dropdown .list .option {
  padding-left: 18px;
  height: 56px;
  border-radius: 2px;
  transition: 0.2s;
  cursor: pointer;
  display: flex;
  box-sizing: border-box;
  align-items: center;
}
.dropdown .list .option img {
  width: 20px;
  height: 18px;
  margin-right: 14px;
}
.dropdown .list .option p {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}
.dropdown .arrow {
  position: absolute;
  right: 22px;
  top: 22px;
  transition: 0.3s;
  pointer-events: none;
}
.dropdown .title {
  position: absolute;
  font-size: 12px;
  line-height: 160%;
  color: #001730;
  left: 52px;
  top: 3px;
  font-weight: 400;
  padding: 0;
}