/* 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; }

.calendar, .calendar table
{
	background-position: 0% 0%;
	font-size: 11px;
	background-attachment: scroll;
	cursor: default;
	color: #000;
	background-repeat: repeat;
	font-family: verdana,tahoma,sans-serif;
	background-color: #f6f6f6;
}

.calendar {
	border-right: #999999 1px solid;
	border-top: #999999 1px solid;
	border-left: #999999 1px solid;
	border-bottom: #999999 1px solid;
}

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

.calendar .button
{
	padding-right: 2px;
	background-position: 0px 100%;
	padding-left: 2px;
	font-weight: bold;
	background-attachment: scroll;
	padding-bottom: 2px;
	color: #000;
	padding-top: 2px;
	background-repeat: repeat-x;
	background-color: #e7e7e7;
	text-align: center;
}

.calendar .nav {
  font-family: verdana,tahoma,sans-serif;
}

.calendar .nav div {
  background: transparent url("menuarrow.gif") no-repeat 100% 100%;
}

.calendar thead tr
{
	background-position: 0px 100%;
	background-attachment: scroll;
	color: #000;
	background-repeat: repeat-x;
	background-color: #e7e7e7;
}

.calendar thead .title
{
	padding-right: 2px;
	background-position: 0px 100%;
	padding-left: 2px;
	font-weight: bold;
	background-attachment: scroll;
	padding-bottom: 2px;
	color: #000;
	padding-top: 2px;
	background-repeat: repeat-x;
	background-color: #e7e7e7;
	text-align: center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

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

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

.calendar thead .hilite
{
	padding-right: 2px;
	background-position: 0% 0%;
	padding-left: 2px;
	background-attachment: scroll;
	padding-bottom: 1px;
	padding-top: 2px;
	border-bottom: #797979 1px solid;
	background-repeat: repeat;
	background-color: #9dbae1;
}

.calendar thead .active
{
	padding-right: 1px;
	background-position: 0% 0%;
	padding-left: 3px;
	background-attachment: scroll;
	padding-bottom: 0px;
	color: #fff;
	padding-top: 3px;
	border-bottom: #797979 1px solid;
	background-repeat: repeat;
	background-color: #3c75c4;
}

.calendar thead .daynames
{
	background-position: 0% 0%;
	background-attachment: scroll;
	background-repeat: repeat;
	background-color: #c8c8c8;
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
  font-family: verdana,tahoma,sans-serif;
  width: 2em;
  color: #000;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #999;
}
.calendar tbody .day.othermonth.oweekend {
  color: #f99;
}

.calendar table .wn
{
	border-right: #797979 1px solid;
	padding-right: 3px;
	background-position: 0% 0%;
	padding-left: 2px;
	background-attachment: scroll;
	padding-bottom: 2px;
	padding-top: 2px;
	background-repeat: repeat;
	background-color: #c8c8c8;
}

.calendar tbody .rowhilite td, .calendar tbody .rowhilite td.wn
{
	background-position: 0% 0%;
	background-attachment: scroll;
	background-repeat: repeat;
	background-color: #dddddd;
}

.calendar tbody td.today { font-weight: bold; /* background: url("today-bg.gif") no-repeat 70% 50%; */ }

.calendar tbody td.hilite
{
	border-right: #bbb 1px solid;
	padding-right: 3px;
	background-position: 0% 0%;
	border-top: #bbb 1px solid;
	padding-left: 1px;
	background-attachment: scroll;
	padding-bottom: 1px;
	border-left: #bbb 1px solid;
	padding-top: 1px;
	border-bottom: #bbb 1px solid;
	background-repeat: repeat;
	background-color: #9dbae1;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
}

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

.calendar tbody td.selected
{
	border-right: #797979 1px solid;
	padding-right: 3px;
	background-position: 0% 0%;
	border-top: #797979 1px solid;
	padding-left: 1px;
	font-weight: bold;
	background-attachment: scroll;
	padding-bottom: 1px;
	border-left: #797979 1px solid;
	color: #fff;
	padding-top: 1px;
	border-bottom: #797979 1px solid;
	background-repeat: repeat;
	background-color: #3c75c4;
}

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

.calendar tfoot .ttip
{
	padding-right: 2px;
	background-position: 0px 0px;
	padding-left: 2px;
	background-attachment: scroll;
	padding-bottom: 2px;
	color: #000;
	padding-top: 2px;
	background-repeat: repeat-x;
	background-color: #c8c8c8;
}

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

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

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

.calendar .combo
{
	border-right: #797979 1px solid;
	background-position: 0% 0%;
	border-top: #797979 1px solid;
	display: none;
	font-size: 90%;
	z-index: 100;
	background-attachment: scroll;
	left: 0px;
	border-left: #797979 1px solid;
	width: 4em;
	cursor: default;
	color: #000;
	border-bottom: #797979 1px solid;
	background-repeat: repeat;
	position: absolute;
	top: 0px;
	background-color: #f6f6f6;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite
{
	background-position: 0% 0%;
	background-attachment: scroll;
	color: #000;
	background-repeat: repeat;
	background-color: #9dbae1;
}

.calendar .combo .active
{
	background-position: 0% 0%;
	font-weight: bold;
	background-attachment: scroll;
	color: #fff;
	background-repeat: repeat;
	background-color: #3c75c4;
}

.calendar td.time
{
	padding-right: 0px;
	background-position: 0% 0%;
	border-top: #797979 1px solid;
	padding-left: 0px;
	background-attachment: scroll;
	padding-bottom: 1px;
	padding-top: 1px;
	background-repeat: repeat;
	background-color: #c8c8c8;
	text-align: center;
}

.calendar td.time .hour, .calendar td.time .minute, .calendar td.time .ampm
{
	padding-right: 5px;
	background-position: 0% 0%;
	padding-left: 6px;
	font-weight: bold;
	background-attachment: scroll;
	padding-bottom: 0px;
	color: #000;
	padding-top: 0px;
	background-repeat: repeat;
	background-color: #fff;
}

.calendar td.time .hour,
.calendar td.time .minute {
  font-family: monospace;
}

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

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

.calendar td.time span.hilite
{
	background-position: 0% 0%;
	background-attachment: scroll;
	color: #000;
	background-repeat: repeat;
	background-color: #9dbae1;
}

.calendar td.time span.active
{
	background-position: 0% 0%;
	background-attachment: scroll;
	color: #fff;
	background-repeat: repeat;
	background-color: #3c75c4;
}

