.validateFailMsg {
   color: red;
}

.validateFailFlag {
   color: red;
   font-weight: bold;
}

div.validateSummary,
div.smpform div.validateSummary {
   color: red;
   border: 2px solid red;
   padding: 4px;
   display: block;
   font-weight: bold;
   margin-bottom: 10px;
}

/* form layout */

   div.smpform div {
      margin-bottom: 10px;
   }

   div.gridwrapper {
      padding: 4px;
   }

   div.formbuttons {
      text-align: right;
   }
   
   div.formbuttons input {

   }

   div.smpform fieldset fieldset {
      background: #F9F9F9;
   }
   
   div.smpform fieldset legend {
      margin-left: -10px;
      margin-bottom: 10px;
   }

   span.required {
      color: red;
      font-weight: bold;
      font-size: 130%;
   }

   span.maxlength {
      font-weight: normal;
      font-size: 90%;
   }

   div.smpform span.value {
      font-weight: normal;
   }

   div.smpform label {
      display: block;
      text-align: left;
      margin-bottom: 6px;
   }

   div.formcheckbox {
      padding: 2px;
   }

   div.formcheckbox input {
      margin-right: 4px;
      width: 16px;
   }

   div.formcheckbox label {
      display: inline;
   }

   div.smpform input.tiny {
      width: 30px;
   }

   div.smpform input.small {
      width: 60px;
   }

   div.smpform input.medium {
      width: 120px;
   }

   div.smpform input.large {
      width: 200px;
   }

   div.smpform select.tiny {
      width: 30px;
   }

   div.smpform select.small {
      width: 60px;
   }

   div.smpform select.medium {
      width: 120px;
   }

   div.smpform select.large {
      width: 200px;
   }

   table.formradio input {
      float: left;
      width: 16px;
      border: 0;
   }

   table.formradio {
      padding: 0;
      margin: 0;
   }

   table.formradio label {
      padding-top: 4px;
   }

   div.gridsorter {
      text-align: right;
      padding: 4px;
      margin: 4px;
   }
   
   p.nodata {
      color: red;
      font-weight: bold;
   }

/* end form layout */

/* site map */

ul.sitemap span {
   display: block;
}

/* end site map */

div.preview {
   width: 100%;
   background: #FFD1AF;
   color: black;
   border: solid black;
   border-width: 2px 0px 2px 0px;
   margin-top: 10px;
   margin-bottom: 10px;
   text-align: center;
}

div.preview h1 {
   font-size: 18px;
}

div.preview p {
   font-size: 13px;
   font-weight: bold;
}

div.preview a,
div.preview a:link,
div.preview a:active,
div.preview a:visited {
   color: blue;
   text-decoration:underline;
}

div.preview a:hover {
   color: blue;
   text-decoration:none;
}

.searchResultItem,
.searchResultHeader {
   padding: 4px 4px 4px 4px;
}

table.datagrid {
   background: white;
   font-size: 90%;
/*   width: 600px; */
}

td.datagridHeader {
   padding: 2px 4px 2px 4px;
   font-weight: bold;
   color: black;
   background: #FFD1AF;
}

td.datagridItem {
   padding: 4px 4px 4px 4px;
}

td.reportItem {
   padding: 4px 4px 4px 4px;
   text-align: right;
}

td.datagridHeader a,
td.datagridHeader a:link,
td.datagridHeader a:active,
td.datagridHeader a:visited {
   color: black;
   text-decoration: underline;
}

td.datagridHeader a:hover {
   color: black;
   text-decoration: none;
}

tr.datagridPager {
   font-size: 130%;
   background: #FFD1AF;
}

td.datagridPager a {
   text-decoration: underline;
}

td.datagridPager a:hover {
   text-decoration: none;
}

/* poll */
span.pollstat {
   font-weight: normal;
}

div#main div.poll {
   /* hide from ie/mac \*/
   height: 1%;
   /* end hide */
   margin: 0.5em 0;
   padding: 0.5em 5px 0 5px;
   
   background: url("/images.new/poll-icon.gif") 5px 5px no-repeat #EAF4FB;
   border-top: 1px solid #8C9297;
   border-bottom: 1px solid #8C9297;
   /*                    width: 500px; */
}

div#main div.poll p {
   margin-left: 30px;
}
div#main div.poll ol {
   margin-left: 30px;
   list-style: none;
/*   list-style-type: upper-alpha; */
}
div#main div.poll ol li {
   margin: 0 0 0.5em 0;
   padding: 0;

   font-size: 1.1em;
   vertical-align: middle;

   background: url("/System/images/poll-bg.gif") left bottom repeat-x  #4B81C7;
}
div#main div.poll ol li span {
   display: block;
   padding: 1px 5px 3px 5px;
   text-align: right;
   color: white;
   background: url("/System/images/poll-end.gif") right bottom no-repeat transparent;
}
div#main div.poll ol li span.letter {
   width: 20px;
   float: left;
   background: none;
}

div#main ul.pollread {
   list-style: none;
}

body#page-poll div#main h3 {
   margin-top: 1em;
   margin-bottom: 1em;
   padding-bottom: 1em;
   border-bottom: 1px solid #999999;
}

table.pollchoices input {
   float: left;
}

table.pollchoices label {
   padding-top: 4px;
}
/* end poll */

/* Stage tracker */

div.stages {
   width: 100%;
   text-align: center;
   margin-bottom: 10px;
}

div.stages ol {
   margin: 0 0 0 0;
}

div.stages ol li {
   display: block;
   float: left;
   padding: 0 20px 0 0;
   margin: 0 4px 0 0;
   background: url("/System/images/icons/misc/tracker-arrow.bmp") right no-repeat;
}

div.stages ol li.final {
   padding: 0 0 0 0;
   background: none;
}

div.stages ol li span {
   display: block;
   padding: 4px;
   border: 2px solid black;
}

div.stages ol li span.prev {
   background: #00626F;
   color: white;
}

div.stages ol li span.next {

}

div.stages ol li span.this {
   background: #A01C34;
   color: white;
}

/* End of stage tracker */

/* Address lines */

address {
   font-style: normal;
   line-height: 1.2em;
}

/* End address lines */

/* w3c logos */

p.w3cbadges {
   text-align: center;
   padding: 10px;
}

/* End w3c logos */

span.gridinfo {
   display: block;
}