.DateTimeField.Field,
.DateField.Field {
  display: inline-block;
  position: relative;
  width: auto;
  min-width: auto;
  white-space: nowrap;
  zoom: 1;
}

.DateField.Field > input {
  width: 5.5em;
  min-width: auto;
}

.DateTimeField.Field > input {
  width: 8.5em;
  min-width: auto;
}

.DateField > .Labels,
.DateTimeField > .Labels {
  display: none;
}

.DateField.Field > .Icon,
.DateTimeField.Field > .Icon {
  display: inline-block;
  position: relative;
  width: 2em;
  height: 2em;
  vertical-align: top;
  cursor: pointer;
  background-image: url("Calendar.png");
  background-repeat: no-repeat;
  background-position: center center;
}

.Filter .DateTimeField.Field > .Icon {
  background-size: 12px;
}

.DateSelector {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.Expanded > .DateSelector {
  display: block;
}

.DateSelector table {
  border-collapse: collapse;
  z-index: 5;
  background-color: #FFFFFF;
}

.DateSelector table > thead > tr {
  border: 1px solid #E0E0E0;
}

.DateSelector table > thead > tr > th,
.DateSelector table > thead > tr > td {
  text-align: center;
  font-weight: bold;
  padding-left: 0.25em;
  padding-right: 0.25em;
  height: 2.5em;
  transition: ease 0.1s;
}

.DateSelector table > thead > tr > td:hover {
  background-color: #F0F0F0;
}

.DateSelector table > tbody > tr > td {
  padding-left: 0.25em;
  padding-right: 0.25em;
  text-align: center;
  border: 1px solid #E0E0E0;
  background-color: #FFFFFF;
  min-width: 2.5em;
  height: 2.5em;
  transition: ease 0.1s;
}

.DateSelector table > thead > tr:first-child > td {
  height: auto;
  padding: 0;
  cursor: default;
  background-color: #F0F0F0;
}

.DateSelector table > thead > tr > td > .Today {
  height: 2.5em;
  width: 100%;
  padding: 0;
  vertical-align: top;
  cursor: pointer;
  background-image: url("Calendar.png");
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

.DateSelector table > thead > tr > td > .Today:hover {
  background-color: orange;
}

.DateSelector Table {
  position: relative;
  display: block;
  left: 0px;
}

.DateSelector table td.OtherMonth {
  background-color: #F8F8F8;
  color: #E0E0E0;
}

.DateSelector table td.Selected {
  background-color: #404040;
  color: white;
}

.DateSelector table td.Today {
  font-weight: bold;
  color: orange;
  outline: 3px solid orange;
  outline-offset: -2px;
}

.DateSelector > div > table > tbody > tr > td:hover {
  background-color: #404040;
  color: white;
}

/* Date/time pop up */
.dateTime {
  position: relative;
  display: inline-block;
}

.dateTime > span {
  cursor: pointer;
}

.dateTime > div {
  position: absolute;
  top: 100%;
  border: 1px solid #CCCCCC;
  background-color: #FFFFFF;
  z-index: 1;
  padding: 4px;
}

.dateTime > div > table > tbody > tr > td {
  white-space: nowrap;
}

.Suggest .Value .dateTime.collapsed > div,
.dateTime.collapsed > div {
  display: none;
}
