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


/*  border-top: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  border-left: 2px solid #fff;
  z-index:1000;
  position: absolute;
 */
.calendar {
  font-size: 100%;
  color: #000;
  cursor: default;  
  font-family: arial,Helvetica,sans-serif;
  z-index:5;
  visibility:hidden; /*display: none;*/
}


/* border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;  
  border:1px solid #990000;
  z-index:1000;
  */
.calendar table { 
width:200px; height:170px;
  font-size: 100%; 
  color: #000;
  cursor: default;
  background:url(../../img/bckg_cal.gif) no-repeat top left #cccccc;
  font-family: arial,Helvetica,sans-serif;
 cursor:pointer;
  
 }

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

.calendar .button { /* "<<", "<", ">", ">>" "x" buttons have this class 
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;padding: 1px;text-align: center;
*/
    color: #fff; font-weight: normal; font-size: 90%; padding: 0px 0px 0px 0px;
	

}

.calendar .buttonx { /* "<<", "<", ">", ">>" and "x" buttons have this class 
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;padding: 1px;text-align: center;
*/text-align:right; padding:0px 10px 0px 10px;
      color: #fff; font-weight: bold;height:20px;

}

.calendar .nav { color:#fff; font-size: 110%; font-weight:bold;
  /*background: transparent url(../../img/menuarrow.gif) no-repeat 100% 100%;*/
}
.calendar thead{

/*padding: 1px 1px 1px 35px; border:1px solid #CC0000;  background:#993300;*/
  text-align: center; padding: 0px 0px 0px 0px;
}
.calendar thead .title { /* border: 1px solid #000;
This holds the current "month, year" background: #788084;  padding: 0px 1px 0px 35px; */
  font-weight: bold;
  padding: 3px 1px 0px 35px; 
  color: #fff;
  text-align: center; height:20px;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
 color: #000; font-weight: normal; padding: 0px 0px 0px 0px;  height:16px;
 height:16px; width:20px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons  */
 color: #fff; font-weight: normal; padding: 0px 0px 0px 0px; height:21px;
}

/* diff. style for IE -> iehacks */
.calendar thead .name { /* Cells <TD> containing the day names */
  text-align: center; padding: 5px 0px 0px 0px; height:21px; width:28px;
 
}

.calendar thead .weekend { /* How a weekend day name shows in header 
 color: #f00; */
padding: 5px 0px 0px 0px; height:21px; width:28px;
}

.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;background-color: #d8e0e4;padding: 0px;*/
 

  
}

.calendar thead .active { /* Active (pressed) buttons in header  
border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff; 
  border-left: 1px solid #000;background-color: #b8c0c4;
  padding: 0px 0px 0px 0px;
  */

  
}

/* The body part -- contains all the days in month. background:#cccccc; */
.calendar tbody{
padding: 0px 5px 0px 0px;  

}

.calendar tbody .day{ /* Cells <TD> containing month days dates*/
height:14px; width:14px;
  padding: 0px 5px 0px 0px;
  text-align: right; font-size: 90%;
  /*padding: 2px 4px 2px 2px;*/
  
}
.calendar tbody .day.othermonth {
 height:14px; width:14px;
padding: 0px 5px 0px 0px;
  font-size: 90%;
  color: #000;
}
.calendar tbody .day.othermonth.oweekend {
  color: #000;
  padding: 0px 5px 0px 0px;height:14px; width:14px;
}


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

.calendar tbody .rowhilite td {
  /*background: #d8e4e0;*/padding: 0px 5px 0px 0px;height:14px; width:14px;
}

.calendar tbody .rowhilite td.wn {
  /*background: #c8d4d0;*/padding: 0px 5px 0px 0px;height:14px; width:14px;
}

.calendar tbody td.hilite { /* Hovered cells <TD>
  border: 1px solid;
  border-color: #fff #000 #000 #fff;  padding: 1px 3px 1px 1px;*/
 background: #fff; padding: 0px 5px 0px 0px;height:14px; width:14px;

}

.calendar tbody td.active { /* Active (pressed) cells <TD>
border: 1px solid;
  border-color: #000 #fff #fff #000; */
  /*padding: 2px 2px 0px 2px;*/padding: 0px 5px 0px 0px;height:14px; width:14px;
  
}

.calendar tbody td.selected { /* Cell showing selected date   
border: 1px solid;  border-color: #000 #fff #fff #000;  padding: 2px 2px 0px 2px;*/
  font-weight: bold;height:14px; width:14px;
  background: #fff; padding: 0px 5px 0px 0px;
}

.calendar tbody td.weekend { /* Cells showing weekend days  color: #f00;*/
 font-weight: bold; padding: 0px 7px 0px 0px; height:14px; width:14px;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold; padding: 0px 5px 0px 0px;height:14px; width:14px;
  color: #000;
}

.calendar tbody .disabled { color: #999; padding: 0px 0px 0px 0px;height:14px; width:14px;}

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) 
 visibility: hidden;*/
  visibility: hidden; padding: 0px 0px 0px 0px;height:14px; width:14px;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) 
display: none;*/
   padding: 0px 0px 0px 0px;
}

/* 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> 
border: 1px solid #000;
*/font-size: 85%;
  /*padding: 3px; */ 
  background: #4d4e50;
  color: #fff;
  text-align: center; padding: 0px 0px 0px 0px; height:16px; 
}

.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;
*/
padding: 0px 0px 0px 0px;
 
  background: #d8e0e4;
}

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

}


/* Combo boxes (menus that display months/years for direct selection) 
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;width: 4em;*/

.calendar .combo {
  position: absolute;
  display: none;  
  top: 0px;
  left: 0px;
  cursor: default;
  background: #d8e0e4;  
 /*font-size: 90%; padding: 1px;*/
  z-index: 100;padding: 0px 0px 0px 0px;
}

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

/*width: 4em;*/
.calendar .combo .label-IEfix {  padding: 0px 0px 0px 0px;
}


/*  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000; padding: 0px;*/
.calendar .combo .active {
  background: #c8d0d4; padding: 0px 0px 0px 0px;

}

.calendar .combo .hilite {
  background: #048;padding: 0px 0px 0px 0px;
  color: #aef;
}


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


/* border: 1px solid #889;*/
.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  /*padding: 0px 3px 0px 4px;*/
 padding: 0px 0px 0px 0px;
  font-weight: bold;
  background-color: #fff;
}

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

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

/*border-color: #000;*/
.calendar td.time span.hilite {
  padding: 0px 0px 0px 0px;
  background-color: #667;
  color: #fff;
}

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