table#calendar, table#calendar2 {
	width: 143px;
	max-width: 143px;
	background: white;
	font-size:80%;
}

table#calendar {
	margin-bottom: 4px;
}

table#calendar tr.days th, table#calendar2 tr.days th {
	color: #FC0;
	background-color: #09296B;
	font-weight: bold;
	text-align: center;
	padding: 1px 5px;
}

table#calendar tr.title th, table#calendar2 tr.title th {
	background: #FC0;
	color: #09296B;
	border: 1px solid #09296B;
	/*font-size: 120%;*/
}

table#calendar td a, table#calendar2 td a {
	font-weight: bold;
	text-decoration: none;
	display: block;
	margin: 0;
}

table#calendar td a:link, table#calendar2 td a:link {
	background: transparent;
	color: #fff;
}

table#calendar td a:visited, table#calendar2 td a:visited {
	background: transparent;
	color: #fff;
}

table#calendar td a:hover, table#calendar2 td a:hover {
	color: navy;
	background: #FF6;
}
table#calendar td {
	width:12%;
}
/* style days outside the month */
table#calendar td, table#calendar2 td {
	background: #B3B3B3; /* was #aab */
	color: #889;
	text-align: center;
	border: 1px solid;
	border-color: #AAB #99A #AAB #AAB;
	width:21.43%;
}
/*style current month boxes */
table#calendar td.thismonth, table#calendar2 td.thismonth {
	color: #777;
	background: #fff;
	border-color: #BBB #EEE #EEE #BBB;
}
/*style home events*/
#cal #calendar td.home, #cal #calendar2 td.home {
	font-weight: bold;
	color: #fff;
	background: #0A30A8;
}
table#calendar td a.home, table#calendar td a:visited.home  {
	color: black;
	font-weight: normal;
}
/* style today's box */
table#calendar td.today, table#calendar2 td.today {
	color: #f00!;
	font-weight: bold;
	background: #fff;
	border-color: #f00;
}
/*style loco events*/
#cal #calendar td.loco, #cal #calendar2 td.loco {
	font-weight: bold;
	color: #09296b;
	background: #fc0;
}
table#calendar td a.loco, table#calendar td a:visited.loco {
	font-weight: normal;
	color: #09296b;
	background: #fc0;

}
table#calendar tr.lastweek td, table#calendar2 tr.lastweek td {
	border-bottom: 2px solid #BBB;
}

table#calendar td.sat, table#calendar2 td.sat {
	border-right: 1px solid #BBB;
}

div#cal {
	margin-top: 30px;
	text-align: center;
}
#cal td.sun, #cal td.mon, #cal td.tue, #cal td.wed, #cal td.thu, #cal td.fri, #cal td.sat {
	width:18px;
}
.caldate {
	float:right;
	background:#fff;
}
#cal {
	display:none;
}

#sidebar #locoLeg {
	background-color:#fc0;
	color:#fff;
	font-weight:bold;
	text-align:center;
}
#sidebar #homeLeg {
	background-color:#0A30A8;
	color:#fff;
	font-weight:bold;
	text-align:center;
}