/* BEM
 -------------------------- */
/* BEM
 -------------------------- */
/* BEM
 -------------------------- */
@-webkit-keyframes xm-slide-bottom-enter {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0); } }
@keyframes xm-slide-bottom-enter {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0); } }

@-webkit-keyframes xm-slide-bottom-leave {
  to {
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0); } }

@keyframes xm-slide-bottom-leave {
  to {
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0); } }

@-webkit-keyframes xm-fade-in {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes xm-fade-in {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@-webkit-keyframes xm-fade-out {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }

@keyframes xm-fade-out {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }

@-webkit-keyframes xm-rotate {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes xm-rotate {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

.xm-fade-enter-active {
  -webkit-animation: .3s xm-fade-in;
          animation: .3s xm-fade-in; }

.xm-fade-leave-active {
  -webkit-animation: .3s xm-fade-out;
          animation: .3s xm-fade-out; }

.xm-slide-bottom-enter-active {
  -webkit-animation: xm-slide-bottom-enter .3s both ease;
          animation: xm-slide-bottom-enter .3s both ease; }

.xm-slide-bottom-leave-active {
  -webkit-animation: xm-slide-bottom-leave .3s both ease;
          animation: xm-slide-bottom-leave .3s both ease; }

.xm-loading {
  width: 30px;
  height: 30px;
  z-index: 0;
  font-size: 0;
  line-height: 0;
  position: relative;
  vertical-align: middle; }
  .xm-loading--circle {
    width: 16px;
    height: 16px; }
  .xm-loading__spinner {
    z-index: -1;
    width: 100%;
    height: 100%;
    position: relative;
    display: inline-block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-animation: xm-rotate 0.8s linear infinite;
            animation: xm-rotate 0.8s linear infinite; }
    .xm-loading__spinner--circle {
      border-radius: 100%;
      border: 3px solid transparent; }
    .xm-loading__spinner--gradient-circle {
      background-size: contain; }
    .xm-loading__spinner--spinner {
      -webkit-animation-timing-function: steps(12);
              animation-timing-function: steps(12); }
      .xm-loading__spinner--spinner i {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        position: absolute; }
        .xm-loading__spinner--spinner i::before {
          width: 2px;
          height: 25%;
          content: ' ';
          display: block;
          margin: 0 auto;
          border-radius: 40%;
          background-color: currentColor; }
    .xm-loading__spinner--circular {
      -webkit-animation-duration: 2s;
              animation-duration: 2s; }
  .xm-loading__circular {
    width: 100%;
    height: 100%; }
    .xm-loading__circular circle {
      stroke-width: 3;
      stroke-linecap: round;
      -webkit-animation: xm-circular 1.5s ease-in-out infinite;
              animation: xm-circular 1.5s ease-in-out infinite; }
  .xm-loading--black .xm-loading__spinner--spinner {
    color: #959ba3; }
  .xm-loading--black circle {
    stroke: #959ba3; }
  .xm-loading--white .xm-loading__spinner--spinner {
    color: #fff; }
  .xm-loading--white circle {
    stroke: #fff; }

@-webkit-keyframes xm-circular {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0; }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -40; }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -120; } }

@keyframes xm-circular {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0; }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -40; }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -120; } }

.xm-loading__spinner--spinner i:nth-of-type(1) {
  opacity: calc(1 - (0.75 / 12) * (1 - 1));
  -webkit-transform: rotate(calc(1 * 30deg));
      -ms-transform: rotate(calc(1 * 30deg));
          transform: rotate(calc(1 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(2) {
  opacity: calc(1 - (0.75 / 12) * (2 - 1));
  -webkit-transform: rotate(calc(2 * 30deg));
      -ms-transform: rotate(calc(2 * 30deg));
          transform: rotate(calc(2 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(3) {
  opacity: calc(1 - (0.75 / 12) * (3 - 1));
  -webkit-transform: rotate(calc(3 * 30deg));
      -ms-transform: rotate(calc(3 * 30deg));
          transform: rotate(calc(3 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(4) {
  opacity: calc(1 - (0.75 / 12) * (4 - 1));
  -webkit-transform: rotate(calc(4 * 30deg));
      -ms-transform: rotate(calc(4 * 30deg));
          transform: rotate(calc(4 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(5) {
  opacity: calc(1 - (0.75 / 12) * (5 - 1));
  -webkit-transform: rotate(calc(5 * 30deg));
      -ms-transform: rotate(calc(5 * 30deg));
          transform: rotate(calc(5 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(6) {
  opacity: calc(1 - (0.75 / 12) * (6 - 1));
  -webkit-transform: rotate(calc(6 * 30deg));
      -ms-transform: rotate(calc(6 * 30deg));
          transform: rotate(calc(6 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(7) {
  opacity: calc(1 - (0.75 / 12) * (7 - 1));
  -webkit-transform: rotate(calc(7 * 30deg));
      -ms-transform: rotate(calc(7 * 30deg));
          transform: rotate(calc(7 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(8) {
  opacity: calc(1 - (0.75 / 12) * (8 - 1));
  -webkit-transform: rotate(calc(8 * 30deg));
      -ms-transform: rotate(calc(8 * 30deg));
          transform: rotate(calc(8 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(9) {
  opacity: calc(1 - (0.75 / 12) * (9 - 1));
  -webkit-transform: rotate(calc(9 * 30deg));
      -ms-transform: rotate(calc(9 * 30deg));
          transform: rotate(calc(9 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(10) {
  opacity: calc(1 - (0.75 / 12) * (10 - 1));
  -webkit-transform: rotate(calc(10 * 30deg));
      -ms-transform: rotate(calc(10 * 30deg));
          transform: rotate(calc(10 * 30deg)); }

.xm-loading__spinner--spinner i:nth-of-type(11) {
  opacity: calc(1 - (0.75 / 12) * (11 - 1));
  -webkit-transform: rotate(calc(11 * 30deg));
      -ms-transform: rotate(calc(11 * 30deg));
          transform: rotate(calc(11 * 30deg)); }

.xm-button {
  position: relative;
  padding: 0;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 16px;
  text-align: center;
  -webkit-appearance: none;
  border: none; }
  .xm-button--primary {
    color: #ffffff;
    background-color: #ff4d4d; }
    .xm-button--primary::before {
      content: " ";
      position: absolute;
      top: 50%;
      left: 50%;
      opacity: 0;
      width: 100%;
      height: 100%;
      border: inherit;
      border-color: #000000;
      background-color: #000000;
      border-radius: inherit;
      /* inherit parent's border radius */
      -webkit-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%); }
    .xm-button--primary:active {
      color: rgba(255, 255, 255, 0.5); }
      .xm-button--primary:active::before {
        opacity: 0.1; }
    .xm-button--primary.xm-button--disabled {
      color: rgba(255, 255, 255, 0.7);
      background-color: rgba(255, 77, 77, 0.3); }
  .xm-button--secondary {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.15); }
    .xm-button--secondary:active {
      color: rgba(255, 77, 77, 0.5);
      background-color: rgba(255, 77, 77, 0.3); }
    .xm-button--secondary.xm-button--disabled {
      color: rgba(255, 77, 77, 0.5);
      background-color: rgba(255, 77, 77, 0.15); }
  .xm-button--default {
    color: #000000;
    background-color: #f7f8f9; }
    .xm-button--default:active {
      color: #959ba3;
      background-color: #e9ecf0; }
    .xm-button--default.xm-button--disabled {
      color: #cbcfd6;
      background-color: #f7f8f9; }
  .xm-button--large {
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    border-radius: 5px; }
  .xm-button--normal {
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    border-radius: 4px;
    min-width: 140px;
    padding: 0 30px; }
  .xm-button--small {
    height: 26px;
    line-height: 26px;
    font-size: 14px;
    border-radius: 2.6px;
    padding: 0 10px; }
  .xm-button--loading .xm-loading {
    display: inline-block; }
  .xm-button--loading .xm-button__text {
    display: none; }
  .xm-button--full-width {
    width: 100%; }
  .xm-button--bottom-action {
    width: 100%;
    border-radius: 0; }

/* BEM
 -------------------------- */
@font-face {
  font-family: 'xm-icon';
  src: url("~xm-vue-ui/lib/style/iconfont/iconfont.ttf") format("truetype"); }

.icon-checked:before {
  content: '\e620'; }

.icon-clear:before {
  content: '\e6ad'; }

.icon-close:before {
  content: '\e6b1'; }

.icon-search:before {
  content: '\e627'; }

.icon-arrow:before {
  content: '\e621'; }

.icon-delete:before {
  content: '\e68e'; }

.icon-check-circle:before {
  content: '\e680'; }

.icon-checked-circle-o:before {
  content: '\e681'; }

.icon-arrow-left:before {
  content: '\e7c9'; }

.icon-edit:before {
  content: '\e724'; }

.icon-comment:before {
  content: '\e729'; }

.icon-checked-circle:before {
  content: '\e6f0'; }

.icon-check-round:before {
  content: '\e728'; }

.icon-checked-round:before {
  content: '\e72a'; }

.icon-comment-active:before {
  content: '\e74d'; }

.xm-icon {
  position: relative;
  display: inline-block;
  font: normal normal normal 16px/1 "xm-icon";
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }
  .xm-icon__info {
    color: #fff;
    left: 100%;
    top: -.5em;
    font-size: .5em;
    padding: 0 .3em;
    text-align: center;
    min-width: 1.2em;
    line-height: 1.2;
    position: absolute;
    border-radius: .6em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background-color: #ff4d4d;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    font-family: PingFang SC, Helvetica Neue, Arial, sans-serif; }
  .xm-icon::before {
    display: inline-block; }

/* BEM
 -------------------------- */
.xm-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7); }

.xm-overflow-hidden {
  overflow: hidden !important; }

.xm-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  max-height: 100%;
  overflow-y: auto;
  background-color: #ffffff;
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(-50%, -50%, 0);
          transform: translate3d(-50%, -50%, 0); }
  .xm-popup--top {
    width: 100%;
    top: 0;
    right: auto;
    bottom: auto;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0); }
  .xm-popup--right {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    -webkit-transform: translate3d(0, -50%, 0);
            transform: translate3d(0, -50%, 0); }
  .xm-popup--bottom {
    width: 100%;
    top: auto;
    bottom: 0;
    right: auto;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0); }
  .xm-popup--left {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    -webkit-transform: translate3d(0, -50%, 0);
            transform: translate3d(0, -50%, 0); }

.popup-slide-top-enter,
.popup-slide-top-leave-active {
  -webkit-transform: translate3d(-50%, -100%, 0);
          transform: translate3d(-50%, -100%, 0); }

.popup-slide-right-enter,
.popup-slide-right-leave-active {
  -webkit-transform: translate3d(100%, -50%, 0);
          transform: translate3d(100%, -50%, 0); }

.popup-slide-bottom-enter,
.popup-slide-bottom-leave-active {
  -webkit-transform: translate3d(-50%, 100%, 0);
          transform: translate3d(-50%, 100%, 0); }

.popup-slide-left-enter,
.popup-slide-left-leave-active {
  -webkit-transform: translate3d(-100%, -50%, 0);
          transform: translate3d(-100%, -50%, 0); }

.xm-modal {
  background-color: rgba(0, 0, 0, 0.5); }

.xm-scene-dialog.xm-popup {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 80%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 25px 25px 20px;
  border-radius: 13px;
  overflow-y: visible;
  -webkit-transition: none;
  transition: none; }

.xm-scene-dialog__close-icon.xm-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #959ba3; }
  .xm-scene-dialog__close-icon.xm-icon:active {
    background-color: #e9ecf0; }

.xm-scene-dialog__title {
  font-size: 20px;
  line-height: 28px;
  color: #262a30;
  font-weight: 500;
  text-align: center; }

.xm-scene-dialog__description {
  margin-top: 5px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 20px;
  color: #959ba3;
  text-align: center; }

.xm-scene-dialog__image-wrapper {
  width: 100%;
  margin-top: 12px; }

.xm-scene-dialog__image {
  width: 100%;
  height: 100%; }
  .xm-scene-dialog__image--cover {
    -o-object-fit: cover;
       object-fit: cover; }
  .xm-scene-dialog__image--contain {
    -o-object-fit: contain;
       object-fit: contain; }

.xm-scene-dialog__button {
  margin-top: 20px; }
