.bm-container {
  position: relative;
}

.input-box {
  position: absolute;
  top: 400px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
}

.input-box .tit {
  letter-spacing: 3px;
  color: #5f3813;
  font-size: 26px;
  font-weight: 600;
}

.input-wrap {
  display: flex;
  align-items: center;
  margin: 20px 0 10px;
}

.input-wrap input {
  flex: 1;
  height: 50px;
  line-height: 50px;
  background-color: #fffaf6;
  border-radius: 10px;
  border: solid 1px #97391f;
  padding: 0 20px;
  font-size: 18px;
}

.input-wrap img {
  width: 25px;
  margin-left: 10px;
  cursor: pointer;
}

.remark-box {
  height: 30px;
}

.input-box .remark {
  text-align: right;
  letter-spacing: 1px;
  color: #a6a19d;
  font-size: 16px;
  display: none;
}

.bm-container .btns {
  top: 585px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
}

.mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.dialog {
  position: absolute;
  top: 120px;
  left: calc(50% - 286px);
  width: 520px;
  height: 438px;
  background-color: #fef4ea;
  border-radius: 10px;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dialog .tit {
  height: 65px;
  line-height: 65px;
  background-color: #974024;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  color: #fff;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 4px;
}

.dialog .tit img {
  width: 30px;
  transition: color 0.2s ease;
  cursor: pointer;
}

.dialog .con {
  padding: 45px 0;
}

.dialog p {
  font-weight: 600;
  font-size: 22px;
  line-height: 38px;
  letter-spacing: 2px;
  color: #333333;
  text-align: center;
}

.dia-btns a {
  width: 430px;
  background-color: #974024;
  border-radius: 10px;
  height: 60px;
  line-height: 60px;
  margin: 0 auto;
  margin-bottom: 25px;
  padding: 0 10px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dia-btns a p {
  flex: 1;
  color: #fff;
  letter-spacing: 1px;
  text-align: right;
  font-size: 20x;
  margin-right: 15px;
}

.dia-btns a span {
  display: inline-block;
  font-size: 16px;
  word-wrap: break-word;
  width: 58%;
  color: #fff;
  line-height: 22px;
  text-align: left;
}

.mask.active {
  opacity: 1;
  visibility: visible;
}

.mask.active .dialog {
  transform: scale(1);
  opacity: 1;
}
.zj-footer {
  display: none;
}
@media screen and (max-width: 768px) {
  .zj-footer {
    display: block;
  }
  input,
  textarea {
    font-size: 16px !important;
  }

  .bm-container {
    position: relative;
  }

  .input-box {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -42%);
    width: 70%;
  }

  .input-box .tit {
    font-size: .32rem;
  }

  .input-wrap {
    margin: .2rem 0 .1rem;
  }

  .input-wrap input {
    height: .6rem;
    line-height: .6rem;
    border-radius: .1rem;
    padding: 0 .2rem;
  }

  .input-wrap img {
    width: .4rem;
    margin-left: .2rem;
  }

  .remark-box {
    height: .8rem;
  }

  .input-box .remark {
    font-size: .26rem;
  }

  .bm-container .btns {
    top: unset;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
  }

  .mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }

  .dialog {
    position: absolute;
    top: calc(50vh - 3rem);
    left: 10%;
    width: 80%;
    height: 5rem;
    border-radius: .1rem;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .dialog .tit {
    height: .8rem;
    line-height: .8rem;
    border-radius: .1rem .1rem 0 0;
    padding: 0 .3rem;
    font-weight: 600;
    font-size: .32rem;
  }

  .dialog .tit img {
    width: .4rem;
    transition: color 0.2s ease;
  }

  .dialog .con {
    padding: .46rem 0;
  }

  .dialog p {
    font-size: .3rem;
    line-height: .5rem;
  }

  .dia-btns {
    padding: 0 .5rem;
  }

  .dia-btns a {
    width: 100%;
    border-radius: .1rem;
    height: .8rem;
    line-height: .8rem;
    margin-bottom: .2rem;
    padding: 0 .1rem 0 .2rem;
  }

  .dia-btns a p {
    font-size: .28rem;
    margin-right: .15rem;
  }

  .dia-btns a span {
    display: inline-block;
    font-size: .24rem;
    word-wrap: break-word;
    width: 56%;
    color: #fff;
    line-height: .26rem;
  }

  .mask.active {
    opacity: 1;
    visibility: visible;
  }

  .mask.active .dialog {
    transform: scale(1);
    opacity: 1;
  }

}

/* iPhone5 */
@media (min-width: 320px) {
  .bm-container {
    min-height: 568px;
    height: 90vh;
  }
}

/* iPhone6 */
@media (min-width: 375px) {
  .bm-container {
    min-height: 667px;
    height: 90vh;
  }
}

/* iPad横屏 */
@media (min-width: 1024px) {
  .bm-container {
    min-height: 768px;
    height: 90vh;
  }
}