/* The main calendar widget.  DIV containing a table. */

div.calendar {
	position: relative;
	border:1px solid #B3B3B3;
    background:#9A9A9A url(/images/calendar_bg.gif) repeat-x 0 0;
}

div.calendar table{
    margin: 6px;
    padding: 0px;
    /*background-color: #999999;*/
}

.calendar, .calendar table {
	/*border: 1px solid #b3b3b3;*/	
	color: #ffffff;
	cursor: default;
	font-family: verdana,sans-serif;
}

.calendar table td {
    background-color: none;
	font-size: 10px;
}

/* Header part -- contains navigation buttons and day names. */

.calendar thead .button {
	text-align: center;    /* They are the navigation buttons */
	padding: 0px;
	/*border-right: 1px solid #798D9E;*/
	/*border-bottom: #FFFFFF 1px solid;*/
	color: #000000;
   /* background-color: #999999;*/
     height:18px !important;
}

.calendar .headrow td {
    color: #000000;
    background:#E9E9E9 url(/images/calendar_thead_bg.gif) repeat-x 0 0;	
    border: solid #B3B3B3;
    border-width: 1px 0 1px 0;
    text-align:center;
    padding:0;
     height:18px !important;
}

.calendar .headNarrowrow td.button {
	padding:0;
	font-size:4px;
	line-height:0.7em;
    height:4px !important;
}


.calendar .nav {
	/*color: #727981;*/
	/*background: url(/images/DHTMLcalendar_arrow.gif) no-repeat 100% 100%;*/
}

.calendar thead {
    background:none !important;
}

.calendar thead .leftnav {
	border-left:1px solid #B3B3B3;
	text-align:center;
	color:#ECECEC;
	background:#E9E9E9 url(/images/nav_left_arrow.gif) no-repeat 0px 0px;
	cursor:pointer;
}


.calendar thead .rightnav {
	border-right:1px solid #B3B3B3;
	text-align:center;
	color:#ECECEC;
	background:#E9E9E9 url(/images/nav_right_arrow.gif) no-repeat 100% 0px;
	cursor:pointer;
}





.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  color: #c4151c;
  height:18px !important;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
	/*color: #c4151c; */
  height:4px !important;

}

.calendar thead .daynames .name {
    visibility:hidden;
    font-size:6px;
    line-height:0.8em;
    height:4px !important;
    padding:0;
    background:none !important;
    background-image:none !important;
}


.calendar thead .name { /* Cells <TD> containing the day names */
	padding: 0px;
	text-align: center;
	color: #727981;
	font-weight: bold;
}

.calendar td .weekend {
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 0px 0 0 0px;
}

.calendar  thead .todayTD {
	border-left:1px solid #B3B3B3;
	border-right:1px solid #B3B3B3;
	text-align:center;
}


/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #ffffff;
  text-align: right;
  padding: 2px 4px 2px 2px;
  cursor:pointer;
}

.calendar tbody .noActive{
    color: #bbbbbb !important;
}

.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  height:20px !important;
}

.calendar table .daynames .wn {
	color: #727981;
}

.calendar table .daysrow .wn {
	color: #cccccc;
}

.calendar tbody .rowhilite td {
}

.calendar tbody .rowhilite td.wn {
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
    background-color:#C3C3C3
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
	padding: 2px 2px 0 2px;
	color: #528DC9;
}

.calendar tbody td.selected { /* Cell showing today date */
	font-weight: bold;
	padding: 1px 3px 1px 1px;
    border: #ffffff 1px solid;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight: bold;
  color: #ffffff;
  background-color: #eb4120;
}

.calendar tbody .disabled { color: #999; }

.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;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	color: #FFFFFF;
	padding: 1px;
	font-weight: bold;
    visibility:hidden;
}


.calendar tfoot .footrow td.ttip {
	height:4px !important;
	font-size:4px;
	line-height:0.7em;
}





.calendar tfoot .hilite { /* Hover style for buttons in footer */
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #77c;
  padding: 2px 0 0 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 4em;
  cursor: default;
  border: 1px solid #798D9E;
  background: #EFF2F5;
  color: #000;
  font-size: 90%;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #ffffff;
}

.calendar .combo .active {
  border-top: 1px solid #798D9E;
  border-bottom: 1px solid #798D9E;
  background: #ffffff;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0 3px 0 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0 2px 0 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;
}

