$rgba: rgba(0, 0, 0, .8);
$gray: #797979;
$write: #fff;
$popborder: #d4d4d4;
$red: #f00;
$green: #61b335;

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

:local {
  .modal-wrap {
    height: 100%;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2001;
  }

  .bg {
    background: $rgba;
    // height: 100%;
    // left: 50%;
    // position: fixed;
    // top: 50%;
    // transform: translate(-50%, -50%);
    // width: 100%;
    // z-index: 2002;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
  }

  .popup-box {
    background: $write;
    border-radius: rem(10px);
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: rem(415px);
    z-index: 2003;
  }

  .popup-footer {
    border-top: 1px solid $popborder;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    font-size: rem(30px);
    text-align: center;

    a {
      // width: 1%;
      border-right: 1px solid $popborder;
      -moz-box-flex: 1;
      -webkit-box-flex: 1;
      box-flex: 1;
      color: $gray;
      display: block;
      font-size: rem(26px);
      font-weight: normal;
      line-height: rem(80px);
      word-break: break-all;
    }
  }

  .sure {
    border-right: 0;
    color: $red;
  }

  // .cancel {
  //   float: right;
  // }
  .close {
    border-right: 0;
    float: right;
    // font-size: rem(30px);
    // height: rem(30px);
    // width: rem(30px);
    // color: $red;
  }
}
