#code {
    text-align: center;
    color: #cc0000;
    font-weight: bold;
}

/*-------------------------------------------------
                - FORMS -					
-------------------------------------------------*/

input, textarea, select {
    border: 1px solid #999;
    padding: 2px 5px;
    margin: 6px 0 0 0;
    vertical-align: top;
}
select { padding: 2px; }



fieldset {
   padding: 0 0 15px 0;
   margin: 15px 0;
   border: 1px solid #ccc;
   background: url('../images/watermark.jpg') no-repeat right bottom;
   clear: both;
   }
   fieldset fieldset {
      width: 80%;
      margin: 0 0 20px 75px;
      padding: 0 10px 7px;
      background: #eee;
      clear: both;
      float: left;
   }
      fieldset fieldset fieldset {
         float: none;
         margin: 10px auto;
      }
      fieldset fieldset fieldset .view_table td.left_td {
         width: 40%;
      }
      
   fieldset em {
      font-style : normal;
      position: relative;
      top: 6px;
   }
   
   fieldset blockquote {
      padding: 8px 20px 8px 43px;
      margin: 5px -10px 10px;
      background: #FFF6BF url('../images/icons/exclamation.png') no-repeat 15px 8px;
      border-top: 2px solid #FFD324;
      border-bottom: 2px solid #FFD324;
   }
   
   fieldset.error {
      background: #FFF6BF;
      border: 2px solid #FFD324;
      color: #c40000;
      padding: 6px 20px;
      width: 60%;
      margin: 0 auto;
   }
      fieldset.error p {
         text-align: center;
         padding: 8px 0 5px 0; margin: 0;
         font-weight: bold;
      }
      fieldset.error h2 {
         padding: 5px 0 5px 0;
         text-align: center;
         font-size: 125%;
         text-transform: uppercase;
         margin: 0;
         font-weight: bold;
         border-bottom: 1px dashed #ccc;
         color: #666;
      }
   
   
   label {
      padding: 3px 15px 0 0;
      margin: 6px 0 0 0;
      float:left;
      clear: left;
      width: 25%;
      text-align: right;
      vertical-align: middle;
   }
      fieldset span {
         font-size: 90%;
         position: relative;
         top: 8px; left: 4px;
      }      
      fieldset label span {
         color: #993333;
         font-size: 100%;
         position: relative;
         top: 0; left: 0;         
      }
      
      
   legend {
      font-size: 150%;
      font-weight: normal;
      color: #4e6270;
      margin: 7px 3px 7px 20px;
      padding: 0 5px;
   }
      fieldset fieldset legend {
         font-size: 130%;
         font-weight: bold;
      }
      fieldset fieldset.south legend { color: #32759d; }
      fieldset fieldset.north legend { color: #c94d27; }
      fieldset fieldset.central legend { color: #bf9c02; }

input[type='radio'], input[type='checkbox'] {
    vertical-align: middle;
    border: 0;
    margin: 12px 5px 2px 0;
}


   /* BUTTONS */

   .buttons a, .buttons button{
       display:block;
       float:left;
       margin:0 7px 0 0;
       background-color:#f5f5f5;
       border:1px solid #dedede;
       border-top:1px solid #eee;
       border-left:1px solid #eee;
   
       font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
       font-size:100%;
       line-height:130%;
       text-decoration:none;
       font-weight:bold;
       color:#565656;
       cursor:pointer;
       padding:5px 10px 6px 7px; /* Links */
   }
   .buttons button{
       width:auto;
       overflow:visible;
       padding:4px 10px 3px 7px; /* IE6 */
   }
   .buttons button[type]{
       padding:5px 10px 5px 7px; /* Firefox */
       line-height:17px; /* Safari */
   }
   *:first-child+html button[type]{
       padding:4px 10px 3px 7px; /* IE7 */
   }
   .buttons button img, .buttons a img{
       margin:0 3px -3px 0 !important;
       padding:0;
       border:none;
       width:16px;
       height:16px;
   }
   
      /* STANDARD */
      
      button:hover, .buttons a:hover{
          background-color:#dff4ff;
          border:1px solid #c2e1ef;
          color:#336699;
      }
      .buttons a:active{
          background-color:#6299c5;
          border:1px solid #6299c5;
          color:#fff;
      }
      
      /* POSITIVE */
      
      button.positive, .buttons a.positive{
          color:#529214;
      }
      .buttons a.positive:hover, button.positive:hover{
          background-color:#E6EFC2;
          border:1px solid #C6D880;
          color:#529214;
      }
      .buttons a.positive:active{
          background-color:#529214;
          border:1px solid #529214;
          color:#fff;
      }
      
      /* NEGATIVE */
      
      .buttons a.negative, button.negative{
          color:#d12f19;
      }
      .buttons a.negative:hover, button.negative:hover{
          background:#fbe3e4;
          border:1px solid #fbc2c4;
          color:#d12f19;
      }
      .buttons a.negative:active{
          background-color:#d12f19;
          border:1px solid #d12f19;
          color:#fff;
      }

p.error {
   margin: 10px; padding: 5px 10px 5px 55px;
   background: #FFF6BF url('../images/icons/exclamation.png') no-repeat 20px center; 
   border: 2px solid #ffd324;
   color: #cc3333;
}
      

table.input {
    border-collapse: collapse;
    width: 99%;
}
    
    table.input td {
        padding: 2px 0px;
        text-align: left;
    }
    table.input td.lefttd {
        text-align: right;
        vertical-align: top;
        width: 35%;
        padding: 8px 15px 0 0;
    }