
#dialog_box {
  display: none;
}

#dialog_box_overlay {
  background: var(--z0);
  opacity: .5;
  height: 100%;
  left:0;
  position:absolute;
  top:0;
  width:100%;
  z-index: 6;
}

#dialog_content {
  height: 95px;
  padding: 32px;
  overflow: auto;
  text-align: left;
  font-size: 16px;
}

#dialog_content h4 {
  margin: 0;
}


#dialog_buttons input:last-child {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

#dialog_buttons input:first-child {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

#dialog_content.prompt {
  height: 75px;
}

#dialog_content p {
  line-height: 1.3em;
}

#dialog_container {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  transform: translate(-50%, -50%);
  position:fixed;
  z-index:50001;
  background: var(--z15);
}


#dialog_container, #dialog_content {
  border-radius: 3px;
}

#dialog_buttons input[type=text] {
  width: 90%;
  display: block;
  margin: 0 0 5px 11px;
}

#dialog_buttons input[type=button] {
  margin: 0 1em;
}

#save_confirm_box {
  display: none;
}

#save_confirm_overlay {
  background: var(--z0);
  opacity: .5;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50000;
}

#save_confirm_container {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 400px;
  transform: translate(-50%, -50%);
  z-index: 50001;
  background: var(--z15);
  border-radius: 3px;
}

#salesperson_warning {
  padding: 24px 32px 0;
  font-size: 15px;
  line-height: 1.4;
  color: #d32f2f;
  text-align: left;
}

#salesperson_warning a {
  font-weight: bold;
  color: #d32f2f;
  text-decoration: underline;
}

#save_confirm_content {
  height: 95px;
  padding: 32px;
  font-size: 16px;
  text-align: left;
}

#save_finished_btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#save_confirm_buttons {
  position: relative;
  height: 50px;
}

#save_finished_btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  margin: 0 1em;
}

#save_continue_btn {
  position: absolute;
  left: 10px;
  bottom: 10px;
  margin: 0 1em;
}
