@mixin reset() {
  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;
}

date-input-polyfill {
  @include reset();
  position: absolute !important;
  text-align: center;
  box-shadow:
    0 7px 8px -4px rgba(0,0,0,.2),
    0 12px 17px 2px rgba(0,0,0,.14),
    0 5px 22px 4px rgba(0,0,0,.12);
  cursor: default;
  z-index: 1;

  &[data-open="false"] {
    display: none;
  }
  &[data-open="true"] {
    display: block;
  }

  select, table, th, td {
    @include reset();
    box-shadow: none;
  }

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

  select {
    width: 50%;

    &:first-of-type {
      border-right: 1px solid #E0E0E0;
      width: 30%;
    }
  }
  button {
    padding: 0;
    width: 20%;
    background: #E0E0E0;
  }

  table {
    border-collapse: collapse;
  }
  th, td {
    width: 32px;
    padding: 4px;
    text-align: center;
  }
  td[data-day] {
    cursor: pointer;

    &:hover {
      background: #E0E0E0;
    }
  }
  [data-selected] {
    font-weight: bold;
    background: #D8EAF6;
  }
}

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