/* =============================================================
 * BASE STYLES
 * ============================================================*/
.datepicker {
  box-sizing: border-box;
  position: absolute;
  top: 70%;
  z-index: 2;
  border-radius: 10px;
}

#datepicker-dateRangePicker::after {
  content: '';
  position: absolute;
  top: -19px;
  left: 10%;
  transform: translateX(-50%);
  border-bottom: solid 25px #fff;
  border-left: solid 25px transparent;
  border-right: solid 25px transparent;
}

.date-picker-triangle {
  display: inline-block;
  margin: 0 5px;
  vertical-align: middle;
  width: 60px;
  height: 30px;
  border-bottom: solid 30px #fff;
  border-left: solid 30px transparent;
  border-right: solid 30px transparent;
}

.datepicker--inline {
  position: relative;
}

.datepicker__inner {
  overflow: hidden;
}

.datepicker__month {
  border-collapse: collapse;
  text-align: center;
  width: 100%;
}

.datepicker__month--month2 {
  display: none;
}

.datepicker__month-day--valid {
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.datepicker__month-day--valid:hover {
  background-color: #aa947166;
}

.datepicker__month-day--lastMonth,
.datepicker__month-day--nextMonth {
  visibility: hidden;
}

.datepicker__month-button {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.datepicker__info--feedback {
  display: none;
}

.datepicker__info--error,
.datepicker__info--help {
  display: block;
}

datepicker__buttons {
  -webkit-user-select: none;
          user-select: none;
}

.datepicker__close-button,
.datepicker__clear-button {
  cursor: pointer;
}

.datepicker__tooltip {
  position: absolute;
}

/* =============================================================
 * THEME
 * ============================================================*/
.datepicker {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 8px 8px 40px 5px #00000014;
  color: #000;
  font-size: 14px;
  line-height: 14px;
  border-radius: 10px;
}

.datepicker__inner {
  padding: 0 25px 25px 25px;
}

.datepicker__month {
  font-size: 20px;
}

.datepicker__month-caption {
  height: 2.5em;
  vertical-align: middle;
}

.datepicker__month-name {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  padding: 20px 0;
}

.datepicker__week-days {
  height: 2em;
  line-height: 2em;
  border-radius: 5px;
}

.datepicker__week-name {
  font-size: 20px;
  font-weight: 300;
  background-color: #f3f4f5;
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
}

.datepicker__week-name:first-of-type {
  padding-left: 15px;
}

.datepicker__week-name:last-of-type {
  padding-right: 15px;
}

.datepicker__month-day {
  transition-duration: 0.2s;
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  color: #333;
  padding: 12px 7px;
  border: 1px solid transparent;
  position: relative;
}

.datepicker__month-day:focus {
  outline: none;
  background-color: #aa9471;
}

.datepicker__month-day--no-checkin {
  position: relative;
}

.datepicker__month-day--no-checkout {
  position: relative;
}

.datepicker__month-day--no-checkin.datepicker__month-day--no-checkout:before {
  content: none;
}

.datepicker__month-day--invalid {
  color: #e8ebf4;
  font-style: italic;
}

.datepicker__month-day--disabled {
  color: #8E8E8E;
  position: relative;
}

.datepicker__month-day--disabled .closed-date-close-mark {
  background-color: #8E8E8E;
  clip-path: polygon(1% 0, 0 0, 51% 49%, 0 100%, 1% 100%, 51% 50%, 99% 100%, 100% 100%, 51% 49%, 100% 0, 99% 0, 51% 48%);
  width: 60%;
  height: 60%;
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.no-click-date-loading {
  pointer-events: none;
  opacity: 0.75;
}

.datepicker__month-day--no-checkin,
.datepicker__month-day--no-checkout,
.datepicker__month-day--day-of-week-disabled {
  background-color: #f8f8f8;
}

.datepicker__month-day--selected {
  background-color: #aa947166;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
  color: #4d4d4f;
}

.datepicker__month-day--selected:after, .datepicker__month-day--selected:before {
  display: none;
}

.datepicker__month-day--hovering {
  background-color: #aa94714d;
  color: #fff;
}

.datepicker__month-day--today {
  color: #4d4d4f;
}

.datepicker__month-day--first-day-selected,
.datepicker__month-day--last-day-selected {
  background-color: #aa9471;
  color: #fff;
  border-top: none;
  border-bottom: none;
  border-radius: 5px;
}

.datepicker__month-day--first-day-selected .price-for-current-date,
.datepicker__month-day--last-day-selected .price-for-current-date {
  color: #fff;
}

.datepicker__month-day--last-day-selected:after {
  content: none;
}

.datepicker__month-button {
  transition-duration: 0.2s;
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-indent: -9999px;
  padding: 5px;
}

.datepicker__month-button:after {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  float: left;
  text-indent: 0;
  content: "";
  width: 45px;
  height: 45px;
}

.datepicker__month-button--prev:after {
  background-image: url(../../images/arrow-left.svg);
}

.datepicker__month-button--next:after {
  background-image: url(../../images/arrow-right.svg);
}

.datepicker__topbar {
  margin-bottom: 20px;
  position: relative;
}

.datepicker--topbar-bottom .datepicker__topbar {
  margin-bottom: 0;
  padding-top: 20px;
  /* border-top: 1px solid #dcdcdc; */
}

.datepicker__info-text {
  font-size: 13px;
}

.datepicker__info--selected {
  font-size: 11px;
  text-transform: uppercase;
}

.datepicker__info--selected-label {
  color: #333;
}

.datepicker__info-text--selected-days {
  font-size: 11px;
  font-style: normal;
}

.datepicker__info--error {
  color: red;
  font-size: 13px;
  font-style: italic;
}

.datepicker__info--help {
  color: #333;
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  text-align: left;
}

.datepicker__close-button,
.datepicker__clear-button,
.datepicker__submit-button {
  transition-duration: 0.2s;
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #aa9471;
  border-radius: 2px;
  border: none;
  box-shadow: none;
  font-size: 10px;
  color: #ffffff;
  margin-top: 20px;
  padding: 7px 13px;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
}

.datepicker--topbar-top .datepicker__close-button, .datepicker--topbar-top
.datepicker__clear-button, .datepicker--topbar-top
.datepicker__submit-button {
  margin-top: 0;
}

.datepicker__close-button:hover,
.datepicker__clear-button:hover,
.datepicker__submit-button:hover {
  background-color: #AF936C;
  border: none;
  color: #ffffff;
}

.datepicker__close-button:disabled, .datepicker__close-button[disabled],
.datepicker__clear-button:disabled,
.datepicker__clear-button[disabled],
.datepicker__submit-button:disabled,
.datepicker__submit-button[disabled] {
  background-color: #c8c9d0;
  color: #ffffff;
  cursor: not-allowed;
}

.datepicker__clear-button + .datepicker__close-button {
  margin-left: 10px;
}

.datepicker__clear-button + .datepicker__submit-button {
  margin-left: 10px;
}

.datepicker__submit-button {
  width: auto;
}

.datepicker__tooltip {
  background-color: #aa9471;
  border-radius: 1px;
  font-size: 11px;
  margin-top: -5px;
  padding: 5px 10px;
  color: #fff;
}

.datepicker__tooltip:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #aa9471;
  bottom: -4px;
  content: "";
  left: 50%;
  margin-left: -4px;
  position: absolute;
}

.datepicker__month-day span {
  display: block;
  font-weight: 300;
  text-align: center;
  margin: 10px auto 0;
}

/* Bottom Bar Styles */

.date-picker-bottom-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.date-picker-bottom-bar .date-picker-legends {
  display: flex;
  justify-content: space-between;
  width: 32%;
}

.date-picker-bottom-bar .date-picker-legends .date-picker-legend{
  display: flex;
  justify-content: space-around;
  column-gap: 15px;
  align-items: center;
}

.date-picker-bottom-bar .date-picker-legends .date-picker-legend span{
  font-size: 14px;
  line-height: 40px;
  color: #707070;
}

.no-check-in-legend-triangle, .no-check-out-legend-triangle {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.closed-date-close-mark {

}

.no-check-in-legend-triangle {
  border-top: solid 20px #aa947166;
  border-left: solid 20px #aa947166;
  border-right: solid 20px transparent;
  border-bottom: solid 20px transparent;
  border-top-left-radius: 5px;
}

.no-check-out-legend-triangle {
  border-bottom: solid 20px #aa947166;
  border-right: solid 20px #aa947166;
  border-left: solid 20px transparent;
  border-top: solid 20px transparent;
  border-bottom-right-radius: 5px;
}

td .no-check-in-legend-triangle, td .no-check-out-legend-triangle {
  display: none;
  position: absolute;
}

td .no-check-in-legend-triangle {
  top: 0;
  left: 0;
}

td .no-check-out-legend-triangle {
  bottom: 0;
  right: 0;
}

.date-picker-bottom-bar .date-picker-close-button {
  display: block;
  width: 10%;
  font-size: 18px;
  font-family: montserrat, sans-serif;
  font-weight: 400;
  padding: 15px 0;
  background-color: #aa9471;
  margin: unset;
}

.date-picker-bottom-bar .date-picker-close-button:hover {
  background: #97805f;
  border: 1px solid transparent;
  color: #fff;
}

@media (min-width: 480px) {
  .datepicker__months {
    overflow: hidden;
  }
  .datepicker__month {
    width: 200px;
  }
  .datepicker__month--month2 {
    display: table;
    float: right;
  }
  .datepicker__month-button--disabled {
    visibility: hidden;
  }
  .datepicker__months {
    position: relative;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 15px;
    margin-bottom: 15px;
    padding-top: 5px;
  }
  .datepicker__months > span{
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .datepicker__month {
    width: 240px;
  }

  .datepicker__buttons {
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.price-for-current-date {
  font-size: 12px;
  width: 55px;
  height: 1rem;
  color: #606060;
}

.datepicker__month-day--invalid .price-for-current-date {
  color: #e8ebf4;
}

.datepicker__month-day--disabled .price-for-current-date, .datepicker__month-day--disabled .calendar-price-loader, .datepicker__month-day--invalid .calendar-price-loader{
  visibility: hidden;
}

@media only screen and (max-width: 1400px) {
  .datepicker__month-day {
    padding: 10px 0px;
  }

  .date-picker-bottom-bar .date-picker-legends {
    width: 36%;
  }
}

@media only screen and (max-width: 1280px) {
  .date-picker-bottom-bar .date-picker-legends {
    width: 72%;
  }

  .date-picker-bottom-bar .date-picker-close-button {
    width: 20%;
    font-size: 16px;
  }

  .datepicker__months {
    height: 500px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #aa9471 #ffffff;
  }

  /* .datepicker__months::-webkit-scrollbar-thumb {
    background-color: #aa9471;
    border-radius: 10px;
    border: 5px solid #ffffff;
  } */

  .datepicker__months::-webkit-scrollbar {
    width: 16px;
  }

  .datepicker__months::-webkit-scrollbar-track {
    background: #ffffff;
  }

  .datepicker__months::-webkit-scrollbar-thumb {
    background-color: #aa9471;
    border-radius: 10px;
    border: 5px solid #ffffff;
  }

  #datepicker-dateRangePicker::after {
    top: -17px;
  }
}

@media only screen and (min-width: 1280px) {
  .datepicker__month--month1 {
    float: left;
  }
}