#ical{
	text-align:center;
	margin-top:35px;
	min-height:174px;
}
#ical table {
	border-collapse: separate;
	border: 1px solid #9DABCE;
	border-width: 0px 0px 1px 1px;
	margin: 10px auto;
	font-size: 11px;
}
#ical td, th {
	width: 20px;
	height: 20px;
	text-align: center;
	vertical-align: middle;
	background: url(img/cells.png);
	color: #444;
	position: relative;
}
#ical th {
	height: 20px;
	font-weight: normal;
	color:#999999;
	font-size: 10px;
	background-position: 0px -81px;
}
#ical td:hover{
	background-position: 0px -81px;
	color: #222;
}
#ical td.date_has_event {
	background-position: 162px 0px;
	color: white;
}
#ical td.date_has_event:hover {
	background-position: 162px -81px;
}
#ical td.padding {
	background: url(img/calpad.jpg);
}
#ical td.today {
	background-position: 81px 0px;
	color: white;
}
#ical td.today:hover {
	background-position: 81px -81px;
}

#ical .events {
	position: relative;
}
#ical .events ul {
	text-align: left;
	position: absolute;
	display: none;
	z-index: 1000;
	padding: 15px;
	background: #E7ECF2 url(img/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;
}
#ical .events li {
	padding-bottom: 5px;
}
#ical .events li span {
	display: block;
	font-size: 10px;
	text-align: left;
	color: #555;
}
#ical .events li span.title {
	font-weight: bold;
	color: #222;
}

#ical #icalnext{
    position:relative;
    left:274px;
}

#ical #icalprev{
    position:relative;
    right:274px;
}

#ical #currentmonth, #currentyear{
    position:absolute;
	font-weight:bold;
	font-size:11px;
	font-style:italic;
}
#currentmonth{
	left:40px;
	width:73px;
	text-align:right;
}
#currentyear{
	left:115px;
}
#ical #icalnext{
    position:relative;
    left:48px;
	cursor:pointer;
	width:16px;
	height:16px;
	background:url(img/calendar+.png) no-repeat center center;
	margin:0;
	padding:15px;
	color:white;
}

#ical #icalprev{
    position:relative;
    right:48px;
	cursor:pointer;
	width:16px;
	height:16px;
	background:url(img/calendar-.png) no-repeat center center;
	margin:0;
	padding:15px;
	color:white;
}
