/* The main calendar widget.  DIV containing a table. */
div.calendar {
position:relative;
}

.calendar,.calendar table {
border:1px solid #556;
font-size:11px;
color:#000;
cursor:default;
background:#FFF;
font-family:tahoma, verdana, sans-serif;
}

/* Header part -- contains navigation buttons and day names. */
.calendar .button {
text-align:center;
padding:2px;
}

.calendar .nav {
background:#CCC url(menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title {
font-weight:700;
text-align:center;
background:#CCC;
color:#000;
padding:2px;
}

.calendar thead .headrow {
background:#CCC;
color:#fff;
}

.calendar thead .daynames {
background:#CCC;
}

.calendar thead .name {
border-bottom:1px solid #000;
border-top:1px solid #000;
text-align:center;
color:#000;
padding:2px;
}

.calendar thead .hilite {
color:#000;
border:1px solid #000;
padding:1px;
}

.calendar thead .active {
padding:2px 0 0 2px;
}

/* The body part -- contains all the days in month. */
.calendar tbody .day {
width:2em;
color:#456;
text-align:right;
padding:2px 4px 2px 2px;
}

.calendar tbody .day.othermonth {
font-size:80%;
color:#bbb;
}

.calendar tbody .day.othermonth.oweekend {
color:#fbb;
}

.calendar table .wn {
border-right:1px solid #000;
background:#bdf;
padding:2px 3px 2px 2px;
}

/*.calendar tbody .rowhilite td {
    background: #def;
}

.calendar tbody .rowhilite td.wn {
    background: #eef;
}*/
.calendar tbody td.hilite {
background:#BBB;
border:1px solid #bbb;
padding:1px 3px 1px 1px;
}

.calendar tbody td.active {
background:#cde;
padding:2px 2px 0;
}

.calendar tbody td.selected {
font-weight:700;
border:1px solid #000;
background:#fff;
color:#000;
padding:1px 3px 1px 1px;
}

.calendar tbody td.today {
font-weight:700;
color:#00f;
}

.calendar tbody .disabled {
color:#999;
}

.calendar tbody .emptycell {
visibility:hidden;
}

.calendar tbody .emptyrow {
display:none;
}

/* The footer part -- status bar and "Close" button */
.calendar tfoot .footrow {
text-align:center;
background:#556;
color:#fff;
}

.calendar tfoot .ttip {
background:#fff;
color:#445;
border-top:1px solid #556;
padding:1px;
}

.calendar tfoot .hilite {
background:#aaf;
border:1px solid #04f;
color:#000;
padding:1px;
}

.calendar tfoot .active {
background:#77c;
padding:2px 0 0 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
position:absolute;
display:none;
top:0;
left:0;
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 {
text-align:center;
padding:1px;
}

.calendar .combo .label-IEfix {
width:4em;
}

.calendar .combo .hilite {
background:#acf;
}

.calendar .combo .active {
border-top:1px solid #46a;
border-bottom:1px solid #46a;
background:#eef;
font-weight:700;
}

.calendar td.time {
border-top:1px solid #000;
text-align:center;
background-color:#CCC;
padding:1px 0;
}

.calendar td.time .hour,.calendar td.time .minute,.calendar td.time .ampm {
border:1px solid #889;
font-weight:700;
background-color:#fff;
padding:0 3px 0 4px;
}

.calendar td.time .ampm {
text-align:center;
}

.calendar td.time .colon {
font-weight:700;
padding:0 2px 0 3px;
}

.calendar td.time span.hilite {
background-color:#667;
color:#fff;
border-color:#000;
}

.calendar td.time span.active {
background-color:#000;
color:#0f0;
border-color:red;
}

.calendar thead .weekend,.calendar tbody td.weekend {
color:#a66;
}
