.bm-container {
  position: relative;
}

.unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 780px;
}

.unit li span {
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF;
}

.unit li span.label {
  margin-right: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: normal;
}

.input-box {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 400px;
}

.input-box .tit {
  letter-spacing: 3px;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
}

.input-wrap {
  display: flex;
  align-items: center;
  margin: 11px 0 0;
}

.input-wrap input {
  flex: 1;
  height: 50px;
  line-height: 50px;
  background-color: #012086;
  border-radius: 10px;
  border: solid 1px #AEC2FF;
  padding: 0 20px;
  font-size: 18px;
  color: #fff;
}

.input-wrap img {
  width: 49px;
  cursor: pointer;
}

.remark-box {
  height: 30px;
}

.input-box .remark {
  text-align: right;
  letter-spacing: 1px;
  color: #fff;
  font-size: 16px;
  display: none;
}

.bm-container .btns {
  top: 77%;
  left: 48%;
  transform: translate(-46%, -77%);
  width: 450px;
}

.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: #012086;
  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: #012086;
  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;
  }

  .unit {
    display: block;
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -37%);
    width: 80%;
  }

  .unit li span {
    font-size: .3rem;
    line-height: .75rem;
  }

  .unit li span.label {
    margin-right: .2rem;
  }

  .bm-container {
    position: relative;
  }

  .input-box {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 70%;
  }

  .input-box .tit {
    font-size: .32rem;
  }

  .input-wrap {
    margin: .2rem 0 .1rem;
  }

  .input-wrap input {
    height: .7rem;
    line-height: .7rem;
    border-radius: .1rem;
    padding: 0 .2rem;
  }

  .input-wrap img {
    width: .6rem;
  }

  .remark-box {
    height: .8rem;
  }

  .input-box .remark {
    font-size: .26rem;
  }

  .bm-container .btns {
    top: unset;
    bottom: 22%;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
  }

  .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;
  }
}