.events-dark-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000000;
  opacity: 0.85;
  filter: alpha(opacity=85);
  -moz-opacity: 0.85;
  z-index: 9999999999;
  display: none;
}

@media (min-width: 601px) {
  .events-popup-message h2 {
    color: #731087;
    font-size: 35px;
    font-weight: bold;
    text-align: center !important;
    padding: 10px;
    margin-top: 50px;
  }

  .events-popup-message h3 {
    color: #333;
    font-size: 25px;
    font-weight: bold;
    text-align: center !important;
    padding: 10px;
  }

  .events-popup-message p {
    color: #333 !important;
    font-size: 1em;
    font-weight: 200;
    text-align: center !important;
  }

  .events-thanks-popup-interval {
    display: none;
    position: fixed;
    width: auto;
    max-width: 480px;
    height: 400px;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -180px;
    background-color: #cfcfcf;
    border: 2px solid #333;
    border-radius: 7px;
    z-index: 999999999999;
    padding: 10px 20px;
  }
}

@media (max-width: 600px) {
  .events-popup-message h2 {
    color: #731087;
    font-size: 20px;
    font-weight: bold;
    text-align: center !important;
    padding: 10px;
  }

  .events-popup-message h3 {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    text-align: center !important;
    padding: 10px;
  }

  .events-popup-message p {
    color: #333 !important;
    font-size: 0.8em;
    font-weight: 200;
    text-align: center !important;
  }

  .events-thanks-popup-interval {
    display: none;
    position: fixed;
    width: auto;
    max-width: 300px;
    height: 350px;
    margin-top: 40% !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0 auto;
    background-color: #cfcfcf;
    border: 2px solid #333;
    border-radius: 7px;
    z-index: 999999999999;
    padding: 10px 20px;
  }
}

#popup-close {
  font-size: 28px;
  font-weight: bolder;
  width: 100%;
  display: block;
  text-align: right;
  text-decoration: none;
  color: #731087 !important;
  cursor: pointer;
}

#popup-close i {
  color: #090058 !important;
}

#popup-close:hover {
  color: #731087;
  cursor: pointer;
}
