@import url("layouts/layout-2d.css");

.calendar { border-color: #979797; }

.calendar table {
  border-color: #979797;
  color: #000;
  background-color: #FFFFFF;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  background-color: #959595;
  color: #000000;
}

.calendar .nav {
  background-color: #959595;
}

.calendar thead .title { /* This holds the current "month, year" */
  background-color: #CCCCCC;
  color: #000000;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-color: #565;
  color: #000;
 
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #CC0000;

}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #FFF5CC;
  color: #000;
  border-color: #ffffff;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #FFFFFF;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
   background-color: #CCCCCC;
   
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  color: #333333;
  background-color: #FFFFFF;
}
.calendar tbody .day.othermonth {
  color: #888;
}
.calendar tbody .day.othermonth.oweekend {
  color: #E68080;
}

.calendar table .wn {
  border-color: #000000;
  background-color: #CCCCCC;
}

.calendar tbody .rowhilite td {
  background-color: #FFEA95;
}

.calendar tbody .rowhilite td.wn {
  background-color: #FFFFFF;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background-color: #FFEA95;
  border-color: #ffffff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background-color: #FFFFFF;
}

.calendar tbody td.selected { /* Cell showing today date */
  border-color: #CCCCCC;
  background-color: #e5e5e5;
  color: #000;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #CC0000;
}

.calendar tbody td.today { color: #000000;

 }

.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) */
  background-color: #565;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background-color: #CCCCCC;
  color: #000000;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background-color: #afa;
  border-color: #084;
  color: #000;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background-color: #7c7;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  border-color: #959595;
  background-color: #FFFFFF;
  color: #333333;
}

.calendar .combo .hilite {
  background-color: #CCCCCC;
}

.calendar .combo .active {
  border-color: #959595;
  background-color: #FFEA95;
}

/* time */

.calendar tfoot tr.time td { border-color: #8a8; }
.calendar tfoot tr.time td.hour,
.calendar tfoot tr.time td.minute { border-color: #aca; }
.calendar tfoot tr.time td.hilite { background-color: #FFEA95; }
.calendar tfoot tr.time td.active { background-color: #FFFFFF; }
