/* ********* jQuery Style DatePicker ********* */
table.jCalendar {
	border: 1px solid #fff;
	background: #eee;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #3B6B98;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}
table.jCalendar td {
	background: #fafafa;
	border:1px solid #bbb;
	color: #000000;
	padding: 2px 4px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #dadada;
	color: #aaa;
}
table.jCalendar td.today {
	background: #DFFFE4;
	border:1px solid #009933;
	color: #000000;
}
table.jCalendar td.selected {
	background-color:#DFE5FF;
	border:1px solid #0766C4;
	color: #000000;
}
table.jCalendar td.selected:hover {
	background: #6f6;
	color: #050;
}
table.jCalendar td:hover, table.jCalendar td.dp-hover {
	background: #fff;
	color: #000;
}
table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
	background: #bbb;
	color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
	position: relative;
	background: #ddd;
	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 0px 2px 0px;
	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: 2px;
	width: 100px;	
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}

.dp-nav-prev-month,.dp-nav-next-month, .dp-nav-prev-year, .dp-nav-next-year {
	background-color:#F0F0FF;
	border:1px solid #AAAAAA;
	color:gray;
	cursor:pointer;
	font-family:Verdana,Tahoma,Arial,Helvetica,sans-serif;
	font-size:6px;
	width:10px;
	text-align:center;
	margin:0px 1px 0px 1px;
}


/* 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: 2px;
	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:hover {
	border: 1px solid #666666;
	background-color: #cccccc;
	color: red;	
}

div.dp-popup td.disabled {
	cursor: default;
}


/* ********* Post (old fashion) Style DatePicker ********* */

/* the div that holds the date picker calendar */
.dpDiv {
	vertical-align: top;
}

/* the table (within the div) that holds the date picker calendar */
.dpTable {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-align: center;
    LINE-HEIGHT: 100%;
	color: #505050;
	background: #F3F6FB url(images/intro_bg.jpg); 
	border: 1px solid #0766C4;
}

/* a table row that holds date numbers (either blank or 1-31) */
.dpTR {
}

/* the top table row that holds the month, year, and forward/backward buttons */
.dpTitleTR {
}

/* the second table row, that holds the names of days of the week (Mo, Tu, We, etc.) */
.dpDayTR {
}

/* the bottom table row, that has the "This Month" and "Close" buttons */
.dpTodayButtonTR {
}

/* a table cell that holds a date number (either blank or 1-31) */
.dpTD {
	background-color:#FFFFFF;
	border: 1px solid #ece9d8;
	width:20px;
}

/* a table cell that holds a today's date (1-31) */
.dpTDToday {
	/* border: 1px solid #ece9d8;
	background-color: #CCFF99;
	*/
	background-color:#99FFAA;
    border:1px solid #009933;
}

/* a table cell that can hold error messages etc */
.dpTDWarning {
	/* border: 1px solid #ece9d8;
	background-color: #CCFF99;
	*/
	background-color:#ff9933;
    border:1px solid #ff6600;
}

 /* a table cell that holds a blank */
.dpTDBlank{
	border: 1px solid #ece9d8;
	background-color: #eeeeee;
}
 
/* a table cell that holds a highlighted day (usually either today's date or the current date field value) */
.dpDayHighlightTD {
	/*background-color: #CCCCCC;
	border: 1px solid #AAAAAA;
	*/
	background-color:#DFE5FF;
    border:1px solid #0766C4;
}

/* the date number table cell that the mouse pointer is currently over (you can use contrasting colors to make it apparent which cell is being hovered over) */
.dpTDHover {
	background-color: #dddddd;
	border: 1px solid #666666;
	cursor: pointer;
	color: red;
}

/* the table cell that holds the name of the month and the year */
.dpTitleTD {
}

/* a table cell that holds one of the forward/backward buttons */
.dpButtonTD {
}

/* the table cell that holds the "This Month" or "Close" button at the bottom */
.dpTodayButtonTD {
}

/* a table cell that holds the names of days of the week (Mo, Tu, We, etc.) */
.dpDayTD {
	background-color: #2F55AC;
	border: 1px solid #2F55AC;
	color: white;
}

/* additional style information for the text that indicates the month and year */
.dpTitleText {
	font-size: 12px;
	color: #333;
	font-weight: bold;
}

/* additional style information for the cell that holds a highlighted day (usually either today's date or the current date field value) */ 
.dpDayHighlight {
	color: 4060ff;
	font-weight: bold;
}

/* the forward/backward buttons at the top */
.dpButton {
	cursor: pointer;
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: gray;
	/* background: #d8e8ff; */
    background-color: rgb(240,240,255);
	font-weight: bold;
	border: 1px solid #AAAAAA;
	padding: 0px;
}

/* the "This Month" and "Close" buttons at the bottom */
.dpTodayButton {
	cursor: pointer;
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #333333;
	/* background: #d8e8ff; 
    background-color: rgb(240,240,255);
	border: 1px solid #AAAAAA;
	*/
	background-color:#DFFFE4;
    border:1px solid #009933;
}


