date-input-polyfill {
  background: #fff;
  color: #000;
  text-shadow: none;
  border: 0;
  padding: 0;
  height: auto;
  width: auto;
  line-height: normal;
  border-radius: 0;
  font-family: sans-serif;
  font-size: 14px;
  position: absolute !important;
  text-align: center;
  box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12);
  cursor: default;
  z-index: 1;
}

date-input-polyfill[data-open="false"] {
  display: none;
}

date-input-polyfill[data-open="true"] {
  display: block;
}

date-input-polyfill select,
date-input-polyfill table,
date-input-polyfill th,
date-input-polyfill td {
  background: #fff;
  color: #000;
  text-shadow: none;
  border: 0;
  padding: 0;
  height: auto;
  width: auto;
  line-height: normal;
  border-radius: 0;
  font-family: sans-serif;
  font-size: 14px;
  box-shadow: none;
}

date-input-polyfill select,
date-input-polyfill button {
  border: 0;
  border-bottom: 1px solid #E0E0E0;
  height: 24px;
  vertical-align: top;
}

date-input-polyfill select {
  width: 50%;
}

date-input-polyfill select:first-of-type {
  border-right: 1px solid #E0E0E0;
  width: 30%;
}

date-input-polyfill button {
  padding: 0;
  width: 20%;
  background: #E0E0E0;
}

date-input-polyfill table {
  border-collapse: collapse;
}

date-input-polyfill th,
date-input-polyfill td {
  width: 32px;
  padding: 4px;
  text-align: center;
}

date-input-polyfill td[data-day] {
  cursor: pointer;
}

date-input-polyfill td[data-day]:hover {
  background: #E0E0E0;
}

date-input-polyfill [data-selected] {
  font-weight: bold;
  background: #D8EAF6;
}

input[data-has-picker]::-ms-clear {
  display: none;
}
