@media (min-width: 120px) and (max-width: 500px) {
    .text {
        float: right;
        display: none;
        text-transform: uppercase;
        
        color: #000000;
    }
    #boxes #dialog {
      width:280px; 
      height:auto;
      padding: 10px 10px 10px 10px;
      background-color:#ffffff;
      font-size: 15pt;
    }
}
@media (min-width: 481px) {
    .text {
        float: right;

        text-transform: uppercase;
        font-size: 10px;
        color: #000000;
    }
    
}
@media (min-width: 641px) {
    .text {
        float: right;

        text-transform: uppercase;
        font-size: 10px;
        color: #000000;
    }
    #boxes #dialog {
      width:300px; 
      height:auto;
      padding: 10px 10px 10px 10px;
      background-color:#ffffff;
      font-size: 15pt;
    }
    
}
@media (min-width: 961px) {
    .text {
        float: right;

        text-transform: uppercase;
        font-size: 15px;
        color: #000000;
    }
    #boxes #dialog {
      width:350px; 
      height:auto;
      padding: 10px 10px 10px 10px;
      background-color:#ffffff;
      font-size: 15pt;
    }
}
@media (min-width: 1025px) {
    .text {
        float: right;

        text-transform: uppercase;
        font-size: 15px;
        color: #000000;
    }
    #boxes #dialog {
      width:450px; 
      height:auto;
      padding: 10px 10px 10px 10px;
      background-color:#ffffff;
      font-size: 15pt;
    }
}
@media (min-width: 1281px) {
    .text {
        float: right;

        text-transform: uppercase;
        font-size: 15px;
        color: #000000;
    }
    #boxes #dialog {
      width:450px; 
      height:auto;
      padding: 10px 10px 10px 10px;
      background-color:#ffffff;
      font-size: 15pt;
    }
   
}
#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#26262c;
  display:none;
}  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:440px;
  height:850px;
  display:none;
  z-index:9999;
  padding:20px;
  border-radius: 5px;
  text-align: center;
}


.agree:hover{
  background-color: #D1D1D1;
}
.popupoption:hover{
    background-color:#D1D1D1;
    color: green;
}
.popupoption2:hover{
    color: red;
}