div.calendar thead {
	background-color:#D1D1D1;
	font-weight:bold;
	text-align:center;
	margin:0px;
	padding:0px;
}

div.calendar table {
	border-collapse:collapse;
	border-spacing:0px;
	cell-spacing:0px;
	margin:0px;
	padding:0px;
}

div.calendar .time {
	background-color:#D1D1D1;
	text-align:center;
	border-width:0px;
}

div.calendar tbody td {
	margin:0px;
	padding:0px;
	border-spacing:0px;
	padding-top:-10px;
	cell-spacing:0px;
}

div.calendar .halfhour td {
	border-width:0px;
	border-top-width:1px;
	border-color:#E1E1E1;
	border-style:solid;
}

div.calendar .hour td {
	border-width:0px;
	border-top-width:2px;
	border-color:#D1D1D1;
	border-style:solid;
}

div.calendar .event {
	position:absolute;
	background-color:#B1B1B1;
	margin:0px;
	padding:0px;
	overflow:hidden;
}

div.calendar div.event div.subevent0 {
	background-image:url("calendar/subblue.jpg");
	background-repeat:repeat-x;
	background-color:#B1B1B1;
	border-width:2px;
	border-style:solid;
	border-color:#CADFF3;
	height:100%;
	padding:2px;
}

div.calendar div.event div.subevent1 {
	background-image:url("calendar/subred.jpg");
	background-repeat:repeat-x;
	background-color:#B1B1B1;
	border-width:2px;
	border-style:solid;
	border-color:#F1D1D1;
	height:100%;
	padding:2px;
}
div.calendar div.event div.subevent2 {
	background-image:url("calendar/subgreen.jpg");
	background-repeat:repeat-x;
	background-color:#B1B1B1;
	border-width:2px;
	border-style:solid;
	border-color:#DFEACD;
	height:100%;
	padding:2px;
}
div.calendar div.event div.subevent3 {
	background-image:url("calendar/subyellow.jpg");
	background-repeat:repeat-x;
	background-color:#B1B1B1;
	border-width:2px;
	border-style:solid;
	border-color:#FBEDD2;
	height:100%;
	padding:2px;
}
