.jq_modal_wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1100;
  overflow-y: auto;
  left: 0;
  top: 0;
}
.jq_modal_wrap > div {
  display: table;
  width: 100%;
  height: 100%;
  table-layout: fixed;
}
.jq_modal_wrap > div > div {
  display: table-cell;
  vertical-align: middle;
  padding: 15px;
  overflow-y: auto;
}

#jq_modal_bg {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1100;
}
#jq_modal_bg.jq_modal_bg_open {
  animation: bgopen 0.25s forwards;
}
#jq_modal_bg.jq_modal_bg_close {
  animation: bgclose 0.25s forwards;
}

.laymodal {
  display: none;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.25s;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  flex-direction: column;
  max-height: calc(100vh - 100px);
}
.laymodal .laymodal-content,
.laymodal .laymodal-footer {
  padding: 30px;
}
.laymodal .laymodal-content {
  /* flex: 1; */
  overflow-y: auto;
}
.laymodal .laymodal-footer {
  padding-top: 0;
  display: flex;
  justify-content: center;
}
.laymodal .laymodal-footer > * {
  min-width: 80px;
  border-radius: 4px;
}
.laymodal .laymodal-footer > * + * {
  margin-left: 7px;
}
.laymodal .laymodal-footer .fx-pull-left, .laymodal .laymodal-footer .fx-pull-right {
  display: flex;
}
.laymodal .laymodal-footer .fx-pull-left > *, .laymodal .laymodal-footer .fx-pull-right > * {
  min-width: 80px;
  border-radius: 4px;
}
.laymodal .laymodal-footer .fx-pull-left > * + *, .laymodal .laymodal-footer .fx-pull-right > * + * {
  margin-left: 7px;
}
.laymodal .laymodal-footer .fx-pull-left {
  margin-left: 0;
  margin-right: auto;
}
.laymodal .laymodal-footer .fx-pull-right {
  margin-left: auto;
  margin-right: 0;
}
.laymodal .laymodal-header {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  line-height: 50px;
  border-bottom: 1px solid #efefef;
  background: #e4e6ee;
  padding-left: 20px;
}
.laymodal .laymodal-header h2 {
  margin: 0;
  padding: 0;
  font-weight: 400;
  display: inline-block;
  color: #111;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  box-sizing: border-box;
}
.laymodal .laymodal-content {
  background: #fff;
  padding: 15px;
  padding-bottom: 50px;
}
.laymodal .laymodal-footer {
  text-align: center;
}
.laymodal .laymodal-close {
  width: 34px;
  height: 34px;
  background: none;
  font-size: 0;
  position: absolute;
  top: 12px;
  right: 10px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: 0;
}
.laymodal .laymodal-close::after, .laymodal .laymodal-close::before {
  content: "";
  position: absolute;
  background: #111;
  width: 22px;
  top: 50%;
  height: 1.5px;
  left: calc(50% - 11px);
  transition: all 0.3s;
}
.laymodal .laymodal-close::after {
  transform: rotate(-45deg);
}
.laymodal .laymodal-close::before {
  transform: rotate(45deg);
}
.laymodal .laymodal-close:hover::after {
  transform: rotate(45deg);
}
.laymodal .laymodal-close:hover::before {
  transform: rotate(135deg);
}
.laymodal.modal_open {
  animation: modalopen 0.3s forwards;
}
.laymodal.modal_close {
  animation: modalclose 0.3s forwards;
}

.laymodal-focusclose {
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  padding: 0;
  bottom: 0;
  outline: none;
  -ms-outline: none;
  margin: 0;
  opacity: 0;
}

@keyframes bgopen {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes bgclose {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes modalopen {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes modalclose {
  0% {
    opacity: 1;
    transform: translateY(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px);
  }
}
[class^=modal-btn] {
  background: #686767;
  color: #fff;
  height: 45px;
  font-size: 16px;
  width: 130px;
}

.modal-btn-point {
  background: #e45803;
}