/* Distributed as part of The Coolest DHTML Calendar
   Author: Mihai Bazon, www.bazon.net/mishoo
   Copyright Dynarch.com 2005, www.dynarch.com
*/

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

div.calendar {position:relative; border: 1px solid #129a93; padding:1px; background:#86d9d4; }
.calendar, .calendar table {
  font-size: 11px; color: #000; font-family:tahoma,arial,sans-serif;
  cursor: default;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
  font-weight: bold;
  font-size:13px;
  color:#86d9d4;
}

.calendar .nav {font-size:12px;}
.calendar .nav div {}

.calendar thead {background:#129a93; }

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;color: #ffffff;
  padding: 2px 2px 3px 2px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background:#ffffff; color:#000000; 
}
.calendar thead .headrow .button {color:#000000;font-size:12px;}
.calendar thead .headrow .hilite {color:#86d9d4;}

.calendar thead .name { /* Cells <TD> containing the day names */
}

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  color: #86d9d4;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  color: #86d9d4;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background:#86d9d4;
}
.calendar thead .daynames td {padding:2px; border-top:1px solid #129a93; border-bottom:1px solid #129a93; }


/* The body part -- contains all the days in month. */

.calendar tbody {background:#ffffff; }
.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  padding:2px; 
  text-align: right;
  border:1px solid #ffffff; 
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #999;
}
.calendar tbody .day.othermonth.oweekend {
  color: #f99;
}

.calendar table .wn {background:#86d9d4; border:1px solid #86d9d4; }

.calendar tbody .rowhilite td,
.calendar tbody .rowhilite td.wn {
}

.calendar tbody td.today {border: 1px solid #129a93; }

.calendar tbody td.hilite { /* Hovered cells <TD> */
  border: 1px solid #86d9d4;
}

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

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

.calendar tbody td.selected { /* Cell showing selected date */
  background:#129a93; 
  border: 1px solid #86d9d4;
  color: #fff;
}

.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;
  background: #ffffff;
  color: #000000;
}
.calendar tfoot .footrow td {padding:2px; border-top:1px solid #129a93; }
.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  color: #000;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #afa;
  border: 1px solid #084;
  color: #000;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #7c7;
}



/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;top: 0px; left: 0px;
  display: none; cursor: default;
  width: 4em;
  border-width: 0 1px 1px 1px; border-style: solid; border-color: #129a93;
  background:#ffffff;  
  color: #000;
  z-index: 100; 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:#8ddbd7; color:#ffffff;
}
.calendar .combo .active {
  background:#129a93; color:#fff; font-weight: bold;
}

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

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 5px 0px 6px;
  font-weight: bold;
  color: #000;
}

.calendar td.time .hour,
.calendar td.time .minute {
}

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

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

.calendar td.time span.hilite {
  color: #000;
}

.calendar td.time span.active {
  color: #fff;
}
