/* Calendar.css */

/* structure */

#calendar-left
{
	float: left;
	width: 82%;
    text-align: center;
}
#calendar-right
{
	margin-left: 82%;
    text-align: center;
}
#calendar-left-content
{
	padding-left: 14px;
	padding-right: 7px;

}
#calendar-right-content
{
    padding-left: 7px;
	padding-right: 14px;
}

/*  View Month Style */

table.calendar-view-month
{
    border: 1px solid #ddd;
}

th.calendar-view-month-day
{
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: #ddd;
    vertical-align: top;
}

td.calendar-view-month-day
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
}

td.calendar-view-month-day-off
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
    background: #aaa;
}

td.calendar-view-month-day-old
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
    background: #F0F0F0;
}

td.calendar-view-month-day-today
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
    background: #bbf;
}

div.calendar-view-month-day
{
    text-align: right;
    font-size: 10px;
    font-weight: bold;
}

div.calendar-view-month-event
{
    text-align: left;
    font-size: 9px;
    font-weight: normal;
}

ul.calendar-view-month-event
{
    padding: 0px;
    margin: 2px;
    list-style-type: none;
}

a.calendar-view-month-event
{
    font-size: 9px;
    font-weight: normal;
}

/*Week*/

/*  View Month Style */

table.calendar-view-week
{
    border: 1px solid #ddd;
}

th.calendar-view-week-day
{
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: #ddd;
    vertical-align: top;
}

td.calendar-view-week-day
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
}

td.calendar-view-week-day-off
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
    background: #aaa;
}

td.calendar-view-week-day-old
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
    background: #F0F0F0;
}

td.calendar-view-week-day-today
{
    height: 75px;
    width: 85px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: top;
    background: #bbf;
}

div.calendar-view-week-day
{
    text-align: center;
    font-size: 10px;
    font-weight: bold;
}

div.calendar-view-week-event
{
    text-align: left;
    font-size: 9px;
    font-weight: normal;
}

ul.calendar-view-week-event
{
    padding: 0px;
    margin: 2px;
    list-style-type: none;
}

a.calendar-view-week-event
{
    font-size: 9px;
    font-weight: normal;
}


/* Day View */

div.calendar-view-day-event
{
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}

ul.calendar-view-day-event
{
    padding: 0px;
    margin: 2px;
    list-style-type: none;

}

li.calendar-view-day-event
{

}

/* Small Month Calendar styles */

table.calendar-smallmonth
{
    border: 1px solid #ccc;
}

th.calendar-smallmonth
{
    text-align: center;
}

td.calendar-smallmonth-day
{
    text-align: center;
}

td.calendar-smallmonth-day-old
{
    text-align: center;
    background: #F0F0F0;
}

td.calendar-smallmonth-day-off
{
    text-align: center;
    background: #ddd;
}

td.calendar-smallmonth-day-today
{
    text-align: center;
    background: #bbf;

}


a.calendar-no-event
{
    font-weight: normal;
    color: Gray;
}
a.calendar-has-events
{
    font-weight: bold;
}

/* Event list */

div.calendar-eventlist-month
{
    text-align: left;
    margin: 20px;
}

div.calendar-eventlist-month-days
{
    margin: 20px;
}

ul.calendar-eventlist-month
{
    list-style-type: none;
}

div.calendar-eventlist-month-event-description
{
}


div.calendar-eventlist-week
{
    text-align: left;
    margin: 20px;
}

div.calendar-eventlist-week-days
{
    margin: 20px;
}

ul.calendar-eventlist-week-event
{
    list-style-type: none;
}

div.calendar-eventlist-week-event-description
{
}




/* Legend */

table.calendar-legend
{
   border: 1px solid #ccc;
}

th.calendar-legend
{
    text-align: center;
}

td.calendar-legend
{
    text-align: left;
}
ul.calendar-legend
{
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

li.calendar-legend
{
    padding: 0px;
    margin: 0px;
}

/*** Front Office calendar ****/


/* The main calendar widget.  DIV containing a table. */

div.calendar { position: relative; }

.calendar, .calendar table {
  border: 1px solid #556;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #e6eaf3;
  font-family: tahoma,verdana,sans-serif;
}

/* 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 */
}

.calendar .nav {
  background: #8EAABF url(menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  background: #859ecf;
  color: #fff;
  padding: 2px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #8EAABF;
  color: #fff;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #859ecf;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #556;
  padding: 2px;
  text-align: center;
  color: #fff;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #859ecf;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #8EAABF;
  color: #000;
  border: 1px solid #fff;
  padding: 1px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #777788;
  padding: 2px 0px 0px 2px;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #000;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #000;
}
.calendar tbody .day.othermonth.oweekend {
  color: #EE9C00;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #8EAABF;
}

.calendar tbody .rowhilite td {
  background: #DEE8F1;
}

.calendar tbody .rowhilite td.wn {
  background: #8EAABF;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #DEE8F1;
  font-weight: bold;
  padding: 1px 3px 1px 1px;
  border: 1px solid #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #8EAABF;
  padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  border: 1px solid #000;
  padding: 1px 3px 1px 1px;
  background: #fff;
  color: #000;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #EE9C00;
}

.calendar tbody td.today { /* Cell showing selected 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) */
  text-align: center;
  background: #859ecf;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #fff;
  color: #445;
  border-top: 1px solid #000;
  padding: 1px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #859ecf;
  border: 1px solid #8EAABF;
  color: #fff;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #8EAABF;
  padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #655;
  background: #DEE8F1;
  color: #000;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #8EAABF;
}

.calendar .combo .active {
  border-top: 1px solid #859ecf;
  border-bottom: 1px solid #859ecf;
  background: #DEE8F1;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #000;
  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: #667;
  color: #fff;  
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}


