@charset "utf-8";

/* DATE-PICKER CALENDAR */
/* -------------------------------------- */

table.jCalendar {
	border-top: 1px solid #E0EBF2;
	border-left: 1px solid #E0EBF2;
	border-bottom: 1px solid #B6BFC4;
	border-right: 1px solid #B6BFC4;
	background: #C9D3D9;
    border-collapse: separate;
    border-spacing: 2px;
}

table.jCalendar th {
	background: #C9D3D9 url(../images/bg_thead_th.gif) repeat-x;
	background-position: 0 -5px;
	border-top: 1px solid #E0EBF2;
	border-left: 1px solid #E0EBF2;
	border-bottom: 1px solid #B6BFC4;
	border-right: 1px solid #B6BFC4;
	color: #333;
	font-weight: bold;
	padding: 2px 4px;
}

table.jCalendar td {
	background: #E7DBBE url(../images/bg_tbody_td.gif) repeat-x;
	background-position: 0 -10px;
	border-top: 1px solid #f5e8ca;
	border-left: 1px solid #f5e8ca;
	border-bottom: 1px solid #e4d8bc;
	border-right: 1px solid #e4d8bc;
	color: #555;
	padding: 2px 4px;
	text-align: center;
}

table.jCalendar td.other-month {
	background: #E7DBBE url(../images/bg_tbody_td.gif) repeat-x;
	border-top: 1px solid #fff6e1;
	border-left: 1px solid #fff6e1;
	color: #888;
}

table.jCalendar td.today {
	background: #666;
	color: #fff;
}

table.jCalendar td.selected { /* currently selected date */
	background: #F2A49E url(../images/bg_curdate.gif) repeat-x;
	border-top: 1px solid #F7CECA;
	border-left: 1px solid #F7CECA;
	border-bottom: 1px solid #F2A49E;
	border-right: 1px solid #F2A49E;
	color: #555;
}

table.jCalendar td.selected:hover {
	background: #F7CECA url(../images/bg_curdate_lit.gif) repeat-x;
	color: #555;
}

table.jCalendar td:hover, table.jCalendar td.dp-hover {
	background: #E7DBBE url(../images/bg_tbody_td_lit.gif) repeat-x;
	color: #000;
}

table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
	border-top: 1px solid #E0EBF2;
	border-left: 1px solid #E0EBF2;
	border-bottom: 1px solid #B6BFC4;
	border-right: 1px solid #B6BFC4;
	background: #C9D3D9;
	color: #888;
}

a.dp-nav-next-month, a.dp-nav-prev-month {
	font-size: 14px;
	line-height: 24px;
}

/* For the popup */

#calendarShadow {
	background-image: url(../images/calendar_shadow.png);
	display: none;
	height: 192px;
	position: absolute;
	width: 207px;
	z-index: 180;
}

div.dp-popup {
	position: relative;
	background: #C9D3D9 url(../images/bg_thead_th.gif) repeat-x;
	border-top: 1px solid #E0EBF2;
	border-left: 1px solid #E0EBF2;
	border-bottom: 1px solid #B6BFC4;
	border-right: 1px solid #B6BFC4;
	color: #333;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: 171px;
	line-height: 1.2em;
}

div#dp-popup {
	position: absolute;
	z-index: 199;
}

div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 2px 0;
	padding: 0;
}

a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}

a#dp-close:hover {
	text-decoration: underline;
}

div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}

div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	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;
}

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;
	top: 2px;
	right: 4px;
	width: 100px;
}

div.dp-popup div.dp-nav-next a {
	float: right;
}

div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}

div.dp-popup td {
	cursor: pointer;
}

div.dp-popup td.disabled {
	cursor: default;
}


/* INPUT FIELD LINK */
/* -------------------------------------- */

a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 0 3px;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(../images/calendar.png) no-repeat; 
}

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
 */
input.dp-applied {
	width: 140px;
	float: left;
}