body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Sans-serif;
  font-size: 11px;
  color: #3a476f;
  background: #e3e5e6 url("../images/back.gif") 50% 0;
  text-align: center;
}

#wrapper {
  margin: 0 auto;
  text-align: left;
  width: 790px;
}

#header
.img_replace {
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: block;
  background-color: black;
  color: white;
}

#header {
  background-image: url("../images/header.jpg");
  padding-top: 153px;
  /* WIN IE5 hack */
  height: 153px;
  overflow: hidden;
  voice-family: "\"}\"";
  voice-family:inherit;
  height: 0;
}

#header h2,
#header h1 {
  display: none;
}

h1 {
  /* Image replacement */
  height: 0;
  overflow: hidden;
  padding: 26px 0 0 0;
  background-repeat: no-repeat;
  height: 0px !important; /* for most browsers */
  height /**/:26px;       /* for IE5.5's bad box model */
}

#content {
  background: #e3e5e6 url("../images/main.gif") repeat-y;
  padding: 24px 25px;
}

#sidebar {
  width: 216px;
}

#page {
  float: right;
  width: 458px;
  margin: 0 32px;
}

* html #page {
  margin: 0 16px;
}

.nav {
  color: #8d1300;
  font-weight: bold;
  border-bottom: #dfe3e7 solid 1px;
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
  display: block;
}

.nav li {
  padding: 0;
  margin: 0;
  padding-left: 36px;
  line-height: 2.2em;
  border-top: #dfe3e7 solid 1px;
}

.nav .active {
  background: #edf1f5;
  border-top: #c4d2de solid 1px;
  border-bottom: #c4d2de solid 1px;
  margin-bottom: -1px;
  position: relative;
  z-index: 1000;
}

* html .nav .active {
  /* Sort out background on IE */
  height: 1px;
}

.nav a:link,
.nav a:visited {
  color: #2a448b;
  text-decoration: none;
}

#sidebar h4 {
  margin: 0 36px 8px 36px;
  border-bottom: #c00 1px solid;
  font-size: 120%;
}

.nav a:hover {
  color: black;
  border-bottom: 1px dotted #C00;
}

#search {
  margin: 16px 0;
  padding-bottom: 8px;
  background: #f3f6f9;
  border-top: #f3f6f9 10px solid;
  border-bottom: #dfe3e7 solid 1px;
  text-align: center;
}

#search h3 {
  border-top: #dfe3e7 8px solid;
  padding: 12px;
  margin: 0;
  font-size: 1em;
  font-weight: bold;
  color: #2a448b;
}

#search input {
  border: 1px solid #d0d3d6;
  background: #fbfdff;
  color: black;
  font-size: 1em;
  margin: 6px;
  padding: 4px;
  width: 40%;
  letter-spacing: 0.07em;
}

#footer {
  height: 33px;
  background: url("../images/footer.gif");
  clear: both;
  padding: 8px 60px;
  color: #727fab;
  /* Box model height to 49px */
}

#footer a:link,
#footer a:visited,
#footer em {
  color: #55597a;
  font-style: normal;
  text-decoration: none;
}

#footer em {
  padding-right: 20px;
}

#footer #design_info {
  float: right;
}

#page h1 {
  color: #3a476f;
  font-weight: normal;
  font-family: "Olympia-Light", Verdana, Sans-serif;
  font-size: 1.8em;
}

#page h2 {
  color: #900;
  font-weight: bold;
  font-family: Verdana, Sans-serif;
  font-size: 1.1em;
}

#page h3 {
  color: #666;
  font-weight: normal;
  font-family: Verdana, Sans-serif;
  font-size: 1.3em;
}

#page p {
  line-height: 1.7em;
  letter-spacing: 0.03em;
  text-align: justify;
  margin-bottom: 32px;
}

ul,
li {
  margin: 0;
  padding: 0;
}

#page ul {
  list-style: none url("../images/bullet.gif");
  padding-left: 32px;
}

#page li {
  font-weight: bold;
  color: #3a476f;
  line-height: 1.9em;
}

ul.alt {
  list-style: none;
  padding-left: 32px;
  border-left: #C00 3px solid;
  margin-bottom: 12px;
}

.alt li {
  font-weight: bold;
  color: black;
  line-height: 1.9em;
  list-style: none;
}

a:link,
a:visited {
  color: #A00;
}

a:hover {
  color: #F00;
}

/* New float clearing system */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: table; /* Was inline-table */
}

/* Hides from IE-mac, note how IE 7 don't like * html, but html is OK \*/
html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}
/* End hide from IE-mac */

.side_img1 {
  float: right;
  margin-left: 32px;
  margin-bottom: 12px;
}

.listing-table th, 
.listing-table td,
.form-table th, 
.form-table td {
  vertical-align: top;
}

.form-table th {
  padding: 6px 24px 6px 0;
}

.form-table select, 
.form-table input, 
.form-table textarea {
  font-size: 11px;
  padding: 3px;
  font-family: Verdana, Sans-serif;
  border: 1px solid #888;
  margin: 3px;
  background: #F9F9F9;
}

input.submit {
  border: 1px solid #888;
  margin: 3px;
  padding: 4px;
  color: #C00;
  background: white;

}

#programmes_menu a:link,
#programmes_menu a:visited {
  color: black;
  text-decoration: none;
}

#programmes_menu a:hover {
  border-bottom: 1px solid #c00
}

.posted {
  border-top: 1px solid #DDD;
  background: #F9F9F9;
  margin: 0;
  padding: 2px 8px;
  color: #AAA;
}

.post p {
  margin-bottom: 8px ! important;
}

.listing-table {
  border-top: 1px white solid;
  border-left: 1px white solid;
}

.listing-table th {
  padding: 6px 24px 6px 6px;
  background: #F0F0F0;
  border-bottom: 1px white solid;
  border-right: 1px white solid;
}

.listing-table td {
  padding: 6px;
  background: #FAFAFA;
  border-bottom: 1px white solid;
  border-right: 1px white solid;
}

.listing-table .odd {
  background: #FCFCFC;
}

.listing-table td a:link,
.listing-table td a:visited {
  text-decoration: none;
}

.flash_notice,
.flash_prompt,
.flash_error,
.error_summary {
  color: #333;
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 3px 6px;
  margin: 0 0 12px 0;
}

.notice, .flash_notice { color: #0a0; }
.prompt, .flash_prompt { color: #a80; }
.error, .flash_error { color: #c00; }

.fieldWithErrors select, 
.fieldWithErrors textarea, 
.fieldWithErrors input {
  border: 1px solid #C00 ! important;
}

.errorExplanation {
  border: 1px dotted #A00;
  background: #FBFBFB;
  padding: 12px;
  margin: 12px 0;
}

.errorExplanation p {
  margin-bottom: 8px ! important;
}
