#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  display:none;
}  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:440px;
  height:200px;
  display:none;
  z-index:9999;
  padding:20px;
  border-radius: 15px;
  text-align: center;
}
#boxes #dialog {
  width:50%; 
  height:auto;
  padding:10px;
  background-color:#ffffff;
  font-family: 'Segoe UI Light', sans-serif;
  font-size: 15pt;
}
#boxes #dialog img{
  width:100%; 
}
.maintext{
	text-align: center;
  font-family: "Segoe UI", sans-serif;
  text-decoration: none;
}
body{
  background: url('bg.html');
}
#lorem{
	font-family: "Segoe UI", sans-serif;
	font-size: 12pt;
  text-align: left;
}
#popupfoot {
    font-family: "Segoe UI", sans-serif;
    font-size: 16px;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 23px;
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
}
#popupfoot a {
    text-decoration: none;
    float: none;
    font-size: 18px;
    color: #000;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    margin-right: -2px;
}
#popupfoot a:hover {
    background-color: transparent;
}
.agree:hover{
  background-color: #D1D1D1;
}
.popupoption:hover{
	background-color:#D1D1D1;
	color: green;
}
.popupoption2:hover{
	
	color: red;
}

@media (max-width:1024px){

#boxes #dialog {
  width:55%; 
}

}

@media (max-width:768px){

#boxes #dialog {
  width:75%; 
}

}

@media (max-width:667px){

#boxes #dialog {
  width:80%; 
}

}

@media (max-width:640px){

#boxes #dialog {
  width:90%; 
}

}

@media (max-width:375px){

#boxes #dialog {
  width:95%; 
}

}

@media (max-width:320px){

#popupfoot {
    right: 15px;
    top: 25px;
    width: 30px;
    height: 30px;
    text-align: center;
}
#popupfoot a {
    font-size: 16px;
    color: #000;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-right: -2px;
}

}