.yp-xieyi-mask {
  display: none;
  position: fixed;
  z-index: 10040;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.yp-xieyi-mask.is-open,
.yp-xieyi-mask.on {
  display: block;
}
.reg_xieyi {
  display: none;
  position: fixed;
  z-index: 10050;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 72vh;
  max-height: 720px;
  min-height: 560px;
  margin: 0;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  overflow: hidden;
  color: #333;
}
.reg_xieyi.is-open,
.reg_xieyi.on {
  display: block;
  z-index: 10050 !important;
  width: 800px !important;
  height: 72vh !important;
  max-height: 720px !important;
  min-height: 560px !important;
  margin: 0 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.reg_xieyi .xieyi-hd {
  text-align: center;
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid #e5e5e5;
  margin: 0;
  padding: 0;
  background: #fff;
}
.reg_xieyi .xieyi-hd span {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.reg_xieyi .xieyi-bd,
.reg_xieyi .searchHtml_bd {
  height: calc(100% - 50px) !important;
  max-height: none;
  overflow-y: auto;
  padding: 15px;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  box-sizing: border-box;
}
.reg_xieyi .xieyi-bd p,
.reg_xieyi .searchHtml_bd p {
  margin: 0 0 8px;
}
.reg_xieyi .close {
  display: block;
  position: absolute;
  right: 15px;
  top: 15px;
  width: 19px;
  height: 19px;
  cursor: pointer;
  background: url('/old-skin/images/dk_ad_closed.gif') no-repeat 0 0;
  border: 0;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
}
html.yp-xieyi-open {
  overflow: hidden;
}
@media (max-height: 640px) {
  .reg_xieyi,
  .reg_xieyi.is-open,
  .reg_xieyi.on {
    min-height: 0 !important;
    height: calc(100vh - 48px) !important;
    max-height: calc(100vh - 48px) !important;
  }
}
@media (max-width: 820px) {
  .reg_xieyi.is-open,
  .reg_xieyi.on {
    width: 92vw !important;
    height: 80vh !important;
    max-height: 80vh !important;
    min-height: 0 !important;
    left: 50% !important;
    top: 50% !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
  }
  .reg_xieyi .xieyi-bd,
  .reg_xieyi .searchHtml_bd {
    height: calc(100% - 50px) !important;
  }
}
