.datepicker {
  width: -moz-min-content;
  width: min-content;
}

.datepicker:not(.active) {
  display: none;
}

.datepicker-dropdown {
  position: absolute;
  z-index: 10;
  padding-top: 4px;
}

.datepicker-dropdown.datepicker-orient-top {
  padding-top: 0;
  padding-bottom: 4px;
}

.datepicker-picker {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  background-color: #fefefe;
}

.datepicker-dropdown .datepicker-picker {
  box-shadow: 0 0 0 1px #cacaca;
}

.datepicker-main {
  flex: auto;
  padding: 2px;
}

.datepicker-footer {
  box-shadow: inset 0 1px 1px rgba(10, 10, 10, 0.1);
  background-color: #e6e6e6;
}

.datepicker-title {
  box-shadow: inset 0 -1px 1px rgba(10, 10, 10, 0.1);
  background-color: #e6e6e6;
  padding: 0.375rem 0.75rem;
  text-align: center;
  font-weight: bold;
}

.datepicker-controls {
  display: flex;
}

.datepicker-header .datepicker-controls {
  padding: 2px 2px 0;
}

.datepicker-controls .button {
  margin: 0;
  background-color: #fefefe;
  color: #0a0a0a;
}

.datepicker-controls .button:hover,
.datepicker-controls .button:focus {
  background-color: #d8d8d8;
}

.datepicker-controls .button:hover[disabled],
.datepicker-controls .button:focus[disabled] {
  opacity: 0.25;
  background-color: #fefefe;
  color: #0a0a0a;
}

.datepicker-header .datepicker-controls .button {
  border-color: transparent;
  font-weight: bold;
}

.datepicker-footer .datepicker-controls .button {
  flex: auto;
  margin: calc(0.375rem - 1px) 0.375rem;
  border-radius: 0;
  font-size: 0.75rem;
}

.datepicker-controls .view-switch {
  flex: auto;
}

.datepicker-controls .prev-button,
.datepicker-controls .next-button {
  padding-right: 0.375rem;
  padding-left: 0.375rem;
  flex: 0 0 14.2857142857%;
}

.datepicker-controls .prev-button.disabled,
.datepicker-controls .next-button.disabled {
  visibility: hidden;
}

.datepicker-view,
.datepicker-grid {
  display: flex;
}

.datepicker-view {
  align-items: stretch;
  width: 15.75rem;
}

.datepicker-grid {
  flex-wrap: wrap;
  flex: auto;
}

.datepicker .days {
  display: flex;
  flex-direction: column;
  flex: auto;
}

.datepicker .days-of-week {
  display: flex;
}

.datepicker .week-numbers {
  display: flex;
  flex-direction: column;
  flex: 0 0 9.6774193548%;
}

.datepicker .weeks {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: auto;
}

.datepicker span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.datepicker .dow {
  height: 1.5rem;
  font-size: 0.875rem;
  font-weight: bold;
}

.datepicker .week {
  flex: auto;
  color: #8a8a8a;
  font-size: 0.75rem;
}

.datepicker-cell,
.datepicker .days .dow {
  flex-basis: 14.2857142857%;
}

.datepicker-cell {
  height: 2.25rem;
}

.datepicker-cell:not(.day) {
  flex-basis: 25%;
  height: 4.5rem;
}

.datepicker-cell:not(.disabled):hover {
  background-color: #f8f8f8;
  cursor: pointer;
}

.datepicker-cell.focused:not(.selected) {
  background-color: #f1f1f1;
}

.datepicker-cell.selected,
.datepicker-cell.selected:hover {
  background-color: #1779ba;
  color: #fefefe;
  font-weight: semibold;
}

.datepicker-cell.disabled {
  color: #e6e6e6;
}

.datepicker-cell.prev:not(.disabled),
.datepicker-cell.next:not(.disabled) {
  color: #cacaca;
}

.datepicker-cell.prev.selected,
.datepicker-cell.next.selected {
  color: #e5e5e5;
}

.datepicker-cell.highlighted:not(.selected):not(.range):not(.today) {
  border-radius: 0;
  background-color: #f7f7f7;
}

.datepicker-cell.highlighted:not(.selected):not(.range):not(.today):not(.disabled):hover {
  background-color: #f1f1f1;
}

.datepicker-cell.highlighted:not(.selected):not(.range):not(.today).focused {
  background-color: #f1f1f1;
}

.datepicker-cell.today:not(.selected) {
  background-color: #d7ecfa;
}

.datepicker-cell.today:not(.selected):not(.disabled) {
  color: #8a8a8a;
}

.datepicker-cell.today.focused:not(.selected) {
  background-color: #cce7f9;
}

.datepicker-cell.range-end:not(.selected),
.datepicker-cell.range-start:not(.selected) {
  background-color: #767676;
  color: #fefefe;
}

.datepicker-cell.range-end.focused:not(.selected),
.datepicker-cell.range-start.focused:not(.selected) {
  background-color: #737373;
}

.datepicker-cell.range-start:not(.range-end) {
  border-radius: 0 0 0 0;
}

.datepicker-cell.range-end:not(.range-start) {
  border-radius: 0 0 0 0;
}

.datepicker-cell.range {
  border-radius: 0;
  background-color: #e6e6e6;
}

.datepicker-cell.range:not(.disabled):not(.focused):not(.today):hover {
  background-color: #e0e0e0;
}

.datepicker-cell.range.disabled {
  color: #cfcfcf;
}

.datepicker-cell.range.focused {
  background-color: #dbdbdb;
}

.datepicker-cell.range.today {
  background-color: #b6dcf6;
}

.datepicker-input.in-edit {
  border-color: #acacac;
}

.datepicker-input.in-edit:focus,
.datepicker-input.in-edit:active {
  box-shadow: 0 0 0.25em 0.25em rgba(172, 172, 172, 0.2);
}