div.calendar
{
    position: relative;
    background: #fff;
    padding: 7px 7px 7px 1px;
    width: 227px;
    height: 163px;
    border: 1px solid #5c254c;
    
}

.calendar {
	cursor: pointer;
}

.calendar table {
	cursor: pointer;
	width: 200px;
	height: 120px;
}

.calendar tbody td.selected
{
    /* Cell showing today date */
    background-position: #b298ab;
    font-weight: bold;
    padding: 0px 0px 2px 0px;
    background: #b298ab;
    color: #FFFFFF;
}

.calendar .button {
  text-align: center;
  padding: 2px;
  color: #000;
  font-size: 100%;
  visibility: hidden;
}

.calendar .headrow .button {
  visibility: visible;
}

.calendar .title {
  font-weight: bold;
  text-align: center;
  padding-right: 30px;
  padding-bottom: 2px;
  font-size:12px;
  line-height: 11px;
}

.calendar thead .name {
  padding: 2px;
  text-align: center;
  color: #000;
  background-color: #FFF;
  font-size: 12px;
}

.calendar thead .hilite
{
    background-color: #C0C0C0;
    color: #000;
    padding: 1px;
   
}

.calendar thead .active
{
    background-color: #592756;
    padding: 2px 0px 0px 2px;
}

.calendar thead .daynames {
  background: #fff;
}

.calendar tbody .day {
  width: 2em;
  color: #000;
  text-align: right;
  padding: 0px 7px 2px 2px;
  font-weight: bold;
  font-size: 14px;
}
.calendar tbody .day.othermonth {
  font-size: 100%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn
{
    background-position: #592756;
    padding: 2px 3px 2px 2px;
    border-right: 2px solid #8a8;
    background: #592756;
}

.calendar tbody td.hilite
{
    background-position: #592756;
    background: #592756;
    color: #FFFFFF;
}

.calendar tbody .emptycell {
  visibility: hidden;
}

.calendar tbody .emptyrow {
  display: none;
}

.calendar tfoot .footrow {
  text-align: center;
  color: #fff;
}

.calendar tfoot .ttip {
/*  display: none;*/
  padding: 2px;
  color: #000000;
}

.calendar tfoot .hilite {
  border: 1px solid #084;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active {
  padding: 2px 0px 0px 2px;
}

.calendar .combo {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    width: 4em;
    cursor: pointer;
    border: 1px solid #565;
    background: #fff;
    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-position: #CC99FF;
    background: #CC99FF;
}

.calendar .combo .active
{
    background-position: #CC99FF;
    border-top: 1px solid #6a4;
    border-bottom: 1px solid #6a4;
    background: #CC99FF;
    font-weight: bold;
    border-top-color: #800080;
    border-bottom-color: #800080;
}

.calendar td.time
{
    border-top: 1px solid #8a8;
    padding: 1px 0px;
    text-align: center;
    background-color: #CC99FF;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #898;
  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: #CC33FF;
    color: #fff;
}

.calendar td.time span.active
{
    border-color: #f00;
    background-color: #000;
    color: #FFFFFF;
}

.calendar tbody td.active
{
    /* Active (pressed) cells <TD> */
    padding: 2px 2px 0px 2px;
    border: 1px solid;
    border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
    background-color: #800080;
    color: #FFFFFF;
}


