/* The main calendar widget.  DIV containing a table. */

div.calendar {
	position: relative;
}

/* Header part -- contains navigation buttons and day names. */
.calendar .button {
	padding: 2px; /* Make the buttons seem like they're pressing */
	text-align: center; /* They are the navigation buttons */
}

/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
	background: #DDEEFF;
	border: 1px solid #665555;
	color: #000000;
	cursor: default;
	display: none;
	font-size: 90%;
	left: 0px;
	position: absolute;
	top: 0px;
	width: 4em;
	z-index: 100;
}

.calendar .combo .active {
	background: #EEEEFF;
	border-bottom: 1px solid #4466AA;
	border-top: 1px solid #4466AA;
	font-weight: bold;
}

.calendar .combo .hilite {
	background: #AACCFF;
}

.calendar .combo .label,
.calendar .combo .label-iefix {
	padding: 1px;
	text-align: center;
}

.calendar .combo .label-iefix {
	width: 4em;
}

.calendar .nav {
	background: url(menuarrow.gif) #777788 no-repeat 100% 100%;
}

.calendar table .wn {
	background: #BBDDFF;
	border-right: 1px solid #000000;
	padding: 2px 3px 2px 2px;
}

/* The body part -- contains all the days in month. */
.calendar tbody .day {
	color: #445566;
	padding: 2px 4px 2px 2px;
	text-align: right;
	width: 2em; /* Cells <TD> containing month days dates */
}

.calendar tbody .day.othermonth {
	color: #BBBBBB;
	font-size: 80%;
}

.calendar tbody .day.othermonth.oweekend {
	color: #FFBBBB;
}

.calendar tbody .disabled {
	color: #999999;
}

.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) */
}

.calendar tbody .rowhilite td {
	background: #DDEEFF;
}

.calendar tbody .rowhilite td.wn {
	background: #EEEEFF;
}

.calendar tbody td.active {
	background: #CCDDEE; /* Active (pressed) cells <TD> */
	padding: 2px 2px 0px 2px;
}

.calendar tbody td.hilite {
	background: #DDEEFF; /* Hovered cells <TD> */
	border: 1px solid #BBBBBB;
	padding: 1px 3px 1px 1px;
}

.calendar tbody td.selected {
	background: #FFFFFF;
	border: 1px solid #000000;
	color: #000000;
	font-weight: bold; /* Cell showing today date */
	padding: 1px 3px 1px 1px;
}

.calendar tbody td.today {
	color: #0000FF;
	font-weight: bold; /* Cell showing selected date */
}

.calendar tbody td.weekend {
	color: #AA6666; /* Cells showing weekend days */
}

.calendar td.time {
	background-color: #F4F0E8;
	border-top: 1px solid #000000;
	padding: 1px 0px;
	text-align: center;
}

.calendar td.time .ampm {
	text-align: center;
}

.calendar td.time .colon {
	font-weight: bold;
	padding: 0px 2px 0px 3px;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
	background-color: #FFFFFF;
	border: 1px solid #888899;
	font-weight: bold;
	padding: 0px 3px 0px 4px;
}

.calendar td.time span.active {
	background-color: #000000;
	border-color: #FF0000;
	color: #00FF00;
}

.calendar td.time span.hilite {
	background-color: #666677;
	border-color: #000000;
	color: #FFFFFF;
}

.calendar tfoot .active {
	background: #7777CC; /* Active (pressed) style for buttons in footer */
	padding: 2px 0px 0px 2px;
}

/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow {
	background: #555566;
	color: #FFFFFF;
	text-align: center; /* The <TR> in footer (only one right now) */
}

.calendar tfoot .hilite {
	background: #AAAAFF; /* Hover style for buttons in footer */
	border: 1px solid #0044FF;
	color: #000000;
	padding: 1px;
}

.calendar tfoot .ttip {
	background: #FFFFFF; /* Tooltip (status bar) cell <TD> */
	border-top: 1px solid #555566;
	color: #444455;
	padding: 1px;
}

.calendar thead .active {
	background-color: #7777CC; /* Active (pressed) buttons in header */
	padding: 2px 0px 0px 2px;
}


.calendar thead .headrow {
	background: #777788; /* Row <TR> containing navigation buttons */
	color: #FFFFFF;
}

.calendar thead .daynames {
	background: #BBDDFF; /* Row <TR> containing the day names */
}
.calendar thead .hilite {
	background-color: #AAAAFF; /* How do the buttons in header appear when hover */
	/*border: 1px solid #0044FF;*/
	color: #000000;
	/*padding: 1px;*/
}

.calendar thead .name {
	border-bottom: 1px solid #555566; /* Cells <TD> containing the day names */
	color: #000000;
	padding: 2px;
	text-align: center;
}

.calendar thead .title {
	background: #FFFFFF;
	color: #000000;
	font-weight: bold; /* Pressing it will take you to the current date */
	padding: 2px;
	text-align: center;
}

.calendar thead .weekend {
	color: #AA6666; /* How a weekend day name shows in header */
}

.calendar, .calendar table {
	border: 1px solid #555566;
	color: #000000;
	cursor: default;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	background-color: #F8F8F8;
	}
