table.jCalendar {
	background: #f7f1e5;
	border-collapse: separate;
	border-spacing: 2px;
	line-height: 1.4;
}
table.jCalendar th {
	background: #094c5d;
	padding: 3px 5px;
	font-weight: bold;
	color: #fff;
	text-align: center;
}
table.jCalendar td {
	background: #4391a5;
	padding: 3px 5px;
	color: #fff;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #f7f1e5;
	color: #000;
}
table.jCalendar td.today {
	background: #094c5d;
	color: #fff;
}
table.jCalendar td.selected {
	background: #000;
	color: #fff;
}
table.jCalendar td.selected:hover {
	background: #c50303;
	color: #fff;
}
table.jCalendar td:hover,
table.jCalendar td.dp-hover {
	background: #c50303;
	color: #fff;
}
table.jCalendar td.disabled,
table.jCalendar td.disabled:hover {
	background: #f7f1e5;
	color: #878787;
}

/* For the popup */
div.dp-popup {
	background: #fff;
	position: relative;
	width: 171px;
	border: 1px solid #000;
	padding: 2px;
	font-family: tahoma, "arial ce", arial, helvetica, sans-serif;
	font-size: 95%;
	line-height: 1.2em;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
}
div.dp-popup h2 {
	background: none;
	/*margin: 2px 0;*/
	margin: 0;
	_margin: 0 0 0 6px;
	padding: 0;
	/*font-family: "trebuchet ms", "geneva ce", lucida, sans-serif;*/
	font-family: tahoma, arial, helvetica, sans-serif;
	font-size: 105%;
	font-weight: normal;
	color: #c50303;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.65;
}
a#dp-close {
	display: block;
	padding: 4px 0;
	font-size: 95%;
	text-align: center;
}
a#dp-close:hover {
	text-decoration: underline;
}
div.dp-popup a {
	padding: 3px;
	color: #000;
	text-decoration: none;
}
div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 1px;
	left: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a,
div.dp-popup div.dp-nav-next a {
	cursor: pointer;
	font-size: 90%;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}
div.dp-popup div.dp-nav-next {
	position: absolute;
	right: 4px;
	top: 1px;
	width: 100px;
}
div.dp-popup div.dp-nav-next a {
	float: right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #878787;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}

/* instead of a text link for "Choose date" */
form a.dp-choose-date {
	background: url("../gfx/date-picker.gif") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
	overflow: hidden;
	/*margin: 2px 1px 0 4px;*/
	margin: 2px 0 0 3px;
	padding: 0;
	text-indent: -2000px;
}
#main form fieldset a.dp-choose-date {
	position: relative;
	left: 3px;
	margin: 0;
}
form a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code has run (to allow space for the calendar icon */
form input.dp-applied {
	width: 140px;
	float: left;
}
#main form a.dp-choose-date {
	position: relative;
	top: 2px;
	margin: 2px 1px 0 4px;
}