/* located in demo.css and creates a little calendar icon
 * instead of a text link for "Choose date"
 */
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	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;
}

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: 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;

}


/* css du vieux calendrier de datepicker.js à caler sur celui de jquery.... */

/* the div that holds the date picker calendar */
.dpDiv {
	border:0;
	padding:0;
	margin:0;
	border-right:1px solid #333;
	border-bottom:1px solid #333;
	background:aqua;
	}


/* the table (within the div) that holds the date picker calendar */
.dpTable {
	width: 200px;
	font-family: Trebuchet MS;
	font-size: 10px;
	text-align: center;
	color: #505050;
	background-color: #ECECE4;
	border: 1px solid #0071BC;
	}


/* 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 {
	border-right:1px solid #333;
	border-bottom:1px solid #333;
	background: #ccc;
	}


/* a table cell that holds a highlighted day (usually either today's date or the current date field value) */
.dpDayHighlightTD {
	background: #0071BC;
	border-right:1px solid #333;
	border-bottom:1px solid #333;
	color:#fff;
	}
	
	/* additional style information for the cell that holds a highlighted day (usually either today's date or the current date field value) */ 
	.dpDayHighlight {
		color: #fff;
		font-weight: bold;
		}	


/* 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: #0071BC;
	border-right:1px solid #333;
	border-bottom:1px solid #333;
	cursor: pointer;
	color: #fff;
	}


/* 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: #CCCCCC;
	border: 1px solid #AAAAAA;
	color: white;
	}


/* additional style information for the text that indicates the month and year */
.dpTitleText {
	font-size: 12px;
	color: gray;
	font-weight: bold;
	}




/* the forward/backward buttons at the top */
.dpButton {
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #0071BC;
	font-weight: bold;
	padding: 0px;
	}


/* the "This Month" and "Close" buttons at the bottom */
.dpTodayButton {
	margin-top:1em;
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #0071BC;
	font-weight: bold;
	}

/* TEMP */
.roomcalendar {width:100%;clear:both;}
.timetable { clear:both; height: 1.5em;width:100%;margin-top:1px; }
.room { float:left; width:100px; }
.timelapse, .timetable input { float:left; width: 9px; margin-right:1px; }
.timetable .unconfirmed { float:left; width: 10px; height:100%; background:red;padding:0;margin:0;border-style:solid;border-color:white;border-width:1px 1px 1px 0;}
.timetable .confirmed { float:left; width: 10px; height:100%; background:green;padding:0;margin:0;border-style:solid;border-color:white;border-width:1px 1px 1px 0;}
.timetable .unavailable { float:left; width: 10px; height:100%; background:blue;padding:0;margin:0;border-style:solid;border-color:white;border-width:1px 1px 1px 0;}


