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

div.calendar {
	background: url(bg_box.png) no-repeat scroll;
}

.calendar table {
	color: #FFF;
	background-color: #f88e1e;
	margin: 9px;
	border: 2px solid #999;
	width: 230px;
	height: 230px;
	font-size: 11px;
	font-family: Verdana,sans-serif;
	cursor: pointer;
}


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

/* "<<", "<", ">", ">>" buttons have this class */
.calendar .button {
	padding: 1px;
	text-align: center;
}

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

/* This holds the current "month, year";
   Pressing it will take you to the current date */
.calendar thead .title {
	color: #fff;
	background-color: #669C2C;
	border-color: #c1cd23;
	padding: 2px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}

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

/* Cells <TD> containing the day names */
.calendar thead .name {
	color: #FFF;
	border-bottom: 0px solid #000;
	padding: 5px;
	text-align: center;
}

/* How a weekend day name shows in header */
.calendar thead .weekend {
	color: #FFF;
	font-weight:bold;
}

.calendar thead .hilite {
	color: #FFF;
	font-weight:bold;
}

.calendar thead .active {
	border-color: #fb7e00;
	padding: 2px 0px 0px 2px;
}

/* Row <TR> containing the day names */
.calendar thead .daynames {
	background-color: #647075;
	border: 1px solid #999;
}


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

/* Cells <TD> containing month days dates */
.calendar tbody .day {
	border: 1px solid #FFF;
	padding: 2px 4px 2px 2px;
	width: 2em;
	text-align: center;
	background-color: #AAA;
}

.calendar tbody .day.othermonth {
	color: #bbb;
	font-size: 70%;
}

.calendar tbody .day.othermonth.oweekend {
	color: #fbb;
	background-color: #c1cd23;
}

.calendar table .wn {
	visibility: hidden;
	color: #fcae1d;
	background: none;
}

.calendar table .wn {
	visibility: hidden;
	color: #fcae1d;
	background: none;
}

.calendar tbody .rowhilite td {
}

.calendar tbody .rowhilite td.wn {
	background-color: #efe;
}

/* Hovered cells <TD> */
.calendar tbody td.hilite {
	background-color: #C1CD23;
	color:#999;
}

/* Active (pressed) cells <TD> */
.calendar tbody td.active {
	background-color: #ddc;
}

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

/* Cells showing weekend days */
.calendar tbody td.weekend {
	color: #FFF;
	background-color: #669C2C;
}

/* Cells showing weekend days */
.calendar tbody td.weekend:hover {
	color: black;
	background-color: white;
}

.calendar tbody td.today {
	font-weight: bold;
}

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

/* Empty cells (the best is to hide them) */
.calendar tbody .emptycell {
	background-color: #FFF;
}

/* Empty row (some months need less than 6 rows) */
.calendar tbody .emptyrow {
	display: none;
	background-color: #ffe;
}


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

.button{
	background-color: #669C2C;
	height: 21px;
}

/* The <TR> in footer (only one right now) */
.calendar tfoot .footrow {
	color: #fff;
	background-color: #c1cd23;
	text-align: right;
}

/* Tooltip (status bar) cell <TD> */
.calendar tfoot .ttip {
	color: #fff;
	background: #669C2C url(bar.gif);
	border-top: 0px solid #655;
	height: 20px;
	line-height: 0;
	font-size: 0px;
}
/* IE<=7 fails to zero the text completely, making this TD too big */
* html .calendar tfoot .ttip {
	height: 18px;
}
*:first-child+html .calendar tfoot .ttip {
	height: 18px;
}


.calendar tfoot .hilite {
	padding: 1px;
}

.calendar tfoot .active {
	padding: 2px 0px 0px 2px;
}


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

.calendar .combo {
	display: none;
	color: #000;
	background-color: #fff;
	position: absolute;
	top: 0px;
	left: 0px;
	border: 1px solid #655;
	width: 4em;
	cursor: default;
	font-size: 90%;
}

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

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

.calendar .combo .hilite {
	background-color: #fc8;
}

.calendar .combo .active {
	background-color: #fee;
	border-top: 1px solid #a64;
	border-bottom: 1px solid #a64;
	font-weight: bold;
}

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

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

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

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

.calendar td.time span.hilite {
	color: #fff;
	background-color: #866;
	border-color: #000;
}

.calendar td.time span.active {
	background-color: #000;
	border-color: #f00;
}
