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

.calendar {
	background: #FFFFFF;
	border-bottom: 0px solid #000000;
	border-left: 0px solid #000000;
	border-right: 0px solid #000000;
	border-top: 0px solid #000000;
	color: #000000;
	cursor: default;
	display: none;
	font-family: tahoma,verdana,sans-serif;
	font-size: 10px;
	position: relative;
	width: 165px;
}

/* Header part -- contains navigation buttons and day names. */
.calendar .button {
	border-bottom: 1px solid #000000;
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #000000;
	border-top: 1px solid #FFFFFF;
	padding: 1px;
	text-align: center; /* "<<", "<", ">", ">>" buttons have this class */
}

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

.calendar .combo .active {
	background: #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	border-left: 1px solid #000000;
	border-right: 1px solid #FFFFFF;
	border-top: 1px solid #000000;
	padding: 0px;
}

.calendar .combo .hilite {
	background: #004488;
	color: #AAEEFF;
}

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

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

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

.calendar table {
	background: #FFFFFF;
	border-bottom: 1px solid #000000;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	border-top: 1px solid #000000;
	color: #000000;
	cursor: default;
	font-family: tahoma,verdana,sans-serif;
	font-size: 11px;
}

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

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

.calendar tbody .day.othermonth {
	color: #CCCCCC;
}

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

.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: #E9E9F2;
}

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

.calendar tbody td.active {
	border: 1px solid;
	border-color: #000000 #FFFFFF #FFFFFF #000000;
	padding: 2px 2px 0px 2px; /* Active (pressed) cells <TD> */
}

.calendar tbody td.hilite {
	border: 1px solid;
	border-color: #FFFFFF #000000 #000000 #FFFFFF;
	padding: 1px 3px 1px 1px; /* Hovered cells <TD> */
}

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

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

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

.calendar td.time {
	background-color: #DFDFE9;
	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: #FF9933;
	border-color: #000000;
	color: #000000;
}

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

.calendar tfoot .active {
	border-bottom: 1px solid #FFFFFF;
	border-left: 1px solid #000000;
	border-right: 1px solid #FFFFFF;
	border-top: 1px solid #000000;
	padding: 2px 0px 0px 2px; /* Active (pressed) style for buttons in footer */
}

/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow {
}

.calendar tfoot .hilite {
	background: #DFDFE9;
	border-bottom: 1px solid #000000;
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #000000;
	border-top: 1px solid #FFFFFF; /* Hover style for buttons in footer */
	padding: 1px;
}

.calendar tfoot .ttip {
	background: #DFDFE9;
	background: #334F77;
	border: 1px solid #000000;
	color: #FFFFFF;
	height: 30px; /* Tooltip (status bar) cell <TD> */
	padding: 1px;
	text-align: center;
}

.calendar thead .active {
	background-color: #B8C0C4;
	border-bottom: 1px solid #FFFFFF;
	border-left: 1px solid #000000;
	border-right: 1px solid #FFFFFF;
	border-top: 1px solid #000000;
	padding: 2px 0px 0px 2px; /* Active (pressed) buttons in header */
}

.calendar thead .daynames {
}

.calendar thead .headrow {
}

.calendar thead .hilite {
	background-color: #DFDFE9;
	border-bottom: 2px solid #000000;
	border-left: 2px solid #FFFFFF;
	border-right: 2px solid #000000;
	border-top: 2px solid #FFFFFF; /* How do the buttons in header appear when hover */
	padding: 0px;
}

.calendar thead .name {
	border-bottom: 2px solid #DFDFE9;
	border-left: 2px solid #DFDFE9;
	border-right: 2px solid #DFDFE9;
	border-top: 2px solid #DFDFE9;
	background: #DFDFE9;
	padding: 2px; /* Cells <TD> containing the day names */
	text-align: right;
}

.calendar thead .title {
	background: #334F77;
	border: 1px solid #000000;
	color: #FFFFFF;
	font-weight: bold; /* This holds the current "month, year" */
	padding: 1px;
	text-align: center;
}

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

