/* The main calendar widget.  DIV containing a table. */
.calendar {
	position: absolute;
	display:  block;
	z-index: 7;
	/*border-top: 1px solid #cccccc;
	  border-right: 1px solid #cccccc;
	  border-bottom: 1px solid #cccccc;
	  border-left: 1px solid #cccccc; */
  font-size:9px;
	color: #000;
	cursor: default;
	background: #ffffff;
	font-family: verdana, sans-serif;
	font-weight:bold;/*line-height:20px;*/
   

}
.calendar table {
	border: 1px solid #cccccc;
	border-collapse:collapse;
	font-size: 9px;
	color: #000;
	cursor: default;
	background: #ffffff;
	font-family: verdana, sans-serif;
	font-weight:bold;
	line-height:15px;
}
/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	text-align: center;
	color:#ffffff;
	background-color:#CC0000;
	font-size:14px;
	font-family: verdana, sans-serif;
	line-height:18px;
	padding-bottom:2px;
	padding-top:0px;
	font-weight:bold;
}
.calendar thead .title { /* This holds the current "month, year" */
	font-size: 9px;
	background: #cc0000;
	color: #fff;
	text-align: center;
	line-height:18px;
	padding-bottom:0px;
	padding-top:0px;
}
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
	border-right: 1px solid #cccccc;
}
.calendar thead .daynames { /* Row <TR> containing the day names */
	border-right: 1px solid #cccccc;
}
.calendar thead .name { /* Cells <TD> containing the day names */
	border-bottom: 1px solid #cccccc;
	color:#000;
	text-align: center;
	background: #ffffff;
	line-height:18px;
	font-size:9px;
	font-weight:normal;
}
.calendar thead .weekend { /* How a weekend day name shows in header */
	color: #000;
	line-height:15px;
	font-size:9px;
	font-weight:normal;
}
/*.calendar thead .hilite { /* How do the buttons in header appear when hover */
 /* border-top: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  border-left: 2px solid #fff;
  padding: 0px;
  background-color: #d8e4e0;
  line-height:12px;
} */

/*.calendar thead .active { /* Active (pressed) buttons in header */
 /* 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;
  background-color: #b8c4c0;
  line-height:12px;
} */

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
	width: 25px;
	text-align: center;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	line-height:15px;
}
/*.calendar tbody .day.othermonth {}*/


/*.calendar tbody .day.othermonth.oweekend {}*/


/*.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background-color: #e8f4f0;
   line-height:20px;
}*/

/*.calendar tbody .rowhilite td {
  background-color: #d8e4e0;
   line-height:20px;
}*/

/*.calendar tbody .rowhilite td.wn {
  background-color: #c8d4d0;
   line-height:20px;
}*/

 /*.calendar tbody td.hilite { Hovered cells <TD> 
 padding: 1px 3px 1px 1px;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
   line-height:12px;
}*/

/* .calendar tbody td.active { Active (pressed) cells <TD> */
  /*  padding: 2px 2px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
   line-height:12px;
}*/

.calendar tbody td.selected { /* Cell showing selected date */
	font-weight: bold;
	color: #CC0000;
	line-height:15px;
}
.calendar tbody td.weekend { /* Cells showing weekend days */
	line-height:15px;
}
.calendar tbody td.today { /* Cell showing today date */
	font-weight: bold;
	color: #CC0000;
	line-height:15px;
}
.calendar tbody .disabled {
	color: #acacac;
	background-color:#ebebeb;
	line-height:15px;
}
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
	/*visibility: hidden;*/
   line-height:15px;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	width:15px;
}
.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
	display: none;
	line-height:15px;
}
/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
	line-height:0px;
	display: none;
}
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	background: #e8f4f0;
	padding: 1px;
	border: 1px solid #000;
	background: #788480;
	color: #fff;
	text-align: center;
	line-height:10px;
	display: none;
}
.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-color: #d8e4e0;
	line-height:10px;
	display: none;
}
.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;
	line-height:10px;
	display: none;
}
/* 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-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  background-color: #990000;*/
  font-size: 90%;
	padding: 1px;
	z-index: 100;
	line-height:10px;
	display: none;
}
.calendar .combo .label, .calendar .combo .label-IEfix {
	text-align: center;
	padding: 1px;
	line-height:10px;
	display: none;
}
.calendar .combo .label-IEfix {
	width: 4em;
	line-height:10px;
	display: none;
}
.calendar .combo .active {
	background: #c8d4d0;
	padding: 0px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
	line-height:10px;
	display: none;
}
.calendar .combo .hilite {
	background: #048;
	color: #aef;
	line-height:10px;
	display: none;
}
.calendar td.time {
	border-top: 1px solid #000;
	padding: 1px 0px;
	text-align: center;
	background-color: #e8f0f4;
	line-height:10px;
	display: none;
}
.calendar td.time .hour, .calendar td.time .minute, .calendar td.time .ampm {
	padding: 0px 3px 0px 4px;
	border: 1px solid #889;
	font-weight: bold;
	background-color: #fff;
	line-height:10px;
	display: none;
}
.calendar td.time .ampm {
	text-align: center;
	line-height:12px;
	display: none;
}
.calendar td.time .colon {
	padding: 0px 2px 0px 3px;
	font-weight: bold;
	line-height:12px;
	display: none;
}
.calendar td.time span.hilite {
	border-color: #000;
	background-color: #667;
	color: #fff;
	line-height:12px;
	display: none;
}
.calendar td.time span.active {
	border-color: #f00;
	background-color: #000;
	color: #0f0;
	line-height:12px;
	display: none;
}
