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

input.calendar,
select.calendar {
	width: 99px;
    float:left;
}

button.calendar {
    padding:0px;
    margin:0px;
	background: url(calendar-icon.gif);
	border: 0;
	cursor: pointer;
	float: left;
	height: 20px;
	margin-left: 3px;
    margin-top:1px;
	width: 20px;
}

button.calendar:hover,
button.calendar.active {
	background-position: 0 20px;
}

div.calendar {
	background: url(calendar.png);
	height: 175px;
	padding: 0 6px;
	text-align: center;
	width: 159px;
}
	div.calendar * {
		margin: 0;
		padding: 0;
	}
	div.calendar div {
	   	background: none !important;
		cursor: move;
		height: 185px;
		overflow: hidden;
		padding-top: 10px;
		position: relative;
		width: 161px;
        padding-left: 0px;
	}

	div.calendar caption {
		color: #BB1216;
		font: bold 12px Arial, Helvetica, sans-serif;
		text-align: center;
		width: 150px;           
	}
	
	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(calendar-prev.png);
		left:8px;
        top:11px;
	}
	div.calendar caption a.next {
		background-image: url(calendar-next.png);
		right:8px;
        top:11px;
	}
	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 {
		border: 0;
		border-collapse: collapse;
		border-spacing: 0;
		cursor: default;
		margin: 0 auto;
		overflow: hidden;
		width: 147px;
        padding: 0px;
	}

	div.calendar th {
		border: 0;
		color: #000;
		font: bold 12px Arial, Helvetica, sans-serif;
		height: 20px;
		text-align: center;
	}
	div.calendar td {
        border: 0;
		height: 20px;
		width: 22px;
		background: url(calendar-td.gif);
		color:#555;
        font: normal 11px Arial, Helvetica, sans-serif;
        text-align: center;
	}
	div.calendar td.invalid {
		color: #CCC;
	}
	div.calendar td.valid {
		background: url(calendar-valid.gif);
		color: #FFF;
		cursor: pointer;
	}
	div.calendar td.hilite {
		background: url(calendar-hilite.gif);
	}
	div.calendar td.inactive {
		background: url(calendar-td.gif) 0 100%;
		color: #FFB871;
	}

	div.calendar td.active{
        background: url(calendar-valid.gif) 0 100%;
		color: #BB1216;
		cursor: pointer;
        font-weight:bold;
    }

	div.calendar td.hover {
		background: url(calendar-valid.gif) 0 100%;
		color: #FFF;
		cursor: pointer;
	}
