/* CALENDAR STYLESHEET - Copyright (C) 2007-2009 Charles A Upsdell, All Rights Reserved; www.upsdell.com */


/* Screen font sizes */

div.calendar table.calendar tbody tr td, div.calendar table.calendar tbody tr td p
			{ font-size:0.9em; }
div.calendar button, div.calendar table.grid td, small
			{ font-size:0.8em; }


/* Printer font sizes */

@media print
{
div.calendar table.calendar td
			{ font-size:11pt; }
div.calendar table.grid td
			{ font-size:9pt; }
}


/* General styles */

ul.cal_legend li { list-style-image:none; list-style-type:none; }
ul.cal_legend li span { padding:0 1.5em; }

div.calendar	{ color:#000; background-color:#fff; line-height:1; margin:0; padding:0.5ex; }
div.calendar h3	{ color:#666; margin-top:0; margin-bottom:0.67em; }
div.calendar h3 img { float:right; border:none; }

div.calendar table.grid { color:inherit; background-color:#fff; border-left:1px solid #999; border-top:1px solid #999; border-right:1px solid #003; border-bottom:1px solid #003; }
div.calendar table.grid tr th { color:#666; background-color:#ddd; font-weight:bold; text-align:left; }
div.calendar table.grid tr th { border-left:1px solid #fff; border-top:1px solid #fff; border-right:1px solid #99c; border-bottom:1px solid #99c; }
div.calendar table.grid tbody tr td { color:#000; vertical-align:top; border-left:1px solid #fff; border-top:1px solid #fff; border-right:1px solid #69c; border-bottom:1px solid #69c; }
div.calendar table.grid tbody tr.e td { background-color:#f7f7f7; }
div.calendar table.grid tbody tr.e td.daynumb { background-color:#fff; }

div.calendar table.grid { width:100%; clear:both; }
div.calendar div.grid table { color:inherit; background-color:#f1f1f9; border:1px outset #eef; margin-bottom:0.67em; }
div.calendar table.grid td.daynumb { text-align:center; }
div.calendar table.grid td.none {  }
div.calendar table.calendar td.day p.none { color:#000; background-color:#fff !important; }
div.calendar table.calendar td.day { color:#000; background-color:#eee !important; }
div.calendar table.grid td.daynumb.game, div.calendar table.calendar td.game, div.calendar table.calendar td.day p.game, ul.cal_legend span.game
				{ color:#fff; background-color:#060 !important; font-weight:bold; }
div.calendar table.grid td.daynumb.game, div.calendar table.calendar td.game, ul.cal_legend span.game
				{ border-left:1px solid #090; border-top:1px solid #090; border-right:1px solid #030; border-bottom:1px solid #030; }
div.calendar table.calendar td.home { }
div.calendar table.calendar td.away, ul.cal_legend span.away { background-image:url('img2007/bak_away.png'); }
div.calendar table.calendar td.tournament, ul.cal_legend span.tournament { background-image:url('img2007/bak_tournament.png'); }
div.calendar table.calendar td p { line-height:1.15; }
div.calendar table.calendar td.day p.game a { color:#0cf !important; }
div.calendar table.grid td.daynumb.event, div.calendar table.calendar td.event, div.calendar table.calendar td.day p.event, ul.cal_legend span.event
				{ color:#000; background-color:#fc3 !important; }
div.calendar table.grid td.daynumb.event, div.calendar table.calendar td.event, ul.cal_legend span.event
				{ border-left:1px solid #fc9; border-top:1px solid #fc9; border-right:1px solid #960; border-bottom:1px solid #960; }
div.calendar table.grid td.daynumb.holiday, div.calendar table.calendar td.holiday, div.calendar table.calendar td.holiday p, div.calendar table.calendar td.day p.holiday, ul.cal_legend span.holiday
				{ color:#fff; background-color:#f00 !important; font-weight:bold !important; }
div.calendar table.grid td.daynumb.holiday, div.calendar table.calendar td.holiday, ul.cal_legend span.holiday
				{ border-left:1px solid #f66; border-top:1px solid #f66; border-right:1px solid #600; border-bottom:1px solid #600; }
div.calendar table.grid td.daynumb.practice, div.calendar table.calendar td.practice, div.calendar table.calendar td.day p.practice, ul.cal_legend span.practice
				{ color:#fff; background-color:#090 !important; font-weight:bold; }
div.calendar table.grid td.daynumb.practice, div.calendar table.calendar td.practice, ul.cal_legend span.practice
				{ border-left:1px solid #0c0; border-top:1px solid #0c0; border-right:1px solid #060; border-bottom:1px solid #060; }
div.calendar table.grid td.scheduled.none { color:#999; background-color:#fff !important; }
div.calendar table.calendar td.game p, div.calendar table.calendar td.practice p { color:#fff; font-weight:normal !important; }
div.calendar table.calendar td.game p a, div.calendar table.calendar td.game p.game a, div.calendar table.calendar td.practice p a { color:#cff !important; }
div.calendar table.calendar td p.event a, div.calendar table.calendar td.event p a:visited, div.calendar table.calendar td p.event a:visited { color:#00f !important; }

div.calendar table.calendar th { width:13%; text-align:center; }
div.calendar table.calendar td.spacer { background-color:#f7f7f7; }
div.calendar table.calendar td.day { background-color:#fff; font-weight:bold; height:5em; }
div.calendar table.calendar td.day p { font-weight:normal; margin-bottom:4px; }
div.calendar table.calendar td.day p.none, div.calendar table.calendar td.day p.practice, div.calendar table.calendar td.day p.event
			{ border:1px inset #808080; padding:2px; }
div.calendar table.calendar td.day p.game
			{ border:1px inset #006600; padding:2px; }

span.event_conflict
			{ color:#f00 !important; background-color:#ff0 !important; padding:0 0.5ex; }

table.calendar_games
			{ border:1px solid #999 !important; }
table.calendar_games tr.gap td
			{ color:inherit; background-color:#ccc !important; line-height:0.17; border-color:#666; }
table.calendar_games th.game
			{ border-left:1px solid #ccc !important; }
table.calendar_games th.year, table.calendar_games th.month, table.calendar_games th.weekday, table.calendar_games th.day, table.calendar_games th.time
			{ border-right:none !important; }
table.calendar_games th.month, table.calendar_games th.weekday, table.calendar_games th.day, table.calendar_games th.time, table.calendar_games th.type
			{ border-left:none !important; }
table.calendar_games th.year, table.calendar_games td.year
			{ border-left:1px solid #ccc !important; }
div#ins_games table.calendar_games td.detail_type
			{ width:100% !important; }
table.calendar_games td.year, table.calendar_games td.month, table.calendar_games td.weekday, table.calendar_games td.day, table.calendar_games td.time
			{ border-right:none !important; }
table.calendar_games td.month, table.calendar_games td.weekday, table.calendar_games td.day, table.calendar_games td.time, table.calendar_games td.type
			{ border-left:none !important; }
table.calendar_games td.weekday
			{ text-align:center; }
table.calendar_games td.weektime
			{ text-align:center; }
table.calendar_games td.day, table.calendar_games td.time
			{ text-align:right; }
table.calendar_games td.type
			{ text-align:center; }
table.calendar_games tr td.typeT, table.calendar_games tr td.typeT a:link, table.calendar_games tr td.typeT a:visited, table.calendar_games tr.e td.typeT, table.calendar_games tr.o td.typeX, table.calendar_games tr.e td.typeX, span.calendar_games_typeT, span.calendar_games_typeX
			{ color:#fff !important; background-color:#666 !important; }
table.calendar_games tr td.typeR.conflict, table.calendar_games tr.e td.typeR.conflict, table.calendar_games tr td.typeX.conflict, table.calendar_games tr.e td.typeX.conflict
			{ color:#fff !important; background-color:#c00 !important; }
span.calendar_games_typeT, span.calendar_games_typeX
			{ padding:0 0.33ex; }
table.calendar_games td.result_l, table.calendar_games div.game_score.result_l
			{ color:#fed !important; font-weight:bold; background-color:#900 !important; background-image:url('img/bak_l.png'); background-repeat:repeat-x; background-position:center center; }
table.calendar_games td.result_t, table.calendar_games div.game_score.result_t
			{ color:#630 !important; font-weight:bold; background-color:#c90 !important; background-image:url('img/bak_t.png'); background-repeat:repeat-x; background-position:center center; }
table.calendar_games td.result_w, table.calendar_games div.game_score.result_w
			{ color:#030 !important; font-weight:bold; background-color:#090 !important; background-image:url('img/bak_w.png'); background-repeat:repeat-x; background-position:center center; }
table.calendar_games div.game_score.result_l, table.calendar_games div.game_score.result_t, table.calendar_games div.game_score.result_w
			{ width:6em; }
table.calendar_games div.game_score
			{ margin:0 0 0 0.33ex; padding:0 0.33ex; float:right; }

table.games
			{ color:inherit; background-color:#ccc; }

table.games thead th
			{ color:#fff; background-color:#ddd; border:1px solid #666; }
table.games thead th div#ins_buttons div.ss.submenu.brief
			{ border:1px solid #ddd; background-color:#ddd; }
table.games thead th div#ins_buttons div.ss.submenu.brief ul
			{ border:none; }
table.games thead th div#ins_buttons div.ss.submenu.brief ul li
			{ background-image:none; }
table.games thead th div#ins_buttons div.ss.submenu.brief ul li a span.hidden
			{ background-image:url('img2007/ico_hidden.png'); background-repeat:no-repeat; background-position:center center; }
table.games thead th div#ins_buttons div.ss.submenu.brief ul li.th:after
			{ content:":"; }
table.games tbody tr table.calendar_games
			{ width:100%; }

/* Season record styles */

p.game_record { }
p.game_barchart { margin-left:1.5em; }
span.lose	{ color:#f00; background-color:transparent; }
span.remaining { color:#999; }
span.tie	{ color:#c90; background-color:transparent; }
span.win	{ color:#090; background-color:transparent; }
span.l i	{ font-style:normal; color:inherit; background-color:#c00; border-left:1px solid #f66; border-top:1px solid #f60; border-right:1px solid #600; border-bottom:1px solid #600;
			  background-image:url('img/bak_l.png'); background-repeat:repeat-x; background-position:center center; }
span.r i	{ font-style:normal; color:inherit; background-color:#ddd; border-left:1px solid #eee; border-top:1px solid #eee; border-right:1px solid #666; border-bottom:1px solid #666;
			  background-image:url('img/bak_r.png'); background-repeat:repeat-x; background-position:center center; }
span.nsy i	{ font-style:normal; color:inherit; background-color:#bbb; border-left:1px solid #eee; border-top:1px solid #eee; border-right:1px solid #666; border-bottom:1px solid #666;
			  background-image:url('img/bak_nsy.png'); background-repeat:repeat-x; background-position:center center; }
span.t i	{ font-style:normal; color:inherit; background-color:#fc0; border-left:1px solid #fc9; border-top:1px solid #fc9; border-right:1px solid #960; border-bottom:1px solid #960;
			  background-image:url('img/bak_t.png'); background-repeat:repeat-x; background-position:center center; }
span.w i	{ font-style:normal; color:inherit; background-color:#0c0; border-left:1px solid #0f0; border-top:1px solid #0f0; border-right:1px solid #060; border-bottom:1px solid #060;
			  background-image:url('img/bak_w.png'); background-repeat:repeat-x; background-position:center center; }

/* Check schedule styles */
div#ins_check_schedule table
			{ width:100%; }
div#ins_check_schedule table tr th, div#ins_check_schedule table tr td
			{ margin:0; padding:1px 0.5ex; text-align:left; }
div#ins_check_schedule table tr.o td
			{ background-color:#fafaff !important; }
div#ins_check_schedule table tr.e td
			{ background-color:#f3f3f7 !important; }
div#ins_check_schedule table tr td.note
			{ text-align:center; }
div#ins_check_schedule table tr td.alert, span.check_schedule_alert
			{ color:#000 !important; background-color:#fc0 !important; text-align:center; }
div#ins_check_schedule table tr td.warning, span.check_schedule_warning
			{ color:#000 !important; background-color:#f80 !important; text-align:center; }
div#ins_check_schedule table tr td.error, span.check_schedule_error
			{ color:#fff !important; background-color:#f00 !important; text-align:center; }


/* Printer styles */

@media print
{
	div.calendar { page-break-before:always; page-break-inside:avoid; }

	div.calendar { border-top:none; border-bottom:none; }
	div.calendar table.calendar td, div.calendar table.calendar_games { border:1px solid black !important; } 
	div.calendar table.calendar td a, div.calendar table.calendar td p a { color:#000 !important; background-color:#fff !important; }
	div.calendar table.calendar td p { border:none !important; }
}
