/* 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: #EAE7D3;
  border: 1px solid #bbb;
  padding: 5px;
  margin: -1px 0 0 0;
  position: absolute;
  z-index: 100000;
  display: none;
  color: #5d4f3c;
}

.closeBar{
	text-align:right;
	padding-bottom: 2px;
	border-bottom: 1px solid #5d4f3c;
	
}
.closeBar a{
	text-decoration:none;
	color: #5d4f3c;
}

.date_selector_ieframe {
  position: absolute;
  z-index: 99999;
  display: none;
}
  .date_selector .month_nav {
    margin: 0px 0 5px 0;
    padding: 0;
    display: block;
  }
    .date_selector .month_name {
      font-weight: bold;
      line-height: 20px;
      display: block;
      text-align: center;
	  font-size:12px;
    }
    .date_selector .month_nav a {
      display: block;
      position: absolute;
      top: 25px;
      width: 20px;
      height: 20px;
      line-height: 17px;
      font-weight: bold;
      /*color: #003C78;*/
	  color: #5d4f3c;
      text-align: center;
      font-size: 12px; /*120%;*/
      overflow: hidden;
    }
      .date_selector .month_nav a:hover, .date_selector .month_nav a:focus {
        background: none;
        /*color: #003C78;*/
		color: #5d4f3c;
        text-decoration: none;
      }
    .date_selector .prev {
      left: 5px;
    }
    .date_selector .next {
      right: 5px;
    }
  .date_selector table {
    border-spacing: 0;
    border-collapse: collapse;
  }
    .date_selector th, .date_selector td {
	  font-weight: 900 !important;
      padding: 0;
	  font-size: 11px;
      text-align: center;
	  background:none !important;
	  line-height: 2em;
	  padding:0px !important;
    }
    .date_selector td {
      border: 1px solid #ccc;
      line-height: 2em;
      text-align: center;
      white-space: nowrap;
      background: white !important;
    }
    .date_selector td.today {
      background: #FFFED9;
    }
    .date_selector td.unselected_month {
      color: #ccc;

    }
      .date_selector td a {
        display: block;
        text-decoration: none !important;
        width: 100%;
        height: 100%;
        line-height: 2em;
        color: #5D4F3C;
        text-align: center;
		padding:0px;
		width: 2em;
      }
      .date_selector td.today a {
        background: #F7CA44;
		width: 2em;
      }
      .date_selector td.selected a {
        background: #CDCDCD;
        font-weight: bold;
		width: 2em;
      }
        .date_selector td a:hover {
          background:#CB7C44;
          color: white;
		  width: 2em;
        }
