/* This is a very basic stylesheet for the date-picker. Feel free to create your own. */

/* The wrapper div */
div.datePicker {
	position: absolute;
	min-width: 18em;
	width: 18em;
	font: 0.9em/0.9em Verdana, Sans-Serif;
	text-align: center;
	background: transparent;
	z-index: 9999;
}
/* Styles for the static datePickers */
div.staticDP {
	position: relative;
	top: 5px;
	left: 0;
}

/* The iframe hack to cover selectlists in Internet Explorer <= v6 */
iframe.iehack {
	position: absolute;
	background: #fff;
	z-index: 9998;
	padding: 0;
	border: 0;
	display: none;
	margin: 0;
}

/* The "button" created beside each input for non-static datePickers */
a.date-picker-control:link,
a.date-picker-control:visited,
a.date-picker-control:hover,
a.date-picker-control:active,
a.date-picker-control:focus {
	/* position:relative; */
	/* Moz & FF */
	/* display: -moz-inline-stack; */
	border: 0 none;
	padding: 0;
	margin: 2px 6px;
	background: transparent url('../Images/datepicker/cal.gif') no-repeat 50% 50%;
	min-width: 16px;
	cursor: pointer;
	visibility: visible;
	text-decoration: none;
}

/* Feed IE6 the following rule, IE7 should handle the min-width declared above */
* html a.date-picker-control {
	width: 16px;
}

a.date-picker-control {
	display: inline-block;
}

a.date-picker-control span {
	display: block;
	width: 16px;
	height: 16px;
	margin: auto 0;
}

/* The next & previous buttons */
div.datePicker th span {
	display: inline;
	padding: 0;
	margin: 0;
	color: #000;
	text-align: center;
	line-height: 1em;
	border-width: 0;
	font-family: Georgia, Times New Roman, Palatino, Times, Bookman, Serif;
	background: transparent;
	font-weight: bold;
	cursor: pointer;
}

div.datePicker th span.month-display,
div.datePicker th span.year-display {
	text-transform: uppercase;
	letter-spacing: 1px;
	font: normal 1.0em Verdana, Sans-Serif;
	cursor: default;
}

div.datePicker th span.prev-but,
div.datePicker th span.next-but {
	font-size: 1.4em;
	cursor: pointer !important;
}

div.datePicker th span.today-but {
	text-align: center;
	margin: 0 auto;
	font: normal 1em Verdana, Sans-Serif;
	width: 100%;
	text-decoration: none;
	line-height: 1.6em;
	text-transform: uppercase;
	cursor: pointer !important
}

div.datePicker thead th span.fd-disabled {
	color: #aaaaaa;
	cursor: default !important;
}

/* The mon, tue, wed etc day buttons */
div.datePicker th span.fd-day-header {
	text-align: center;
	margin: 0 auto;
	font: 900 0.9em Verdana, Sans-Serif;
	/* height: 1.4em;
	width: 2em; */
	color: #23799E;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 1.4em;
}

/* The table */
div.datePicker table {
	position: relative;
	margin: 0;
	padding: 0;
	/* border: 1px solid #ccc; */
	border: 1px solid #C0C0C0;
	background: #FFF url('../Images/datepicker/gradient-e5e5e5-ffffff.gif') repeat-x 0 -20px;
	/* background: #EDEDED; */
	text-align: center;
	width: 100%;
	border-spacing: 2px;
	table-layout: fixed;
	border-collapse: separate;
}

div.datePicker table:hover {
	border-color: #23799E;
}

/* Common TD & TH styling */
div.datePicker table td {
	/* border: 1px solid #ccc; */
	border: 1px solid #D0D0D0;
	padding: 0.2em;
	text-align: center;
	vertical-align: middle;
	/* Opera requires a line-height bigger than 1em in order to redraw properly */
	line-height: 1.05em;
	background: #FFFFFF url('../Images/datepicker/gradient-e5e5e5-ffffff.gif') repeat-x 0 -40px;
	/* background-color: #FFFFFF; */
	/* width: 2em;
	height: 2em !important;
	height: 1.8em; */
	height: 2em !important;
	cursor: pointer;
	outline: none;
}

div.datePicker table th {
	border: 0 none;
	padding: 0;
	line-height: 1em;
	font-weight: bold;
	color: #222;
	text-align: center;
	vertical-align: middle;
}

div.datePicker table td.date-picker-unused {
	background: #FFFFFF url('../Images/datepicker/backstripes.gif');
	border-color: #E0E0E0;
	padding: 0;
	cursor: default !important;
}

div.datePicker table thead th.date-picker-title {
	width: auto;
	height: auto;
	padding: 0.4em 0;
}

/* The "mon tue wed etc" day header button styles */
div.datePicker table th.date-picker-day-header {
	font: 900 1.0em Verdana, Sans-Serif;
	text-transform: uppercase;
	color: #23799E;
	/* width:3em; */
}

div.datePicker table th.date-picker-day-header span {
	display:block;
}

/* The "todays date" style */
div.datePicker table td.date-picker-today {
	background:#FFFFFF url('../Images/datepicker/bullet2.gif') no-repeat 0 0;
	color: #23799E !important;
	font-weight: bold;
	border: 1px solid #23799E;
}

/* The "selected date" style */
div.datePicker table td.date-picker-selected-date {
	color:#333333 !important;
	border-color:#333333 !important;
}

/* the "highlight days" style */
td.date-picker-highlight {
	color: #23799E;
}

/* The date "out of range" style */
div.datePicker table td.out-of-range {
	color: #ccc !important;
	font-style: oblique;
	background: #fcfcfc !important;
	cursor: default !important;
}

/* The "disabled days" style */
div.datePicker table td.day-disabled {
	color: #AAAAAA !important;
	background: transparent !important;
	cursor: default !important;
}

/* The "active cursor" style */
div.datePicker table tbody td.date-picker-hover {
	background: #fff url('../Images/datepicker/bg_header.jpg') no-repeat 0 0;
	border-color: #23799E;
	font-weight: bold;
	/* color: #23799E; */
	cursor: pointer;
}

/*
Quirksmode necessity?
---------------------

If your HTML document renders in quirksmode (i.e. has no doctype declaration)
then uncomment the following CSS rule to set a less drastic font-size in IE

div.datePicker table th,
div.datePicker table td
{
font-size:100%;
}
*/

/* Remove the images for Internet Explorer <= v6 using the "* html" hack */
* html div.datePicker table td {
	background-image:none;
}

* html div.datePicker table td.date-picker-unused {
	background:#f2f2f2;
}

