﻿input.calendar,
select.calendar {
	width: 99px;
}

button.calendar {
	background: url(images/calendar-icon.gif);
	border: 0;
	float: left;
	height: 0;
	width: 0;
}
button.calendar:hover,
button.calendar.active {
	background-position: 0 20px;
}

div.calendar {
	background: url(images/calendar2.png);
	height: 164px;
	padding: 0 6px 0 25px;
	text-align: center;
	width: 191px;
}	
	div.calendar * {
		margin: 0;
		padding: 0;
	}	
	div.calendar div {
		background: none !important;
		height: 138px;
		overflow: hidden;
		padding-top: 10px;
		position: relative;
		width: 185px;
	}	
	
	div.calendar caption {
		color: #FFF;
		font: normal 12px/16px Arial, Helvetica, sans-serif;
		padding-bottom: 8px;
		text-align: center;
		font-weight:bold;
	}
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 10px;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		top: 14px;
		width: 6px;
	}
	div.calendar caption a.prev {
		background-image: url(images/calendar-prev2.gif);
		left: 5px;
	}
	div.calendar caption a.next {
		background-image: url(images/calendar-next2.gif);
		right: 5px;
	}
	div.calendar caption a:hover {
		background-position: 0 10px;
	}
	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;
		
	}
	div.calendar td,
	div.calendar th {
		border: 0;
		color: #3e3d37;
		font: normal 12px Arial, Helvetica, sans-serif;
		height: 16px;
		text-align: center;
		width: 24px;
	}
	div.calendar td {
		color: #f5eedc;
		text-indent:-500px;
		font-size: 11px;
	}
	div.calendar td.invalid 
	{
	    background: url(images/calendar-td2.gif) 0 100%;
		color: #909090;
		text-indent:0;
	}
	div.calendar td.valid {
		background: url(images/calendar-valid2.gif);
		color: #3e3d37;
		cursor: pointer;
		text-indent:0;
	}
	div.calendar td.hilite {
		background: url(images/calendar-hilite.gif);
	}
	div.calendar td.inactive {
		background: url(images/calendar-td2.gif) 0 100%;
		color: #c0c0c0;
	}
	div.calendar td.active,
	div.calendar td.hover {
		background: url(images/calendar-valid2.gif) 0 100%;
		color: #cc9900;
		cursor: pointer;
		text-indent:0;
	}