.calendar { 
position: relative; 
display: none; 
cursor: default; 
background-image:url(../modules/home/enginecms/calendar.gif);
font-family : Tahoma;
font-size : 11px;
width:230px;
/*height:178px;*/
text-align:center;
padding:3px 3px 3px 3px;
} 
.calendar table { 
cursor: default; 
font-family : Tahoma;
}  
/* Header part -- contains navigation buttons and day names. */
/* "<<", "<", ">", ">>" buttons have this class */
.calendar .button {  
text-align: center; 
padding: 2px 2px 2px 2px;
}  
/* This holds the current "month, year" */
.calendar thead .title { 
font-weight: bold; padding: 1px; 
color: #FFFFFF; 
text-align: center;
}  
/* Row <TR> containing navigation buttons */
.calendar thead .headrow {  }  
/* Row <TR> containing the day names */
.calendar thead .daynames {  }  
/* Cells <TD> containing the day names */ 
.calendar thead .name { 
padding: 1px; 
text-align: center;
border-bottom: 1px solid #CCCCCC;
 }  
/* How a weekend day name shows in header */
.calendar thead .weekend { 
color: #FF0000; 
}  
/* How do the buttons in header appear when hover */
.calendar thead .hilite { 
padding: 2px 2px 2px 2px; 
color: #FF0000;
}  
/* Active (pressed) buttons in header */
.calendar thead .active { 
padding: 2px 2px 2px 2px;
}  

/* -------------------------------------------------- */
/* The body part -- contains all the days in month. */
/* -------------------------------------------------- */
/* Cells <TD> containing month days dates */
.calendar tbody .day { 
width: 2em; text-align: center; 
padding: 2px 4px 2px 2px; 
}  
.calendar table .wn { 
padding: 2px 3px 2px 2px; 
border-right: 1px solid #CCCCCC;
}  

.calendar tbody .rowhilite td { 
background: #F4F4F4; 
}  
.calendar tbody .rowhilite td.wn { 
background: #F4F4F4; 
} 

/* Hovered cells <TD> */
.calendar tbody td.hilite { 
padding: 1px 3px 1px 1px; 
border: 1px solid #999999; 
}  
/* Active (pressed) cells <TD> */
.calendar tbody td.active { 
padding: 2px 2px 0px 2px; 
border: 1px solid #000000;
}
/* Cell showing selected date */
.calendar tbody td.selected { 
font-weight: bold; 
padding: 2px 2px 0px 2px; 
background-color:#E0E0E0; 
/*border: 1px solid #666666;*/
}  
/* Cells showing weekend days */
.calendar tbody td.weekend { 
color: #FF0000;
 }  
/* Cell showing today date */
.calendar tbody td.today { 
font-weight: bold; 
color: #FF0000; 
}  
.calendar tbody .disabled { 
color: #999999;
 }  
/* Empty cells (the best is to hide them) */
.calendar tbody .emptycell { 
visibility: hidden; 
}  
/* Empty row (some months need less than 6 rows) */
.calendar tbody .emptyrow { 
display: none; 
}  

/* -------------------------------------------------- */
/* The footer part -- status bar and "Close" button   */
/* -------------------------------------------------- */
.calendar tfoot 
/* The <TR> in footer (only one right now) */
.footrow {
background-image:url(../modules/home/enginecms/calendar_footer.gif);
 }  
/* Tooltip (status bar) cell <TD> */
.calendar tfoot .ttip {
/*padding: 2px; */
color: #666666; 
text-align: center;
vertical-align:bottom;
height:17px;
 }  
/* Hover style for buttons in footer */
.calendar tfoot .hilite { 
border-top: 1px solid #FFFF00; 
border: 1px solid #FF0000; 
padding: 1px;
}  
/* Active (pressed) style for buttons in footer */
.calendar tfoot .active { 
padding: 2px 0px 0px 2px; 
border: 1px solid #0099FF; 
}  
/* Combo boxes (menus that display months/years for direct selection) */
.combo { 
position: absolute; display: none; 
width: 4em; top: 0px;
left: 0px; 
cursor: default; 
border: 1px solid #666666;
background: #FFFFFF; 
font-size: smaller; 
padding: 1px; 
}  
.combo .label { 
text-align: center; 
padding: 1px; 
}  
.combo .active { 
padding: 0px; 
color: #FF0000; 
border: 1px solid #CCCCCC; 
}  
.combo .hilite { 
color: #FF0000; 
background: #E9E9E9; 
} 
