html {
  background: #c7b4d7 url('bg.png') repeat-x;
  color: #444444;
  font-family: "Trebuchet MS", "Verdana", sans-serif;
  overflow: scroll;
}

body {
  margin: 10px auto;
  width: 500px;
}

#main {
  width: 498px;
  border: 1px solid #a794b7;
  padding: 0px;
  
  background-color: #ffffff;
  color: #444444;
}

#content {
  width: 488px;
  padding: 5px;
  margin: 0px;
  border: 0px;
}

h1 {
  font-size: 24px;
  line-height: 24px;
}

h1, h2, h3 {
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 100;
}


h2, h3 {
  padding: 0px;
  margin: 0px;
}


#nav {
  width: 500px;
  height: 35px;
  
  padding: 0px;
  margin: 0px;

  font-family: "Trebuchet MS", inherit;
  font-size: 0.70em;
}

#nav ul {
  padding: 0px;
  margin: 0px;
}

#nav li {
  width: 124px;
  height: 19px;
  line-height: 19px;
  
  margin: 0px 1px 0px 0px;
  border: 0px solid #dd5000;
  padding: 0px;
  
  background: #000000 url('bg_nav_li.png') repeat-x;
  color: #ffffff;
  text-align: center;
  
  float: left;
  list-style: none;
}

#nav li.nopage {
  background: #666666 url('grad.png') repeat-x; 
}

#nav li.last {
  margin-right: 0px;    
}

#nav li.selected {
  background: #800080 url('bg_nav_li_selected.png') repeat-x;
}

#nav li a {
  display: block;
}

#nav li a:hover {
  background: #a000a0 url('bg_nav_li_hover.png') repeat-x;
}  

table, th, td {
  margin: 0px auto;
  padding: 5px;
  border: 0px solid #000000;
  border-collapse: collapse;
  font-size: 0.9em;
  color: #660066;
}

#content ul {
  list-style: none;
  padding: 0px;
  color: #660066;
}
#content li {
  padding: 5px;
  font-size: 0.9em;
}

p {
  line-height: 140%;
}

p img.right { margin: 3px 0px 3px 4px; float: right; }
p img.left  { margin: 3px 4px 3px 0px; float: left; }

input, select, textarea {
  border: 1px solid #008000;
  font-family: "Arial", sans-serif;
}

#footer {
  text-align: right;
  font-size: 0.70em;
}

/** Links **/
#nav a {
  color: #ffffff;
  text-decoration: none;
}

#nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

table.contacts, .contacts tr, .contacts td {
  margin: 0px;
  vertical-align: top;
}

p.caption {
  text-align: center;
  font-size: 0.9em;
  font-weight: 900;
}
