#announcement {
  border-top: 1px solid #ff8585;
  border-bottom: 1px solid #ff8585;
	background-color: #fbe0e0;
	padding-left: 5px;
	font-size: 90%;
}

body {
  background-color: #f8f8f8;
  font-family: Verdana, Arial, sans-serif;
  font-size: medium;
  font-size: 90%;
  _font-size: 75%;
  line-height: 1.3em;
}

#container {
  width: 720px;
  margin: 0 auto 0 auto;
  padding: 0;
  border: 1px solid #999;
  background-color: #ffffff;
}

/* navigation */

#nav {
  float: left;
  width: 720px;
  margin: 0 0 10px 0;
  _margin: 0;
  padding: 0;
  list-style: none;
  background-color: #ccc;
  border-bottom: 1px solid #999;
  border-top: 1px solid #999;
  line-height: 1em;
}

#nav li { 
  float: left;
  margin: 0;
  padding: 0;
}


#nav a {
  float: left;
  display: block;
  padding: 6px 30px 6px 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 80%;
  color: #666;
  background: #ccc url(images/nav_slant.gif) no-repeat top right;
}

#nav #logout {
  float: right;
  background: none;
}

#nav #logout a {
  background: none;
  padding: 6px 10px 6px 5px;
}

#nav #contactus a{
  background: none;
}

#nav #home a {
  padding-left: 15px;
}

#nav a:hover {
  color: #1e3d5a;
  border-bottom: none;
}

/* /navigation */

/* headings */

h1 {
  font-size: 120%;
  color: #1e3d5a;
  background-color: #ffffff;
  padding: 0 0 0 20px;
  margin: 0;
}

h1#h1_index {
  text-align: center;
  margin-top: 20px;
  padding: 0;
}

h1 a {
  color: #1e3d5a;
}

h2 {
  font-size: 110%;
  font-weight: bold;
  color: #1e3d5a;
  background-color: #ffffff;
  padding: 15px 20px 0 20px;
  margin: 0;
}

h3 {
  font-size: 105%;
  font-weight: bold;
  color: #1e3d5a;
  background-color: #ffffff;
  padding: 15px 20px 15px 20px;
  margin: 0;
}
h4 {
  font-size: 90%;
  font-weight: bold;
  font-style: italic;
  color: #1e3d5a;
  background-color: #ffffff;
  padding: 5px 20px 0 20px;
  margin: 0;
}

/* Links */

a {
  text-decoration: none;
  color: #666;
}

a:hover {
  color: #1e3d5a;
}

#main a {
  text-decoration: none;
  font-weight: bold;
}

#header a {
  font-weight: bold;
}

#day_nav {
  list-style: none;
  line-height: 1em;
  margin: 0;
  padding: 0;
  width: 100%;
}
#day_nav a:hover {
  border-bottom: 2px solid;
}

#yesterday {
  float: left;
  margin: 0 0 0 15px;
}

#choose_date {
  text-align: center;
  margin-top: 15px;
}

#tomorrow {
  float: right;
  margin: 0 30px 0 0;
}

#container p {
  margin: 10px 20px 10px 20px;
}

#main {
  padding: 0;
  margin: 0;
  height: 1%;
}

hr {
  margin-left: 20px;
  margin-right: 180px;
  _margin-right: 220px;
  width: 480px;
  background-color: #F0F8FF;
}

#header #img {
  margin: 0;
  padding: 2px 0 5px 4px;
  width: 716px;
  background-color: #ffffff;
}

#header #links {
  font-family: Helvetica, sans-serif;
  font-size: 120%;
  text-align: right;
  margin:0;  
  background: #ffffff url("images/scbs_logo.jpg") top left no-repeat;
  height: 110px;
  padding-right: 10px;
}

#header #js_clock {
  font-family: Helvetica, sans-serif;
  font-size: 180%;
  text-align: right;
  margin: 0;
  position: relative;
  bottom: 35px;
  padding-right: 10px;
}

#links a {
  font-size: 60%;
}

a:hover {
  border-bottom: 2px solid;
}

#timetable {
  width: 95%;
  margin: 15px auto 30px auto;
  border-collapse: collapse;
}

td {
  behavior: url('IEFixes.htc');
}

#timetable td {
  border: 1px solid #c5c5c5;
  height: 50px;
}

#timetable a:hover {
  border-bottom: none;
}

a.timetable:hover, times.hover {
  background-color: #4dcbff;
  color: #1e3d5a;
}

a.timetable.hover {
  background-color: #4dcbff;
  color: #1e3d5a;
}

a.timetable_you {
  background-color: #88ee77;
  color: #1e3d5a;
}

a.timetable_checked_in {
  background-color: #fec3c3;
  color: #1e3d5a;
}

a.timetable_other {
  background-color: #44ccff;
  color: #1e3d5a;
}

a.timetable_event {
  background-color: #ffff88;
  color: #1e3d5a;
}

#timetable tr {
  text-align: center;
  vertical-align: top;
}

#timetable th {
  border: 1px solid #c5c5c5;
  height: 50px;
  width: 20%;
}

#yourbookings tr, #eventbookings tr, #usercontrol tr {
  text-align: left;
}

#yourbookings, #eventbookings, #usercontrol {
  border-collapse: collapse;
  margin: 0 20px 40px 20px;
}

#yourbookings th {
  width: 15%;
}

#yourbookings th, #yourbookings td, #eventbookings td, #eventbookings th, #usercontrol th, #usercontrol td {
  height: 50px;
  border: 1px solid #c5c5c5;
  padding-left: 10px;
}

#yourbookings td a, #eventbookings td a, #usercontrol td a {
  line-height: 1.5em;
  font-size: 90%;
  font-weight: normal;
}

#yourbookings td a:hover, #eventbookings td a:hover, #usercontrol td a:hover {
  border-bottom: 2px solid;
}

#event_name {
  width: 25%;
}

#date {
  width: 30%;
}

.times {
  font-size: 89%;
}

#legend {
  width: 95%;
  margin: 0 auto 15px auto;
  border-collapse: collapse;
  border: 1px solid #c5c5c5
}

#legend td {
  text-align: center;
}

#legend img {
  vertical-align: middle;
  padding-left: 5px;
}

#add_user_fieldset {
  width: 40%;
  margin: 0 0 0 20px;
}

#add_club_fieldset {
  width: 50%;
  margin: 0 0 0 20px;
}


#booking_fieldset {
  width: 50%;
  margin: 0 0 0 20px;
}


#change_pw_fieldset, #your_details_fieldset, #forgot_password, #change_password {
  width: 50%;
  margin: 0 0 20px 20px;
}

#login_form input {
  size: 16em;
}

#login_fieldset {
  width: 40%;
  float: left;
  margin: 20px 5% 0 5%;
  _margin: 0 10% 0 2%;
}

#sponsors {
  _float: right;
  width: 35%;
  margin-right: 5%;
  margin: 20px 5% 60px 0;
  _margin: 0 10px 60px 0;
  text-align: center;
}

#login_menu {
  width: 45%;
  float: left;
  clear: both;
  padding: 20px 0 0 15px;
  _padding: 0;
  line-height: 2.5em;
}

.warning {
  color: #ff0000;
}

a.timetable {
  text-decoration: none;
}

a.timetable:link, a.timetable_you:link, a.timetable_other:link, a.timetable_event:link, a.timetable_checked_in:link {
 text-decoration: none;
 display: block;
 width: 100%;
 height: 100%;
}

a.timetable:hover, a.timetable_you:hover, a.timetable_other:hover, a.timetable_event:hover, a.timetable_checked_in:hover {
 text-decoration: none;
 display: block;
 width: 100%;
 height: 100%;
}

a.timetable:visited, a.timetable_you:visited, a.timetable_other:visited, a.timetable_event:visited, a.timetable_checked_in:visited {
 text-decoration: none;
 display: block;
 width: 100%;
 height: 100%;
}

a.timetable:active, a.timetable_you:active, a.timetable_other:active, a.timetable_event:active, a.timetable_checked_in:active {
 text-decoration: none;
 display: block;
 width: 100%;
 height: 100%;
}

#booking_fieldset label {
  padding-left: 10px;
}

#admin_panel {
  width: 80%;
  margin: 0 0 20px 20px;
  padding:0;
}

#admin_panel li {
  line-height: 2em;
}

#event_booking_courts {
  width: 95%;
  margin: 0 auto 0 auto;
}

#event_booking_courts th {
  text-align: left;
}

#event_booking_courts select {
  width: 60%;
}

#remember {
  margin: 0 10px 0 0;
}

#event_booking_details {
  width: 90%;
  margin: 0 auto 20px auto;
}

#club_fieldset {
  width: 90%;
  margin: 0 0 20px 20px;
}

ul {
  width: 90%;
}

ul strong {
  color: #1e3d5a;
}

#features {
  line-height: 2em;
}

#features li {
  width: 90%;
}

p#booking_rules {
  text-align: center;
  margin: 0;
  padding: 0;
}

#cancel_event {
  width: 90%;
  margin: 0 auto 20px auto;
}

hr.features {
  width: 90%;
  margin: 20px auto 20px auto;
}


.event_book_times {
  height: 15em;
}

#message {
  color: #FF0000;
}

#eventbookings #date {
  width: 14%;
}

.password strong {
  color: #FF0000;
}

#usercontrol #tasks {
  width: 20%; 
}

#version {
  font-size: 60%;
  text-align: center;
}

.mceEditor {
  margin: 0 0 20px 20px;
}

#booking_rules_form input, #notice_board_form input {
  margin: 0 0 20px 20px;
}

table.top_users {
  margin: 0 20px 20px 20px;
}

table.top_users caption {
  padding: 10px 0 0 0;
  color: #1e3d5a;
  text-align: left;
  font-weight: bold;
}

table.top_users th {
  text-align: left;
}

table.top_users td {
  width: 30%;
}

#event_details {
  width: 50%;
  margin: 0 0 20px 20px;
}

