/* The main calendar widget.  DIV containing a table. */

.calendar {
  position: relative;
  display: nones;
  width: 202px;
  /*border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;*/
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #5c5c5c;
  font-family: tahoma,verdana,sans-serif;
}

.calendar table {
  border: 2px solid #5c5c5c;
  /*
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;*/
  font-size: 11px;
  color: #E0D3A5;
  cursor: default;
  background: #5c5c5c;
  font-family: tahoma,verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 1px;
  /*border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;*/
 background: #5c5c5c;
 color:#999;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 5px 1px 1px 1px;
  /*border: 1px solid #3366CC;*/
  background: #5c5c5c;
  color: #f1f1f1;
  text-align: center;
  font-size: 1.5em;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .daynames { /* Row <TR> containing the day names */
background: #f79f46;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  /*border-bottom: 1px solid #000;*/
  padding: 2px;
  text-align: center;
  background: #f79f46;
  color:#333;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color:#333;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
	cursor:pointer;
	cursor:hand;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  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;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  color: #f1f1f1;
  width: 2em;
  text-align: right;
  padding: 2px 8px 2px 2px;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  /*border-right: 1px solid #000;*/
}

.calendar tbody .rowhilite td {
  background: #C7AD92;
}

.calendar tbody .rowhilite td.wn {
  background: #C7AD92;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #9A6C4A;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
  border: 1px solid;
  border-color: #000 #fff #fff #000;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  border:none;
  background: #f79f46;
  color: #333 !important;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #f1f1f1;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
  color: #000;
}

.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: #9A6C4A;
  padding: 1px 1px 3px 1px;
  background: #5c5c5c;
  color: #999;
  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: #5c5c5c;
}

.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: #E3E3E3;
  font-size: smaller;
  padding: 1px;
}

.combo .label {
  text-align: center;
  padding: 1px;
}

.combo .active {
  color:#FFF;
  background: #3366CC;
  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: #3366CC;
  color: #FFF;
}

/*-----------------*/
.calen_block {
  margin-left: 20px;
  width:200px;
}
.color_calen {
  background: #9A6C4A;
  margin:0 2px;
}
.color_calen2 {
  background: #9A6C4A;
  margin:0 1px;
}
.color_calen_vn {
  background: #9A6C4A;
  overflow:hidden;
  padding:0px;
}




/* apendix edition for right column */
.right_calendar .calendar {
  position: relative;
  display: nones;
  width: auto;
  /*border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;*/
  font-size: 11px;
  color: #000;
  cursor: default;
  background-color:#fff;
  font-family: tahoma,verdana,sans-serif;
}

.right_calendar .calendar table {
  border: 2px solid #fff;
  width:100%;
  /*
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;*/
  font-size: 11px;
  color: #E0D3A5;
  cursor: default;
  background: #fff;
  font-family: tahoma,verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. */

.right_calendar .calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 1px;
  /*border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;*/
 background: #fff;
 color:#999;
}

.right_calendar .calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 5px 1px 3px 1px;
  /*border: 1px solid #3366CC;*/
  background: #fff;
  color: #333;
  text-align: center;
  font-size: 1.5em;
}

.right_calendar .calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.right_calendar .calendar thead .daynames { /* Row <TR> containing the day names */
background: #f79f46;
}

.right_calendar .calendar thead .name { /* Cells <TD> containing the day names */
  /*border-bottom: 1px solid #000;*/
  padding: 2px;
  text-align: center;
  background: #ffcd9a;
  color:#333;
}

.right_calendar .calendar thead .weekend { /* How a weekend day name shows in header */
  color:#333;
}

.right_calendar .calendar thead .hilite { /* How do the buttons in header appear when hover */
	cursor:pointer;
	cursor:hand;
}

.right_calendar .calendar thead .active { /* Active (pressed) buttons in header */
  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;
}

/* The body part -- contains all the days in month. */

.right_calendar .calendar tbody .day { /* Cells <TD> containing month days dates */
  color: #333;
  width: 2em;
  text-align: right !important;
  border:none;
  padding: 2px 16px 2px 2px !important;
  padding: 2px 15px 2px 2px !ie;
  
}

.right_calendar .calendar table .wn {
  padding: 2px 3px 2px 2px;
  /*border-right: 1px solid #000;*/
}

.right_calendar .calendar tbody .rowhilite td {
  background: #C7AD92;
}

.right_calendar .calendar tbody .rowhilite td.wn {
  background: #C7AD92;
}

.right_calendar .calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #9A6C4A;
}

.right_calendar .calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
  border: 1px solid;
  border-color: #000 #fff #fff #000;
}

.right_calendar .calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  /*border-color: #000 #fff #fff #000;*/
  background: #ffcd9a;
  color: #333 !important;
}

.right_calendar .calendar tbody td.weekend { /* Cells showing weekend days */
  color: #333;
}

.right_calendar .calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
  color: #000;
}

.right_calendar .calendar tbody .disabled { color: #999; }

.right_calendar .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.right_calendar .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.right_calendar .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
}

.right_calendar .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #9A6C4A;
  padding: 1px 1px 3px 1px;
  background: #fff;
  color: #999;
  text-align: center;
}

.right_calendar .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: #5c5c5c;
}

.right_calendar .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) */

.right_calendar .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: #E3E3E3;
  font-size: smaller;
  padding: 1px;
}

.right_calendar .combo .label {
  text-align: center;
  padding: 1px;
}

.right_calendar .combo .active {
  color:#FFF;
  background: #3366CC;
  padding: 0px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

.right_calendar .combo .hilite {
  background: #3366CC;
  color: #FFF;
}

/*-----------------*/
.right_calendar .calen_block {
  margin-left: 20px;
  width:200px;
}
.right_calendar .color_calen {
  background: #9A6C4A;
  margin:0 2px;
}
.right_calendar .color_calen2 {
  background: #9A6C4A;
  margin:0 1px;
}
.right_calendar .color_calen_vn {
  background: #9A6C4A;
  overflow:hidden;
  padding:0px;
}