/* CALENDAR STYLESHEET - Copyright (C) 2006-2010 Charles A Upsdell, All Rights Reserved; www.upsdell.com */


/* FONT SIZES */

/* Screen font sizes */

div.calendar table.calendar tbody tr td
			{ font-size:medium; }
div.calendar button, div.calendar table.calendar tbody tr td p, div.calendar table.grid td, div.calendar table.calendar_games th, div.calendar table.calendar_games td, p.game_barchart, small
			{ font-size:small; }

/* Printer font sizes */

@media print
{
div.calendar table.calendar tbody tr td
			{ font-size:11pt; }
div.calendar button, div.calendar table.calendar tbody tr td p, div.calendar table.grid td, div.calendar table.calendar_games th, div.calendar table.calendar_games td, p.game_barchart, small
			{ font-size:9pt; }
}


/* GLOBAL STYLES */

div.calendar h3 { margin-top:3em; padding-top:0.33ex; border-top:0.33em solid #69c; }
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 thead tr th { color:#003; background-color:#cce7ff; font-weight:bold; text-align:center; }
div.calendar table.grid thead 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 thead tr th.date, table.grid thead tr th.team, table.grid thead tr th.location { border-right:none; }
div.calendar table.grid thead tr th.time, table.grid thead tr th.score, table.grid thead tr th.rink { border-left:none; text-align:center; }
div.calendar table.grid tbody tr td { color:#000; 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 td.date, table.grid tbody tr td.team, table.grid tbody tr td.location { border-right:none; }
div.calendar table.grid tbody tr td.team, table.grid tbody tr td.score { font-weight:bold; }
div.calendar table.grid tbody tr td.score, table.grid tbody tr td.rink { border-left:none; text-align:center; }
div.calendar table.grid tbody tr td.time { border-left:none; text-align:right; }
div.calendar table.grid tbody tr.e td { background-color:#e7f7f7; }
div.calendar table.grid tbody tr.e td.daynumb { background-color:#fff; }

div.calendar h3 img { float:right; border:none; }
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.dayname { width:8em; }
div.calendar table.grid td.daynumb { width:2em; 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:#fff !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 p.game
				{ color:#fff; background-color:#036 !important; font-weight:bold; }
div.calendar table.grid td.daynumb.game, div.calendar table.calendar td.game, ul.cal_legend p.game
				{ border-left:1px solid #9cf; border-top:1px solid #9cf; border-right:1px solid #030; border-bottom:1px solid #030; }
div.calendar table.calendar td.home { }
div.calendar table.calendar td.away { background-image:url('img/bak_away.png'); }
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 p.event
				{ color:#000; background-color:#fc3 !important; }
div.calendar table.grid td.daynumb.event, div.calendar table.calendar td.event, ul.cal_legend p.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 p.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 p.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 p.practice
				{ color:#fff; background-color:#69c !important; font-weight:bold; }
div.calendar table.grid td.daynumb.practice, div.calendar table.calendar td.practice, ul.cal_legend p.practice
				{ border-left:1px solid #9cf; border-top:1px solid #9cf; border-right:1px solid #336; border-bottom:1px solid #336; }
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; text-decoration:none !important; }
div.calendar table.calendar td p.event a { color:#00f !important; }

div.calendar table.calendar th { width:13%; text-align:center; }
div.calendar table.calendar td.spacer { background-color:#e7f7f7; }
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; }

table.calendar_games
			{ border-top:none !important; border-right:none !important; }
table.calendar_games
			{ 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; }
table.calendar_games tr th
			{ color:#003; background-color:#c7ddff; font-weight:bold; text-align:left; }
table.calendar_games tr th
			{ border-left:1px solid #fff; border-top:1px solid #fff; border-right:1px solid #99c; border-bottom:1px solid #99c; }
table.calendar_games tr td
			{ color:#000; border-left:1px solid #fff; border-top:1px solid #fff; border-right:1px solid #69c; border-bottom:1px solid #69c; }
table.calendar_games tr.e td
			{ background-color:#e7f7ff; }
table.calendar_games td
			{ background-color:#fff; padding:0.17ex; }
table.calendar_games tr.gap td
			{ background-color:#e7f7f7; line-height:0.33; font-size:1px; border-right:none; }
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; }
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, table.calendar_games td.weektime
			{ text-align:center; }
table.calendar_games td.day, table.calendar_games td.time, table.calendar_games td.type
			{ text-align:right; }
table.calendar_games td.typeT, table.calendar_games td.typeX, span.calendar_games_typeT, span.calendar_games_typeX
			{ color:#fff !important; background-color:#69c !important; font-weight:bold; }
span.calendar_games_typeT, span.calendar_games_typeX
			{ padding:0 0.33ex; }


/* 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_lose.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_remaining.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_tie.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_win.png'); background-repeat:repeat-x; background-position:center center; }


/* PRINT STYLES */

@media print
{	div.calendar table.calendar td p a, div.calendar table.calendar td p a:link, div.calendar table.calendar td p a:visited, div.calendar table.calendar td p a:active, div.calendar table.calendar td p a:hover
			{ color:#000 !important; background-color:#fff !important; text-decoration:none; }
	div.calendar table.grid td.daynumb.event, div.calendar table.grid td.daynumb.practice, div.calendar table.grid td.daynumb.game, div.calendar table.grid td.daynumb.tournament
			{ color:#000 !important; background-color:#fff !important; text-decoration:none; }
	div#ins_calendar_dump table tr.middle { page-break-before:always; page-break-inside:avoid; }
	div.calendar h3 { border:none; }
	div.calendar table.calendar, div.calendar table.calendar td.day, div.calendar table.grid td.daynumb, div.calendar table.calendar td.practice, div.calendar table.calendar td.game, div.calendar table.calendar td.event, div.calendar table.calendar td.day p,
	div.calendar table.calendar td.day p.practice, div.calendar table.calendar td.day p.game, div.calendar table.calendar td.day p.event
			{ color:#000 !important; background-color:#fff !important; }

	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; }
}

