/* The main calendar widget.  DIV containing a table. */
.hr {
	position: relative;
	left: 24;
	height: 1px;
	font-size: 1px;
	background-color: #828081;
	width: 180px;
	border-bottom: 1px solid #b5b5b5;
	margin-top: 3px;
	margin-bottom: 4px;
}

* html .hr {
	position: static;
}

.calendar {
  position: relative;
  display: none;
  font-size: 11px;
  color: #000000;
  cursor: default;
  background: #fffff;
  font-family: Arial;
}

.calendar table {
  font-size: 11px;
  color: #000000;
  cursor: default;
  background: #fffff;
  font-family: Arial;
  width: 228px;
}

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

.calendar thead .title .todayDate { 
	font-size: 16px;
	font-weight: bold;
	height: 26px;
}

.calendar .title { /* This holds the current "month, year" */
  padding-top: 9px;
  padding-bottom: 12px;
  background-color: #828081; 
  color: #ffffff;
  text-align: center;
  line-height: 14px;
  width: 228px;
}

.calendar thead .daynamesSpacer {
  height: 14px;
  width: 176px;
}

.calendar #calendarContentMain table {
	font-size: 10px;
	width: 176px;
	border-bottom: 2px solid #e5e5e5;
}

.calendar .contentBufferR {
	width: 26px;
	border-right: 2px solid #e5e5e5;
	border-bottom: 2px solid #e5e5e5;
}

.calendar .contentBufferL {
	width: 26px;
	border-left: 2px solid #e5e5e5;
	border-bottom: 2px solid #e5e5e5;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  width:16px;
  height: 16px;
  text-align: center;
  background: #eaeaea;
  color: #898989;
  border-bottom: 7px solid #ffffff;
}

.calendar thead .dayNameCell0 { /**/
	padding: 1px 7px 2px 11px; 
}

.calendar thead .dayNameCell1, 
.calendar thead .dayNameCell2, 
.calendar thead .dayNameCell3, 
.calendar thead .dayNameCell4, 
.calendar thead .dayNameCell5 {
	padding: 1px 7px 2px 0px;
}

.calendar thead .dayNameCell6 { /**/
	padding: 1px 11px 2px 0px; 
}  

.calendar tbody .day {
	text-align: center;
	width: 16px;
	height: 23px;
	border-bottom: 7px solid #ffffff;
	font-size: 10px;
	font-family: Arial;
}

.calendar tbody .dayCell0 {
	border-left: 11px solid #ffffff;
	border-right: 7px solid #ffffff;
}

.calendar tbody .dayCell1, 
.calendar tbody .dayCell2, 
.calendar tbody .dayCell3, 
.calendar tbody .dayCell4, 
.calendar tbody .dayCell5 {
	border-right: 7px solid #ffffff;
}

.calendar tbody .daysrow {
	color: #898989;
}

.calendar tbody .dayCell6 {
	border-right: 11px solid #ffffff;
}



.calendar tfoot div {
	height:100%;
	padding-bottom: 9px;
}

.calendar tbody td.today { /* Cell showing today date */
	background-color: #1573a4; 
	color: #ffffff;
}

.specialDay { 
	background-color: #283c69; 
	color: #ffffff; 	
}

.calendar tbody .daysrow .specialDayHilite { /* How do the buttons in header appear when hover */
	background-image: url('../../custom/other/hiliteSpecialDay.gif');
	color: #666666;
}

.actionLayerContainer {  
	z-index: 1;
}

#actionLayerCalendar { 
	position: absolute; 
	left: 26px;
	top: 0px;
	background-color: #ffffff; 
	width: 154px;
	xheight: 42px; 
	border: 1px solid #1472a5;
	z-index: 1;
	visibility: hidden;
	padding: 7px 10px 7px 10px;
}

* html #actionLayerCalendar {  
	width: 176px;
	xheight: 60px; 
}

.actionLayerEraseLineContainer {
	width: 0px; 
	height: 0px; 
	position: relative; 
	z-index: 2;
}

.actionLayerEraseLine {
	font-size: 0px;
	position: absolute;
	width: 14px;
	height: 2px;
	background: #ffffff;
	top: -16px;
	left: 1px;
	z-index: 2;
	visibility: hidden;
}

* html .actionLayerEraseLine {		
	left: -7px;
	top: -15px;
	background-color: #ffffff;
	height: 2px;
	z-index: 5;
}

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #666666;
	background-color: #ffffff;
	width: auto;
}

.calendar .nav_pm {
	text-align: left;
	vertical-align: middle;
}

.calendar .nav_pm div {
	height: 9px;
	margin-right: 5px; 
}

* html .nav_pm div {
	border: 0px;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

.calendar .nav_now { 
	font-size: 14px;
	height: 20px;
	border:0px;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

.calendar .nav_nm {
	text-align: right;
	vertical-align: middle;
}

.calendar .nav_nm div {
	height: 9px;
}

* html .nav_nm div {
	border: 0px;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

.calendar .footSpacer {
	background-color: #ffffff;
	border: 0px;
	height: 1px;
	margin: 0px;
	padding: 0px;
}

.calendar .footSpacer div{
	height: 5px;
	padding: 0px 0px 0px 0px;
	font-size: 0px;
}





.calendar .nav {
}

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

.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 */
}

.calendar tfoot .headrow { /* Row <TR> containing navigation buttons */
}

/* The body part -- contains all the days in month. */
.calendar tbody { /* Cells <TD> containing month days dates */
}

.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #aaa;
}
.calendar tbody .day.othermonth.oweekend {
  color: #faa;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #e8f4f0;
}

.calendar tbody .rowhilite td {
}

.calendar tbody .rowhilite td.wn {
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
}

.calendar tbody td.selected { /* Cell showing selected date */
}

.calendar tbody td.weekend { /* Cells showing weekend days */
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  xdisplay: 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> */
  background: #e8f0f4;
  padding: 1px;
  border: 1px solid #000;
  background: #788084;
  color: #fff;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
}

.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-top: 0px solid #fff;
  border-right: 0px solid #000;
  border-bottom: 0px solid #000;
  border-left: 0px solid #fff;
  background: #eaeaea;
  color: #898989;
  font-size: 90%;
  padding: 1px;
  z-index: 100; 
  visibility: hidden;
}

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

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

.calendar .combo .active {
  background: #c8d0d4;
  padding: 0px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
  display: none;
  visibility: hidden;
}

.calendar .combo .hilite {
  background: #666666;
  color: #ffffff;
  visibility: hidden;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #e8f0f4;
}

.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;
}

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

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

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}

