/* 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(/_r/img/btn_calendar_popup.gif) no-repeat top left;
	border: 0;
	cursor: pointer;
	float: left;
	height: 22px;
	margin: 0 6px;
	width: 22px;
}
button.calendar:hover,
button.calendar.active {
	
}

div.calendar {
	/*background: url(calendar.png);*/
	height: 195px;
	padding: 0 6px;
	text-align: center;
	width: 160px;
}	
	div.calendar div {
		background: #c6c2bb !important;
		cursor: move;
		height: 178px;
		overflow: hidden;
		padding-top: 3px;
		position: relative;
		width: 160px;
		border:1px solid #999;
	}	
	
	div.calendar caption {
		color: #333;
		padding:0 0 4px;
		text-align: center;
		width: 100%;
	}
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 24px;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		width: 24px;
		top:0px;
	}
	div.calendar caption a.prev {
		background-image: url(/_r/img/btn_left_arrow_brown.gif);
		left: 0;
	}
	div.calendar caption a.next {
		background-image: url(/_r/img/btn_right_arrow_brown.gif);
		right: 0;
	}
	div.calendar caption a:hover {
		background-position: 0 24px;
	}
	div.calendar caption span {
		height: 25px;
		position: relative;
		text-align: center;
		font-size:1.1em;
	}
	div.calendar caption span.month {
		padding-right: 8px;
		color:#333;
		font-weight:bold;
	}
	div.calendar caption span.month:after {
		content: ',';
	}

	div.calendar table {
		background: #d9d3cb;
		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: #fff;
		height: 21px;
		text-align: center;
		width: 21px;
		background:#ABA49A;
	}
	div.calendar td {
	
		color: #333;
		font-size: 11px;
	}
	div.calendar td.invalid {
		color: #999;
	}
	div.calendar td.valid {
		
		color: #fff;
		cursor: pointer;
	}
	div.calendar td.hilite {
	
	}
	div.calendar td.inactive {
	
		color: #FFF;
	}
	div.calendar td.active,
	div.calendar td.hover {
		color:#BC3A32;
		background:#fff;
		font-weight: bold;
		cursor: pointer;
	}
