@charset "utf-8";

div.alert-ui.background {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(34, 34, 34, 0.4);
  z-index: 99999;
}

.alert-ui .alert {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0;
  -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.1s linear;
  width: 398px;
  border-radius: 8px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.alert-ui .alert-header {
  background-image: url(../images/alert-header-bg-1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  object-fit: contain;
  height: 65px;
  padding: 20px 0 0 16px;
}

.alert-ui .alert-title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -0.22px;
  color: #14237f;
}

.alert-ui .right-arrow {
  display: inline-block;
  border-bottom: 8px solid transparent;
  border-top: 8px solid transparent;
  border-left: 10px solid #14237f;
  border-right: 8px solid transparent;
}

.alert-ui .alert.show {
  opacity: 1;
  visibility: visible;
}

.alert-ui .title {
  line-height: 40px;
  padding: 0 10px 0 10px;
  margin: 0;
  background-color: #516cc2;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.alert-ui .title .close-btn {
  float: right;
  width: 16px;
  height: 16px;
  margin-top: 12px;
  background-image: url(../images/close-btn.png);
}

.alert-ui .title .close-btn:hover {
  cursor: pointer;
}

.alert-ui .contents {
  padding: 24px 20px;
  line-height: 1.4;
  font-size: 16px;
}

.alert-ui .contents p {
  color: #ff0000;
  font-size: 14px;
  margin-top: 10px;
}

.alert-ui .buttons {
  padding: 0 20px 20px 20px;
  text-align: right;
  width: 100%;
}

.alert-ui input[type="button"] {
  line-height: 1.1;
  width: 130px;
  height: 35px;
  font-size: 16px;
  display: inline-block;
  color: #fff;
  border-radius: 4px;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.alert-ui input[type="button"] + input[type="button"] {
  margin-left: 13px;
}

.alert-ui .btn-gray {
  background: #fff;
  border: solid 1px #005eae;
  color: #005eae !important;
}

.alert-ui .btn-gray:hover {
  background: #eef6ff;
  cursor: pointer;
}

.alert-ui .btn-basic {
  background: #005eae;
  border: 1px solid #e2e7ec;
}

.alert-ui .btn-basic:hover {
  background: #004e90;
  border: 1px solid #e2e7ec;
  cursor: pointer;
}

.alert-ui .alert.error .btn-basic {
  background: #f64c4c;
}

@media ( max-width : 1024px) {

  .alert-ui .alert-header {
    height: 56px;
    padding: 15px 0 0 16px;
  }

  .alert-ui .alert {
    width: 328px;
  }

  .alert-ui .contents {
    padding: 20px 20px 16px 20px;
  }

  .alert-ui input[type="button"] {
    width: 90px;
    height: 35px;
  }
}