﻿.ui-datepicker {
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  width: 282px;
  margin: 2px auto 0;
  padding: 10px 20px;
  border: 0;
  z-index: 9005 !important;
  display: none;
  cursor: default;
}

.ui-datepicker .ui-widget-content::after {
  border-bottom: 8px solid #fff;
  top: -15px;
}

.ui-datepicker .ui-widget-content::before {
  border-bottom: 8px solid #e7e7e7;
  top: -16px;
}

.ui-datepicker .ui-widget-content::after,
.ui-datepicker .ui-widget-content::before {
  content: '';
  height: 0;
  left: 46%;
  position: absolute;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid transparent;
  display: block;
}

.ui-datepicker a {
  text-decoration: none;
}

.ui-datepicker a:focus {
  outline: 0;
}

.ui-datepicker::-ms-expand {
  display: none;
}

.ui-datepicker option {
  list-style: none;
  display: list-item;
  background-image: none;
}

.ui-datepicker option:hover {
  background-color: #f5f5f5;
}

.ui-datepicker-header {
  font-size: 18px;
  padding-left: 10px;
  padding-right: 10px;
  height: 35px;
  line-height: 35px;
  background: #fff;
  color: #282828;
}

.ui-datepicker-header .ui-datepicker-title {
  text-align: center;
}

.ui-datepicker-header .ui-datepicker-title .ui-datepicker-year {
  min-width: 56px;
}

.ui-datepicker-header .ui-datepicker-title .ui-datepicker-month {
  margin-right: 10px;
  min-width: 51px;
}

.ui-datepicker-header .ui-datepicker-prev, .ui-datepicker-header .ui-datepicker-next {
  color: #282828;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  background-position: center;
}

.ui-datepicker-header .ui-datepicker-prev span, .ui-datepicker-header .ui-datepicker-next span {
  display: none;
}

.ui-datepicker-header .ui-datepicker-prev {
  color: #133445;
  float: left;
}

.ui-datepicker-header .ui-datepicker-prev::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left-icon lucide-chevron-left"><path d="m15 18-6-6 6-6"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left-icon lucide-chevron-left"><path d="m15 18-6-6 6-6"/></svg>');
    background-color: var(--ga-color-icon-primary);
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    position: relative;
    content: ' ';
    display: inline-block;
}

.ui-datepicker-header .ui-datepicker-prev:hover:after {
    background-color: var(--ga-color-icon-action-hover);
}

.ui-datepicker-header .ui-datepicker-next {
  color: #133445;
  float: right;
}

.ui-datepicker-header .ui-datepicker-next::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right-icon lucide-chevron-right"><path d="m9 18 6-6-6-6"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right-icon lucide-chevron-right"><path d="m9 18 6-6-6-6"/></svg>');
    background-color: var(--ga-color-icon-primary);
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    position: relative;
    content: ' ';
    display: inline-block;
}

.ui-datepicker-header .ui-datepicker-next:hover:after {
    background-color: var(--ga-color-icon-action-hover);
}

.ui-datepicker-calendar {
  margin-bottom: 10px;
}

.ui-datepicker-calendar thead {
  border-bottom: 1px solid #e7e7e7;
}

.ui-datepicker-calendar thead th {
  text-align: center;
  font-weight: normal;
  font-size: 12px;
  line-height: 22px;
  color: #9e9e9e;
}

.ui-datepicker-calendar tbody tr {
  text-align: center;
  padding: 0;
  border-bottom: 0;
}

.ui-datepicker-calendar tbody tr:last-child {
  border-bottom: 0;
}

.ui-datepicker-calendar tbody tr .ui-datepicker-unselectable,
.ui-datepicker-calendar tbody tr .ui-state-disabled {
  color: #b4b3b3;
}

.ui-datepicker-calendar tbody tr td {
  font-size: 12px;
  padding: 3px 1px;
  height: 30px;
  width: 30px;
}

.ui-datepicker-calendar tbody tr td a {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  color: #282828;
  border-radius: 50%;
}

.ui-datepicker-calendar tbody tr td a:hover {
  background: #ccebff;
  color: #133445;
}

.ui-datepicker-calendar tbody tr td a:active {
  background-color: var(--ga-color-cyan-80);
  color: #fff;
}

.ui-datepicker-calendar tbody tr td.ui-datepicker-today a {
  border: #133445 solid 1px;
  border-radius: 50%;
  color: #133445;
}

.ui-datepicker-calendar tbody tr td a.ui-state-active {
  border: none;
  background-color: #4d8400;
  color: #fff;
  margin-right: 0;
}

.ui-datepicker-calendar tbody tr td .ui-priority-secondary {
  color: #9e9e9e;
}

.ui-datepicker-buttonpane, .yearpicker-buttonpane {
  padding-top: 10px;
  border-top: 1px dotted #e7e7e7;
}

.ui-datepicker-buttonpane .ui-datepicker-current, .yearpicker-buttonpane .yearpicker-current {
  background: transparent;
  border-radius: 15px;
  width: auto;
  font-weight: 400;
  font-size: 12px;
  padding: 2px 10px;
  color: #133445;
  border: 1px solid #133445;
  display: block;
  margin: auto;
}

.ui-datepicker-buttonpane .ui-datepicker-current:hover, .yearpicker-buttonpane .yearpicker-current:hover {
  background-color: #ccebff;
}

.ui-datepicker-buttonpane .ui-datepicker-current:active, .yearpicker-buttonpane .yearpicker-current:active {
  color: #fff;
  background-color: #133445;
}

button.ui-datepicker-trigger, button.yearpicker-trigger {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0;
  border: 0;
  outline: none;
  background: none;
  padding: 5px 5px 5px 0 !important;
}

button.ui-datepicker-trigger::after, button.yearpicker-trigger::after {
  content: '' !important;
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/20x20-calendar.svg") no-repeat left top;
  background-size: 70px 20px;
}

button.ui-datepicker-trigger:hover::after, button.yearpicker-trigger:hover::after {
  background-position: -50px top;
}

button.active.ui-datepicker-trigger::after, button.active.yearpicker-trigger::after {
  color: #282828;
}

.ui-datepicker-buttonpane .ui-datepicker-close {
  display: none;
}

.datepicker {
  position: relative;
  display: inline-block;
  min-width: 120px;
}

.datepicker input[type="text"] {
  outline: none;
  padding-right: 30px;
  width: 120px;
}

.datepicker input[type="text"]::-ms-clear {
  height: 0;
  width: 0;
}

.datepicker input[type="text"]:disabled + .ui-datepicker-trigger {
  pointer-events: none;
}

.datepicker input[type="text"]:disabled + .ui-datepicker-trigger::after {
  background-position: -25px top;
}

.datepicker input[type="text"]:focus {
  outline: none;
}

.datepicker input[type="text"][allow-clear="true"] {
  padding-right: 40px;
  width: 130px;
}

.vn-clear {
  font-weight: 400;
  color: transparent;
  font-size: 1px;
  background: none;
  outline: none;
  position: absolute;
  border: 0;
  top: 8px;
  right: 25px;
  font-family: 'vigo-icons';
  height: 16px;
  width: 16px;
  padding: 0;
}

.vn-clear:after {
  position: relative;
  top: 2px;
  font-size: 1rem;
  content: "\e722";
  color: #787879;
}

.week-view .ui-datepicker-calendar tr:hover {
  background: #ccebff;
}

.week-view .ui-datepicker-calendar tr:hover .ui-datepicker-week-col {
  background: none;
}

.week-view .ui-datepicker-calendar tr.active {
  border: 1px solid #e7e7e7;
  background: #f5f5f5;
}

.week-view .ui-datepicker-calendar tr.active .ui-datepicker-week-col {
  color: white;
  background: #4d8400;
}

.week-view .ui-datepicker-calendar tr.active a,
.week-view .ui-datepicker-calendar tr.active td {
  color: black;
  background: none;
}

.ui-datepicker {
  border: 1px solid #e7e7e7;
}

.ui-datepicker.below .ui-widget-content:before {
  border-bottom: 8px solid #e7e7e7;
  top: -16px;
}

.ui-datepicker.below .ui-widget-content:after {
  border-bottom: 8px solid #fff;
  top: -15px;
}

.ui-datepicker.above {
  margin-top: -3px !important;
}

.ui-datepicker.above .ui-widget-content:before {
  border-top: 8px solid #ccc;
  bottom: -8px;
  border-bottom: 0;
  top: initial;
}

.ui-datepicker.above .ui-widget-content:after {
  border-top: 8px solid #fff;
  bottom: -7px;
  border-bottom: 0;
  top: initial;
}

.ui-datepicker .ui-datepicker-week-col {
  color: #9e9e9e;
  border-right: #f5f5f5 solid 1px;
  width: 16px !important;
  vertical-align: bottom;
  line-height: 27px;
  padding-left: 5px;
  padding-right: 5px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .ui-datepicker tbody .ui-datepicker-week-col {
    line-height: 26px;
  }
}

@supports (-ms-accelerator: true) {
  .ui-datepicker tbody .ui-datepicker-week-col {
    line-height: 26px;
  }
}
