/* REDEFINE HTML TAGS */
body {
  margin: 0;
  padding: 0;
  font-size: small;
  font-family: verdana, arial, helvetica, sans-serif;
  background: #fff url(../images/background.gif) top left;
}
/*********** inline elements ************/
h1, h2, h3, h4, h5, h6
{
  color: #854485;
/*  font-family: "Trebuchet MS", verdana, helvetica, arial, sans-serif; */
  font-family: helvetica, arial, sans-serif; 
/*  font-family: Georgia, serif; */
  margin-bottom: 0;
}
h1 {
  margin-top: 2px;
}
h1 {font-size:216%;}
h2 {font-size:180%;}
h3 {font-size:140%;}
h4 {font-size:120%;}
h5 {font-size:100%;}
h6 {font-size:90%;}

a, a:link, a:visited {
  color: #8E3399;
  text-decoration: none;
}
a:focus, a:hover {
  text-decoration: underline;
}
a sup {
  text-decoration: none; 
}
img {
  border: 0;
  display: block;
}
sup {
  font-size: 85%;
/*  position: relative;
  top: -.2em; */
}
abbr, acronym, dfn {
/*  cursor: help; */
  border-bottom: 1px dotted;
  font-style: normal;
}
address {
/*  font-style: normal; */
  padding: 0 50px; 
}
/***************** general span *****************/
span.required {
  color: #f00;
}
span.required:after {
  content: " and are marked with an *";
}
/***************** blockquote ****************/
blockquote
{
  margin: 0 0 1.5em;
  padding: 0 30px;
}
blockquote p
{
  margin: 0;
}
/****************** paragraph ******************/
p {
  line-height: 1.5em;
  margin: 1em 0 0;
  text-align: justify;
}
/****************** data defintion ******************/
dl {
  line-height: 1.5em;
  margin: 1em 0 0;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 0 0 2em;
  padding: 0 0 .5em;
}

/****************** lists ******************/
ul, ol {
  margin-top: 0;
  margin-bottom: 0;
  text-align: justify;
}
ol.footnotes {
  border-top: 1px solid #d9e4f3;
  font-size: .8em;
  margin: 1.5em 0 0 ;
  padding: 10px 0 0;
}
ol.footnotes li {
  margin: 0 0 0 20px !important;
  padding: 0 0 .5em;
}
li
{
  padding-bottom: .2em;
}

/****************** TABLES ****************/
form table, form tr, form td, {
  border: 0px solid #7fadd9;
}
table {
  border: 1px solid #7fadd9;
  border-collapse: collapse;
  margin: 1em 0;
}
tr {
  vertical-align: top;
}
th, td {
  border: 1px solid #7fadd9;
  padding: 2px 5px;
}
thead th {
  background: #d9e4f3;
}
tbody th {
  background: #eff6ff;
}
table .center {
  text-align: center;
}
/*
tbody tr:hover th {
  background: #e8eef7;
}
tbody tr:hover td {
  background: #eff6ff;
}
*/

/************************ FORMS *****************/
form
{
  margin: 0;
  padding: 0;
}
fieldset
{
  margin: 10px 0;
  padding: 5px;
}
fieldset.wrapper, fieldset.radio
{
  border: 0;
  padding: 0;
}
legend
{
  color: #335d99;
  font: bold 1.3em "Trebuchet MS", verdana, helvetica, arial, sans-serif;
}
fieldset.wrapper legend
{
  font-size: 1.6em;
}
fieldset.wrapper legend,
fieldset.radio legend
{
  margin-left: -10px;
}
fieldset.wrapper fieldset legend,
fieldset.radio fieldset legend
{
  margin-left: 0;
  font-size: 1.2em;
}
fieldset.radio
{
  padding: 0;
}
fieldset.radio legend
{
  font: bold 1em verdana, arial, helvetica, sans-serif !important;
  color: #666;
  margin: 0;
  padding: 1px 0;
}
label
{
  color: #666;
  display: block;
  font-weight: bold;
  margin-top: .5em;
  padding: 1px 0;
}
label.required {
  color: #f00;
}
label.required:before {
  color: #f00;
  content: "*";
}
fieldset.radio label
{
  font-weight: normal;
  margin: 0;
  padding: 0;
  border: 1px solid red;

}
input, select, textarea
{
  background: #FAEFFA;
  border: 1px solid #7fadd9;
/*  display: block; 
  width: 350px; */
}
textarea {
  width: 350px
}
input:focus, select:focus, textarea:focus
{
  background: #fff;
}
label input
{
  background: transparent;
  border: 0;
  display: inline;
  position: relative;
  top: 2px;
  width: auto;
}
input.button
{
  background: #fff url(../images/button.gif) bottom left repeat-x;
  display: inline;
/*  width: auto;  */
  width: 40px;
  margin: 10px;
}
input.hidden {
  border: 0 !important;
  display: none !important;
}

/***************** HACKS **************/
body {
  font-size: x-small; /* for IE5/Win */
  voice-family: "\"}\"";
  voice-family: inherit;
  font-size: small; 
}
html>body { /* for Opera */ 
  font-size: small;
}
