div.calendar {position: relative;}
.calendar, .calendar table {
	border: 1px solid #555566;
	color: #000000;
	cursor: default;
	background: #d7d7d7;
	width: auto;
	font: 11px tahoma,verdana,sans-serif;
}
.calendar .button {
	background: #d7d7d7;
	color:black;
	text-align: center; /* They are the navigation buttons */
	padding: 2px; /* Make the buttons seem like they're pressing */
}
.calendar .nav {
	font-weight: bold;
	background-image: url(../img/navigation-selected.png) !important;
	border-top-color: transparent !important;
	border-bottom-color: #00857f !important;
	color: #fff !important;
}
.calendar thead .title {
	font-weight: bold; /* Pressing it will take you to the current date */
	text-align: center;
	background: #FFFFFF;
	color: #000000;
	padding: 2px;
}
.calendar thead .headrow {
	background: #bababa; /* Row <TR> containing navigation buttons */
	color: #FFFFFF;
}
.calendar thead .daynames {
	background: #ececec; /* Row <TR> containing the day names */
}
.calendar thead .name {
	border-bottom: 1px solid #4c4c4c; /* Cells <TD> containing the day names */
	padding: 2px;
	text-align: center;
	color: #000000;
}
.calendar thead .weekend {
	color: #AA6666; /* How a weekend day name shows in header */
}
/* The body part -- contains all the days in month. */
.calendar tbody .day {
	width: 2em; /* Cells <TD> containing month days dates */
	color: 0;
	text-align: right;
	padding: 2px 4px 2px 2px;
}
.calendar table .wn {
	padding: 2px 3px 2px 2px;
	border-right: 1px solid #000000;
	background: #eee;
}
.calendar tbody td.selected {
	font-weight: bold; /* Cell showing today date */
	border: 1px solid #000000;
	padding: 1px 3px 1px 1px;
	background: #FFFFFF;
	color: 0;
}
.calendar tbody td.weekend {
	color: #A66; /* Cells showing weekend days */
}
.calendar tbody td.today {
	font-weight: bold; /* Cell showing selected date */
	color: #00F;
}
.calendar tbody tr.daysrow td {}
.calendar tbody .emptycell {
	visibility: hidden; /* Empty cells (the best is to hide them) */
}
.calendar tbody .emptyrow {
	display: none; /* Empty row (some months need less than 6 rows) */
}
/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow {
	text-align: center; /* The <TR> in footer (only one right now) */
	background: #556;
	color: #FFF;
}
.calendar tfoot .ttip {
	background: #FFF; /* Tooltip (status bar) cell <TD> */
	color: #445;
	border-top: 1px solid #00857f;
	padding: 1px;
}
.calendar tfoot .active {
	background: green; /* Active (pressed) style for buttons in footer */
	padding: 2px 0px 0px 2px;
}
/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
	position: absolute;
	display: none;
	top: 0px;
	left: 0px;
	width: 4em;
	cursor: default;
	border: 1px solid #655;
	background: #BFFFFF;
	color: 0;
	font-size: 90%;
}
.calendar .combo .label,
.calendar .combo .label-iefix {
	text-align: center;
	padding: 1px;
}
.calendar .combo .label-iefix {width: 4em;}

