/* calendar styles */
#calendar_div {
	display: none;
	z-index: 10; 
	margin-top: -1em;
	font-family: Arial, Helvetica, sans-serif;
}
#calendar_div a {
	cursor: pointer;
}
#calendar_div, #calendar_links, #calendar_header, #calendar {
	width: 185px;
}
#calendar_close{
	float: right;
	padding: 2px;
	cursor: pointer;
	font-size:12px;
	line-height:14px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #fff;
	background: #800;
}
#calendar_close:hover {
	background: #000;
	color: #fff;
}
#calendar_links {
	float: left;
	background: #000;
	text-align: center;
}
#calendar_links a {
	color: #fff;
	font-weight: bold;
	font-size:12px;
	line-height:14px;
	letter-spacing: 1px;
	padding: 2px 5px;
}
#calendar_links a:hover {
	background: #ddd;
	color: #333;
}
#calendar_prev {
	float: left;
}
#calendar_current {
	float: left;
	text-align: center;
	width: 35%;
}
#calendar_next {
	float: right;
}
#calendar_header {
	clear: both;
	background: #333;
	color: #fff;
	text-align: center;
}
#calendar_header select {
	background: #333;
	color: #fff;
	border: 0px;
}
#calendar {
	background: #ccc;
	clear: both;
	text-align: center;
	font-size: 12px;
	line-height:14px;
	border: 1px solid #777;
}
#calendar a {
	color: #333;
}
#calendar a:hover {
	background: #fff;
}
#calendar .calendar_titleRow {
	background: #777;
	color: #fff;
}
#calendar .calendar_daysRow {
	background: #eee;
	color: #666;
}
#calendar .calendar_daysCell {
	color: #000;
	border: 1px solid #ddd;
}
#calendar .calendar_weekEndCell {
	background: #ddd;
}
#calendar .calendar_daysCellOver {
	background: #fff;
	border: 1px solid #777;
}
#calendar .calendar_unselectable {
	color: #888;
}
#calendar_today {
	background: #fcc !important;
}
#calendar_currentDay {
	background: #999 !important;
}
#calendar_cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: 0; /*must have*/
    left: -1px; /*must have*/
    width: 187px; /*must have to match width and borders*/
    height: 200px; /*must have to match height*/ 
}




/*-------------------------------------------*/
table.jCalendar {
	border: 1px solid #000;
	background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #333;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}
table.jCalendar td {
	background: #ccc;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #ddd;
	color: #aaa;
}
table.jCalendar td.today {
	background: #666;
	color: #fff;
}
table.jCalendar td.selected {
	background: #f66;
	color: #fff;
}
table.jCalendar td.selected:hover {
	background: #f33;
	color: #fff;
}
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: #ccc;
	font-size: 12px;
	font-family: arial, sans-serif;
	padding:10px 2px 2px 2px;
	width: 185px;
	line-height: 14px;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
}
div.dp-popup h2 {
	font-size: 12px;
	line-height:14px;
	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;
}



a.dp-choose-date {
	float: left;
	width: 33px;
	height: 19px;
	padding: 0;
	margin: 0 0 0 5px;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background:url(../images/icons/calendario.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: 140px;
	float: left;
}