/*********************************************/
/* Layout and behaviour specific for Calendar*/
/*********************************************/
.calendar {
    background-color: navy;
    padding-left: 0px;
    border: 1px black solid;
    z-index: 10000;
}

.calendar table {
    border: 1px solid;
    border-bottom: #C27500;
    border-right: #C27500;
    background-color: white;
    border-top: #FFB648;
    border-left: #FFB648;
    width: 200px;
    color: #000;
    cursor: default;
    font-family: Tahoma, Verdana, sans-serif;
}

.calendar table td {
    font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
    font-size: 10px;
}

.calendar table th {
    font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
    font-size: 10px;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
    text-align: center;
    padding: 1px;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
}

.calendar .nav {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
}

.calendar thead{
/*    background: rgb(236,236,236);*/
    background-color: #FFFFFF;
}

.calendar thead .title { /* This holds the current "month, year" */
    font-weight: bold;
    padding: 1px;
    background: #F1F1F1;
    color: #000000;
    text-align: center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
/*    background: #CEE7FB; */
    background-color: #FFFFFF;
    color: #DA8100;
    font-weight: bold;
}

.calendar thead .headrow TD{ /* Row <TR> containing navigation buttons */
    border-left: 0px solid #CEE7FB;
    border-right: 0px solid #CEE7FB;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.calendar thead .daynames { /* Row <TR> containing the day names */

}

.calendar thead .name { /* Cells <TD> containing the day names */
    border-bottom: 1px solid rgb(77,93,142);
    padding: 2px;
    text-align: center;
    background-color: #DEDCDD;
    color: #000000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
    color: #205798;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
    text-align: center;
    padding: 1px;
    border: 1px solid #FFFFFF;
    background-color: #FFFFFF;
    color: #B93100;
}

.calendar thead .active { /* Active (pressed) buttons in header */
    text-align: center;
    padding: 1px;
    border-top: 1px solid #FFDDA5;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #FFDDA5;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
    width: 2.5em;
    text-align: right;
    padding: 2px 4px 2px 2px;
}

/* JTEAM SPECIFIC, ALL DAYS WITH ACTIVITIES SHOULD BE INDICATED */
.calendar tbody .activity {
    font-size: 11px;
    font-weight: bold;
    color: #000000;
}


.calendar table .wn {
    padding: 2px 3px 2px 2px;
    border-right: 1px solid rgb(77,93,142);
    background: rgb(238,238,238);
    color: #757f94;
}

.calendar tbody .rowhilite td {
    background: rgb(238,238,238);
}

.calendar tbody .rowhilite td.wn {
    background: rgb(182,182,182);
    color: white;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
    padding: 1px 3px 1px 1px;
    background: #dee3ee;
    border: 1px solid #4d5d8e;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
    padding: 2px 2px 0px 2px;
    background: white;
    border-top: 1px solid #C17400;
    border-right: 1px solid #FFB950;
    border-bottom: 1px solid #FFB950;
    border-left: 1px solid #C17400;
    color: red;
}

.calendar tbody td.selected { /* Cell showing selected date */
    font-weight: bold;
    background-color: #dee3ee;
    border: 1px solid #4d5d8e;
    padding: 2px 2px 0px 2px;
    color: #4d5d8e;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
    color: #205798;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
	font-size: 11px;
  color: navy;
}

.calendar tbody tr.daysrow td.day{
}

.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) */
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: rgb(248,248,248);
  padding: 1px;
  color: rgb(77,93,142);
  border-top: 1px solid rgb(77,93,142);
  text-align: center;
}

.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: #E5EEFF;
}

.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) */

.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: #E5EEFF;
  font-size: smaller;
  padding: 1px;
  z-index: 1000;
}

.combo .label,
.combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.combo .label-IEfix {
  width: 4em;
}

.combo .active {
  background: #c4c0b8;
  padding: 0px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

.combo .hilite {
  background: #048;
  color: #fea;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #859BDC;
}

.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: #766;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}

