/**
 * Style sheet calendar
 */
button.calendar
{
	width:20px;
	height:20px;
	margin-top:2px;
	vertical-align:top;
	border:0;
	background:url("calendar-icon.gif");
	cursor:pointer;
}

button.calendar:hover, button.calendar.active
{
	background-position:0 20px;
}

div.calendar
{
	width:147px;
	height:195px;
	margin-left:3px;
	padding:0px 6px;
	text-align:center;
	background:url("calendar.png");
}

div.calendar div
{
	width:147px;
	height:185px;
	position:relative;
	overflow:hidden;
	padding-top:10px;
	background:none!important;
	cursor:move;
}

div.calendar caption
{
	width:100%;
	overflow:hidden;
	padding-top:6px;
	text-align:center;
	color:#666966;
	font:normal 12px/16px Arial,Helvetica,sans-serif;
}

div.calendar caption a
{
	width:11px;
	height:12px;
	top:17px;
	position:absolute;
	overflow:hidden;
	display:block;
	cursor:pointer;
	text-indent:-100px;
}

div.calendar caption a.prev
{
	left:0;
	background-image:url("calendar-prev.gif");
}

div.calendar caption a.next
{
	right:0;
	background-image:url("calendar-next.gif");
}

div.calendar caption a:hover
{
	background-position:0 12px;
}

div.calendar caption span
{
	height:17px;
	position:relative;
	text-align:center;
}

div.calendar caption span.month
{
	width:89px;
	float:left;
}

div.calendar caption span.month:after
{
	content:'';
}

div.calendar caption span a
{
	top:1px;
}

div.calendar caption span.year
{
	width:58px;
	float:right;
}

div.calendar table
{
	width:100%;
	overflow:hidden;
	margin:0 auto;
	border-collapse:collapse;
	background:#fff;
	cursor:default;
}

div.calendar td, div.calendar th
{
	height:21px;
	text-align:center;
	vertical-align:middle;
	border:0;
	color:#7cab49;
	font:normal 11px Arial,Helvetica,sans-serif;
}

div.calendar td
{
	font-size:11px;
	color:#fff;
	background:url("calendar-td.gif");
}

div.calendar td.invalid
{
	color:#999;
}

div.calendar td.valid
{
	color:#7cab49;
	background:url("calendar-valid.gif");
	cursor:pointer;
}

div.calendar td.inactive
{
	color:#fff;
	background:url("calendar-td.gif") 0 100%;
}

div.calendar td.active, div.calendar td.hover
{
	color:#fff;
	background:url("calendar-valid.gif") 0 100%;
	cursor:pointer;
}

* html div.calendar th
{
	height:17px;
}

* html div.calendar td
{
	height:19px;
}

* html div.calendar caption span a
{
	top:2px;
}

* html div.calendar caption span
{
	height:18px;
}

* html button.calendar
{
	margin-left:3px;
}

*:first-child+html div.calendar th
{
	height:17px;
}

*:first-child+html div.calendar td
{
	height:19px;
}

*:first-child+html div.calendar caption span a
{
	top:2px;
}

*:first-child+html div.calendar caption span
{
	height:18px;
}

*:first-child+html button.calendar
{
	margin-left:3px;
}
