.prompt {
  display: block;
  width: 190px;
  min-height: 46px;
  line-height: 46px;
  text-align: center;
  box-sizing: border-box;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 16px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  z-index: 12;
}
.prompt * {
  line-height: 22px;
  display: inline-block;
  width: 100%;
  word-break: break-all;
  vertical-align: middle;
}
.toast {
  position: fixed;
  top: 40px;
  max-width: 80%;
  border-radius: 10px;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.75);
  font-size: 0;
  display: inline-block;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 100;
}
.toast > * {
  display: inline-block;
  vertical-align: middle;
}
.toast span {
  font-size: 14px;
  padding: 10px 10px;
  display: block;
  height: auto;
  word-wrap: break-word;
}
.ui-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  display: none;
  -webkit-transition: opacity 0.2s ease-in;
  -moz-transition: opacity 0.2s ease-in;
  -o-transition: opacity 0.2s ease-in;
  transition: opacity 0.2s ease-in;
  z-index: 10;
  opacity: 0;
}
.ui-overlay.show {
  display: block;
}
.ui-overlay.out {
  opacity: 1;
}
@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
  }
}
.loading-anim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.loading-anim::before {
  display: block;
  background-color: rgba(0, 0, 0, 0.4);
  content: '';
  width: 9rem;
  height: 9rem;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -4.5rem 0 0 -4.5rem;
  border-radius: 10px;
}
.loading-anim::after {
  display: block;
  content: '';
  width: 4.2rem;
  height: 4.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -2.1rem 0 0 -2.1rem;
  background-image: url(img/img_loading_white.png);
  background-repeat: no-repeat;
  background-size: 4.2rem;
  background-position: 50%;
  -webkit-animation-name: rotate;
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}
.dialog {
  position: fixed;
  left: 25px;
  right: 25px;
  top: 50%;
  display: none;
  z-index: 11;
  background-color: white;
  border-radius: 4px;
  -webkit-transform: scale(0.7) translateY(-71.4%);
  -moz-transform: scale(0.7) translateY(-71.4%);
  -ms-transform: scale(0.7) translateY(-71.4%);
  transform: scale(0.7) translateY(-71.4%);
  opacity: 0;
  overflow: hidden;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  box-shadow: -3px 3px 6px 4px rgba(0, 0, 0, 0.15);
}
.dialog.out {
  -webkit-transform: scale(1) translateY(-50%);
  -moz-transform: scale(1) translateY(-50%);
  -ms-transform: scale(1) translateY(-50%);
  transform: scale(1) translateY(-50%);
  opacity: 1;
}
.dialog.show {
  display: block;
}
.dialog .dialog-title {
  height: 44px;
  color: #888;
  text-align: center;
  font-size: 16px;
  line-height: 44px;
  border-bottom: 1px solid #efefef;
}
.dialog .dialog-wrapper {
  background-color: transparent;
}
.dialog .dialog-wrapper .dialog-content {
  overflow-y: auto;
  padding: 10px;
  color: #333;
  line-height: 140%;
  font-size: 13px;
  box-sizing: border-box;
  min-height: 32px;
  max-height: 166px;
}
.dialog .dialog-wrapper .dialog-content h1 {
  font-size: 16px;
  color: #333333;
  text-align: center;
  line-height: 16px;
  margin: 8px 0;
  font-weight: normal;
}
.dialog .dialog-wrapper .dialog-content p {
  font-size: 14px;
  margin: 0;
  color: #555;
  line-height: 160%;
  word-break: break-all;
}
.dialog .dialog-wrapper .dialog-content p a {
  color: #439df8;
  padding: 0 2px;
  text-decoration: none;
}
.dialog .dialog-wrapper .dialog-content p a[href^=http] {
  text-decoration: underline;
  padding: 0 4px;
}
.dialog .dialog-wrapper .dialog-content p + p {
  margin-top: 12px;
}
.dialog .dialog-wrapper .dialog-button-container {
  font-size: 0;
  width: 100%;
  height: 44px;
  line-height: 44px;
}
.dialog .dialog-wrapper .dialog-button {
  height: 100%;
  color: #439df8;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding: 0;
  border: none;
  outline: none;
  width: 100%;
  background-color: white;
  box-sizing: border-box;
  border-top: 1px solid #efefef;
}
.dialog .dialog-wrapper .dialog-button.d-2 {
  width: 50%;
}
.dialog .dialog-wrapper .dialog-button.d-3 {
  width: 33.33%;
}
.dialog .dialog-wrapper .dialog-button.cancel {
  color: #a6a6a6;
  background-color: #fff;
}
.dialog .dialog-wrapper .dialog-button.confirm {
  border-top: none;
  color: #fff;
  background-color: #439df8;
}
.dialog .dialog-wrapper .dialog-button.confirm::before {
  display: none !important;
}
.dialog .dialog-wrapper .dialog-button + .dialog-button::before {
  content: '';
  height: 100%;
  display: block;
  width: 1px;
  position: absolute;
  background-color: #f4f4f4;
  left: 0;
  top: 0;
}
