.datePicker {
	position: absolute;
	min-width: 21em;
	width: 40em;
	z-index: 9999;
	text-align: center;
	font: 900 10px Verdana, Sans-Serif;
	background: transparent;
}

.datePicker th, .datePicker td {
	font-size: 14px;
}

.iehack {
	position: absolute;
	background: #fff;
	z-index: 9998;
	padding: 0;
	border: 0;
	display: none;
}

.date-picker-control {
	position: relative;
	float: right;
	top: 0px;
	left: 0px;
	border: 0 none;
	padding: 0;
	margin-bottom: -16px;
	background: transparent url(images/icon-calendar.png) no-repeat 0 0;
	width: 23px;
	height: 23px;
	margin-top: 0;
	vertical-align: top;
	cursor: pointer;
}
button[class=date-picker-control] {
	top: 3px;
	left: -10px;
}

/* The next & previous buttons */
.datePicker th button {
	display: inline;
	padding: 0;
	margin: 0;
	color: #000;
	height: 1em;
	width: 0.8em;
	line-height: 0.8em;
	font-size: 19px;
	border-width: 0;
	font-family: georgia, times new roman, palatino, times, bookman, serif;
	background: transparent;
	font-weight: bold;
	cursor: pointer;
	/* Remove the next line (or add it to an IE specific stylesheet imported using conditional comments) should you wish to validate the css */
	outline: expression(hideFocus="true");
}

.datePicker th button:active,
.datePicker th button:focus,
.date-picker-control:active,
.date-picker-control:focus,
.datePicker th button.disabled
{
	outline:none !important;
	/* Remove the next line should you need to validate the css */
	-moz-outline-style: none;
}

.datePicker th button.prev-but {
	text-align: left;
}
.datePicker th button.next-but {
	text-align: right;
}
.datePicker th button.disabled {
	color: #aaa;
	cursor: default;
}

/* The spacing between the buttons */
.but-spacer {
	margin-right: .2em !important;
}
/* The mon, tue, wed etc day buttons */
.datePicker th button.fd-day-header {
	text-align: center;
	margin: 0 auto;
	font: 900 1em Verdana, Sans-Serif;
	height: auto;
	width: auto;
	text-decoration: none;
	line-height: 1.4em;
}

/* The table */
.datePicker table {
	position: relative;
	margin: 0;
	padding: 0;
	border: 1px solid #ccc;
	background: #fff url(images/datepicker/gradient-e5e5e5-ffffff.gif) repeat-x 0 -20px;
	text-align: center;
	width: 100%;
}
.datePicker table tfoot td {
	background: #fff url(images/datepicker/gradient-e5e5e5-ffffff.gif) repeat-x 0 -40px;
}

/* Common TD & TH styling */
.datePicker table td {
	border: 1px solid #ccc;
	padding: 0.6em 0.5em 0.5em 0.5em;
	vertical-align: middle;
	/* Opera requires a line-height bigger than 1em in order to redraw properly */
	line-height: 1.2em;
	cursor: default;
	background: #fff url(images/datepicker/gradient-e5e5e5-ffffff.gif) repeat-x 0 -50px;
}
.datePicker table th {
	border: 0 none;
	padding: 0;
	line-height: 2em;
	font-weight: bold;
	color: #222;
	text-align: center;
	vertical-align: middle;
}
/* The "mon tue wed etc" day header button styles */
.datePicker table th.date-picker-day-header {
	text-transform: lowercase;
	cursor: help;
}
/* The "todays date" style */
.datePicker table td.date-picker-today {
	background: #fff url(images/datepicker/bullet2.gif) no-repeat 0 0;
	color: rgb(100,100,100) !important;
}
/* The "selected date" style */
.datePicker table td.date-picker-selected-date {
	color: #333 !important;
	border-color: #333 !important;
}
/* the "highlight days" style */
td.date-picker-highlight {
	color: #a86666;
}
/* The date "out of range" style */
.datePicker table td.out-of-range {
	color: #ccc !important;
	font-style: oblique;
	background: transparent !important;
	cursor: default !important;
}
/* The "disabled days" style */
.datePicker table td.day-disabled {
	color: #aaa !important;
	background: transparent !important;
	cursor: default !important;
}
/* The "active cursor" style */
.datePicker table td#date-picker-hover {
	background: #fff url(images/datepicker/bg_header.jpg) no-repeat center center;
	cursor: pointer;
	border-color: rgb(100,130,170);
	color: rgb(100,130,170);
}
/* Remove the images for Internet Explorer <= v6 using the "* html" hack */
* html .datePicker table td.date-picker-selected,
* html .datePicker table td.date-picker-hover,
* html .datePicker table td
{
	background-image: none;
}
/* Target ie7 only */
*:first-child+html .datePicker {
	min-width: 23em;
	width: 23em;
}
