/**
 * Style sheet datepicker
 */
/* The wrapper div */
div.dp_container
{
	width:18em;
	position:absolute;
	text-align:center;
	min-width:24em;
	z-index:9999;
	font:900 0.8em/0.8em Verdana, Sans-Serif;
	background:transparent;
	-moz-user-select:none;
	-khtml-user-select:none;
}

/* Styles for the static datePickers */
div.staticDP
{
	left:0px;
	top:5px;
	position:relative;
}

/* The iframe hack to cover selectlists in Internet Explorer <= v6 */
iframe.iehack
{
	position:absolute;
	display:none;
	margin:0;
	padding:0;
	border:0;
	background:#fff;
	z-index:9998;
}

/* 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;
	display:-moz-inline-stack;
	margin:0px 0px 0px 4px;
	padding:0;
	vertical-align:middle;
	border:0 none;
	text-decoration:none;
	line-height:1;
	background:transparent url(../media/cal.gif) no-repeat 50% 50%;
	min-width:16px;
	cursor:pointer;
	visibility:visible;
}

/* 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
{
	width:16px;
	height:16px;
	display:block;
	margin:auto 0;
}

/* The next & previous buttons */
div.dp_container th span
{
	display:inline;
	margin:0;
	padding:0;
	text-align:center;
	border:0;
	font-family:georgia, times new roman, palatino, times, bookman, serif;
	font-weight:bold;
	color:#000;
	line-height:1em;
	background:transparent;
	cursor:pointer;
}

div.dp_container th span.month-display, div.dp_container th span.year-display
{
	text-transform:uppercase;
	letter-spacing:1px;
	font:normal 1.2em Verdana, Sans-Serif;
	cursor:default;
}

div.dp_container th span.prev-but, div.dp_container th span.next-but
{
	font-size:1.8em;
	cursor:pointer !important;
}

div.dp_container th span.today-but
{
	width:100%;
	margin:0 auto;
	text-align:center;
	text-decoration:none;
	line-height:1.6em;
	font:normal 1em Verdana, Sans-Serif;
	text-transform:uppercase;
	cursor:pointer !important;
}

div.dp_container thead th span.fd-disabled
{
	color:#aaa;
	cursor:default !important;
}

/* The mon, tue, wed etc day buttons */
div.dp_container th span.fd-day-header
{
	width:2em;
	height:1.4em;
	margin:0 auto;
	text-align:center;
	text-decoration:none;
	line-height:1.4em;
	font:900 1em Verdana, Sans-Serif;
	text-transform:lowercase;
}

/* The table */
div.dp_container table
{
	width:100%;
	position:relative;
	margin:0;
	padding:0;
	text-align:center;
	border:1px solid #ccc;
	border-collapse:separate;
	background:#fff url(../media/gradient-e5e5e5-ffffff.gif) repeat-x 0 -20px;
	border-spacing:2px;
	table-layout:fixed;
}

/* Common TD & TH styling */
div.dp_container table td
{
	width:3em;
	height:2.8em;
	padding:0;
	text-align:center;
	vertical-align:middle;
	border:1px solid #ccc;
	line-height:1.2em;
	cursor:pointer;
	background:#fff url(../media/gradient-e5e5e5-ffffff.gif) repeat-x 0 -40px;
	height:3em !important;
	outline:none;
}

div.dp_container table th
{
	padding:0;
	text-align:center;
	vertical-align:middle;
	border:0 none;
	font-weight:bold;
	color:#222;
	line-height:1em;
}

div.dp_container table td.date-picker-unused
{
	padding:0;
	background:#fff url(../media/backstripes.gif);
	cursor:default !important;
}

div.dp_container table thead th.date-picker-title
{
	width:auto;
	height:auto;
	padding:1px 0px;
}

/* The "mon tue wed etc" day header button styles */
div.dp_container table th.date-picker-day-header
{
	width:3em;
	text-transform:lowercase;
}

div.dp_container table th.date-picker-day-header span
{
	display:block;
}

/* The "todays date" style */
div.dp_container table td.date-picker-today
{
	background:#fff url(../media/bullet2.gif) no-repeat 0 0;
	color: #646464 !important;
}

/* The "selected date" style */
div.dp_container 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 */
div.dp_container table td.out-of-range
{
	color:#ccc !important;
	font-style:oblique;
	background:#fcfcfc !important;
	cursor:default !important;
}

/* The "disabled days" style */
div.dp_container table td.day-disabled
{
	color:#aaa !important;
	background:transparent !important;
	cursor:default !important;
}

/* The "active cursor" style */
div.dp_container table tbody td.date-picker-hover
{
	color:#646464;
	background:#fff url(../media/bg_header.jpg) no-repeat 0 0;
	cursor:pointer;
}

/* Remove the images for Internet Explorer <= v6 using the " html" hack */
* html div.dp_container table td
{
	background-image:url("none");
}

* html div.dp_container table td.date-picker-unused
{
	background:#f2f2f2;
}
