.calendar_date_select {
  color:white;
  border:#006940 1px solid;
  display:block;
  width:200px;
  z-index: 1000;
}
/* this is a fun ie6 hack to get drop downs to stay behind the popup window.  This should always be just underneath .calendar_date_select */
iframe.ie6_blocker {
  position: absolute;
  z-index: 999;
}

/* S M T W T F S in white on Dark Red Background */
.calendar_date_select thead th {
	font-weight:bold;
	font-size:13px;
	font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
	background-color: #990000;
	border-top:1px solid #006940;
	border-bottom:1px solid #006940;
	color: white !important;
}

/* Today OK on Red Background */
.calendar_date_select .cds_buttons {
	text-align:center;
	padding:0px 0px;
	background-color: #ff0000;
}

/* Bottom Date of Calendar with Dark Grey Background */
.calendar_date_select .cds_footer {
	background-color: #333333;
	padding:3px;
	font-size:12px;
	font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
	font-weight:bold;
	color: white;
	text-align:center;
}

.calendar_date_select table {
  margin: 0px;
  padding: 0px;
}

/* Drop Down Month Background */
.calendar_date_select .cds_header {
	background-color: #999999;
	border-bottom: 2px solid #CC0000;
	text-align:center;
}

.calendar_date_select .cds_header span {
  font-size:13px;
  font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
  color: black;
  font-weight: bold;
}

.calendar_date_select select { font-size:11px;}

.calendar_date_select .cds_header a:hover {
  color: white;
}

.calendar_date_select .cds_header a {
  width:22px;
  height:20px;
  text-decoration: none;
  font-size:13px;
  font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
  color:black !important;
}

/* Previous < */
.calendar_date_select .cds_header a.prev {
  float:left;
  font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
  font-weight:bold;  
}

/* Next > */
.calendar_date_select .cds_header a.next {
  float:right;
  font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
  font-weight:bold;    
}

.calendar_date_select .cds_header a.close {
  float:right;
  display:none;
}

/* Pixel width of Month Input Box */
.calendar_date_select .cds_header select.month {
  width:80px;
}

/* Pixel width of Year Input Box */
.calendar_date_select .cds_header select.year {
  width:61px;
}

/* Today OK Text */
.calendar_date_select .cds_buttons a {
  color: white;
  font-size: 12px;
  font-weight:bold;
  font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
}

/* Date in Calendar -  S M T W T F S */
.calendar_date_select td {
	font-size:12px;
	font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
	width: 24px;
	height: 21px;
	text-align:center;
	vertical-align: middle;
	background-color: #f2f2f2;
}

/* Weekend Column Background */
.calendar_date_select td.weekend {
	background-color: #CCCCCC;
	border-left:1px solid #999999;
	border-right:1px solid #999999;
}

.calendar_date_select td div {
  color: #000;
}
.calendar_date_select td div.other {
	color: #CCCCCC;
}
.calendar_date_select td.selected div {
  color:white;
}

.calendar_date_select tbody td {
  border-bottom: 1px solid #999999;
}

/* Date Selected Background */
.calendar_date_select td.selected {
	background-color:#FF0000;
}

.calendar_date_select td:hover {
  background-color:#ccc;
}

/* Dashed Box around Date Selected */
.calendar_date_select td.today {
  border: 1px dashed #999999;
}

.calendar_date_select td.disabled div {
  color: #e6e6e6;
}

.fieldWithErrors .calendar_date_select {
  border: 2px solid red;
}
