/* 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> */

.hidden {
	opacity: 0;
	position: absolute;
}
.visible {
	opacity: 1;
}


input.calendar,
select.calendar {
	/*width: 99px;*/
}

button.calendar {
	background: url(../images/ico_calendar.png);
	border: 0;
	margin-left: 8px;
	cursor: pointer;
	position:relative;
	top:-2px;
	height: 16px;
	width: 16px;
	background-repeat:no-repeat;
	z-index:1;
}
button.calendar:hover,
button.calendar.active {
	background-position: 1px 1px;
}

div.calendar {
	background-color:#FFF;
	border:solid 1px;
	height: 195px;
	padding: 0 6px;
	text-align: center;
	width: 147px;
}	
	div.calendar * {
		margin: 0;
		padding: 0;
	}	
	div.calendar div {
		background: none !important;
		/*cursor: move;*/
		height: 185px;
		overflow: hidden;
		padding-top: 10px;
		position: relative;
		width: 147px;
	}	
	
	div.calendar caption {
		color: #333;
		font: normal 12px/16px Arial, Helvetica, sans-serif;
		padding-top: 6px;
		text-align: center;
		width: 100%;
	}
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 12px;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		top: 17px;
		width: 11px;
	}
	div.calendar caption a.prev {
		background-image: url(../images/ico_calendar-prev.png);
		left: 0;
	}
	div.calendar caption a.next {
		background-image: url(../images/ico_calendar-next.png);
		right: 0;
	}
	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 {
		border: 0;
		color: #5A5C5E;
		font: normal 12px Arial, Helvetica, sans-serif;
		height: 21px;
		text-align: center;
		width: 21px;
	}
	div.calendar td {
		background: url(../images/ico_calendar-td.png);
		background-position:0px -21px;
		color: #efefef;
		font-size: 11px;
	}
	div.calendar td.invalid {
		color: #999;
	}
	div.calendar td.valid {
		background: url(../images/ico_calendar-valid.png);
		color: #5A5C5E;
		font-weight:bold;
		cursor: pointer;
	}
	div.calendar td.hilite {
		background: url(../images/ico_calendar-hilite.png);
	}
	div.calendar td.inactive {
		background: url(../images/ico_calendar-td.png) 0 100%;
		color: #FFF;
	}
	div.calendar td.active,
	div.calendar td.hover {
		background: url(../images/ico_calendar-valid.png) 0 100%;
		color: #045f26;
		cursor: pointer;
	}

/* navigation type 2 */	

div.calendar caption span a {top: 3px;}
div.calendar caption span.month {float:left;width:75px;margin-left:5px;}
div.calendar caption span.year {float:left;width:59px;}
