div.calendar {
    position: relative;
	margin-top: 5px;
	padding: 4px;
	z-index:9999;
}

.calendar {
    border: 1px solid #cccccc;
}

.calendar, .calendar table {
    cursor: default;
    color: #666666;
    background: white;
}

.calendar .button,
.calendar thead .button
{ /* "<<", "<", ">", ">>" buttons have this class */
    text-align: center;    /* They are the navigation buttons */
    /* padding: 2px; */    /* Make the buttons seem like they're pressing */
	border: solid 1px white;
}

.calendar .nav {
}

.calendar thead .title { /* This holds the current "month, year" */
                         /* Pressing it will take you to the current date */
    text-align: center;
	font-size: 105%;
	font-weight: bold;
    /* padding: 2px; */
}

.calendar thead {
}

.calendar thead .headrow {
}

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

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

.calendar thead .name { /* Cells <TD> containing the day names */
    padding: 6px;
    text-align: center;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
    color: #8c191b;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
    background-color: white;
    border: 1px solid #666666;
    /* padding: 1px; */
    color: #666666;
}

.calendar thead .active { /* Active (pressed) buttons in header */
    background-color: white;
    /* padding: 2px 0px 0px 2px; */
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
    text-align: center;
    height: 5ex;
    width: 5ex;
    border: 1px solid #666666;
	font-size: 90%;
}

.calendar table {
    border-spacing: 2px;
    border-collapse: separate;
}

.calendar tbody .day.othermonth {
    font-size: 80%;
    color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
    color: #8c191b;
}

.calendar table .wn {
    padding: 2px 3px 2px 2px;
    border-right: 1px solid #000;
}

.calendar tbody .rowhilite td {
}

.calendar tbody .rowhilite td.wn {
}

.calendar tbody td.hilite,
.calendar tbody td.weekend.hilite,
.calendar tbody td.today.hilite
{ /* Hovered cells <TD> */
    height: 5ex;
    width: 5ex;
    border: 1px solid #8b191b;
    background: #ffffff;
    color: #8b191b;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
}

.calendar tbody td.weekend.selected.hilite,
.calendar tbody td.today.selected.hilite,
.calendar tbody td.selected { /* Cell showing today date */
    font-weight: bold;
    border: 1px solid #000;
    width: 5ex;
    height: 5ex;
    color: #ffffff;
    background-color: #8b191b;
    border: solid 1px #8b191b;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
    color: #8c191b;
}

.calendar tbody td.today { /* Cell showing selected date */
    color: #8b191b;
}
.calendar tbody td.today.selected, .calendar tbody td.weekend.selected {
    color: white;
}

.calendar tbody .disabled {
    color: #bbbbbb;
	border: solid 1px #bbbbbb;
}

.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 */

tfoot {
    font-size: 90%;
}

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

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
    padding: 3px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
    background: #aaf;
    border: 1px solid #04f;
    color: #000;
    padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
    background: #77c;
    padding: 2px 0px 0px 2px;
}

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

.calendar .combo {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    width: 4em;
    cursor: default;
    font-size: 90%;
    z-index: 100;
    background: #666666;
    border: 1px solid white;
    color: white;
}

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

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

.calendar .combo .hilite {
    background: white;
    color: #666666;
    border-left: 1px solid #666666;
    border-right: 1px solid #666666;
}

.calendar .combo .active {
    border-top: 1px solid #666666;
    border-bottom: 1px solid #666666;
    font-weight: bold;
}

.calendar td.time {
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
}

.calendar td.time .ampm {
}

.calendar td.time .colon {
}

.calendar td.time span.hilite {
}

.calendar td.time span.active {
}


