:global .c-kd-select-date {
  input {
  }
}

:global {
  .react-datepicker__tether-element-attached-top .react-datepicker__triangle, .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow {
    margin-left: -8px;
    position: absolute;
  }
  .react-datepicker__tether-element-attached-top .react-datepicker__triangle, .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__tether-element-attached-top .react-datepicker__triangle::before, .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before {
    box-sizing: content-box;
    position: absolute;
    border: 8px solid transparent;
    height: 0;
    width: 1px;
  }
  .react-datepicker__tether-element-attached-top .react-datepicker__triangle::before, .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before {
    content: "";
    z-index: -1;
    border-width: 8px;
    left: -8px;
    border-bottom-color: #aeaeae;
  }

  .react-datepicker__tether-element-attached-top .react-datepicker__triangle {
    top: 0;
    margin-top: -8px;
  }
  .react-datepicker__tether-element-attached-top .react-datepicker__triangle, .react-datepicker__tether-element-attached-top .react-datepicker__triangle::before {
    border-top: none;
    border-bottom-color: #f0f0f0;
  }
  .react-datepicker__tether-element-attached-top .react-datepicker__triangle::before {
    top: -1px;
    border-bottom-color: #aeaeae;
  }

  .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow {
    bottom: 0;
    margin-bottom: -8px;
  }
  .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before {
    border-bottom: none;
    border-top-color: #fff;
  }
  .react-datepicker__tether-element-attached-bottom .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before {
    bottom: -1px;
    border-top-color: #aeaeae;
  }

  .react-datepicker {
    background: #eeeeee url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    font-size: 1.1em;
    padding: .2em .2em 0;
    width: 17em;
  }

  .react-datepicker__triangle {
    position: absolute;
    left: 50px;
  }

  .react-datepicker__tether-element-attached-bottom.react-datepicker__tether-element {
    margin-top: -20px;
  }

  .react-datepicker__header {
    border: 1px solid #e78f08;
    background: #f6a828 url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;
    color: #ffffff;
    font-weight: bold;
    padding: .2em 0;
    border-radius: 4px;
    position: relative;
  }

  .react-datepicker__header__dropdown--select {
    margin-bottom: 5px;
    text-align: center;
    color: #000;
    margin-top: -25px;
    font-weight: normal;
  }

  .react-datepicker__year-dropdown-container--select,
  .react-datepicker__month-dropdown-container--select {
    display: inline-block;
    margin: 0 2px;
  }

  .react-datepicker__current-month {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
    visibility: hidden;
  }

  .react-datepicker__day-names {
    display: table;
    width: 100%;
  }

  .react-datepicker__current-month--hasYearDropdown {
  }

  .react-datepicker__navigation {
    position: absolute;
    top: 6px;
    width: 1.8em;
    height: 1.8em;
    border-radius: 4px;
    z-index: 1;
  }

  .react-datepicker__navigation--previous {
    left: 6px;
  }

  .react-datepicker__navigation--previous:after {
    background-image: url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-icons_ffffff_256x240.png");
    background-position: -80px -192px;
    width: 16px;
    height: 16px;
    display: block;
    content: '\0020';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .react-datepicker__navigation--previous:hover {
    background: #fdf5ce;
  }

  .react-datepicker__navigation--next {
    right: 6px;
  }

  .react-datepicker__navigation--next:after {
    background-image: url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-icons_ffffff_256x240.png");
    background-position: -48px -192px;
    width: 16px;
    height: 16px;
    display: block;
    content: '\0020';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .react-datepicker__navigation--next:hover {
    background: #fdf5ce;
  }

  .react-datepicker__navigation--previous:hover:after,
  .react-datepicker__navigation--next:hover:after {
    background-image: url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png");
  }

  .react-datepicker__navigation--years {
    position: relative;
    top: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .react-datepicker__navigation--years-previous {
    top: 4px;
    border-top-color: #ccc;
  }

  .react-datepicker__navigation--years-previous:hover {
    border-top-color: #b3b3b3;
  }

  .react-datepicker__navigation--years-upcoming {
    top: -4px;
    border-bottom-color: #ccc;
  }

  .react-datepicker__navigation--years-upcoming:hover {
    border-bottom-color: #b3b3b3;
  }

  .react-datepicker__month {
    margin: 0.4rem;
    text-align: center;
  }

  .react-datepicker__day-name,
  .react-datepicker__day {
    color: #000;
    display: table-cell;
    font-size: .9em;
    width: 14.285714286%;
  }

  .react-datepicker__day-name {
    text-align: center;
  }

  .react-datepicker__week {
    display: table;
    border-spacing: 1px;
    width: 100%;
  }

  .react-datepicker__day--outside-month {
    visibility: hidden;
  }

  .react-datepicker__day {
    cursor: pointer;
    text-align: right;
    padding: 0.2em;
    border: 1px solid #cccccc;
    color: #1c94c4;
    background: #f6f6f6 url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;
    font-weight: bold;
  }

  .react-datepicker__day:hover {
    border: 1px solid #fbcb09;
    background: #fdf5ce url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;
    font-weight: bold;
    color: #c77405;
  }

  .react-datepicker__day--today.react-datepicker__day--selected,
  .react-datepicker__day--today,
  .react-datepicker__day--today:hover {
    border: 1px solid #fed22f;
    background: #ffe45c url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;
    color: #363636;
  }

  .react-datepicker__day--highlighted {
    border-radius: 0.3rem;
    background-color: #3dcc4a;
    color: #fff;
  }

  .react-datepicker__day--highlighted:hover {
    background-color: #32be3f;
  }

  .react-datepicker__day--selected,
  .react-datepicker__day--selected:hover,
  .react-datepicker__day--in-selecting-range,
  .react-datepicker__day--in-range {
    border: 1px solid #fbd850;
      background: #ffffff url("http://code.jquery.com/ui/1.12.1/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
      font-weight: bold;
      color: #eb8f00;
  }

  .react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover {
    background-color: #1d5d90;
  }

  .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range) {
    background-color: rgba(33, 107, 165, 0.5);
  }

  .react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range) {
    background-color: #f0f0f0;
    color: #000;
  }

  .react-datepicker__day--disabled {
    cursor: default;
    color: #ccc;
  }

  .react-datepicker__day--disabled:hover {
    background-color: transparent;
  }

  .react-datepicker__input-container {
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .react-datepicker__year-read-view {
    width: 50%;
    left: 25%;
    position: absolute;
    bottom: 25px;
    border: 1px solid transparent;
    border-radius: 0.3rem;
  }
  .react-datepicker__year-read-view:hover {
    cursor: pointer;
  }
  .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow {
    border-top-color: #b3b3b3;
  }
  .react-datepicker__year-read-view--down-arrow {
    border-top-color: #ccc;
    margin-bottom: 3px;
    left: 5px;
    top: 9px;
    position: relative;
    border-width: 0.45rem;
  }
  .react-datepicker__year-read-view--selected-year {
    right: 0.45rem;
    position: relative;
  }

  .react-datepicker__year-dropdown {
    background-color: #f0f0f0;
    position: absolute;
    width: 50%;
    left: 25%;
    top: 30px;
    text-align: center;
    border-radius: 0.3rem;
    border: 1px solid #aeaeae;
  }
  .react-datepicker__year-dropdown:hover {
    cursor: pointer;
  }

  .react-datepicker__year-option {
    line-height: 20px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .react-datepicker__year-option:first-of-type {
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
  }
  .react-datepicker__year-option:last-of-type {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
  }
  .react-datepicker__year-option:hover {
    background-color: #ccc;
  }
  .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming {
    border-bottom-color: #b3b3b3;
  }
  .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous {
    border-top-color: #b3b3b3;
  }
  .react-datepicker__year-option--selected {
    position: absolute;
    left: 30px;
  }

  .react-datepicker__close-icon {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    display: inline-block;
    height: 0;
    outline: 0;
    padding: 0;
    vertical-align: middle;
  }
  .react-datepicker__close-icon::after {
    background-color: #216ba5;
    border-radius: 50%;
    bottom: 0;
    box-sizing: border-box;
    color: #fff;
    content: "\00d7";
    cursor: pointer;
    font-size: 12px;
    height: 16px;
    width: 16px;
    line-height: 1;
    margin: -8px auto 0;
    padding: 2px;
    position: absolute;
    right: 7px;
    text-align: center;
    top: 50%;
  }

  .react-datepicker__today-button {
    background: #f0f0f0;
    border-top: 1px solid #aeaeae;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    padding: 5px 0;
  }

  .react-datepicker__tether-element {
    z-index: 2147483647;
  }
}
