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

/*
 *   MODIFICACIONES PARA HACERLO VISIBLE SIEMPRE
 * Al estilo: "select.calendar" agregar "visibility: hidden;"
 * Al estilo: "div.calendar div" cambiar de "cursor: move;" a "cursor: default;"
 */


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


input.calendar,
select.calendar {
	width: 99px;
	visibility: hidden;
}

button.calendar {
	background: url(../images/calendar-icon.gif);
	border: 0;
	cursor: pointer;
	float: left;
	height: 20px;
	margin-right: 6px;
	width: 20px;
	visibility: hidden;
}
button.calendar:hover,
button.calendar.active {
	background-position: 0 20px;
}

div.calendar {
	background: url(../images/frame.gif);
	background-repeat:no-repeat;
	height: 160px;
	padding: 0 6px;
	text-align: center;
	width: 186px;
}	
	div.calendar * {
		margin: 0;
		padding: 0;
	}	
	div.calendar div {
		background: none !important;
		cursor: default;
		height: 150px;
		overflow: hidden;
		padding-top: 5px;
		position: relative;
		width: 186px;
	}	
	
	div.calendar caption {
		color: black;
		font: normal 12px/16px Arial, Helvetica, sans-serif;
		padding-top: 8px;
		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/buttons.gif);
		background-position: 0px 0%;
		left: 7px;
		top: 15px;
	}
	div.calendar caption a.next {
		background-image: url(../images/buttons.gif);
		background-position: 25px 0%;
		right: 6px;
		top: 15px;
	}
	/*div.calendar caption a:hover {
		background-position: 25px 100%;
	}*/
	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-left: 7px;
		overflow: hidden;
		width: 175px;
	}
	div.calendar td,
	div.calendar th {
		border: 0;
		color: #AD5C2F;
		font: normal 12px Arial, Helvetica, sans-serif;
		height: 17px;
		text-align: center;
		width: 21px;
	}
	div.calendar td {
		/*background: url(../images/calendar-td.gif);*/
		color: #999999;
		font-size: 11px;
	}
	div.calendar td.invalid {
		color: black;
	}
	div.calendar td.valid {
		/*background: url(../images/calendar-valid.gif);*/
		color: #C00000;
		cursor: pointer;
	}
	div.calendar td.hilite {
		background: url(../images/calendar-hilite.gif);
	}
	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/day_hover.gif);
		background-repeat: no-repeat;
		background-position: 2px 0%;
		color: #C00000;
		cursor: pointer;
	}