ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,td
{ margin: 0; padding: 0; }
a img,:link img,:visited img { border: none; }

body
{
  background-color: #FFF;
  padding: 20px;
  font-size: 80%;
  font-family: Arial, Verdana, sans-serif;
}

#footer {
  clear: both;

  background-color: #000;
  color: #FFF;
  font-weight: bold;
  padding: 3px;
  width: 640px;
  font-size: 90%;
  margin: 0 auto 0 auto;
}

#footer a {
  color: #FFF;
}

#container {
  padding: 0 12px 15px 12px;
  line-height: 1.7em;
  /* tmp or it could stay... */
  min-height: 500px;
  width: 640px;
  margin: 0 auto 0 auto;
}

/* Heading styles */

h1 {
  border-bottom: 1px solid #DDD;
  margin: 15px 0 15px 0;
  line-height: 1.2em;
  font-size: 2em;
}

h1 span {
  border-bottom: 4px solid orange;
}

h2 {
  margin: 15px 0 15px 0;
  border-bottom: 1px solid #DDD;
  line-height: 1.2em;
  font-size: 1.5em;
}

h3 {
  margin-top: 15px;
  font-size: 1.17em;
  /*font-size: 0.9em;*/
}

h4 {
  margin-top: 15px;
  font-size: 1em;
}

/* Green header area */

#header {
  position: relative;
  height: 78px;
  background-image: url('/images/entries-logo.gif');
  background-repeat: no-repeat;
  background-position: top left;
  border-bottom: 3px solid #01B7B7;
}

#header_tabs {
  /* floating creates gap in IE
   * but only need it if we want bg image/colour */
  /*float: right;*/
  width: 100%;

  position: absolute;
  right: 0;
  bottom: 0;
}

#header_tabs ul {
  list-style: none;
}

#header_tabs li {
  float: right;
  background: url('/images/tr-g.gif') no-repeat right top;
  margin-left: 3px;

  background-color: #01B7B7;
}

#header_tabs li a {
  float: right;
  display: block;
  background: url('/images/tl-g.gif') no-repeat left top;
  padding: 5px 12px;
  white-space: nowrap;
  width: .1em;

  color: #FFF;
  font-weight: bold;
  text-decoration: none;
}

/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
#header_tabs li a {float:none;}
/* End IE5-Mac hack */

#header_tabs > ul a {width:auto;}

/* Yellow header area */

#tabs {
  clear: both;
  margin: 10px 2px;
}

#tabs_tabs {
  /* floating creates gap in IE
   * but only need it if we want bg image/colour */
  /*float: left;*/
  width: 100%;
}

#tabs_tabs ul {
  list-style: none;
}

#tabs_tabs li {
  float: left;
  background: url('/images/tr-y.gif') no-repeat right top;
  margin-right: 3px;

  background-color: #FFCC61;
}

#tabs_tabs li a {
  float: left;
  display: block;
  background: url('/images/tl-y.gif') no-repeat left top;
  padding: 5px 12px;
  white-space: nowrap;
  width: .1em;

  color: #000;
  font-weight: bold;
  text-decoration: none;
}

/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
#tabs_tabs li a {float:none;}
/* End IE5-Mac hack */

#tabs_tabs > ul a {width:auto;}

#underTabs {
  clear: both;
  margin-top: 0px;
  background-color: #FFE9BA;
  border: 2px solid #FFCC61;
}

#underTabs h1 {
  font-size: 12pt;
  font-weight: bold;
  border: 0;
  margin: 0;
  padding: 4px;
}

/* Default for forms */

fieldset {
  background-color: #EBEBEB;
  border: 0;
  padding: 15px;
  margin-top: 5px;
}

input {
  padding: 3px;
}
select {
  padding: 1px;
}

p.validation_error {
  color: red;
  font-weight: bold;
}

/* Athlete profile box */

.athlete_profile {
  margin-top: 15px;
  margin-bottom: 15px;
  border-left: 4px solid #FF0000;
  border-right: 1px solid #FF0000;
}

.athlete_profile th {
  text-align: left;
  background-color: #FFEAEA;
  border-top: 1px solid #FF0000;
}

.athlete_profile th, .athlete_profile td {
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 1px solid #FF0000;
}

#athlete_profile_male {
  border-left: 4px solid #66CCFF;
  border-right: 1px solid #66CCFF;
}
#athlete_profile_male th, #athlete_profile_male td {
  border-bottom: 1px solid #66CCFF;
}
#athlete_profile_male th {
  background-color: #D2F0FF;
  border-top: 1px solid #66CCFF;
}

#athlete_profile_female {
  border-left: 4px solid #FF66D1;
  border-right: 1px solid #FF66D1;
}
#athlete_profile_female th, #athlete_profile_female td {
  border-bottom: 1px solid #FF66D1;
}
#athlete_profile_female th {
  background-color: #FFD9F3;
  border-top: 1px solid #FF66D1;
}

th {
  text-align: left;
}

.team_relay_entries,
/*.team_athlete,*/
.team_athlete_entries
/*.athlete_events */ {
  list-style-type: none;
}

.team_athlete_entries {
  margin-left: 30px;
}

.team_relay_entries li,
.team_athlete {
  margin-top: 15px;
}

.event_results table,
.event_relay_results,
.event_competitors table,
.athlete_entry table,
.athlete_multi_entry table,
.athlete_relay_entries table,
.team_relay_entries table,
.team_athlete_entries table,
.search_results table {
  border-collapse: collapse;
  border-spacing: 0;
}

.event_results td, .event_results th,
.event_relay_results td, .event_relay_results th,
.event_competitors td, .event_competitiors th,
.athlete_entry td, .athlete_entry th,
.athlete_multi_entry td, .athlete_multi_entry th,
.athlete_relay_entries td, .athlete_relay_entries th,
.team_relay_entries td, .team_relay_entries th,
.team_athlete_entries td, .team_athlete_entries th,
.search_results td, .search_results th {
  vertical-align: top;
  padding: 1px 3px 1px 3px;
}

.relay_members li {
  display: inline;
  font-size: 90%;
}

.event_results table,
.event_competitors table,
.event_relay_results table {
  width: 100%;
}

.athlete_entry table,
.team_athlete_entries table {
  width: 50%;
}

.team_relay_entries table,
.search_results table {
  width: 60%;
}

.athlete_relay_entries table {
  width: 50%;
}

.athlete_multi_entry table {
  width: 60%;
}

.odd {
  border-top: 2px solid #FFCC61;
}

.even {
  border-top: 2px solid #01B7B7;
}

.event_results td,
.event_relay_results td,
.event_competitors td,
.athlete_entry td,
.athlete_multi_entry td,
.athlete_relay_entries td,
.team_relay_entries td,
.team_athlete_entries td,
.search_results td {
  border-top: 1px solid #DDD;
}

#search_event_types {
  width: 100%;
}
#search_event_types th {
  width: 20%;
}

#search_event_types label {
  display: block;
}

#search_event_types .track label {
  background-color: #EBEBEB;
  margin: 0px;
  padding: 2px;
  font-weight: bold;
}

.search_results_count {
  font-weight: bold;
}

.search_results_term {
  font-weight: bold;
}

.search_results ul {
  margin-left: 20px;
}

p.no_search_results {
  color: red;
  font-weight: bold;
  margin-bottom: 30px;
}

#letters {
  font-weight: bold;
  text-align: center;
}

.competition {
  position: relative;
  margin-right: 0px;
  padding-bottom: 10px;
  padding-top: 7px;
  border-bottom: 1px solid #DDD;
}

.competition h3 {
  margin: 0;
  padding: 0;
  font-weight: bold;
  line-height: 1.2;
  display: block;

  text-decoration: underline;

  font-size: 110%;
}

.competition_byline {
  color: black;
  font-size: 100%;
  line-height: 1.5;
  text-decoration: none;
}

.competition img {
  float: left;
  margin-right: 10px;
  display: none;
}

#competitions {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

/*
.lime {
  padding: 4px;
  padding-left: 10px;
  border-left: 10px solid #9AE79A; /*#32CD32*
}

.orange {
  padding: 4px;
  padding-left: 10px;
  border-left: 10px solid #FFCD82; /*#FF9900*
}

.blue {
  padding: 4px;
  padding-left: 10px;
  border-left: 10px solid #82AAFF; /*#6699FF*
}*/

#event_search_options label {
  display: block;
}

#event_search_options td {
  padding: 8px;
  width: 200px;
}

#event_search_options select {
  width: 180px;
}

label.heading {
  font-weight: bold;
}

#frontpage_entries_results {
  float: left;
  width: 300px;
}

#frontpage_online_entries {
  float: right;
  width: 300px;
}

#competition_view ul {
  margin-left: 60px;
  font-size: 240%;
}

#competition_view li {
}

p.service_description {
  margin-top: 15px;
  margin-bottom: 10px;
  color: #4E4E4E;
  font-style: italic;
}