/* The main calendar widget.	DIV containing a table. */

div.calendarSearch { position: relative; }

.calendarSearch, .calendarSearch table {
	border: none;
	color: #333333;
	cursor: default;
	background: #FFFFFF;
	width: 100%;
}

.calendarSearch td {
	font-weight: normal;
	height: 23px;
	line-height: 20px;
	text-align: center;
}

/* Header part -- contains navigation buttons and day names. */
.calendarSearch .button { /* "<<", "<", ">", ">>" buttons have this class */
}

.calendarSearch .nav {
	background: url(sprites.png) no-repeat;
	background-position: 14px -467px;
}

.calendarSearch thead tr:first-child td { /* This holds the current "month, year" */
}

.calendarSearch thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendarSearch thead .name { /* Cells <TD> containing the day names */
}

.calendarSearch thead .weekend { /* How a weekend day name shows in header */
}

.calendarSearch thead .hilite { /* How do the buttons in header appear when hover */
	background-color: #3AAADC;
	color: #FFFFFF;
}

.calendarSearch thead .active { /* Active (pressed) buttons in header */
	background-color: #3AAADC;
}

.calendarSearch thead .daynames { /* Row <TR> containing the day names */
}

/* The body part -- contains all the days in month. */

.calendarSearch tbody .day { /* Cells <TD> containing month days dates */
}

.calendarSearch tbody .day.othermonth {
}

.calendarSearch tbody .day.othermonth.oweekend {
}

.calendarSearch table .wn {
	font-weight: bold;
}

.calendarSearch tbody .rowhilite td {
	background: #BECF31;
}

.calendarSearch tbody .rowhilite td.wn {
	background: #BECF31;
}

.calendarSearch tbody td.hilite { /* Hovered cells <TD> */
	background: #3AAADC;
	color: #FFFFFF;
}

.calendarSearch tbody td.active { /* Active (pressed) cells <TD> */
	background: #3AAADC;
}

.calendarSearch tbody td.selected { /* Cell showing today date */
	background: #3AAADC;
	color: #FFFFFF;
}

.calendarSearch tbody td.weekend { /* Cells showing weekend days */
	font-weight: bold;
}

.calendarSearch tbody td.today {}

.calendarSearch tbody .disabled {}

.calendarSearch tbody .emptycell { /* Empty cells (the best is to hide them) */
	visibility: hidden;
}

.calendarSearch tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
	display: none;
}

/* The footer part -- status bar and "Close" button */

.calendarSearch tfoot .footrow { /* The <TR> in footer (only one right now) */
	display: none;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendarSearch .combo {
	position: absolute;
	display: none;
	top: 0px;
	left: 0px;
	width: 36px;
	cursor: default;
	background: #F4F4F4;
	box-shadow: 1px 1px 13px #666666;
	z-index: 100;
}

.calendarSearch .combo .label {
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-bottom: 1px solid #E8E8E8;
	padding: 2px 0px;
}

.calendarSearch .combo .label:nth-child(even) {
	background: #FFFFFF;
}

.calendarSearch .combo .label.hilite {
	background: #3AAADC;
	color: #FFFFFF;
}

.calendarSearch .combo .label.active {
	background: #3AAADC;
	color: #FFFFFF;
}
