#modal div {
  position: absolute;
  display: none;
}

#modal.visible div {
  display: block;
}

#modal #overlay {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

#modal.visible #overlay {
  opacity: 0.5;
}

#dialog {
  left: 50%;
  top: 50%;
  padding: 12px;
  background-color: #fff;
}

#dialog p {
  line-height: 1.2;
}

#dialog p:first-child {
  margin-top: 1px;
}

#dialog a {
  color: #0096CF;
  text-decoration: none;
}

#dialog a:hover {
  text-decoration: underline;
}
