/* CSS datepicker */
table.jCalendar {
	color: black;
	width:100%;
	/*border-collapse: collapse;*/
}
table.jCalendar th {
	text-align: center;
	font-weight: normal;
	width: 24px;
	padding-bottom: 1px;
	border-bottom: 1px solid #f5f5f5;
}
table.jCalendar td {
	padding-right: 2px;
	/*height: 15px;*/
	text-align: right;
	border-collapse: collapse;
}

table.jCalendar td:hover {
	background: url('../images/day_hover.gif') bottom no-repeat;	
	color: #0066cc;
}

table.jCalendar td.other-month {
	color: #a8a8a8;
	/*background: #ddd;
	color: #aaa;*/
}

table.jCalendar td.other-month:hover {
	color: #b1c5fc;
}
table.jCalendar td.today {
	background: #3c8bc4;
	color: #fff;
}
table.jCalendar td.today:hover {
	background:#e03e34;
}
table.jCalendar td.selected {
	/*background: url('../images/day_selected.gif') bottom no-repeat;*/
	border:1px solid #3c8bc4;
	color: #0066cc;
}
table.jCalendar td.selected:hover {
	background: #edf9ff;
}

table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
	background: #ccc; /*bbb;*/
	color: #888;
}

/* For the popup */
div.dp-popup {	
	font: 12px calibri, arial !important;
	background: transparent url('../images/calendar_background.png') no-repeat top center;
	padding: 16px;
	height: 130px;
	width: 166px !important;
	text-align:left;
	overflow: hidden;
}
div#dp-popup {
	position: absolute;
	z-index: 999;	
	margin-top: -5px;
	margin-left: -2px;	
	display: block;
	width:164px;
}
div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	font-weight: normal;
	padding-bottom: 2px;
}

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, div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 16px;
	width: 100px;
}

/* 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 {
	height: 12px;
	width: 10px;	
	cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {	
	cursor: default;
	background:none;
}

div.dp-popup div.dp-nav-prev {	
	left: 5px;
}
div.dp-popup div.dp-nav-prev a {
	background: url('../images/arrowleft.gif') no-repeat left;
	float: left;
	margin-left:20px;
	
}
div.dp-popup div.dp-nav-prev a:hover {
	background: url('../images/arrowleft_hover.gif') no-repeat left;		
}

div.dp-popup div.dp-nav-next {	
	right: 5px;
}

div.dp-popup div.dp-nav-next a {
	background: url('../images/arrowright.gif') no-repeat right;
	float: right;
	margin-right:20px;	
}
div.dp-popup div.dp-nav-next a:hover {
	background: url('../images/arrowright_hover.gif') no-repeat right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}

/* positie van het calender icoontje */
a.dp-choose-date {
	float: left;
	width: 20px;
	height: 20px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(calendar.gif) 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: 120px;
	float: left;
	margin-left:5px;
}
