.right-modal {
  position: fixed;
  z-index: 200;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
}
.right-modal .close-button {
  position: absolute;
  width: 10px;
  height: 10px;
  right: 5px;
  top: 2px;
  font-style: normal;
  font-size: 14px;
  color: #afafaf;
  opacity: 0.5;
  cursor: pointer;
}
.right-modal .close-button:hover {
  opacity: 1;
}
.right-modal .dialog-box {
  min-width: 237px;
  background: white;
  right: 0;
  position: fixed;
  height: 100%;
}
.right-modal .dialog-box .dialog-content {
  height: 100%;
}
.right-modal .dialog-box .dialog-content .dialog-template {
  height: calc(100% - 100px);
  overflow-y: auto;
  margin-top: 25px;
}
.right-modal p.tips {
  text-align: center;
  font-size: 18px;
  color: #3594c3;
  margin: 23px 0 34px;
}
.right-modal table.dialog-table {
  width: 70%;
  margin: 0 auto;
}
.right-modal table.dialog-table tr {
  display: block;
  margin-bottom: 20px;
}
.right-modal table.dialog-table td {
  width: 160px;
  text-align: left;
  position: relative;
}
.right-modal table.dialog-table td input,
.right-modal table.dialog-table td .dropdown-main,
.right-modal table.dialog-table td select {
  width: inherit;
  height: 30px;
}
.right-modal table.dialog-table td textarea {
  width: inherit;
}
.right-modal table.dialog-table td:first-child {
  width: 76px;
}
.right-modal .dialog-button-box {
  text-align: center;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 0 10px 0 0;
}
.right-modal .dialog-button-box button {
  width: 80px;
  height: 28px;
  cursor: pointer;
  font-size: 14px;
  line-height: 28px;
  border: 1px solid #d8d8d8;
  color: #333333;
  margin: 0 5px 20px;
  border-radius: 0;
}
.right-modal .dialog-button-box button.button0 {
  border-width: 0;
  background: #db536a;
  color: white;
}
