/* The main calendar widget.  DIV containing a table. */

div.calendar { position: relative;}

.calendar {
	z-index: 100;
}

.calendar td , .calendar tr
{
	padding: 1px;
}

.calendar table {
	border: 1px solid #4446A6;
	font-size: 10px;
	color: #FF0000;
	cursor: default;
	font-family: tahoma,verdana,sans-serif;
	width: 120px;
	background-color: #FAFAFA;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 1px;          /* Make the buttons seem like they're pressing */
  width: 25px;
}

.calendar .nav {
	background-color: #F8F1FE;
}

.calendar thead .title { /* This holds the current "month, year" */
	font-weight: bold;      /* Pressing it will take you to the current date */
	text-align: center;
	color: #290A92;
	padding: 0px;
	vertical-align: middle;
	height: 18px;
	background-color: #FFFFFF;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F3F1FA;
}

.calendar thead .titleclose {
	color: white;
	font-size: 10px;
	background-color: #DAD2EE;
	background-image: url(http://www.turbus.cl/rps_turbus_v56/OpenSite/TurBus/Pasajes/Venta%20de%20Pasajes/20070123164935/closet.gif);
	background-repeat: no-repeat;
	background-position: center center;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D2D3DF;
}

.calendar thead .titleclose:hover {
	background-image: url(http://www.turbus.cl/rps_turbus_v56/OpenSite/TurBus/Pasajes/Venta%20de%20Pasajes/20070123164935/closet.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  /*background: #778;*/
  color: #9192BF;
  font-weight: bold;
  border: 1px solid #320DB3;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
	background-color: #E7E2F5;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  /*border-bottom: 1px solid #556;*/
  padding: 1px;
  text-align: center;
  color: #8675BF;
  font-weight: bold;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  /*color: #a66;*/
  /*color: #e21f26;*/
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #ECE7F8;
  color: #8A38C0;
  /*border: 1px solid #04f;*/
  /*padding: 1px;*/
  cursor: pointer;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #FFFFFF;
  /*padding: 2px 0px 0px 2px;*/
}

.calendar thead .active.titleclose {
	background-color: #FFFFFF;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 15px;
  color: #330DB5;
  text-align: right;
  /*padding: 2px 4px 2px 2px;*/
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
	background-color: #EFEBFA;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #E1CAF0;
}

.calendar tbody .rowhilite td {
	border: 1px solid #FDFDFB;
	background-color: #FFFFFF;
}

.calendar tbody .rowhilite td.wn {
  background: white;
}

.calendar tbody td {
  border: 1px solid #F3F2FD;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
	/*padding: 1px 3px 1px 1px;*/
  cursor: pointer;
	background-color: #F4EBFA;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
	border: 1px solid #A28EC1;
	background-color: #ECD2F7;  /*padding: 2px 2px 0px 2px;*/
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  border: 1px solid #290A92;
  /*padding: 1px 3px 1px 1px;*/
  background: #fff;
  color: #C2BBE3;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #CC3300;
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight: bold;
  color: #FF0000;
}

.calendar tbody .disabled { color: #EEE9FC; }

.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) */
	text-align: center;
	/*background: #556;*/
  background: white;
	color: #cc0000;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #B7A5D8;
}

.calendar tfoot td {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #B7A5D8;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	background: #fff;
	color: #7157E8;
	padding: 1px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #EEE9FC;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
	background: #a7b1be;
	color: #290A92;
	padding: 1px;
	cursor: pointer;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #E3E1FB;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
	padding: 2px 0px 0px 2px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #E3E1FB;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
	position: absolute;
	display: none;
	width: 1em;
	top: 0px;
	left: 0px;
	cursor: default;
	font-size: 8px;
	padding: 1px;
	z-index: 100;
	background-color: #FFFFFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #9F8FED;
	border: 1px solid #E3E1FB;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 0px;
}

.calendar .combo .label-IEfix {
  width: 3em;
}

.calendar .combo .active {
	background-color: #F3E8FD;
	border: 1px solid #CDC0E4;
}

.calendar .combo .hilite {
	color: #A25E9F;
	background-color: #F8F1FE;

}
