
.popup {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, .5);
  top: 0;
  left: 0;
  z-index: 9999;
  display: none
}

.popup .box {
  width: 30%;
  margin: 0 auto;
  background: #fff;
  border-radius: 1px;
  margin-top: 11vw;
  padding: 60px 30px 20px;
  position: relative
}

.popup .box dl {
  margin: 2px 2px 23px 2px
}

.popup .box dl input[type=text],input[type=number],select {
  width: 70%;
  background-color: #fff;
  background-image: none;
  border: 1px solid #d9d9d9;
  height: 40px;
  border-radius: 2px;
  font-size: 16px;
  color: #888;
  padding-left: 20px
}
.popup .box dl input[type=radio] {
  width: 18px;
  height: 18px;
  vertical-align: bottom;
  margin-right: 5px;
  -webkit-appearance: radio;
  -moz-appearance: radio;
  appearance: radio;
}

.popup .box dl .city {
  float: right;
}
.popup .box dl select {
  width: 32%;
}
.popup .box dl span {
  font-size: 16px;
  width: 175px;
  display: inline-block;
  text-align: right;
}
.popup .box dl label {
  font-size: 16px;
}

.popup .box dl input:focus {
  border-color: #40a9ff;
  border-right-width: 1px !important;
  outline: 0;
  -webkit-box-shadow: 0 0 0 2px rgb(24 144 255 / 20%);
  box-shadow: 0 0 0 2px rgb(24 144 255 / 20%)
}

.popup .box dl button {
  display: block;
  margin: 0 auto;
  width: 120px;
  height: 40px;
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
  font-size: 16px;
  text-align: center;
  border-radius: 2px;
  margin-top: 30px;
  cursor: pointer
}

.popup .box .dl-captcha {
  position: relative
}

.popup .box .dl-captcha button {
  position: absolute;
  top: 0;
  margin-top: 0;
  height: 40px;
  right: 0
}

.popup .box dl button:focus {
  color: #fff;
  background: #40a9ff;
  border-color: #40a9ff
}

.popup .box #close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 999;
}

.popup .box .form_gestbook {
  width: 90%;
  margin: 0 auto;
  overflow: hidden
}

#form_gestbook_box{
  width: 1000px;
  margin-top: -34vw;
}

#form_gestbook_box h1 {
  margin-bottom: 16px;
  text-align: center;
}

#form_gestbook_box form {
  width: 70%;
  margin: 0 0;
}

#form_gestbook_box dl input[type=text],select {
  width: 65%;
}


#form_gestbook_box .right_qrcode{
  float: right;
  position: absolute;
  top: 0;
  right: 0;
}

#form_gestbook_box .right_qrcode img {
  width: 350px;
  margin-top: 110px;
}

.popup .box dl div {
  width: 72%;
  display: inline-block;
}


@media only screen and (max-width:950px) {
  #form_gestbook_box {
    width: 95%;
    margin-top: -34vw;
    padding: 20px 10px;
  }
  #form_gestbook_box h1 {
    font-size: 20px;
    margin-bottom: 16px;
  }
  #form_gestbook_box form {
    width: 100%;
  }
  #form_gestbook_box .right_qrcode {
    display: none;
  }
  .popup .box dl {
    margin: 2px 2px 1px 2px;
  }
  .popup .box dl span {
    width: auto;
    font-size: 14px;
    display: block;
    text-align: left;
    height: 40px;
    line-height: 40px;
  }
  .popup .box dl div {
    margin-left: 70px;
    width: 100%;
  }
  .popup .box dl.dl_optional {
    display: none;
  }
  #form_gestbook_box dl input[type=text], select {
    height: 32px;
    width: auto;
  }
}