.calendar {
	position: relative;
	display: none; 
	margin: 0 auto;
	padding: 5px 0 0 0;
	width: 177px;
}

.calendar table {
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #000;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

.calendar td {
	background: #fff;
	color: #000;
	border: 1px solid #000;
	padding: 3px 1px;
}


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

.calendar thead td { /* "<<", "<", ">", ">>" buttons have this class */
	font-size: 10px;
	cursor: pointer;
	text-align: center;
	font-weight: bold;
	background: #000;
	color: #fff;
	padding: 5px 1px;
}


.calendar thead .button {

}

.calendar thead .nav {

}







.calendar thead .title { /* This holds the current "month, year" */
	/* not used */
}

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

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



.calendar thead td.wn, /* Cells <TD> containing the week numbers and day names */
.calendar thead td.name { 
	font-size: 10px;
	font-weight: bold;
	text-align: center;
	color: #000;
	background: #ccc;
}

.calendar thead .name {
	width: 12%;	
}


.calendar thead .weekend { /* How a weekend day name shows in header */

}

.calendar thead .hilite { /* How do the buttons in header appear when hover */

}

.calendar thead .active { /* Active (pressed) buttons in header */

}





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

.calendar tbody .day { /* Cells <TD> containing month days dates */
	font-size: 10px;
	text-align: center;
	vertical-align: top;
	cursor: pointer;
}

.calendar tbody .wn {
	font-weight: bold;
	font-size: 10px;
	background: #ccc;
}




.calendar tbody .day.othermonth {
	background: #fff;
	color: #aaa;
}

.calendar tbody .day.othermonth.oweekend {

}




.calendar tbody .rowhilite td {

}

.calendar tbody .rowhilite td.wn {
	
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
	background: #eee;
}

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

.calendar tbody td.selected { /* Cell showing selected date */
	background: #ddd !important;
}
	
.calendar tbody td.weekend { /* Cells showing weekend days */
	color: #c00;
}

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

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

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

}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */

}







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

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
	display: none;
}

.calendar tfoot .footrow td {
	font-size: 10px;
	border: none;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	padding: 1px;
	text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
	background: #000;
	color: #fff;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
	/* not used */
}

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

.calendar .combo {
	position: absolute;
	display: none;
	width: 4em;
	top: 0px;
	left: 0px;
	cursor: default;
/*	padding: 1px; */
	border: 1px solid #000;
}

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

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

.calendar .combo .active {
	padding: 0px;
}


/*
.calendar td.time {
	padding: 1px 0px;
	text-align: center;
	background-color: #f4f0e8;
}

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

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

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

.calendar td.time span.hilite {
	background-color: #766;
	color: #fff;
}

.calendar td.time span.active {
	background-color: #000;
	color: #0f0;
}
*/







