div.calendar {
	position: relative;
}
.calendar, .calendar table {
	border: 1px solid #555566;
	color: #000000;
	cursor: default;
	background: #EEEEEE;
	width: auto;
	font: 11px tahoma,verdana,sans-serif;
}
.calendar .button {
   background: #EEEEEE;
	color:black;
	text-align: center; /* They are the navigation buttons */
	padding: 2px; /* Make the buttons seem like they're pressing */
}
.calendar .nav {
	background: url(menuarrow.gif) #47AFDF no-repeat 100% 100%;
}
.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: #47AFDF; /* Row <TR> containing navigation buttons */
	color: #FFFFFF;
}
.calendar thead .daynames {
	background: #9FDFFF; /* Row <TR> containing the day names */
}
.calendar thead .name {
	border-bottom: 1px solid #555566; /* 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: #445566;
	text-align: right;
	padding: 2px 4px 2px 2px;
}
.calendar table .wn {
	padding: 2px 3px 2px 2px;
	border-right: 1px solid #000000;
	background: #9FDFFF;
}
.calendar tbody td.selected {
	font-weight: bold; /* Cell showing today date */
	border: 1px solid #000000;
	padding: 1px 3px 1px 1px;
	background: #FFFFFF;
	color: #000000;
}
.calendar tbody td.weekend {
	color: #AA6666; /* Cells showing weekend days */
}
.calendar tbody td.today {
	font-weight: bold; /* Cell showing selected date */
	color: #0000FF;
}
.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: #555566;
	color: #FFFFFF;
}
.calendar tfoot .ttip {
	background: #FFFFFF; /* Tooltip (status bar) cell <TD> */
	color: #444455;
	border-top: 1px solid #555566;
	padding: 1px;
}
.calendar tfoot .active {
	background: #00FFFF; /* 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 #665555;
	background: #BFFFFF;
	color: #000000;
	font-size: 90%;
}
.calendar .combo .label,
.calendar .combo .label-iefix {
	text-align: center;
	padding: 1px;
}
.calendar .combo .label-iefix {
	width: 4em;
}

