/* The main calendar widget.	DIV containing a table. */

.calendar {
	position: relative;
	display: none;
	font-size: 11px;
	color: #205b80;
	cursor: default;
	background: #fff;
}

.calendar table {
	border: 1px solid #57bef7;
	font-size: 11px;
	color: #205b80;
	cursor: default;
	background: #abdffb url("/templates/homeword/images/ftr_bg.gif") 0 100% repeat-x;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	text-align: center;
	padding: 2px;
	border-bottom: 1px solid #57bef7;
	background: #f5fbff;
}

.calendar .nav {
	padding: 2px;
}

.calendar thead .title { /* This holds the current "month, year" */
	padding: 2px;
	border-right: 1px solid #57bef7;
	border-bottom: 1px solid #57bef7;
	border-left: 1px solid #57bef7;
	font-weight: bold;
	color: #205b80;
	text-align: center;
	background: #f5fbff;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
	background: #f5fbff;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
	background: #f5fbff;
}

.calendar thead .name { /* Cells <TD> containing the day names */
	border-bottom: 1px solid #57bef7;
	padding: 2px;
	text-align: center;
	background: #f5fbff;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
	color: #cc0000;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
	padding: 2px;
	background: #57bef7;
	color: #fff;
}

.calendar thead .active { /* Active (pressed) buttons in header */
	padding: 2px;
	background: #57bef7;
	color: #fff;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
	width: 2em;
	text-align: right;
	padding: 2px;
	text-align: center;
}
.calendar tbody .day.othermonth {
	font-size: 80%;
	color: #525252;
}
.calendar tbody .day.othermonth.oweekend {
	color: #525252;
}

.calendar table .wn {
	padding: 2px;
	border-right: 1px solid #57bef7;
	background: #F5FBFF;
}

.calendar tbody .rowhilite td {
	background: #f5fbff;
}

.calendar tbody .rowhilite td.wn {
	background: #57bef7;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
	padding: 2px;
	background: #57bef7;
	color: #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
	padding: 2px;
	background: #57bef7;
	color: #fff;
}

.calendar tbody td.selected { /* Cell showing selected date */
	font-weight: bold;
	padding: 2px;
	background: #57bef7;
	color: #fff;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
	color: #cc0000;
}

.calendar tbody td.today { /* Cell showing today date */
	font-weight: bold;
	color: #205b80;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
	visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
	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> */
	padding: 2px;
	border-top: 1px solid #57bef7;
	font-weight: bold;
	color: #fff;
	text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
	border: 1px solid #57bef7;
	padding: 1px;
	background: #f5fbff;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
	padding: 2px;
	border: 1px solid #57bef7;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
	position: absolute;
	display: none;
	width: 4em;
	top: 0px;
	left: 0px;
	cursor: default;
	border: 1px solid #57bef7;
	background: #fff;
	font-size: 90%;
	padding: 1px;
	z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
	text-align: center;
	padding: 1px;
}

.calendar .combo .label-IEfix {
	width: 4em;
}

.calendar .combo .active {
	background: #f5fbff;
	padding: 2px;
}

.calendar .combo .hilite {
	background: #57bef7;
	color: #fff;
}

.calendar td.time {
	border-top: 1px solid #57bef7;
	padding: 2px;
	text-align: center;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
	padding: 2px;
	border: 1px solid #57bef7;
	font-weight: bold;
	background-color: #fff;
}

.calendar td.time .ampm {
	text-align: center;
}

.calendar td.time .colon {
	padding: 2px;
	font-weight: bold;
}

.calendar td.time span.hilite {
	border-color: #57bef7;
	background: #57bef7;
	color: #fff;
}

.calendar td.time span.active {
	border-color: #57bef7;
	background-color: #fff;
	color: #cc0000;
}

