.datepicker {
  direction: ltr;
  animation: none !important;
}
.datepicker.dropdown-menu {
  padding: 0;
  margin: 0;
}
.datepicker .next,
.datepicker .prev {
  color: transparent !important;
  position: relative;
}
.datepicker .next::after,
.datepicker .prev::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 0;
  border-style: solid;
  transform: rotate(-45deg);
  transform-origin: left;
}
.datepicker .next::after {
  margin-left: -0.25rem;
  border-width: 0 1px 1px 0;
}
[dir=rtl] .datepicker .next::after {
  transform: rotate(-45deg);
  border-width: 1px 0 0 1px;
  margin-left: 0;
}
.datepicker .prev::after {
  border-width: 1px 0 0 1px;
}
[dir=rtl] .datepicker .prev::after {
  transform: rotate(-45deg);
  border-width: 0 1px 1px 0;
  margin-left: -0.25rem;
}
.datepicker.datepicker-rtl {
  direction: rtl;
}
.datepicker.datepicker-rtl table tr td span {
  float: right;
}
[dir=rtl] .datepicker {
  direction: rtl;
}

.datepicker table {
  user-select: none;
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
}
.datepicker table tbody:before {
  content: "@";
  display: block;
  line-height: 6px;
  text-indent: -99999px;
}

.datepicker table tr td,
.datepicker table tr th {
  width: 2.188rem;
  height: 2.05rem;
  font-weight: 400;
  text-align: center;
  border: none;
}
.datepicker table tr td.dow,
.datepicker table tr th.dow {
  font-size: 0.75rem;
  font-weight: 500;
}

.datepicker table tr td {
  border-radius: 50rem;
}
.datepicker table tr td.day:hover, .datepicker table tr td.focused {
  cursor: pointer;
}
.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
  cursor: default;
  background: none;
}
.datepicker table tr td.range {
  border-radius: 0 !important;
}
html:not([dir=rtl]) .datepicker table tr td.range-start:not(.range-end) {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
[dir=rtl] .datepicker table tr td.range-start:not(.range-end) {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}
html:not([dir=rtl]) .datepicker table tr td.range-end:not(.range-start) {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}
[dir=rtl] .datepicker table tr td.range-end:not(.range-start) {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
.datepicker table tr td.selected, .datepicker table tr td.selected:hover, .datepicker table tr td.selected.highlighted {
  color: #fff;
}

.datepicker table tr td span {
  display: block;
  float: left;
  width: 3.375rem;
  height: 2.375rem;
  line-height: 2.375rem;
  cursor: pointer;
}
.datepicker table tr td span.disabled, .datepicker table tr td span.disabled:hover {
  background: none;
  cursor: default;
}
[dir=rtl] .datepicker table tr td span {
  float: right;
}

.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next,
.datepicker tfoot tr th {
  cursor: pointer;
}

.datepicker .cw {
  font-weight: 600;
}

.datepicker-months table,
.datepicker-years table,
.datepicker-decades table,
.datepicker-centuries table {
  width: 12.75rem;
}
.datepicker-months table td,
.datepicker-years table td,
.datepicker-decades table td,
.datepicker-centuries table td {
  padding: 0 0 1.25rem 1.25rem;
}
[dir=rtl] .datepicker-months table td,
[dir=rtl] .datepicker-years table td,
[dir=rtl] .datepicker-decades table td,
[dir=rtl] .datepicker-centuries table td {
  padding: 0 1.25rem 1.25rem 0;
}

.datepicker-dropdown {
  left: 0;
  top: 0;
  padding: 0;
}

.input-daterange input {
  text-align: center;
}

.light-style .datepicker-dropdown {
  z-index: 1091 !important;
}
.light-style .datepicker.datepicker-inline table {
  box-shadow: 0px 5px 5px -3px rgba(76, 78, 100, 0.2), 0px 8px 10px 1px rgba(76, 78, 100, 0.14), 0px 3px 14px 2px rgba(76, 78, 100, 0.12);
}
.light-style .datepicker .next::after,
.light-style .datepicker .prev::after {
  color: #636578;
}
.light-style .datepicker table thead {
  background: #fff;
}
.light-style .datepicker table thead tr,
.light-style .datepicker table thead td {
  color: #636578;
}
.light-style .datepicker table tr td.new,
.light-style .datepicker table tr th.new {
  color: #bbbcc4;
}
.light-style .datepicker table tr td.old, .light-style .datepicker table tr td.disabled {
  color: #bbbcc4;
}
.light-style .datepicker table tr td.day:hover, .light-style .datepicker table tr td.focused {
  background: rgba(76, 78, 100, 0.06);
  color: #828393;
}
.light-style .datepicker table tr td span {
  border-radius: 0.5rem;
}
.light-style .datepicker table tr td span:hover, .light-style .datepicker table tr td span.focused {
  background: rgba(76, 78, 100, 0.03);
}
.light-style .datepicker table tr td span.disabled, .light-style .datepicker table tr td span.disabled:hover {
  color: #bbbcc4;
}
.light-style .datepicker table tr td span.old, .light-style .datepicker table tr td span.new {
  color: #bbbcc4;
}

.dark-style .datepicker-dropdown {
  z-index: 1091 !important;
}
.dark-style .datepicker.datepicker-inline table {
  box-shadow: 0px 5px 5px -3px rgba(20, 21, 33, 0.2), 0px 8px 10px 1px rgba(20, 21, 33, 0.14), 0px 3px 14px 2px rgba(20, 21, 33, 0.12);
}
.dark-style .datepicker .next::after,
.dark-style .datepicker .prev::after {
  color: #d2d2e8;
}
.dark-style .datepicker table thead {
  background: #30334e;
}
.dark-style .datepicker table thead tr,
.dark-style .datepicker table thead td {
  color: #a0a1b8;
}
.dark-style .datepicker table tr td.new,
.dark-style .datepicker table tr th.new {
  color: #8d8fa7;
}
.dark-style .datepicker table tr td {
  color: #a0a1b8;
}
.dark-style .datepicker table tr td.old, .dark-style .datepicker table tr td.disabled {
  color: #595b75;
}
.dark-style .datepicker table tr td.day:hover, .dark-style .datepicker table tr td.focused {
  background: rgba(234, 234, 255, 0.06);
  color: #a0a1b8;
}
.dark-style .datepicker table tr td span {
  border-radius: 0.5rem;
}
.dark-style .datepicker table tr td span:hover, .dark-style .datepicker table tr td span.focused {
  background: #30334e;
}
.dark-style .datepicker table tr td span.disabled, .dark-style .datepicker table tr td span.disabled:hover {
  color: #8d8fa7;
}
.dark-style .datepicker table tr td span.old, .dark-style .datepicker table tr td span.new {
  color: #8d8fa7;
}
