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

.calendar {
  position: relative;
  display: none;
  font-size: 11px;
  cursor: default;
  background: #4c0019;
  color: white;
  font-family: Verdana, Arial, helvetica, sans-serif;
}

.calendar .ocultar {
	display: none !important;
}

.calendar table {
  font-size: 11px;
  cursor: default;
  background: #4c0019;
  color: white;
  font-family: Verdana, Arial, helvetica, sans-serif;
  /*padding: 7px;*/
  border: 7px solid #4c0019;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	cursor: pointer;
	text-align: center;
	padding-bottom: 5px;
	border-bottom: 1px solid #a8a8a8;
	color: #a8a8a8;
}

.calendar .nav div {
	margin: auto;
	background-position: center;
	background-repeat: no-repeat;
}

.calendar thead .title { /* This holds the current "month, year" */
}

.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-top: 9px solid #4C0019;
  border-bottom: 2px solid #4C0019;
  padding: 2px;
  text-align: center;
  background: #a8a8a8;
  color: white;
  cursor: pointer;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
}

.calendar thead .active { /* Active (pressed) buttons in header */
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 24px !important;
  height: 24px !important;
  text-align: center;
  background-image: url("../../images/cal_dia.gif");
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.calendar tbody .rowhilite td {
}

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

.calendar tbody td.active { /* Active (pressed) cells <TD> */
   background-image: url("../../images/cal_dia_sel.gif");
  background-position: center;
  background-repeat: no-repeat;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
   background-image: url("../../images/cal_dia_sel.gif");
  background-position: center;
  background-repeat: no-repeat;
  color: #fc3 !important;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #f00;
}

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

.calendar tbody td.disabled {
	color: #999;
	background: none;
	cursor: default;
}

.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> */
	display: none !important;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  padding: 1px;
  background: #e4e0d8;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

/* 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: 2px solid #4C0019;
  background: #999;
  color: white;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

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

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

.calendar .combo .active {
  padding: 0px;
  border: 2px solid #fc3;
  color: #fc3;
}

.calendar .combo .hilite {
  background: #fc3;
  color: #4C0019;
}

.calendar #cal_anyo_ant {
	background-image: url(../../images/cal_anyo_ant.gif);
	width: 11px;
	height: 11px;
}

.calendar #cal_mes_ant {
	background-image: url(../../images/cal_mes_ant.gif);
	width: 6px;
	height: 11px;
}

.calendar #cal_mes_sig {
	background-image: url(../../images/cal_mes_sig.gif);
	width: 6px;
	height: 11px;
}

.calendar #cal_anyo_sig {
	background-image: url(../../images/cal_anyo_sig.gif);
	width: 11px;
	height: 11px;
}

