#mask {
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.7);
  position:fixed;
  left:0;
  top:0;
  z-index:9000;
  display:none;
  height: 100% !important;
  width: 100% !important;
  overflow: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
  padding-right: -50px;
  padding-left: -50px;
}  
#boxes .window {
  position:absolute;
  left:0;
  top: 10% !important;
  width: 50% !important;
  height: 60%;
  display:none;
  z-index:9999;
  padding:20px;
  border-radius: 16px;
/*  box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.5); */
  text-align: center;
  overflow: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
}

@media only screen and (max-width: 640px) {
#boxes .window {
top: 50px !important;
}
}

#boxes #dialog {
  width: 50% !important;
  height:auto; 
  padding:0px;
  background-color: rgba(255,255,255,0);
  font-family: BodyFont;
  font-size: 15pt;
  overflow: hidden;
}

@media only screen and (max-width: 640px) {
#boxes #dialog {
width: 85% !important;
}
}



.maintext{
	text-align: center;
  font-family: BodyFont;
  text-decoration: none;
}
  
#lorem{
	font-family: BodyFont;
	font-size: 12pt;
  text-align: left;
}
#popupfoot{
	font-family: BodyFont;
	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;
}