body {
   font-size: 100%;
   font-family: verdana, arial, sans-serif;
}

table.aligned td {
   vertical-align: top;
   border: solid 1px #C0C0C0;
   padding: 3px;
}

@media screen{

   
   .error {
      color: #FF0000;
   }
   
   #error_clear {
      color: #0000FF;
      display: none;
   }
   
   div#popupouter, div#popup2outer {
      display: none;
      position: fixed;
      left: 0px;
      top: 0px;
      width: 100%;
      height: 100%;
      background-color: #0000FF;
      filter: alpha(opacity=70);
      opacity: .7;
      -moz-opacity:0.7;
      text-align: center;
   }
   
   div#popup, div#popup2 {
      display: none;
      position: fixed;
      background-color: #FFFFFF; 
      width: auto;
      height: auto;
      padding: 10px;
   }
   
   div#popup {
      left: 10%;
      top: 10%;
   }
   
   div#popup2 {
      left: 15%;
      top: 15%;
   }
   
   #popupstatus, #popup2status {
      display: none;
      background-color: #6666FF;
      color: #FFFFFF;
      padding-left: 15px;
      padding-right: 15px;
   }
   
   div.popuptop {
      font-size: x-small;
      text-align: right;
   }
   
   div.popuptop input {
      font-size: x-small;
   }
   
   div#popupmain, div#popup2main {
      padding: 15px;
   }
   
   div#working {
      display: none;
      position: fixed;
      left: 40%;
      top: 40%;
      font-size: 62.5%;
      border: solid 3px #0000FF;
      background-color: #FFFFFF;
      color: #0000FF;
      padding: 3px;
   }
   
   .info {
      font-size: 62.5%;
   }
   
   textarea.dialogue {
      width: 350px;
      height: 150px;
   }
   
   div#print {
      display: none;
      position: absolute;
      top: 0px;
      left: 0px;
      background-color: #FFFFFF;
      width: 80%;
      min-height: 80%;
      border: solid 1px #000;
      margin: 5%;
      padding: 5%;
   }
   
   div#printtop {
      text-align: right;
      border-bottom: solid 1px #C0C0C0;
      font-size: 62.5%;
   }
   
   div.pagebreak {
      margin-top: 20px;
      border-top: dotted 1px #C0C0C0;
      padding-top: 20px;
   }
   
}

@media print{
   div#screen {
      display:none;
   }

   div#printtop {
      display: none;
   }
   
   div.pagebreak {
      page-break-before: always;
   }
   
}

