.calendar {
	position: relative;
}

.calendar span {
	display: block;
	color: #5B5F60;
	text-align: center;
	font-size: .9em;
	margin: .2em 0;
}

.calendar table.month {
	width: 100%;
    border-collapse: collapse;
}

.calendar table.month td {
    border-color: #FFFFFF;
    border-style: solid;
    border-width: 0 1px 1px 1px;
}

.calendar table.month th {
    border-color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 0 1px;
}

.calendar table.month th.title {
    text-align: center;
	color: #FFFFFF;
    background-color: #A4B091;
}

.calendar table.month tr.daynames th {
    text-align: center;
	color: #FFFFFF;
    background-color: #454748;
    border-color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
}

.calendar table.month td.day {
	font-size: .9em;
    width: 14%;
    height: 20px;
    vertical-align: top;
    padding: 3px;
}

.calendar table.month td.weekend {
    background-color: #e9e9e9;
}

.calendar table.month td.weekday {
    background-color: #F2F2F2;
}

.calendar table.month td.empty {
    background-color: #CFCFCF;
}

/* color the day in the month block that has an event */
.calendar table.month td.event {
    color: #FFFFFF;
	background-color: #346F95;
    text-decoration: none;
}

td.event ul {
    display: none;
	color: #454748;
	list-style: square;
	font-size: 1.1em;
}
.calendar table.month td.event:hover {
    z-index: 1;
	background-color: #0076C0;
}

td.event:hover ul {
    display: block;
	left: -10px;
	margin-top: 20px; 
    position: absolute;
    width: 183px;
    background: #fff;
    padding: 5px 5px 5px 10px;
    border: 1px solid #aaa;
}

td.event:hover ul li {
    padding: 0;
	margin: 0 0 0 10px;
    z-index: 99999;
}

td.event:hover ul li.day {
	list-style-type: none;
	text-transform: uppercase;
	color: #CC0000;
	font-weight: bold;
}

/* needed for IE */
.calendar table.month td:hover span {
    filter: alpha(opacity=100);
}


