/* The main calendar widget.  DIV containing a table. */

.calendar
{
position:relative;
display:none;
border:0px;
font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size:11px;
line-height:18px;
padding-left: 5px;
padding-right: 5px;
}

.calendar table
{
width: 390px;
float: left;
border-collapse: collapse;
line-height:18px;
}

.calendar table td
{
padding: 0px;
margin: 0px;
}

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

/* "<<", "<", ">", ">>" buttons have this class */
.calendar .button
{
text-align:center;
vertical-align:center;
border:0px;
padding: 3px 0px 3px 0px;
border-bottom:1px solid #f0f0f0;
}

.calendar .nav
{
background:#FFFFFF;
}

/* This holds the current "month, year" */
.calendar thead .title
{ 
text-transform: capitalize;
text-align:left;
cursor:default;
border-bottom:1px solid #f0f0f0;
padding:6px 0px 5px 0px;
}

/* Row <TR> containing navigation buttons */
.calendar thead .headrow
{ 
background:#FFFFFF;

}

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

/* Cells <TD> containing the day names */
.calendar thead .name
{ 
text-align:center;
background:#333;
font-size: 11px;
font-family: Arial;
text-transform: uppercase;
font-weight: bold;
color: #fff;
}

/* How a weekend day name shows in header */
.calendar thead .weekend
{ 
text-align:center;
}

/* How do the buttons in header appear when hover */
.calendar thead .hilite
{
color: #fa9c0a; 
cursor:pointer;
}

/* Active (pressed) buttons in header */
.calendar thead .active
{ 
cursor:pointer;
}

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

/* Cells <TD> containing month days dates */
.calendar tbody .day
{ 
padding:2px;
text-align:center;
border-bottom:1px solid #f0f0f0;
}
.calendar tbody .day.othermonth
{


padding:2px;
text-align:center;
border-bottom:1px solid #f0f0f0;
}
.calendar tbody .day.othermonth.oweekend
{


padding:2px;
text-align:center;
border-bottom:1px solid #f0f0f0;
}

.calendar table .wn
{
border-right: 1px solid #000;
background: #d9eaf8;
}

.calendar tbody .rowhilite td
{
}

.calendar tbody .rowhilite td.wn
{
}

/* Hovered cells <TD> */
.calendar tbody td.hilite
{ 
padding:2px;
cursor:pointer;
text-align:center;
color: #fa9c0a;
background-color: #f0f0f0;
}

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


padding:2px;
cursor:pointer;
text-align:center;
}

/* Cell showing selected date */
.calendar tbody td.selected
{ 
padding:2px;
cursor:pointer;
text-align:center;
font-weight: bold;
background-color:#f0f0f0;
color: #fa9c0a;
}

/* Cells showing weekend days */
.calendar tbody td.weekend
{ 
padding:2px;
cursor:pointer;
text-align:center;
}

/* Cell showing today date */
.calendar tbody td.today
{ 
padding:2px;
cursor:pointer;
text-align:center;
font-weight: bold;
color: #fa9c0a;
background-color: #f0f0f0;
}

.calendar tbody .disabled
{
color:#999;
border-bottom:1px solid #f0f0f0;
}

/* Empty cells (the best is to hide them) */
.calendar tbody .emptycell
{ 
border-bottom:1px solid #f0f0f0;
}

/* Empty row (some months need less than 6 rows) */
.calendar tbody .emptyrow
{ 
display:none;
}

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

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

.calendar tfoot .ttip
{
background:#FFFFFF;
text-align:center;
font-weight:700;
cursor:default;
display:none;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
}

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

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

.calendar .combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  background: #d8e0e4;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

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

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

.calendar .combo .active {
  background: #c8d0d4;
  padding: 0px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

.calendar .combo .hilite {
  background: #048;
  color: #aef;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #e8f0f4;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  background-color: #fff;
}

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

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
 }

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #667;
  color: #fff;
}

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

.special { color: #000; }