/* 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> */

#calendar {
	margin-bottom:10px;
}

.hidden {
	opacity: 0;
	position: relative;
}
.visible {
	opacity: 1;
	position : relative;
}

input[type='button'].calendar {
	display:inline-block;
	width : 20px;
	height : 20px;
	line-height :16px;
	margin:0 2px;
	padding : 0;
	border : 0px;
	background:url(../img/global/btn_calendar_blue.gif) no-repeat center;
	background-color : none;
}

/* thematic */
.spring input[type='button'].calendar {
	background:url(../img/global/btn_calendar_green.gif) no-repeat center;
}
.autumn  input[type='button'].calendar {
	background:url(../img/global/btn_calendar_red.gif) no-repeat center;
}
.summer input[type='button'].calendar {
	background:url(../img/global/btn_calendar_orange.gif) no-repeat center;
}
/* end thematic */

div.calendar {
	height: 130px;
	text-align: center;
	width: 130px;
	/*border:1px solid #000;*/
}
	form div.calendar {
		border:0;
	}

	div.calendar div {
		background: none !important;
		cursor: move;
		height: 130px;
		overflow: hidden;
		position: relative;
		width: 130px;
	}	
	div.calendar caption {
		background-color: #bababa;
		color: #fff;
		font: normal 10px/14px Arial, Helvetica, sans-serif;
		text-align: center;
		width: 130px;
	}
	/* thematic */
	.spring div.calendar caption {
		background-color: #71a600;
	}
	.autumn div.calendar caption {
		background-color: #e73351;
	}
	.summer div.calendar caption {
		background-color: #e97d00;
	}
	.winter div.calendar caption {
		background-color:#02A5B6;
	}
	/* end thematic */
	
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 10px;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		width: 11px;
	}
	div.calendar caption a.prev {
		background-image: url(../img/global/calendar_prev.gif);
		background-repeat:no-repeat;
		left: 10px;
		top:4px;
	}
	div.calendar caption a.next {
		background-image: url(../img/global/calendar_next.gif);
		background-repeat:no-repeat;
		right:10px;
		top:4px;

	}
	div.calendar caption a:hover {
		background-position: 0 1px;
	}
	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 {
	}

	div.calendar table {
		background: #E7E0D6;
		border: 0;
		border-collapse: collapse;
		border-spacing: 0;
		cursor: default;
		margin: 0 auto;
		overflow: hidden;
		width: 130px;
	}
	div.calendar tbody {
		display:table;
		border-left:thin solid #000;
		width:110px;
		margin-left:10px;		
		
	}
	div.calendar thead {
		background-color: #E7E0D6;
		border-bottom:thin solid #000;
		display:table;
		width: 110px;
		margin : auto;		
	}
	div.calendar td,
	div.calendar th {
		border: 0;
		color: #000;
		font: normal 8px Arial, Helvetica, sans-serif;
		height: 10px;
		text-align: center;
		width: 12px;
	}
	div.calendar td {
		visibility : hidden;
		color: #000;
		font-size:9px;
	}
	div.calendar td.invalid {
		color: #999;
		visibility : visible;
	}
	div.calendar td.valid {
		visibility : visible;
		color: #000;
		cursor: pointer;
	}
	div.calendar td.hilite {
	}
	div.calendar td.inactive {
		color: #000;
	}
	div.calendar td.active,
	div.calendar td.hover {
		color: #bababa; /*#0290A1;*/
		opacity:1;
		cursor: pointer;
	}
	/* thematic */
	.spring div.calendar td.active,
	.spring div.calendar td.hover {
		color: #71a600;
	}
	.autumn div.calendar td.active,
	.autumn div.calendar td.hover {
		color: #e73351;
	}
	.summer div.calendar td.active,
	.summer div.calendar td.hover {
		color: #e97d00;
	}
	/* end thematic */
