//弹层

.qm-modal {
  &.show-modal {
    .qm-modal-main {
      right: 0;
      -webkit-transition: all 0.5s ease-out;
      -moz-transition: all 0.5s ease-out;
      -ms-transition: all 0.5s ease-out;
      -o-transition: all 0.5s ease-out;
      transition: all 0.5s ease-out;
    }
  }

  &-mask {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #373737;
    background-color: rgba(55, 55, 55, 0.6);
    height: 100%;
    z-index: 500;
    filter: alpha(opacity=50);
  }

  &-main {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -80%;
    width: 80%;
    padding-top: 50px;
    background-color: #fff;
    z-index: 600;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
  }

  &-close {
    display: inline-block;
    cursor: pointer;
    border: 0;
    background: transparent;
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    font-size: 14px;
    line-height: 50px;
    text-align: center;
    z-index: 10;
    font-weight: 700;
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    transition: color 0.3s ease;
    color: rgba(0, 0, 0, 0.43);
    outline: 0;
  }

  &-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    padding: 14px 16px 14px 50px;
  }

  &-title {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    font-weight: 700;
  }

  &-body {
    height: 100%;
    padding: 5px 60px;
    overflow: auto;
  }
}

@media screen and (max-width: 1280px) {
  .qm-modal-main {
    right: -1000px;
    width: 1000px;
  }
}
