.calendar_popup {
  overflow: hidden;
  position: absolute;
  background-color: #ffffff;
  display: none;
  border: 1px solid #000000;
  width: 200px;
  height: 0px;
  cursor: default;
  z-index: 5000;
  -moz-user-select: none;
  user-select: none;
  -khtml-user-select: none;
}
.calendar_popup_size {
  width: 200px;
  height: 220px;
}

.calendar_month_wrapper {
  width: 200px;
  padding: 0;
  background: #ffffff;
  height: 100%;
  position: absolute;
  z-index:10;
  top: 0;
  left: 0;
}

.calendar_month_table {
  font-size: 12px;
  height: 200px;
  font-weight:bold;
  color:#333333;
}

.calendar_month_item {
  cursor: pointer;
  padding: 0;
  width: 100px;
  border: 1px solid transparent;
  vertical-align: middle;
  padding-left: 3px;
  font-weight:normal;
}

.calendar_month {
  width: 200px;
  position: absolute;
  left: 0px;
}

.calendar_days_wrapper {
  left: 0px;
  top: 0;
  z-index: 0;
  vertical-align: top;
  display: inline-block;
  width: 200px;
  position: absolute;
  background: #ffffff;
  height: 100%;
  line-height: 20px; /* this should be the same as the title height, and auto-aligns the arrows */
  font-size:12px;
}

.calendar_days_title:hover {
  font-weight: normal;
  color:  #FF9933;
}

.calendar_days_title {
  cursor: pointer;
  text-align: center;
  top: 0px;
  position: relative;
  height: 20px;
}
.calendar_days_prev, .calendar_days_next, .calendar_days_next_inactive, .calendar_days_prev_inactive {
  position: absolute;
  background-color: #FF6600;
  display: block;
  color: #ffffff;
  height: 20px;
  width: 25px;
  z-index: 1;
  text-align: center;
  cursor: pointer;
}

.calendar_days_prev, .calendar_days_prev_inactive {
  left: 0;
}
.calendar_days_next, .calendar_days_next_inactive {
  right: 0;
}

.calendar_days_next_inactive, .calendar_days_prev_inactive {
  cursor: inherit;
  color: #5050c0; /* same  as background */
}


.calendar_days_table {
  position: absolute;
  width: 200px;
  height: 200px;
  border-spacing: 0;
  left: 0;
}

.calendar_days_table td {
  text-align: center;
  width: 3em;
  border: 1px solid transparent;
}
.calendar_month_year  {
	border-bottom:1px dotted #999999;
}


.calendar_days_table tr.days_of_week td {
	background-color:#EEEEEE;
}


.calendar_days_table td.calendar_active {
  cursor: pointer;
  font-weight: bold;
  color: #000000;
}
.calendar_days_table td.calendar_predate {
  background-color: #c0c0c0;
}


td.calendar_active:hover {
  color:#000000;
  border: 1px solid #FF9933;
  /*color: #5050c0;*/
  background-color: #FF9933;
}

a.calendar_entry {
}

