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

.calendar {
  position: relative;
  display: none;
  border: solid 3px #515A63;
  font-size: .92em;
  color: #32373D;
  cursor: default;
  background: #D6D8DA;
  font-family: tahoma,verdana,sans-serif;
  width:300px;
}

.calendar table {
  border-left:1px solid #B9BCC0;
  border-right:1px solid #B9BCC0;
  border-top:6px solid #F00000;
  border-bottom:3px solid #848A90;
  
  color: #32373D;
  cursor: default;
  background: #fff;
  font-family: tahoma,verdana,sans-serif;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 2px;
  border: solid 1px #F3F4F4;
  color: #0C55C0;
  background: #E8EFF9;
  font-weight: bold;
}

.calendar .nav {
  background: transparent url(pag_2.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  padding:2px 5px 5px 5px;
  border-bottom: solid 1px #C4C7CA;
  background: #fff;
  color: #32373D;
  text-align: center;
  font:bold 11px/14px Tahoma, Arial, Helvetica, sans-serif;
}

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

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

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #32373D;
  padding: 2px;
  text-align: center;
  background: #E8E9EA;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #F00000;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  border-top: 1px solid #F9F9FA;
  border-right: 1px solid #32373D;
  border-bottom: 1px solid #32373D;
  border-left: 1px solid #F9F9FA;
  padding: 0px;
  background-color: #DCE7F6;
  color: #515A63;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #32373D;
  border-right: 1px solid #F5F5F6;
  border-bottom: 1px solid #F5F5F6;
  border-left: 1px solid #32373D;
  background-color: #515A63;
}
/*#ebedf2 - #ebf6ea*/
/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #A1A6AA;
}
.calendar tbody .day.othermonth.oweekend {
  color: #FDDBDB;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #32373D;
  background: #DCDEDF;
}

.calendar tbody .rowhilite td {
  background: #F3F4F4;
}

.calendar tbody .rowhilite td.wn {
  background:#E2E3E5;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  padding: 1px 3px 1px 1px;
  border: 1px solid;
  border-color: #F5F5F6 #32373D #32373D #F5F5F6;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
  border: 1px solid;
  border-color:#F5F5F6 #32373D #32373D #F5F5F6;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  padding: 2px 2px 0px 2px;
  border: 1px solid;
  border-color: #F5F5F6 #32373D #32373D #F5F5F6;
  background: #E8EFF9;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #F00000;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
  color: #0C55C0;
}

.calendar tbody .disabled { color: #848A90; }

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

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #E8E9EA;
  padding: 2px;
  border-top: 1px solid #515A63;
  color: #0C55C0;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border-top: 1px solid #F5F5F6;
  border-right: 1px solid #32373D;
  border-bottom: 1px solid #32373D;
  border-left: 1px solid #F5F5F6;
  padding: 1px;
  background: #E8EFF9;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
  border-top: 5px solid #32373D;
  border-right: 5px solid #F5F5F6;
  border-bottom: 5px solid #F5F5F6;
  border-left: 5px solid #32373D;
}

/* 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 #F5F5F6;
  border-right: 1px solid #32373D;
  border-bottom: 1px solid #32373D;
  border-left: 1px solid #F5F5F6;
  background: #d8e0e4;
  font-size: 90%;
  padding: 1px;
  z-index: 2000;
}

.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 #F5F5F6;
  border-right: 1px solid #32373D;
  border-bottom: 1px solid #32373D;
  border-left: 1px solid #F5F5F6;
}

.calendar .combo .hilite {
  background: #1F8809;
  color: #7AF263;
}

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

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #6D8565;
  font-weight: bold;
  background-color: #F5F5F4;
}

.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: #32373D;
  background-color: #4F6C4C;
  color: #FBFBF9;
}

.calendar td.time span.active {
  border-color: #F00000;
  background-color: #32373D;
  color: #F9F9FA;
}

