@import url("layouts/layout-3d.css");

.calendar {
  border-width: 0px;
  color: #000;
  background-color: #ede8e8;
}

.calendar table {
  border-color: #CCCCCC;
  border-collapse: separate;
}

.calendar .nav {
  background-color: #ede8e8;

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  border-color: #FFFCF0 #FFD040 #FFD555 #FFFCF0;
  color: #333333;
  background-color: #b0c72c;
}

.calendar thead .title { /* This holds the current "month, year" */
  border-color: #cccccc #cccccc #cccccc #cccccc;
  background-color: #00a8e6;
  color: #fff;
}

.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 */
  border-color: #000;
  background-color: #888888;
  color: #ffffff;
}

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  border-color: #4da8a8 #4da8a8 #4da8a8 #4da8a8;
  background-color: #4da8a8;
  color: #ffffff;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 2px 0px 0px 2px;
  border-color: #404040 #d4d0c8 #d4d0c8 #404040;
  background-color: #00a8e6;
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
}
.calendar tbody .day.othermonth {
  color: #888;
}
.calendar tbody .day.othermonth.oweekend {
  color: #e88;
}

.calendar table .wn {
  border-color: #000000;
  background-color: #00a8e6;
  color: #ffffff
}

.calendar tbody .rowhilite td {
  background-color: #A0E8FF;
}

.calendar tbody .rowhilite td.wn {
  background-color: #cccccc;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  border-color: #eeeeff #eeeeff #eeeeff #eeeeff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  border-color: #44444f #44444f #44444f #44444f;
}

.calendar tbody td.selected { /* Cell showing selected date */
  background-color: #FFFBEF;
  color: #000000;
  font-weight: normal;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #000;
  font-weight: bold;
}

.calendar tbody td.today { /* Cell showing today date */
  background-color: #57575F;
  color: #cccccc;
  font-weight: bold;
}

.calendar tbody .disabled { color: #999; }

/* WCAG 2.4.7 Focus Visible - keyboard focus indicator for all date cells including disabled */
.calendar tbody td.day:focus {
  outline: 3px solid #0066CC;
  outline-offset: -3px;
}
.calendar tbody td.day.selected:focus {
  outline: 3px solid #0066CC;
  outline-offset: -3px;
}

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

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  border-color: #cccccc #cccccc #cccccc #cccccc;
  background-color:  #00a8e6;
  color: #fff;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border-color: #404040 #d4d0c8 #d4d0c8 #404040;
  background-color: #00a8e6;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  border-color: #000 #fff #fff #000;
}

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

.calendar .combo {
  background-color: #CCCCCC;
  color: #ffffff;
}

.calendar .combo .active {
  background-color: #00a8e6;
  color: #000000;
}

.calendar .combo .hilite {
  background-color:#57575F;
  color: #000000;
}

/* time */

.calendar tfoot tr.time td { border-color: #8f8b7e; }
.calendar tfoot tr.time td.hour,
.calendar tfoot tr.time td.minute { border-color: #cdcabc; }
.calendar tfoot tr.time td.hilite { background-color: #e4e0d8; }
.calendar tfoot tr.time td.active { background-color: #b4b0a8; }
.calendar-time-scroller { border-color: #adaa9c; }
