.warningOverlay {
  position: fixed;
  top: 0px;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
}

.warningPopup {

  border-radius: 1em;

  box-sizing: border-box;
  width: 600px;
  margin-left: -300px;
  /* minus half width to center horizontally */
  position: absolute;
  top: 50%;
  left: 50%;
  /* center horizontally */
}
.warningPopup .close {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 40px;
  height: 40px;
  background: #E13F3F;
  border-radius: 50%;
  font-size: 1.33em;
  color: #fff;
  font-weight: 900;
  text-align: center;
  line-height: 39px;
  cursor: pointer;
}

@media screen and (max-width: 700px) {
  .warningPopup {
    width: 520px;
    margin-left: -260px;
    /* minus half width to center horizontally */
  }
}
@media screen and (max-width: 600px) {
  .warningPopup {
    width: 100%;
    top: 150px;
    /*bottom: 0;*/
    left: 23px;
    right: 0;
    margin: 0;
    border-radius: 0;
    padding-right: 60px;
  }
  .warningPopup .close {
    right: 59px;
    top: 0;
    border-radius: 0;
  }
}
.open {
  background: #454545;
  color: #fff;
  padding: 3px 10px 5px;
  width: auto;
  display: inline-block;
  cursor: pointer;
}