table#smcal {
	border: 0;
}

table#smcal a {
	text-decoration: none;
	font-weight: bold;
	display: block;
	margin: 0;
}

table#smcal tr#days th, table#bigcal tr#days th {
	color: #39f;
	background-color: black;
	font-weight: bold;
	text-align: center;
	padding: 1px 0.33em;
	font-family : "Courier New", Courier, monospace;
}

table#smcal tr#title th, table#bigcal tr#title th {
	background: #3399FF;
	color: black;
	border: 1px solid Black;
}

table#smcal tr#title th a {
	display: inline;
	color: white;
	background: transparent;
}

table#smcal tr#title th a:hover, table#smcal tr#title th a:focus {
	color: black;
	background: white;
}

table#smcal tr#title th a:visited {
	color: white;
	background: transparent;
}

table#smcal td {
	color:#777;
	text-align: right;
	border: 1px solid #30f;
	border-color: #bbb #eee #eee #bbb;
}

table#smcal td.extra {
	border: 0;
	text-align: center;
}

table#smcal td.sat {
	border-right: 1px solid #bbb;
}

table#smcal a:link {
	color: navy;
}
table#smcal a:visited {
	color: purple;
}
table#smcal a:hover {
	background: #ff6;
}
table#smcal td.sat, table#smcal td.sun {
	background: #E3E3E3;
}

table#smcal td.notcur, table#bigcal td.notcur {
	background: #aab;
	color: #889;
}

table#smcal td.notcur {
	border: 1px solid #aab;
	border-right-color: #99a;
}

table#smcal tr#lastweek td, table#bigcal tr#lastweek td {
	border-bottom: 2px solid #aab;
}

table#smcal td#selected, table#bigcal td#selected {
	background: #faa;
	border-color: #bbb #fcc #fcc #bbb;
}
table#smcal td#today, table#bigcal td#selected {
	background-color: #CCFFCC;
}

table#magcal {
	border: 0;
	width: 100%;
	margin: 0 0.5em 0 0;
}
table#magcal  tr#title th {
	background: #3399FF;
	color: black;
	border: 1px solid Black;
}

table#magcal tr#title th a {
	display: inline;
	color: white;
	background: transparent;
}

table#magcal tr#title th a:hover, table#smcal tr#title th a:focus {
	color: black;
	background: white;
}

table#magcal tr#title th a:visited {
	color: white;
	background: transparent;
}

table#magcal td.oldday {
	background-color: silver;
	text-align: right;
	border: 1px solid black;
	border-color: #bbb #eee #eee #bbb;
}

table#magcal td.today {
	background-color: #CCFF99;
	text-align: right;
	border: 1px solid black;
	border-color: #bbb #eee #eee #bbb;
}

table#magcal td.futureday {
	background-color: White;
	text-align: right;
	border: 1px solid black;
	border-color: #bbb #eee #eee #bbb;
}

table#magcal td.daydisplay {
	width: 100%;
	background-color : #FFFFCC;
	border: 1px solid black;
	border-color: #bbb #bbb #eee #bbb;
}

table#magcal td.facility {
	background-color: #9ccdcd;
}

table#magcal td.etime {
	text-align : right;
	white-space : nowrap;
	width: 5em;
	padding: 0 5px 0 0;
}

table#magcal td.eventdesc {
	padding: 0 .5em 0 0;
}

table#bigcal {
	width: 100%;
	margin: 0 0.5em 0 0;
	border: 0;
}

table#bigcal td {
	vertical-align: top;
	padding: 0;
	border: 1px solid gray;
	border-color: #bbb #ddd #ddd #bbb;
}

table#bigcal tr#days th {
	width: 14%;
}

table#bigcal div.date {
	float: right;
	text-align: center;
	border: 1px solid gray;
	border-width: 0 0 1px 1px;
	padding: 0.125em 0.25em 0 0.25em;
	margin: 0;
	background: #f3f3f3;
}

table#bigcal td.sat {
	border-right: 1px solid gray;
}

table#bigcal div.thetime {
	font-weight: bold;
	font-size: 75%;
	color : Red;
}

table#bigcal div.theevent {
	font-weight: normal;
	font-size: 75%;
	margin: 0 0 0 2px;
}

table#bigcal div.thefacility {
	font-size: 75%;
	font-style: italic;
}
