/* 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: 99px;
}

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

div.calendar {
	background: url(images/calendar.png);
	height: auto;
	width: 147px;
	font-size: 0.75em;
	padding: 0 6px;
	text-align: center;
}	
	div.calendar div {
		background: none !important;
		cursor: move;
		height: 185px;
		overflow: hidden;
		padding-top: 0.8em;
		position: relative;
		width: 147px;
	}	
	
	div.calendar caption {
		color: #333;
		padding-top: 0.5em;
		text-align: center;
		width: 100%;
	}
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 1em;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		top: 17px;
		width: 11px;
	}
	div.calendar caption a.prev {
		background-image: url(images/calendar-prev.gif);
		left: 0;
	}
	div.calendar caption a.next {
		background-image: url(images/calendar-next.gif);
		right: 0;
	}
	div.calendar caption a:hover {
		background-position: 0 1em;
	}
	div.calendar caption span
	{
		height: 2em;
		color: #1A314A;
		position: relative;
		text-align: center;
		font-weight: bold;
	}
	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 {
		border: 0;
		color: #1A314A;
		height: 1.75em;
		text-align: center;
		width: 1.75em;
	}
	div.calendar td {
		background: url(images/calendar-td.gif);
		color: #FFF;
		font-size: 1em;
	}
	div.calendar td.invalid {
		color: #999;
	}
	div.calendar td.valid {
		background: url(images/calendar-valid.gif);
		color: #1A314A;
		cursor: pointer;
	}
	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;
	}
