/* Basics */
table
{
  border: 0px;
  border-style: none;
  empty-cells: show;
}

td
{
  font-family: Verdana, sans-serif;
  text-align: left;
  vertical-align: top;
  color: black;
}

th {
  font-weight: bold;
}

/* 
 Styled table 
 (actually a table inside a div for formatting and AJAX)
*/
.table_container {
  width: 100%;
}

/* Can't use <caption> tag because every browser renders it in a uniquely crappy way */
div.table_container div.caption {
  /*border-top-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: rgb(180, 180, 180);
  background-image: url(/images/backgrounds/table_head.jpg);*/
  font-weight: bold;
  color: #666;
  font-size: 1.5em;
  padding: 18px 0 0 0; /* I would do margin, but IE is a pain, so padding it is */
  margin: 0 0 18px 0;
  clear: left;
  /*font-size: 0.8em;*/
  /*line-height: 21px;*/
  /*height: 21px;
  padding-left: 8px;*/ }

div.table_container div.caption a {
	color: #666;
	border: none; }

.table_container .caption div {
  /*float: left;*/
}

.table_container .caption div.right {
  float: right;
}

.table_container .caption div.right {
  padding-top: 2px;
  padding-right: 4px;
  height: 17px;
}

/* Unfortunate side-effect of div and tabel sharing classes */
.table_container table.top_margin {
  margin-top: 0px;
}

table.base, div.base {
  /*border-top-style: none;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-width: 1px;
  border-color: rgb(180, 180, 180);*/
  width: 100%;
  margin-bottom: 18px;
  border-bottom: 1px solid #999;
}

table.base {
  clear: both;
  margin: 0 -1em 0 0em;
}

#home_page_results_table, #upcoming_events_table {
	margin-left: 0; }

#upcoming_events_table td.date {
	padding-left: 0; }

table.base tr {
  /*background-color: white;*/
}

table.base td {
  padding: 4px 1em 4px 0;
  text-align: left;
  border-top: 1px solid #999;
  /*font-size: 1em;
  line-height: 1.33em;*/
}

table.base th {
  /*background-color: white;
  font-family: Verdana, Helvetica, sans-serif;*/
  font-weight: bold;
  color: rgb(109, 109, 109);
  padding: 3px 0 5px 0;
  /*padding-left: 8px;*/
  text-align: left;
  background: #CCEAF9;
}

table.base th a {
  color: rgb(109, 109, 109);
  border-bottom: none;
}


table.series th {
  /*background-color: white;
  font-family: Verdana, Helvetica, sans-serif;*/
  background: #CCEAF9;
}


table.base tr.even, table.base tr.odd {
  background: /* #E5F7EA */ }

table.base td.not_found, table.base td.empty {
  text-align: left;
  padding-top: 18px;
  padding-bottom: 18px;
  font-style: italic;
  font-weight: bold;
  color: rgb(153, 153, 153);
}

table.base th.invalid {
  color: red;
}

table.base td.right, table.base th.right {
  /*text-align: right;*/
  padding: 4px 0 5px 1em;
}

table.base td.right span {
  border: 1px solid #999;
}

tr.buttons td.right {
  text-align: right;
  padding-top: 8px;
}

.inline_error
{
  padding-top: 4px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 4px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  font-size: 8pt;
  font-family: Verdana, Helvetica, sans-serif;
  color: #C6413E;
  white-space: normal;
}

able.base tr.error td {
  color: rgb(250, 50, 50);
  font-weight: bold;
}

table.base tr.error td img.icon {
  padding-top: 1px;
}

table.base td.last {
  padding-left: 8px;
  padding-right: 12px;
}

table.base div.record {
  margin: 0px;
  padding: 0px;
  padding-left: 24px;
  min-height: 20px;
  background-position: 0px 2px;
  background-repeat: no-repeat;
  white-space: nowrap;
}

table.base div.in_place_editable {
  position: relative;
  left: -4px;
  margin: 0px;
  padding-top: 2px;
  padding-bottom: 3px;
  padding-left: 3px;
  padding-right: 2px;
  border: 1px solid transparent;
  min-height: 16px;
}

/* Ack. Special case non-editable content that shares a row with in-place editable content */
table.base td.not_editable {
  padding-top: 9px;
}

table.base div.hovering {
  width: 100%;
  background-color: rgb(245, 245, 245);
  border: 1px solid rgb(204, 204, 204);
}

input[type="text"].editor_field {
  position: relative;
  left: -4px;
  width: 100%;
  font-weight: normal;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
}

table.base div.inplaceeditor-saving {
  background-image: url(/images/icons/spinner.gif);
  background-position: left;
  background-repeat: no-repeat;
  border: none;
}

table.base th.name {
  padding-left: 32px;
}

table.base td div.record form {
  margin: 0px;
  padding: 0px;
}

table.base td.check_box, table.base th.check_box {
  width: 96px;
  text-align: center;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

table.base td.check_box {
  padding-top: 7px;
  padding-bottom: 0px;
}

table.base td.check_box input {
  margin-right: 0px;
}


table.base tr.hovering {
  background-color: #E9F79B;
}

table.show_grid {
  background-position: 8px 0px;
  background-image: url(/images/backgrounds/table_grid.png);
}

.table_container + div.buttons {
  margin-top: 4px;
}

div.buttons div {
  float: left;
}

div.buttons div.right {
  float: right;
}

div.table_container table.base th.date, table.base td.date {
  /*text-align: right;*/
  white-space: nowrap;
}

table.base td.date, table.base th.date {
	padding-left: 1em;
	width: 14em;
}


table.base td table {
  width: 100%;
}

table.base td table td {
  padding-left: 0px;
}

table.base tbody th {
	border-bottom: none;
	border-top: 1px solid #999; }

table.base tr:hover {
	background: #ddd;
	cursor: pointer; }

table.event_results tr:hover {
	background: none;
	cursor: auto; }


table.base tr.MultiDayEvent td.link {
	font-style: italic; }

table.base tr.MultiDayEvent td {
	border-top: 1px solid #999; }

table.base tr.MultiDayEvent td, table.base tr.SingleDayEvent td {
	font-weight: normal; }

table.base tr.MultiDayEventChild td.link {
	padding-left: 1.5em; }



table.base tr.MultiDayEventChild {
	/*font-size: 0.9em;
	color: #666;*/
	background: #fff; }


table.base tr.MultiDayEventChild td {
	/*font-size: 0.9em;
	color: #666;*/
	border: none; }


table.base tr.MultiDayEventChild:hover {
	/*font-size: 0.9em;
	color: #666;*/
	background: #ddd; }

/* A little side-by-side listing test on the Calendar page
div#sched { width: 63%; float: left; clear: both; padding-right: 2em; }

div#series { width: 33%; float: left; }
*/



