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

.calendar {
	background-color: #FFFFFF;
	border-bottom: #767676 2px solid;
	border-left: #FFFFFF 2px solid;
	border-right: #767676 2px solid;
	border-top: #FFFFFF 2px solid;
	color: #767676;
	cursor: default;
	display: none;
	font-family: tahoma,verdana,sans-serif;
	font-size: 11px;
	position: relative;
}

.calendar table {
	background-color: #FFFFFF;
	border-bottom: #FFFFFF 1px solid;
	border-left: #767676 1px solid;
	border-right: #FFFFFF 1px solid;
	border-top: #767676 1px solid;
	color: #767676;
	cursor: default;
	font-family: tahoma,verdana,sans-serif;
	font-size: 11px;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	background-color: #E6E6E6;
	border-bottom: #767676 1px solid;
	border-left: #FFFFFF 1px solid;
	border-right: #767676 1px solid;
	border-top: #FFFFFF 1px solid;
	color: #000000;
	padding: 1px;          /* Make the buttons seem like they're pressing */
	text-align: center;    /* They are the navigation buttons */
}

.calendar .nav {
	background: #E6E6E6 url(menuarrow2.gif) no-repeat 100% 100%;							/* Fila Navegador < << >> > */
	color: #000000;
}

.calendar thead .title { /* This holds the current "month, year" */						/* Fila Novembre, 2007 */
	font-weight: bold;      /* Pressing it will take you to the current date */
	background-color: #767676;
/*  border: 1px solid #000;*/
	color: #FFFFFF;
	padding: 2px;
	text-align: center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */					/* Fila Avui */
}

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

.calendar thead .name { /* Cells <TD> containing the day names */
	border-bottom: #767676 1px solid;													/* Separació Capçalera i Cos */
	color: #000000;																		/* Dies Setmana */
	padding: 2px;
	text-align: center;
}

.calendar thead .weekend { /* How a weekend day name shows in header */					/* Dies Cap Setmana */
  color: #FF0000;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */			/* Capçalera on està cursor */
  background-color: #F7F7F7;
  border-bottom: #767676 2px solid;
  border-left: #FFFFFF 2px solid;
  border-right: #767676 2px solid;
  border-top: #FFFFFF 2px solid;
  color: #333333;
  padding: 0px;
}

.calendar thead .active { /* Active (pressed) buttons in header */						/* Capçalera fer Click */
  background-color: #CCCCCC;
  border-bottom: #FFFFFF 1px solid;
  border-left: #767676 1px solid;
  border-right: #FFFFFF 1px solid;
  border-top: #767676 1px solid;
  color: #767676;
/*  padding: 2px 0px 0px 2px;*/
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */						/* Dies Mes */
	color: #000000;
	padding: 2px 4px 2px 2px;
	text-align: right;
	width: 2em;
}
.calendar tbody .day.othermonth {														/* Dies d'altres Mesos */
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {												/* Dies Cap Setmana d'altres Mesos */
  color: #fbb;
}

.calendar table .wn {																	/* columna Setmana de l'Any */
	border-right: #767676 1px solid;
	color: #767676;
	padding: 2px 3px 2px 2px;
}

.calendar tbody .rowhilite td {															/* Fila Setmana on està el cursor */
}

.calendar tbody .rowhilite td.wn {														/* Fila Set.de l'Any on està cursor */
}

.calendar tbody td.hilite { /* Hovered cells <TD> */									/* Dia Mes on està el cursor */
	background-color: #FFFFFF;
	border: #767676 1px solid;
	padding: 1px 3px 1px 1px;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */							/* Dia Mes fet Click */
	background-color: #FFFFFF;
	border: #767676 1px solid;
	padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected { /* Cell showing selected date */
	border: #767676 1px solid;
	font-weight: bold;
	padding: 2px 2px 0px 2px;
}

.calendar tbody td.weekend { /* Cells showing weekend days */							/* Dies Mes Cap de Setmana */
  color: #FF0000;
}

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

.calendar tbody .disabled { color: #999; }												/* Dies Mes desactivats */

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  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> */							/* Fila Status */
	background-color: #767676;
	color: #FFFFFF;
	padding: 1px;
	text-align: center;
}

.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 {																	/* Combo Any i Mes */
	background-color: #FFFFFF;
	border: #767676 1px solid;
	color: #767676;
	cursor: default;
	display: none;
	font-size: 90%;
	left: 0px;
	padding: 1px;
	position: absolute;
	top: 0px;
	width: 4em;
	z-index: 100;
}

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

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

.calendar .combo .hilite {																/* Combo on està el cursor */
  background: #E6E6E6;
  padding: 0px;
}

.calendar .combo .active {																/* Combo Mes actiu */
	background-color: #767676;
	color: #FFFFFF;
	padding: 0px;
}

.calendar td.time {																		/* Fila Hora */
  border-top: 1px solid #515151;
  padding: 1px 0px;
  text-align: center;
  background-color: #767676;
  color: #FFFFFF;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {																/* Recuadres Hora i Minut */
  padding: 0px 3px 0px 4px;
  border: 1px solid #515151;
  font-weight: bold;
  background-color: #FFFFFF;
  color: #515151;
}

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

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {															/* Hora i Minut on està el cursor */
  border-color: #FFFFFF;
  background-color: #515151;
  color: #FFFFFF;
}

.calendar td.time span.active {															/* Hora i Minut fet Click */
  border-color: #FFFFFF;
  background-color: #FF7010;
  color: #FFFFFF;
}
