@charset "utf-8";

* {
  box-sizing: border-box;
}

.waitdialog-overlay {
  opacity: 0.75;
  background: #000;
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hmmodal {
  background-color: #fff;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  border-radius: 4px;
}

.hmmodal-body {
  display: flex;
  flex-direction: column;
}

.hmmodal-header {
  flex-shrink: 0;
  border-bottom:1px solid #c0c0c0;
  padding: 16px 48px 16px 16px;
  position: relative;
}

.hmmodal-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.hmmodal-title .hmmodal-title-icon {
  font-size: 20px;
  margin-right: 6px;
  color: #E31127;
  vertical-align: sub;
}

a#modal-close.hmmodal-close {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.hmmodal-header .hmmodal-close-icon {
  font-size: 20px;
  color:#aaa;
}

a#modal-close.hmmodal-close:hover {
  background-color: #f0f0f0;
  text-decoration: none;
  border-radius: 4px;
}

a#modal-close.hmmodal-close:hover .hmmodal-close-icon {
  color:#717171;
}

.hmmodal-content {
  line-height: 1.5;
  overflow-y: auto;
  flex-grow: 1;
  overflow-wrap: break-word;
}

.hmmodal-content-iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
}

.hmmodal-content + .hmmodal-footer {
  border-top: 1px solid #c0c0c0;
}

.hmmodal-footer {
  flex-shrink: 0;
  padding: 16.5px 24px;
}

.hmmodal-footer .hmmodal-btn {
  font-size: 13px;
  text-align: center;
  width: 83px;
  padding: 0;
  line-height: 22px;
}

.hmmodal-button-frame {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
