/************************************************************************/
/* Calendar
/************************************************************************/
/* Some resets for compatibility with existing CSS */

.date_selector, .date_selector * {
  width: auto;
  height: auto;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
}
.date_selector {
  background: #dcf0f5;
  border: 1px solid #A1D6E1;
  padding: 5px;
  margin: -1px 0 0 0;
  position: absolute;
  z-index: 100000;
  display: none;
  -moz-box-shadow: 0 0 30px #d1d1d1;
  -webkit-box-shadow: 0 0 30px #d1d1d1;
  box-shadow: 0 0 30px #d1d1d1;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #035C86;
  overflow: hidden;
  width: 217px;
  ;
}
.date_selector_ieframe {
  position: absolute;
  z-index: 99999;
  display: none;
}

.date_selector .nav {
  width: 17.5em; /* 7 * 2.5em */
}
.date_selector .month_nav, .date_selector .year_nav {
  margin: 0 0 3px 0;
  padding: 0;
  display: block;
  position: relative;
  text-align: center;
  margin-bottom: 10px;
}
.date_selector .month_nav {
  float: left;
  width: 55%;
}
.date_selector .year_nav {
  float: right;
  width: 35%;
  margin-right: -8px; /* Compensates for cell borders */
}
* html .date_selector .year_nav {
  margin-right: 0;
}
.date_selector .month_name, .date_selector .year_name {
  font-weight: bold;
  line-height: 20px;
}
.date_selector .button {
  display: block;
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  line-height: 17px;
  font-weight: bold;
  color: #9bbec7;
  text-align: center;
  font-size: 120%;
  overflow: hidden;
  border: 1px solid #d5e6eb;
  background: #ebf7fa
}
.date_selector .button:hover, .date_selector .button.hover {
  color: #87a6ad;
  cursor: pointer;
  border-color: #95afb8;
  background: #C1DEE5;
}
.date_selector .prev {
  left: 0;
}
.date_selector .next {
  right: 0;
}
.date_selector table {
  border-spacing: 0;
  border-collapse: collapse;
  clear: both;
  width: 100%;
}
.date_selector th, .date_selector td {
  width: 2.5em;
  height: 2em;
  padding: 0;
  text-align: center;
  color: black;
}
.date_selector th {
  height: 1.2em;
  color: #035C86;
}
.date_selector td {
  border: 1px solid #B0C9D1;
  line-height: 2em;
  text-align: center;
  white-space: nowrap;
  color: #035C86;
  background: white;
}
.date_selector td.today {
  background: #EBF7FA;
}
.date_selector td.unselected_month {
  color: #ccc;
}
.date_selector td.selectable_day {
  cursor: pointer;
}
.date_selector td.selected {
  background: #b8dae3;
  font-weight: bold;
  color: #035C86;
}
.date_selector td.selectable_day:hover, .date_selector td.selectable_day.hover {
  background: #ebf7fa;
}
