/* The main calendar widget.  DIV containing a table. */

div.calendar
{
	position: relative;
	font-size: 9px;
	font-family: verdana,sans-serif;
	z-index:99999999999999;
}

.calendar, .calendar table
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	border: 1px solid #556;
	font-size: 10px;
	color: #E0963E;
	cursor: default;
	background: #F2F2F2;
	font-family: verdana,sans-serif;
	z-index:999;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button
{
	/* "<<", "<", ">", ">>" buttons have this class */
	font-size: 9px;
	font-family: verdana,sans-serif;
	text-align: center; /* They are the navigation buttons */
	padding: 2px; /* Make the buttons seem like they're pressing */
}

.calendar .nav
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #F1E2D0 url(menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title
{
	/* This holds the current "month, year" */
	font-size: 9px;
	font-family: verdana,sans-serif;
	font-weight: bold; /* Pressing it will take you to the current date */
	text-align: center;
	color:#632A0B;
	padding: 2px;
}

.calendar thead .headrow
{
	/* Row <TR> containing navigation buttons */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #F1E2D0;
	color: #63290A;
}

.calendar thead .daynames
{
	/* Row <TR> containing the day names */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #F4E9DB;
}

.calendar thead .name
{
	/* Cells <TD> containing the day names */
	font-size: 9px;
	font-family: verdana,sans-serif;
	border-bottom: 1px solid #556;
	padding: 2px;
	text-align: center;
	color: #000;
}

.calendar thead .weekend
{
	/* How a weekend day name shows in header */
	font-size: 9px;
	font-family: verdana,sans-serif;
	color: #E0963E;
}

.calendar thead .hilite
{
	/* How do the buttons in header appear when hover */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background-color: #642A0B;
	color: #F1E2D0;
	border:none;
}

.calendar thead .active
{
	/* Active (pressed) buttons in header */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background-color: #77c;
	padding: 2px 0px 0px 2px;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day
{
	/* Cells <TD> containing month days dates */
	font-size: 9px;
	font-family: verdana,sans-serif;
	width: 2em;
	color: #456;
	text-align: right;
	padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	font-size: 80%;
	color: #bbb;
}
.calendar tbody .day.othermonth.oweekend
{
	color: #fbb;
}

.calendar table .wn
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	padding: 2px 3px 2px 2px;
	border-right: 1px solid #000;
	background: #F4E9DB;
}

.calendar tbody .rowhilite td
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #E0963E;
	color:#F4E9DB;
}

.calendar tbody .rowhilite td.wn
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #E0963E;
	color:#F4E9DB;
}

.calendar tbody td.hilite
{
	/* Hovered cells <TD> */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #F4E9DB;
	color:#642A0B;
	padding: 1px 3px 1px 1px;
}

.calendar tbody td.active
{
	/* Active (pressed) cells <TD> */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #cde;
	padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected
{
	/* Cell showing today date */
	font-size: 9px;
	font-family: verdana,sans-serif;
	font-weight: bold;
	border: 1px solid #F4E9DB;
	padding: 1px 3px 1px 1px;
	background: #642A0B;
	color: #F4E9DB;
}

.calendar tbody td.weekend
{
	/* Cells showing weekend days */
	font-size: 9px;
	font-family: verdana,sans-serif;
	color: #a66;
}

.calendar tbody td.today
{
	/* Cell showing selected date */
	font-size: 9px;
	font-family: verdana,sans-serif;
	font-weight: bold;
	color: #F4E9DB;
}

.calendar tbody .disabled
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	color: #999;
}

.calendar tbody .emptycell
{
	/* Empty cells (the best is to hide them) */
	font-size: 9px;
	font-family: verdana,sans-serif;
	visibility: hidden;
}

.calendar tbody .emptyrow
{
	/* Empty row (some months need less than 6 rows) */
	font-size: 9px;
	font-family: verdana,sans-serif;
	display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow
{
	/* The <TR> in footer (only one right now) */
	font-size: 9px;
	font-family: verdana,sans-serif;
	text-align: center;
	background: #556;
	color: #fff;
}

.calendar tfoot .ttip
{
	/* Tooltip (status bar) cell <TD> */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #F4E9DB;
	color: #642A0B;
	border-top: 1px solid #556;
	padding: 1px;
}

.calendar tfoot .hilite
{
	/* Hover style for buttons in footer */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #aaf;
	border: 1px solid #04f;
	color: #000;
	padding: 1px;
}

.calendar tfoot .active
{
	/* Active (pressed) style for buttons in footer */
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #77c;
	padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	position: absolute;
	display: none;
	top: 0px;
	left: 0px;
	width: 4em;
	cursor: default;
	border: 1px solid #655;
	background: #def;
	color: #000;
	font-size: 90%;
	z-index: 100;
}

.calendar .combo .label, .calendar .combo .label-IEfix
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	text-align: center;
	padding: 1px;
}

.calendar .combo .label-IEfix
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	width: 4em;
}

.calendar .combo .hilite
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	background: #acf;
}

.calendar .combo .active
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	border-top: 1px solid #46a;
	border-bottom: 1px solid #46a;
	background: #eef;
	font-weight: bold;
}

.calendar td.time
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	border-top: 1px solid #000;
	padding: 1px 0px;
	text-align: center;
	background-color: #f4f0e8;
}

.calendar td.time .hour, .calendar td.time .minute, .calendar td.time .ampm
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	padding: 0px 3px 0px 4px;
	border: 1px solid #889;
	font-weight: bold;
	background-color: #fff;
}

.calendar td.time .ampm
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	text-align: center;
}

.calendar td.time .colon
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	padding: 0px 2px 0px 3px;
	font-weight: bold;
}

.calendar td.time span.hilite
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	border-color: #000;
	background-color: #667;
	color: #fff;
}

.calendar td.time span.active
{
	font-size: 9px;
	font-family: verdana,sans-serif;
	border-color: #f00;
	background-color: #000;
	color: #0f0;
}