#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#26262c;
  display:none;
}  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:900px;
  height:auto;
  display:none;
  z-index:9999;
}
#boxes #dialog {
  width:100%;
  max-width:900px;  
  height:auto;
}

.agree:hover{
  background-color: #D1D1D1;
}
.popupoption:hover{
	background-color:#D1D1D1;
	color: green;
}
.popupoption2:hover{
	color: red;
}

@media screen and (max-width:1199px) and (min-width:992px){

#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:90%;
  height:auto;
  display:none;
  z-index:9999;
}
#boxes #dialog {
  width:90%;  
  height:auto;
}

}