input.calendar {
  width: 100px;
}

button.calendar {
  background: url("../images/calendar-icon.png");
  border: 0;
  cursor: pointer;
  height: 14px;
  margin-right: 6px;
  width: 16px;
  padding: 0;
}
button.calendar:hover,
button.calendar.active {
  background-position: left bottom;
}

input.btn-clnd {
  background: url("../images/calendar-icon.png");
  border: 0;
  cursor: pointer;
  height: 14px;
  margin-right: 6px;
  width: 16px;
  padding: 0;
}
input.btn-clnd:hover,
input.btn-clnd.active {
  background-position: left bottom;
}

div.calendar {
	background: url("../images/calendar-bck.png");
	height: 195px;
	padding: 0 6px;
	text-align: center;
	width: 147px;
}	
	div.calendar * {
		margin: 0;
		padding: 0;
	}	
	div.calendar div {
		background: none !important;
		cursor: move;
		height: 185px;
		overflow: hidden;
		padding-top: 10px;
		position: relative;
		width: 147px;
	}	
	
	div.calendar caption {
		color: #333;
		font: normal 12px/16px Arial, Helvetica, sans-serif;
		padding-top: 6px;
		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/calendar-prev.png");
		left: 0;
	}
	div.calendar caption a.next {
		background-image: url("../images/calendar-next.png");
		right: 0;
	}
	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 {
		background: transparent;
		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: #879e21;
		font: normal 12px Arial, Helvetica, sans-serif;
		height: 21px;
		text-align: center;
		width: 21px;
	}
	div.calendar th {
                font-weight: bold;
        }

	div.calendar td {
		background: url(calendar-td.gif);
		color: #FFF;
		font-size: 11px;
	}
	div.calendar td.invalid {
		color: #6D6D6D;
	}
	div.calendar td.valid {
		background: url(calendar-valid.gif);
		color: #97AE22;
		/*color: #A6C226;*/
		cursor: pointer;
	}
	div.calendar td.hilite {
		background: url(calendar-hilite.gif);
	}
	div.calendar td.inactive {
		background: url(calendar-td.gif) 0 100%;
		/*color: #FFF;*/
		color: #97AE22;
	}
	div.calendar td.active,
	div.calendar td.hover {
		background: #A6C226;
		color: #FFF;
		cursor: pointer;
	}