div#content.team-calendar > p
{
	margin-top:0;
}

#team-calendar-display
{
	height:35px;
}

#team-calendar-options
{
	width:785px;
	height:25px;
	line-height:25px;
	vertical-align:middle;
	background-image:url('media/team-calendar-options-back.png');
	background-repeat:no-repeat;
	padding:10px;
	margin-bottom:10px;
}

#team-calendar-options *
{
	line-height:normal;
}

#team-calendar-options-left
{
	float:left;
	line-height:inherit;
}

#team-calendar-options-right
{
	float:right;
	line-height:inherit;
	display:none;
}

body.js #team-calendar-options-right
{
	display:block;
}

#team-calendar-options select
{
	margin-left:8px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	padding:2px;
	border:1px solid #000;
}

#team-calendar-options label
{
	font-size:12px;
	font-weight:bold;
}

label#team-calendar-show
{
	float:left;
	margin-top:5px;
}

#team-calendar-show-race,
#team-calendar-show-track,
#team-calendar-show-test
{
	height:22px;
	font-size:12px;
	font-weight:bold;
	color:white;
	margin-left:10px;
	margin-top:2px;
	padding:0 4px;
	float:left;
	border:0;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

#team-calendar-show-race
{
	background-color:#43D54A;
}

#team-calendar-show-track
{
	background-color:#4F52A4;
}

#team-calendar-show-test
{
	background-color:#FAB102;
}

#team-calendar-show-race input,
#team-calendar-show-track input,
#team-calendar-show-test input
{
	border:0;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	margin:4px 7px 0 0;
	padding:0;
	width:13px;
	height:13px;
}

#team-calendar-table
{
	width:815px;
	margin-left:-4px;
	border-collapse:collapse;
	empty-cells:show;
	border-spacing:0;
}

#team-calendar-header th
{
	width:196px;
	height:25px;
	padding-left:7px;
	padding-bottom:5px;
	background-image:url('media/team-calendar-header-back.png');
	background-repeat:no-repeat;
	background-position:5px 0;
	text-align:center;
	line-height:25px;
	vertical-align:middle;
}

#team-calendar-header th + th
{
	background-position:-199px 0;
	padding-left:2px;
	width:119px;
}

#team-calendar-header th + th + th
{
	background-position:-320px 0;
}

#team-calendar-header th + th + th + th
{
	background-position:-441px 0;
}

#team-calendar-header th + th + th + th + th
{
	background-position:-562px 0;
}

#team-calendar-header th + th + th + th + th + th
{
	background-position:-683px 0;
	padding-right:7px;
}

#team-calendar-table tbody tr
{
	height:68px;
	padding:3px 6px 9px 6px;
	margin-left:-4px;
}


#team-calendar-table tbody tr.last td
{
	padding-bottom:15px;
}

#team-calendar-table tbody tr td
{
	/*width:223px;*/
	padding-left:12px;
	padding-bottom:8px;
	background-image:url('media/team-calendar-row-back.png');
	background-repeat:no-repeat;
	background-position:0 0;
	text-align:center;
	line-height:68px;
	vertical-align:middle;
}

#team-calendar-table tbody tr.blank td
{
	background-image:none;
}

#team-calendar-table tbody tr td + td
{
	background-position:-203px 0;
	padding-left:1px;
}

#team-calendar-table tbody tr td + td + td
{
	background-position:-324px 0;
}

#team-calendar-table tbody tr td + td + td + td
{
	background-position:-445px 0;
}

#team-calendar-table tbody tr td + td + td + td + td
{
	background-position:-566px 0;
}

#team-calendar-table tbody tr td + td + td + td + td + td
{
	/*width:119px;*/
	background-position:-687px 0;
	padding-right:7px;
}

#team-calendar-table tbody tr td span
{
	vertical-align:middle;
	color: black;

}

#team-calendar-table tbody tr td div
{
	vertical-align:middle;
	line-height:normal;
	text-align:left;
	color: black;
}

#team-calendar-table tbody tr td div h1
{
	font-size:14px;
	font-weight:bold;
	color:black;
	margin:0;
}

#team-calendar-table tbody tr td div img
{
	float:left;
	margin-right:5px;
}

#team-calendar-table tbody tr td div span
{
	clear:both;
	float:left;
}

#team-calendar-table tbody tr td a
{
	text-decoration:none;
	color:#E32119;
}

#team-calendar-table tbody tr td + td img
{
	margin-right:5px;
	vertical-align:middle;
}

#spinner
{
	width:32px;
	height:32px;
	display:none;
	background-image:url("media/ajax-loader.gif");
	float:right;
	margin-right:10px;
	margin-top:-3px;
}

#team-calendar-table td.event-type
{
	text-align:left;
	padding-left:10px;
}

#team-calendar-table tfoot td
{
	padding-top:10px;
}

#team-calendar-table tfoot a#page-next,
#team-calendar-table tfoot a#page-previous
{
	font-weight:bold;
	display:none;
	background-repeat:no-repeat;
	cursor:pointer;
}

body.js #team-calendar-table tfoot a#page-next,
body.js #team-calendar-table tfoot a#page-previous
{
}

#team-calendar-table tfoot a#page-next
{
	float:right;
	margin-right:6px;
	padding-right:10px;
	background-image:url('media/red-arrow-right.png');
	background-position:right center;
}

#team-calendar-table tfoot a#page-previous
{
	float:left;
	margin-left:4px;
	padding-left:10px;
	background-image:url('media/red-arrow-left.png');
	background-position:left center;
}
