﻿/* The main calendar widget.  DIV containing a table. */

.calendar {
  z-index:1px;
  /*position: relative;*/
  display: none;
  font-size: 9px;
  color: Black;
  cursor: default;
  font-family: verdana,tahoma,sans-serif;
  background: #EEEEEE;
  border-bottom:1px solid #A7A9AC;
}

.calendar table {
  width:189px;
  font-size: 9px;
  color: Black;
  cursor: default;
  font-family: verdana,tahoma,sans-serif;
  background: #EEEEEE;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  font-size:9px;
  font-family: verdana,tahoma,sans-serif;
  padding:0;
  height:17px;
  text-align: center;
  font-weight: BOLD;
  border: 1px solid #EEEEEE;
  color: #000000;
  text-decoration:underline;
  cursor:hand;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-size:10px;
  height:27px;
  padding: 1px;
  background: #000000;
  text-align: center;
  color: white;
  background-image:URL(/portail/image/fond_cal_entete.gif);
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  padding:0;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  font-family: Arial,verdana,tahoma,sans-serif;
  text-align:center;
  padding:0;
  font-size:9px;
  color: Black;
  height:17px;
  border-bottom:1px solid #EEEEEE;
  border-right:1px solid #EEEEEE;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: Black;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  color: Black;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  color: #0000CC;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  font-family: Verdana,tahoma,sans-serif;
  letter-spacing:-1px;
  color: Black;
  padding-right:6px;
  padding-top:0px;
  width: 27px;
  height: 17px;
  font-size:10px;
  text-align: right;
  border-bottom:1px solid #EEEEEE;
  border-right:1px solid #EEEEEE;
}

.calendar table .wn {
  font-size:10px;
}

.calendar tbody .rowhilite td {
}

.calendar tbody .rowhilite td.wn {
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  color:CLR_CAL_DARKEST;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
}

.calendar tbody td.selected { /* Cell showing selected date */
  color:CLR_CAL_DARKEST;
  text-decoration:bold;
}

.calendar tbody td.have_event { /* Cell having event MARCHE PAS */
}


.calendar tbody td.weekend { /* Cells showing weekend days */
}

.calendar tbody td.today { /* Cell showing today date */
  color:CLR_CAL_DARKEST;
  text-decoration:bold;
}

.calendar tbody .disabled { color: att.CLR_CAL_DISABLED; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  background: #FFFFFF;
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* 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> */
  display: none;
  color: CLR_CAL_DARKEST;
  padding-top:3px;
  text-align: center;
  font-size: 11px;
  height:16px
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border: 1px solid CLR_CAL_LIGHTEST;
  background: CLR_CAL_HIGHLIGHT;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  border: 1px solid CLR_CAL_LIGHTEST;
}

/* Combo boxes (menus that display months/years for direct selection) */

.combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  cursor: default;
  border: 1px solid CLR_CAL_BORDER;
  background: CLR_CAL_GENERAL;
  font-family: Tahoma;Arial,Verdana,Helvetica;
  font-size: 11px;
  padding: 1px;
}

.combo .label {
  text-align: center;
  padding: 1px;
}

.combo .active {
  background: CLR_CAL_GENERAL;
  border: 1px solid CLR_CAL_BORDER;
  padding: 0px;
}

.combo .hilite {
  background: CLR_CAL_BORDER;
  color: att.CLR_CAL_LIGHTEST;
}