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

.calendar {
	border-right: #000 2px solid;
	border-top: #fff 2px solid;
	display: none;
	font-size: 11px;
	background: #c8d0d4;
	border-left: #fff 2px solid;
	cursor: default;
	color: #000;
	border-bottom: #000 2px solid;
	font-family: tahoma,verdana,sans-serif;
	position: relative
}

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

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	border-right: #000 1px solid;
	padding-right: 1px;
	border-top: #fff 1px solid;
	padding-left: 1px;
	padding-bottom: 1px;
	border-left: #fff 1px solid;
	padding-top: 1px;
	border-bottom: #000 1px solid;
	text-align: center;
    color:gray;
}

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

.calendar thead .title { /* This holds the current "month, year" */
	border-right: #000 1px solid;
	padding-right: 1px;
	border-top: #000 1px solid;
	padding-left: 1px;
	font-weight: bold;
	background: #788084;
	padding-bottom: 1px;
	border-left: #000 1px solid;
	color: #fff;
	padding-top: 1px;
	border-bottom: #000 1px solid;
	text-align: center
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */

}

.calendar thead .daynames { /* Row <TR> containing the day names */

}

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

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

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

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

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

.calendar {
	border-right: #000 1px solid;
	border-top: #fff 1px solid;
	display: none;
	font-size: 11px;
	background: window;
	border-left: #fff 1px solid;
	cursor: default;
	color: windowtext;
	border-bottom: #000 1px solid;
	font-family: tahoma,verdana,sans-serif;
	position: relative
}

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

/* Header part -- contains navigation buttons and day names. */

.calendar .button {
	border-right: buttonshadow 1px solid;
	padding-right: 1px;
	border-top: buttonhighlight 1px solid;
	padding-left: 1px;
	background: buttonface;
	padding-bottom: 1px;
	border-left: buttonhighlight 1px solid;
	padding-top: 1px;
	border-bottom: buttonshadow 1px solid;
	text-align: center;
    color:gray;
}

.calendar .nav {
	 /* menuarrow.gif not found... background: ButtonFace url(menuarrow.gif) no-repeat 100% 100%; */
}

.calendar thead .title { /* This holds the current "month, year" */
	border-right: #000 1px solid;
	padding-right: 1px;
	border-top: #000 1px solid;
	padding-left: 1px;
	font-weight: bold;
	background: activecaption;
	padding-bottom: 1px;
	border-left: #000 1px solid;
	color: captiontext;
	padding-top: 1px;
	border-bottom: #000 1px solid;
	text-align: center
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */

}

.calendar thead .daynames { /* Row <TR> containing the day names */

}

.calendar thead .name { /* Cells <TD> containing the day names */
	padding-right: 2px;
	padding-left: 2px;
	background: buttonface;
	padding-bottom: 2px;
	color: buttontext;
	padding-top: 2px;
	border-bottom: buttonshadow 1px solid;
	text-align: center
}

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
	border-right: buttonshadow 2px solid;
	padding-right: 0px;
	border-top: buttonhighlight 2px solid;
	padding-left: 0px;
	padding-bottom: 0px;
	border-left: buttonhighlight 2px solid;
	padding-top: 0px;
	border-bottom: buttonshadow 2px solid
}

.calendar thead .active { /* Active (pressed) buttons in header */
	border-top-width: 1px;
	padding-right: 0px;
	padding-left: 2px;
	border-left-width: 1px;
	border-left-color: buttonshadow;
	border-bottom-width: 1px;
	border-bottom-color: buttonhighlight;
	padding-bottom: 0px;
	border-top-color: buttonshadow;
	padding-top: 2px;
	border-right-width: 1px;
	border-right-color: buttonhighlight
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
	padding-right: 4px;
	padding-left: 2px;
	padding-bottom: 2px;
	width: 2em;
	padding-top: 2px;
	text-align: right
}

.calendar table .wn {
	border-right: buttonshadow 1px solid;
	padding-right: 3px;
	padding-left: 2px;
	background: buttonface;
	padding-bottom: 2px;
	color: buttontext;
	padding-top: 2px
}

.calendar tbody .rowhilite td {
	background: highlight;
	color: highlighttext
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
	border-right: #000 1px solid;
	padding-right: 3px;
	border-top: #fff 1px solid;
	padding-left: 1px;
	padding-bottom: 1px;
	border-left: #fff 1px solid;
	padding-top: 1px;
	border-bottom: #000 1px solid
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
	border-right: buttonhighlight 1px solid;
	padding-right: 2px;
	border-top: buttonshadow 1px solid;
	padding-left: 2px;
	padding-bottom: 0px;
	border-left: buttonshadow 1px solid;
	padding-top: 2px;
	border-bottom: buttonhighlight 1px solid
}

.calendar tbody td.selected { /* Cell showing selected date */
	border-right: buttonhighlight 1px solid;
	padding-right: 2px;
	border-top: buttonshadow 1px solid;
	padding-left: 2px;
	font-weight: bold;
	background: buttonface;
	padding-bottom: 0px;
	border-left: buttonshadow 1px solid;
	color: buttontext;
	padding-top: 2px;
	border-bottom: buttonhighlight 1px solid
}

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

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

.calendar tbody td.disabled {
	color: graytext
}

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
	VISIBILITY: hidden
}

.calendar tbody .emptyrow {
	display: none
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */

}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	border-right: buttonhighlight 1px solid;
	padding-right: 1px;
	border-top: buttonshadow 1px solid;
	padding-left: 1px;
	background: buttonface;
	padding-bottom: 1px;
	border-left: buttonshadow 1px solid;
	color: buttontext;
	padding-top: 1px;
	border-bottom: buttonhighlight 1px solid;
	text-align: center
}

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

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

/* Combo boxes (menus that display months/years for direct selection) */

.combo {
	border-right: buttonshadow 1px solid;
	padding-right: 1px;
	border-top: buttonhighlight 1px solid;
	display: none;
	padding-left: 1px;
	font-size: smaller;
	background: menu;
	left: 0px;
	padding-bottom: 1px;
	border-left: buttonhighlight 1px solid;
	width: 4em;
	cursor: default;
	color: menutext;
	padding-top: 1px;
	border-bottom: buttonshadow 1px solid;
	position: absolute;
	top: 0px
}

.combo .label {
	padding-right: 1px;
	padding-left: 1px;
	padding-bottom: 1px;
	padding-top: 1px;
	text-align: center
}

.combo .label-IEfix {
	padding-right: 1px;
	padding-left: 1px;
	padding-bottom: 1px;
	padding-top: 1px;
	text-align: center
}

.combo .label-IEfix {
	width: 4em
}

.combo .active {
	border-right: #000 1px solid;
	padding-right: 0px;
	border-top: #000 1px solid;
	padding-left: 0px;
	padding-bottom: 0px;
	border-left: #000 1px solid;
	padding-top: 0px;
	border-bottom: #000 1px solid
}

.combo .hilite {
	background: highlight;
	color: highlighttext
}

.calendar td.time {
	padding-right: 0px;
	border-top: buttonshadow 1px solid;
	padding-left: 0px;
	padding-bottom: 1px;
	padding-top: 1px;
	background-color: buttonface;
	text-align: center
}

.calendar td.time .hour {
	border-right: #889 1px solid;
	padding-right: 3px;
	border-top: #889 1px solid;
	padding-left: 4px;
	font-weight: bold;
	padding-bottom: 0px;
	border-left: #889 1px solid;
	padding-top: 0px;
	border-bottom: #889 1px solid;
	background-color: menu
}

.calendar td.time .minute {
	border-right: #889 1px solid;
	padding-right: 3px;
	border-top: #889 1px solid;
	padding-left: 4px;
	font-weight: bold;
	padding-bottom: 0px;
	border-left: #889 1px solid;
	padding-top: 0px;
	border-bottom: #889 1px solid;
	background-color: menu
}

.calendar td.time .ampm {
	border-right: #889 1px solid;
	padding-right: 3px;
	border-top: #889 1px solid;
	padding-left: 4px;
	font-weight: bold;
	padding-bottom: 0px;
	border-left: #889 1px solid;
	padding-top: 0px;
	border-bottom: #889 1px solid;
	background-color: menu
}

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

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

.calendar td.time span.hilite {
	border-left-color: #000;
	border-bottom-color: #000;
	color: highlighttext;
	border-top-color: #000;
	background-color: highlight;
	border-right-color: #000
}

.calendar td.time span.active {
	border-left-color: #f00;
	border-bottom-color: #f00;
	color: #0f0;
	border-top-color: #f00;
	background-color: #000;
	border-right-color: #f00
}


