
/* CSS classes flow
 * .main_cal (.nugget_cal|(.detail_cal (.year_cal|.month_cal|.week_cal|.day_cal)))
 *  .nav_cal
 *  .days_cal
 *  .weeks_cal
 *   (|.othermonth_cal|.hasevent_cal|.selected_cal|.today_cal)
 *  .weeks_cal
 *  .weeks_cal
 *  .weeks_cal
 */

/* Generic Calendar Settings */
.main_cal {
  border: 1px solid #bdb2bf;
  font-size: 11px;
  color: #000000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  margin: 5px;
}

/* All calendar links should be displayed as regular text */
.nugget_cal a, .detail_cal a, .year_cal a {
  text-decoration: none;
  color: #555555;
}
.nugget_cal a:hover, .detail_cal a:hover, .year_cal a:hover {
	color: #84a23c;
}

/* All the calendar cells should be valigned at top */
.main_cal td {
  vertical-align: top;
}

/* The calendar navigation */
.nav_cal {
  background-color: #D6D3CE;
}

/* Extend the next/previous links to 100% so one can click arround */
.nav_cal .np_cal a {
  width: 100%;
  display: block;
}

/* The week days style */
.days_cal th {
  border-bottom: 1px solid #DDDDDD;
  font-weight: normal;
}

/* How the days from the other months should be styled when viewing the curent month */
.othermonth_cal, .othermonth_cal a {
  color: #999999;
}

/* How the selected day/week should be styled */
.selected_cal {
  background-color: #EAF0FF;
  font-weight: bold;
}

/* Today */
.main_cal .today_cal {
  border: 1px solid #5555AA;
}

/* 
*
*
* Start Nugget-Specific styles 
*
*
*/
/*the week number */
.nugget_cal .wkno_cal {
  border-right: 1px solid #DDDDDD;
}

/* Change the font to Courier for a better looking for the cells */
.nugget_cal .weeks_cal {
}

/* all cells should have padding and should be aligned to the right */
.nugget_cal .days_cal th, .nugget_cal .weeks_cal td {
  padding: 2px 4px;
  text-align: right;
}

/* if we have a event, bold the day number */
.hasevent_cal {
  background-color:#D2D3BC;
}

/* The weekend days should be colored in red */
.nugget_cal .weekend_cal, .nugget_cal .weekend_cal a {
  color: #992222;
}

/* 
*
*
* Start Detail-Specific styles 
*
*
*/
.detail_cal {
  width: 100%;
  border-top: 1px solid #afafaf;
  border-left: 1px solid #afafaf;
  border-right-width: 0;
  border-bottom-width: 0;
  background-image: url(images/bg.gif)! important;
  background-repeat: repeat-y;
}

/* Set the borders to create a grid */
.detail_cal td, .detail_cal th {
  border-right: 1px solid #afafaf;
  border-bottom: 1px solid #afafaf;
}

/* Set the detail cells paddings */
.detail_cal .days_cal th, .detail_cal .weeks_cal td {
  padding: 3px;
}

/* 
*
*
* Start Year View-specific styles 
*
*
*/
.year_cal {
  border: 1px solid #afafaf;
  margin: 5px;
}
.year_cal .nav_cal {
  border: 1px solid #afafaf;
  font-size: 11px;
  color: #000000;
  font-family: Arial, Verdana, Geneva, Arial, Helvetica, sans-serif;
}

/* 
*
*
* Start Month And Week View-Specific styles 
*
*
*/
/* The add / day link should have a bottom spacing */
.main_cal .mw_top_cal {
  margin-bottom: 5px;
}

/* The day link should be on the right */
.main_cal .mw_top_cal div {
  float: right;
  font-weight: bold;
}

/* The "See more..." link */
.detail_cal .weeks_cal .seemore_cal {
  padding-top: 10px;
  text-align: right;
}

/* The hours, displayed on the left side */
.detail_cal .event_cal {
  margin-top: 4px;
}
.detail_cal .event_cal div {
  margin-left: 10px;
}
.detail_cal .event_cal .htitle_cal {
  font-size: 10px;
  margin-left: 0px;
  width: auto;
  text-align: left;
  font-weight: normal;
}


/* 
*
*
* Start Month View-Specific styles 
*
*
*/
/* Set the width and the height of the cells */
.month_cal .weeks_cal td {
  height: 83px;
  width: 14%;
}

/* 
*
*
* Start Week View-Specific styles 
*
*
*/
/* Set the width and the height of the cells */
.week_cal .weeks_cal td {
  height: 120px;
  width: 33%;
}

/* 
*
*
* Start Day View-Specific styles 
*
*
*/
/* The padding for the cells */

.day_cal .hour_cal td {
  padding: 2px;
}

/* The hours, displayed on the left side */
.day_cal .htitle_cal {
  width: 60px;
  text-align: right;
  font-weight: bold;
}

/* The day events */
.day_cal .event_cal {
  background-color: #9EC7F5;
}

/* 
*
*
* Year/Month/Week/Day/Today switcher styles 
*
*
*/
.view_switch_cal {
  font-family: "trebuchet ms",verdana,tahoma,sans-serif;
  margin: 5px;
  font-size: 13px;
}

/* Copyright 2001-2005 Interakt Online. All rights reserved. */

/* spin control : this is very very fragile !
 * any difference in dimensions of the background-pictures / container will cause them, 
 * to float away / dissapear*/
.MXW_Spin {
	border-width: 0px;
	padding: 0px;
	margin: 0px;
}
.seldrop {
	float:none;
	clear:both;
	position:absolute;
}
	.MXW_Spin_table {
		border: 0px ! important;
		margin:0px ! important;
		padding: 0px ! important;
		float: left;
		clear: both;
	}
		.MXW_Spin_table tr {
			border: 0px ! important;
			margin:0px ! important;
			padding: 0px ! important;
		}
		.MXW_Spin_table td {
			vertical-align: middle ! important;
			border: 0px ! important; 
			margin:0px ! important;
			padding: 0px ! important;
		}
	.MXW_Spin_td_btnup {
		background-image: url(images/wdg_up.gif);
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-color: #cccccc;
		line-height: 8px;
		font-size: 1px;
	}
	.MXW_Spin_td_btndown {
		background-image: url(images/wdg_down.gif);
		background-repeat: no-repeat;
		background-position: 50% 50%;
		background-color: #cccccc;
		line-height: 8px;
		font-size: 1px;
	}
	.MXW_disabled {
		background-color: #AAAAAA;
	}
	.mxw_v {
		background-image: url(images/down.gif);
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}
	.mxw_add {
	
	}
	.MXW_Spin_div_up {
		width:17px;
		cursor:default;
		border-left: 1px solid #ddd; border-top: 1px solid #ddd;
		border-bottom: 1px solid #000; border-right: 1px solid #000;
	}
	.MXW_Spin_div_down {
		width:17px;
		cursor:default;
		border-left: 1px solid #000; border-top: 1px solid #000;
		border-bottom: 1px solid #ddd; border-right: 1px solid #ddd;
	}

/* effects of the alert message on the widget element ( when mask is incorrect) */
.MXW_RTE_visual_alert_on, 
.MXW_RTE_visual_alert_input, 
.MXW_MIN_visual_alert_input, 
.MXW_SMD_visual_alert_input, 
.MXW_ICT_visual_alert_input {
		border-left: 2px solid #a2cf4c;
		border-top: 2px solid #a2cf4c;
		border-bottom: 2px solid #84a23c;
		border-right: 2px solid #84a23c;
}

.MXW_RTE_visual_alert_off {
}

/*
 * visual effect on explanatory div floating next to an element ( when mask is incorrect) */
.MXW_MIN_visual_alert_div, 
.MXW_SMD_visual_alert_div, 
.MXW_SMDCAL_visual_alert_div, 
.MXW_ICT_visual_alert_div, 
.MXW_RTE_visual_alert_div {
	white-space: nowrap ! important;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
	margin: 0px;
	padding:2px 4px; 
	color: #fff; 
	background-color: #696b46;
}

	.MXW_ICT_visual_alert_div {
		padding: 0px;
		margin-left: 0px;
	}

	.MXW_RTE_visual_alert_div {
		padding: 0px;
		margin-left: 20px;
	}
	.MXW_SMDCAL_visual_alert_div {
		padding: 0px;
		margin-left: 20px;
	}


.MXW_MMO_container td {
	vertical-align: middle ! important;
}

/* ensure menu mover stays the same width even when it is empty */
.MenuMover_select {
	width:150px;
}
.MenuMover_button {
	width:32px;
}


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

div.calendar { position: relative;
  z-index: 10000;
}

.calendar, .calendar table {
  border: 1px solid #779b20;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #f1fcf3;
  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: #8fd100 url(images/menuarrow2.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: #000;
  color: #ffffff;
  padding: 2px;
}

.calendar thead tr { /* Row <TR> containing navigation buttons */
  background: #8fd100;
  color: #ffffff;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #cbf3c7;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #779b20;
  padding: 2px;
  text-align: center;
  color: #000000;
}

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #8db71d;
  color: #000000;
  border: 1px solid #779b20;
  padding: 1px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #7fa900;
  border: 1px solid #d2ff00;
  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: #5a6644;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #cbf3c7;
}

.calendar tbody .rowhilite td {
	background-color: #eaffdd;
}

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

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #eaffdd;
  padding: 1px 3px 1px 1px;
  border: 1px solid #8FC4E8;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #cde;
  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: #a66;
}

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

.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: #779b20;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #000;
  color: #fff;
  border-top: 1px solid #779b20;
  padding: 1px;
}

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

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #7fa900;
  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: #eaffdd;
  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: #8db71d;
  border-top: 1px solid #46a;
  border-bottom: 1px solid #46a;
  font-weight: bold;
}

.calendar .combo .active {
  border-top: 1px solid #46a;
  border-bottom: 1px solid #46a;
  background: #f1fcf3;
  font-weight: bold;
}

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

.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: #f1fcf3;
}

.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: #9ab726;
  color: #fff;
}

.calendar td.time span.active {
  border-color: red;
  background-color: #000;
  color: #A5FF00;
}

