* {
	/* old-style reset here :) */
	border: 0px;
	padding: 0px;
}


table.cal {
	border-collapse: separate;
	border: 1px solid #9DABCE;
	border-width: 0px 0px 1px 1px;
	margin: 10px auto;
	font-size: 20px;
}
td.cal, th.cal{
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;
	background: url(./images/cells.png);
	color: #444;
	font-size: 14px;
	position: relative;
}
th.cal {
	height: 30px;
	font-weight: bold;
	font-size: 14px;
}
td.cal:hover, th.cal:hover {
	background-position: 0px -81px;
	font-size: 14px;
	color: #222;
}
td.date_has_event {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;
	background: url(./images/cells.png);
	background-position: 162px 0px;
	font-size: 14px;
	color: white;
	font-weight: bold;
	cursor: pointer;
	cursor:hand;
}
td.date_has_event:hover {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 162px -81px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	cursor:hand;
}
td.date_has_event_today {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 81px 0px;
	color: red;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	cursor:hand;
}
td.date_has_event_today:hover {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 81px -81px;
	font-size: 14px;
	color: red;
	font-weight: bold;
	cursor: pointer;
	cursor:hand;	
}
td.padding {
	background: url(./images/calpad.jpg);
}
td.today {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);	
	background-position: 81px 0px;
	font-size: 14px;
	color: red;
	font-weight: bold;
}
td.today:hover {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 81px -81px;
	font-size: 14px;
	font-weight:bold;
}
.events {
	position: relative;
}
.events ul {
	text-align: left;
	position: absolute;
	display: none;
	z-index: 1000;
	padding: 15px;
	background: #E7ECF2 url(./images/popup.png) no-repeat;
	color: white;
	border: 1px solid white;
	font-size: 15px;
	width: 200px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	-border-radius: 3px;
	list-style: none;
	color: #444444;
	-webkit-box-shadow: 0px 8px 8px #333;
}
.events li {
	padding-bottom: 5px;
}
.events li span {
	display: block;
	font-size: 12px;
	text-align: left;
	color: #555;
}
.events li span.title {
	font-weight: bold;
	color: #222;
}

table.cal_small {
	border-collapse: separate;
	border: 1px solid #9DABCE;
	border-width: 0px 0px 1px 1px;
	margin: 10px auto;
	font-size: 20px;
}
td.cal_small, th.cal_small{
	width: 21px;
	height: 21px;
	text-align: center;
	vertical-align: middle;
	background: url(./images/cells.png);
	color: #444;
	position: relative;
}
th.cal_small {
	height: 15px;
	font-weight: bold;
	font-size: 10px;
}
td.cal_small:hover, th.cal_small:hover {
	background-position: 0px -81px;
	color: #222;
}
td.date_has_event_small {
	width: 21px;
	height: 21px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 162px 0px;
	color: white;
}
td.date_has_event_small:hover {
	width: 21px;
	height: 21px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 162px -81px;
}
td.date_has_event_today_small {
	width: 21px;
	height: 21px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 81px 0px;
	color: white;
}
td.date_has_event_today_small:hover {
	width: 21px;
	height: 21px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 81px -81px;
}
td.today_small {
	width: 21px;
	height: 21px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);	
	background-position: 81px 0px;
	color: red;
}
td.today_small:hover {
	width: 21px;
	height: 21px;
	text-align: center;
	vertical-align: middle;

	background: url(./images/cells.png);
	background-position: 81px -81px;
}
