/* border */
/* box shadow */
/* btn */
.ui-modal {
  transform: translate3d(0, 0, 0);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  overflow: auto;
  z-index: 1100;
  will-change: opacity;
}
.ui-modal.radius .ui-modal-dialog {
  border-radius: 6px;
}
.ui-modal.round .ui-modal-dialog {
  border-radius: 20px;
}
.ui-modal > .ui-modal-wrapper {
  width: 100%;
  margin: auto 0;
}
.ui-modal > .ui-modal-wrapper > .ui-modal-dialog {
  position: relative;
  margin: 60px auto;
  background: #fff;
  box-shadow: 0 7px 21px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1101;
  will-change: transform;
}
.ui-modal > .ui-modal-wrapper > .ui-modal-dialog:focus {
  outline: none;
}
.ui-modal .ui-popover-content {
  position: absolute !important;
}

.ui-modal-header {
  position: relative;
  height: 50px;
  border-bottom: 1px solid #e9e9e9;
  padding: 0 20px;
}
.ui-modal-header .ui-modal-title {
  font-size: 16px;
  line-height: 50px;
}
.ui-modal-header .ui-modal-close {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 20px;
  line-height: 50px;
  color: #999;
  cursor: pointer;
}
.ui-modal-header .ui-modal-close:hover {
  color: #666;
}

.ui-modal-body {
  padding: 20px;
}

.ui-modal-footer {
  border-top: 1px solid #e9e9e9;
  padding: 10px 18px;
  text-align: right;
}
.ui-modal-footer button + button {
  margin-left: 10px;
}

.ui-modal-body-overflow {
  overflow-y: hidden;
}