@keyframes flash {
  0% {
    box-shadow: 2px 2px 8px #000000aa;
  }
  50% {
    box-shadow: 0 0 8px 4px #ff0000ff;
  }
  100% {
    box-shadow: 2px 2px 8px #000000aa;
  }
}
.dialog {
  z-index: 10000 !important ;
  font-family: 'Open Sans';
  font-size: 1em;
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
}
@media only screen and (hover: none) and (pointer: coarse) {
  .dialog .foreground {
    max-width: 80%;
  }
}
.dialog.full_screen {
  overflow: hidden;
}
.dialog.full_screen .foreground {
  width: 100%;
  height: 100%;
  padding: 1em;
}
.dialog.full_screen .content {
  max-height: 100vh;
  padding: 2em;
}
.dialog b {
  font-weight: bold;
  color: #f2015b;
}
.dialog.ready .foreground {
  opacity: 1;
  transition: opacity 0.25s ease;
}
.dialog label,
.dialog .title,
.dialog .button {
  user-select: none !important;
}
.dialog.flash .foreground {
  animation: flash 0.25s linear 3;
}
.dialog .foreground {
  z-index: 10000 !important ;
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20em;
  background: #21142f;
  padding: 0.5em 0.5em 0.75em 0.5em;
  border-radius: 0.25em;
  box-shadow: 2px 2px 8px #000000aa;
}
.dialog .content {
  max-height: 70vh;
  overflow-x: hidden;
  max-width: 100%;
}
.dialog .title {
  color: #2cbbdf;
  padding: 0 0.5em 0.5em 0.5em;
  box-sizing: border-box;
}
.dialog .closeButton {
  position: absolute;
  width: 0.75em;
  height: 0.75em;
  top: 1em;
  right: 1em;
  background: url(../img/ico_close.svg) no-repeat center center;
  cursor: pointer;
}
.dialog .message {
  float: left;
  padding: 0 0.5em 0 0.5em;
  box-sizing: border-box;
  width: 100%;
  color: #f2015b;
  font-weight: 600;
}
.dialog .message .info {
  color: white;
  font-weight: 300;
}
.dialog .footer {
  float: left;
  padding: 1em 0 0.25em 0;
  box-sizing: border-box;
  width: 100%;
}
.dialog .footer .button {
  float: left;
  padding: 0.125em 0.5em 0.25em 0.5em;
  margin: 0 0.5em;
  background-color: #39307f;
  border-radius: 0.25em;
  color: white;
  cursor: pointer;
}
.dialog .footer .deleteButton {
  background-color: #291c41;
  color: #f2015b;
}
.dialog .footer .registerButton {
  color: white;
}
.dialog .footer .cancelButton {
  float: right;
  background-color: #291c41;
  color: #aaaaaa;
}
.dialog .footer .okButton {
  float: right;
}
.dialog #site-dialog {
  width: 15em;
}
.dialog p {
  float: left;
  clear: both;
  width: auto;
  padding: 0.5em 0.5em;
  margin: 0;
  box-sizing: border-box;
  color: #aaaaaa;
}
.dialog h2 {
  float: left;
  clear: both;
  width: auto;
  padding: 0.5em 0.5em;
  margin: 0;
  box-sizing: border-box;
  font-size: 1em;
  color: #aaaaaa;
}
.dialog a {
  color: white;
}
.dialog ul {
  float: left;
  clear: both;
  width: auto;
  padding: 0.5em 0.5em;
  margin: 0;
  box-sizing: border-box;
  font-size: 1em;
  color: #aaaaaa;
}
.dialog li {
  margin: 0.5em 0 0.5em 1.25em;
}
.dialog .field {
  float: left;
  width: auto;
  padding: 0.25em 0.5em;
  box-sizing: border-box;
}
.dialog .field.required label::after {
  content: '*';
  margin-left: 0.25em;
  font-weight: bold;
  color: #f2015b;
}
.dialog .field label {
  float: left;
  box-sizing: border-box;
  width: 100%;
  color: #aaaaaa;
}
.dialog .field.failed input {
  border: 1px solid #f2015b;
  box-sizing: border-box;
}
.dialog .field input {
  float: left;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  border: none;
  padding: 0 0.25em;
  background-color: #291c41;
  font-family: 'Open Sans';
  font-size: 1em;
  color: white;
}
.dialog .field select {
  float: left;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  border: none;
  background-color: #291c41;
  font-family: 'Open Sans';
  font-size: 1em;
  color: white;
}
.dialog .field.failed textarea {
  border: 1px solid #f2015b;
  box-sizing: border-box;
}
.dialog .field textarea {
  float: left;
  box-sizing: border-box;
  width: 100%;
  height: 4.25em;
  resize: none;
  outline: none;
  border: none;
  padding: 0 0.25em;
  background-color: #291c41;
  font-family: 'Open Sans';
  font-size: 1em;
  color: white;
}
.dialog .col-12 {
  width: 100%;
}
.dialog .col-11 {
  width: 91.6666%;
}
.dialog .col-10 {
  width: 83.3333%;
}
.dialog .col-9 {
  width: 75%;
}
.dialog .col-8 {
  width: 66.6666%;
}
.dialog .col-7 {
  width: 58.3333%;
}
.dialog .col-6 {
  width: 50%;
}
.dialog .col-5 {
  width: 41.6666%;
}
.dialog .col-4 {
  width: 33.3333%;
}
.dialog .col-3 {
  width: 25%;
}
.dialog .col-2 {
  width: 16.6666%;
}
.dialog .col-1 {
  width: 8.3333%;
}
