/* Calendar: a Javascript class for Mootools that adds accessible and unobtrusive date pickers to your form elements <http://electricprism.com/aeron/calendar> */
/* Default CSS for Calendar (navigation: 1), Copyright (c) 2007 Aeron Glemann <http://electricprism.com/aeron>, MIT Style License. */

input.calendar, select.calendar { width: 100px; }

button.calendar {
	background: url(./images/calendar-icon.gif);
	border: 0;
	cursor: pointer;
	height: 20px;
	margin: 0;
	width: 20px;
}

button.calendar:hover,
button.calendar.active {
	background-position: 0 20px;
}

div.calendar {
	background: url(./images/calendar.gif) no-repeat;
	height: 177px; /* 195px; */
	padding: 0;
	text-align: center;
	width: 159px; /* 147px; */
}	

button.calendar {
	margin-top: 2px;
	padding: 0;
	vertical-align: top;
}

div.calendar a {
	border: 0;
}

div.calendar div {
	background: none !important;
	cursor: move;
	height: 177px; /* 185px; */
	overflow: hidden;
	padding-top: 5px;
	position: relative;
	width: 159px;
}
	
div.calendar caption {
	color: #333;
	font: normal 12px/16px Arial, Helvetica, sans-serif;
	padding-top: 2px;
	text-align: center;
	width: 100%;
}

div.calendar caption a {
	cursor: pointer;
	display: block;
	height: 12px;
	overflow: hidden;
	position: absolute;
	text-indent: -100px;
	top: 9px;
	width: 11px;
}

div.calendar caption a.prev { background-image: url(./images/calendar-prev.gif); left: 10px; }
div.calendar caption a.next { background-image: url(./images/calendar-next.gif); right: 10px; }
div.calendar caption a:hover { background-position: 0 12px; }
div.calendar caption span { height: 25px; position: relative; text-align: center; }
div.calendar caption span.month { padding-right: 8px; }
div.calendar caption span.month:after { content: ','; }

div.calendar table {
	background: #FFF;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	cursor: default;
	margin: 0 auto;
	overflow: hidden;
	width: 147px;
}
div.calendar td, div.calendar th {
	background: none;
	border: 0;
	color: #e00034; /* #0597DB; */
	font: normal 12px Arial, Helvetica, sans-serif;
	height: 21px;
	line-height: 21px;
	padding: 0;
	text-align: center;
	width: 21px;
}
div.calendar td { background: url(./images/calendar-td.gif); color: #fff; font-size: 11px; }
div.calendar td.invalid { color: #999; }
div.calendar td.valid { background: url(./images/calendar-valid.gif); color: #e00034; cursor: pointer; }
div.calendar td.hilite { background: url(./images/calendar-hilite.gif); }
div.calendar td.inactive { background: url(./images/calendar-td.gif) 0 100%; color: #FFF; }
div.calendar td.active, div.calendar td.hover { background: url(./images/calendar-valid.gif) 0 100%; color: #fff; cursor: pointer; }
