/*
website colors:
red: 9c083c
silver: d1d1d3
blue: 2e2a6a
*/

/* Zero down margin and paddin on all elements */
* {
  margin: 0;
  padding: 0;
}

body {
  font: 75% Arial, Helvetica, sans-serif;
  background-color: #1d0000;
}

h1 {
  font-size: 2.4em;
  font-weight: normal;
}

h2 {
  font-size: 2.0em;
  font-weight: normal;
}

p, li {
  font-size: 1.4em;
}

h1, h2, p {
  margin: 1em 0;
}

#wrapper {
  background-color: #fff;
}

#header {
  background-color: #ED1B24;
  color: #000;
  padding: 0px;
  margin: 0px;
  overflow: auto;
  position: relative;
  border: 2px solid #fff;
  border-bottom: none;
}

#header h1 {
  display: none;
  /*
  margin: 0px 10px 0px 0px;
  float: left;
  width: 272px;
  height: 57px;
  */
}

#header h1 a {
  text-decoration: none;
  width: 272px;
  height: 57px;
  display: block;
}

#footer {
  background-color:#ED1B24;
  padding: 1px 20px;
  color: #fff;
  border: 2px solid #fff;
  border-top: none;
}

/* The Core Technique
================================= */

body {
  text-align: center; 
  min-width: 760px;
}

#wrapper {
  width: 825px; 
  margin: 0 auto; 
  margin-top: 10px;
  margin-bottom: 50px;
  text-align: left; 
}

#content { 
  border: 2px solid #fff;
}

#mainContent { 
  margin: 0; 
  position: relative;
  padding: 10px;
  border: 1px solid #000;
  background-color: #fff;
  color: 000;
} 

#mainContent p {
  text-align: justify;
}

#mainContent a {
  color: #2e2a6a;
  font-weight: bold;
}

#mainContent a:hover {
  text-decoration: none;
  color: #9c083c;
}

#mainContent h3 {
  margin-top: 20px;
  font-size: 1.3em;
  color: #2e2a6a;
  font-weight: bold;
}

#footer { 
  clear: both; 
}

#footer p {
  text-align: center;
  color: #fff;
  font-size: 1em;
}

#footer a {
  color: #fff;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

/* add some padding to the contentse in the main nav and secondary content areas */

#copyright {
  margin: 5px auto;
  text-align: center;
  background-color:#ED1B24;
  color: #fff;
  padding: 2px;
}

/* top navigation */

 #mainNav
{
margin: 0px auto;
padding: 0;
margin-top: 11px;
width: 700px;
height: 40px;
font-weight: bold;
font-size: 90%;
/*float: left;*/
}

#mainNav ul
{
list-style: none;
margin: 0;
padding: 0;
border: none;
float: left;
}

#mainNav li
{
display: block;
margin: 0;
padding: 0;
margin-right: 10px;
float: left;
width: auto;
}

#mainNav a
{
color: #fff;
display: block;
width: auto;
text-decoration: none;
background: #ED1B24;
margin: 0;
padding: 5px 4px 5px 25px;
height: 26px;
background: #ED1B24 url(/tattdot.png) top left no-repeat;
}

#mainNav a:hover, #mainNav a:active { 
/*background: #fff; */
/*color: #000; */
  text-decoration: underline;
}

#mainNav a.active:link, #mainNav a.active:visited
{
position: relative;
z-index: 102;
background: #BBB;
color: #9c083c;
font-weight: bold;
}

/* Highlighting the current page */

body.home #mainNav #home a, body.about #mainNav #about a, body.media #mainNav #media a, 
 body.q_a #mainNav #q_a a, body.contact #mainNav #contact a 
{ 
  color: #fff;
  text-decoration: underline;
}
body.home #mainNav #home a:hover, body.about #mainNav #about a:hover, body.media #mainNav #media a:hover, 
 body.q_a #mainNav #q_a a:hover, body.contact #mainNav #contact a:hover 
{ 
  /*color: #000;
  background-color: #fff;*/
  text-decoration: none;
}

/* Highlighting external links ONLY in the main text areas, so as not to screw up the ticked-off links */

.box.default a[href^="http:"] { 
  background: url(external.gif) no-repeat right top;
  padding-right: 10px; 
} 

#mainContentBorder ul, #mainContentBorder-full ul {
  margin: 5px 5px 5px 20px;
}

ul.answers {
  list-style: none;
  margin: 10px;
  text-align: justify;
  border-bottom: 1px solid #000;
}

ul.answers li {
  border: 1px solid #000;
  border-bottom: none;
  padding: 2px 5px 2px 5px;
}

table.points, table.results {
  border: 1px solid #000;
  border-collapse: collapse;
  width: 800px;
  margin: 0px auto;
}

table.points td {
  border: 1px solid #000;
  width: 200px;
  padding: 5px;
  text-align: center;
  vertical-align: top;
}

tabl.data {
  border: 1px solid #000;
  border-collapse: collapse;
  width: 100%;
}

table.data td {
    border: 1px solid #000;
    padding: 5px;
    vertical-align: top;
    text-align: left;
}

table.data th {
  text-align: center;
  font-weight: bold;
  font-size: 1.4em;
}

table.data td p {
  overflow: auto;
}

table.results {
  border: 1px solid #000;
  border-collapse: collapse;
  width: 795px;
}
table.results td {
  border: 1px solid #000;
  padding: 5px;
  width: 295px;
  vertical-align: top;
  text-align: left;
}

table.results td p {
  text-align: left;
  margin: 0 0;
  padding: 5px;
}

table.results td p.score {
  text-align: center;
}

table.results th {
  text-align: center;
  font-weight: bold;
  font-size: 1.4em;
}

ul.contact {
  list-style-type: none;
  margin: 10px;
  border-bottom: 1px solid #000;
}

ul.contact li {
  border: 1px solid #000;
  border-bottom: none;
  overflow: auto;
}

ul.contact label {
  float: left;
  text-align: left;
  font-weight: bold;
  padding: 0px 5px;
  margin: 0px 0px 5px 0px;
}

ul.contact label input {
  display: block;
  font-weight: normal;
}

ul.contact label textarea {
  display: block;
  width: 250px;
  height: 120px;
  float: left;
}

dl dt {
 font-size: 1.7em; 
}

table.points tr td label {
  text-align: justify;
  display: block; 
}

ul.errors {
  padding: 3px 3px;
  margin: 0px 10px;
  font-weight: bold;
  background-color: #FEE7DA;
  border: 2px solid #F75A03;
  border-right: none;
  border-left: none;
  font-size: .9em;
  color: #f75a03;
}

ul.errors li {
  margin: 0px 10px;
  list-style-type: disc;
}

label.errorLabel {
  color: #FF4E00;
}

label.errorLabel input {
  border: 2px solid #ff4e00;
}