#mask {
  /* position: fixed; */
  left: 0;
  top: 0;
  width: 100% !important;
  z-index: 9998;
  background-color: rgba(6, 11, 0, 0.95);
  display: none;
  opacity: 1;
  cursor: url(../img/cursor-close.png), auto
}

#boxes {
  width: 100%;
  height: auto;
  display: -webkit-flex;
  display: flex;
  z-index: 999;
  top: 0;
  position: absolute;
}

#boxes .window {
  position: fixed;
  left: 0;
  top: 0;
  width: 440px;
  height: 200px;
  display: none;
  z-index: 9999;
  padding: 20px;
  border-radius: 3px;
  text-align: center
}

#boxes #dialog {
  width: calc(100% - 30px);
  max-width: 450px;
  height: auto;
  margin: 0 15px;
  padding: 15px;
  background-color: rgb(244, 197, 93);
  font-size: 15pt;
  color: #000000
}

.maintext {
  text-align: center;
  text-decoration: none
}

body {
  background: url('bg.jpg')
}

#lorem {
  font-size: 12pt;
  text-align: left
}

#lorem h2 {
  margin-bottom: 10px
}

.gform_heading {
  text-align: center
}

#lorem img {
  width: 100%;
  max-width: 500px;
  display: table
}

#popupfoot {
  font-size: 16pt;
  padding: 10px 20px
}

#popupfoot a {
  text-decoration: none
}

.agree:hover {
  background-color: #d1d1d1
}

.popupoption:hover {
  background-color: #d1d1d1;
  color: green
}

.popupoption2:hover {
  color: red
}

.popup-close-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  background: rgba(151, 12, 12, 0.78);
  border-radius: 50%;
  font-size: 17px;
  padding: 10px 12px;
  color: #fff
}

.gform_footer {
  text-align: center;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
  font-weight: 400
}

@media screen and (max-width:600px) {
  #boxes #dialog {
    left: 0 !important
  }
}
