#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#26262c;
  display:none;
   width: 1349px; 
   font-size: 32pt;
   color: white; 
   height: 2031px;
   opacity: 0.9; 
   display: block;
}  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:1024px;
  height:850px;
  display:none;
  z-index:9999;
/*  padding:20px;*/
/*  border-radius: 5px;*/
  text-align: center;
  
}
#boxes #dialog {
  width:1080px; 
  height:auto;
/*
  padding: 10px 10px 10px 10px;
  background-color:#ffffff;
*/

  font-size: 15pt;
}

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

@media(max-width:1200px) { 
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:1100px;
  height:auto;
  display:none;
  z-index:9999;
  text-align: center;
}
#boxes #dialog {
  width:1100px; 
  height:auto;
}

@media only screen and (min-width: 992px) and (max-width: 1500px) {
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:1200px;
  height:auto;
  display:none;
  z-index:9999;
  text-align: center;
}
#boxes #dialog {
  width:1200px; 
  height:auto;

    }
    }
    
@media(max-width:1025px) { 
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:925px;
  height:auto;
  display:none;
  z-index:9999;
  text-align: center;
}
#boxes #dialog {
  width:925px; 
  height:auto;
}
    
@media(max-width:991px) { 
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:800px;
  height:auto;
  display:none;
  z-index:9999;
  text-align: center;
}
#boxes #dialog {
  width:800px; 
  height:auto;
}
    
@media(max-width:767px) { 
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:660px;
  height:auto;
  display:none;
  z-index:9999;
  text-align: center;
}
#boxes #dialog {
  width:1024px; 
  height:auto;
}
    
@media(max-width:600px) { 
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:500px;
  height:auto;
  display:none;
  z-index:9999;
  text-align: center;
}
#boxes #dialog {
  width:500px; 
  height:auto;
}
    
}
@media(max-width:479px) { 
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:375px;
  height:auto;
  display:none;
  z-index:9999;
  text-align: center;
}
#boxes #dialog {
  width:375px; 
  height:auto;
}
    
}