/* 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 {
	cursor:pointer;
	width:100px;
	background-image:url("../images/fond_input_date.jpg");
	background-position:right center;
	background-repeat:no-repeat;
	padding-right:25px;
}

button.calendar {
	background: transparent;
	border: 0;
	cursor: pointer;
	height: 1px;
	width: 1px;
	padding:0;
	margin:0;
	float:left
}
button.calendar:hover,
button.calendar.active {
	background-position: 0 20px;
}

div.calendar {
	height: 150px;
	padding: 0;
	margin:0;
	text-align: center;
	width: 147px;
	border:1px solid #89789C
}	
	div.calendar * {
		margin: 0;
		padding: 0;
	}	
	div.calendar div {
		background-color:#FFF;
		height: 150px;
		overflow: hidden;
		position: relative;
		width: 147px;
	}	
	
	div.calendar caption {
		color: #fff;
		font-size:1.1em;
		text-align: center;
		width: 100%;
		background-color:#89789C;
		font-weight:bold;
		padding:4px 0 4px 0
		
	}
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 12px;
		overflow: hidden;
		position: absolute;
		top: 5px;
		width: 10px;
		color:#FFF
	}
	div.calendar caption a.prev {
		/*background-image: url(../images/calendar-prev.gif);*/
		left: 5px;
	}
	div.calendar caption a.next {
		/*background-image: url(../images/calendar-next.gif);*/
		right: 5px;
	}
	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 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: #89789C;
		font-size:1.1em;
		font-weight:bold;
		padding-top:2px;
		height: 18px;
		text-align: center;
	}
	div.calendar th {
		font-weight:bold;
		padding-top:3px;
		border-bottom:1px dotted #89789C;
		margin-bottom:3px
	}
	div.calendar td {
		color: #CCC;
		font-size: 11px;
		font-weight:normal
	}
	div.calendar td.invalid {
		color: #888;
		font-weight:normal
	}
	div.calendar td.inactive {
		color: #888;
		font-weight:normal
	}
	div.calendar td.valid {
		color: #89789C;
		cursor: pointer;
		font-weight:bold
	}
	div.calendar td.hilite {
		background-color:#F00;
	}
	div.calendar td.active {
		background-color:#89789C;
		color:#FFF;
		font-weight:bold
	}
	div.calendar td.today {
		border:1px solid #89789C
	}
	div.calendar td.hover {
		color: #000;
		cursor: pointer;
	}
