.booking-block {
  flex: 1;
  display: flex;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

#calendar {
  overflow: hidden;
}

.booking-sidebar {
  padding: 16px;
  border-right: 1px solid #dadce0;
  margin-right: 10px;
}

.booking-calendar {
  padding: 16px;
  overflow: hidden;
}

.booking-image-button-tip {
  position: absolute;
  left: -14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid #6d6d6d;
  backdrop-filter: blur(2.5px);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  width: 275px;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  z-index: 1;
  top: 125%;
  padding: 12px;
  display: none;
}

.bc-content ul:first-child li:first-child {
  z-index: 10;
}

.booking-image-button-tip:before {
  content: '';
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #979797;
  position: absolute;
  left: 43%;
  top: -10px;
  transform: translateX(-50%);
  z-index: 1;
}

.booking-image-button-tip:after {
  content: '';
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #6d6d6d;
  position: absolute;
  left: 43%;
  top: -11px;
  transform: translateX(-50%);
}

#BookingModal span.label-hint {
  font-size: 12px;
  color: #848484;
  line-height: 1.5;
  margin-top: 4px;
}

.booking-image-top p {
  font-size: 12px;
  font-weight: bold;
}

.booking-image-top span:first-child {
  margin: 0;
}

.booking-image-top span {
  font-weight: normal;
  color: #707071;
  display: inline-block;
  margin-left: 5px;
}

.datepicker-inline .datepicker {
  border: none;
}

.datepicker--cell.-selected-,
.datepicker--cell.-selected-.-current- {
  background: #50d177;
}

.datepicker--time-row input[type='range']:focus::-webkit-slider-thumb {
  background: #50d177;
  border-color: #50d177;
}

.datepicker--time-row input[type='range']:focus::-moz-range-thumb {
  background: #50d177;
  border-color: #50d177;
}

.datepicker--time-row input[type='range']:focus::-ms-thumb {
  background: #50d177;
  border-color: #50d177;
}

.booking-calendar {
  flex: 1;
}

#calendar {
  position: relative;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.bc-content li:first-child {
  position: sticky;
  top: 50px;
}

.bc-content ul li:nth-child(n + 2) {
  padding: 4px;
  flex-wrap: wrap;
  gap: 1px;
}

span.free {
  cursor: pointer;
  border: 1px dashed #ccc;
  width: 100%;
  font-size: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  color: transparent;
  transition: all 0.3s ease-in-out;
}

span.free:hover {
  background: #f5f5f5;
  color: #000;
}

span.booked {
  background: rgba(80, 209, 119, 0.22);
  border: 1px solid #37b693;
  border-radius: 3px;
  font-weight: 600;
  font-size: 10px;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bc-top.bc-table {
  position: relative;
}

ul.bc-info {
  position: sticky;
  left: 0;
  font-size: 12px;
  width: 35px;
  z-index: 88;
  margin-right: 16px;
}

.bc-content {
  display: flex;
}

ul.bc-info li {
  height: 80px;
  /*  margin-bottom: -1px;*/
}

ul.bc-info li:first-child {
  height: 24px;
}

.bc-content li {
  border: 1px solid #ccc;
  height: 80px;
  width: 160px;
  justify-content: center;
  /*  align-items: center;*/
  display: flex;
  /*  margin-bottom: -1px;*/
  margin-right: -1px;
  border-bottom: none;
}

.bc-content li:first-child {
  height: 24px;
  /*  border-bottom: none;*/
  font-weight: 600;
  font-size: 14px;
  background: #fff;
  z-index: 9;
}

ul.bc-info li {
  position: relative;
}

ul.bc-info li span {
  position: relative;
  top: -8px;
}

ul.bc-info li span:after {
  /*  width: 10px;
  height: 1px;
  background: #DADCE0;
  position: absolute;
  right: -20px;
  content: '';
  top: 8px;*/
}

span.free.disabledTime {
  opacity: 0.2;
}

.calendar-timeline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff6363;
}

.calendar-timeline-time {
  position: absolute;
  right: -20px;
  /*  height: 2px;*/
  background: #ff6363;
  display: block;
  width: 10px;
  margin-top: 4px;
}

.calendar-timeline-time:before {
  content: '';
  width: 10px;
  height: 10px;
  background: #ff6363;
  border-radius: 100%;
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.bc-content li {
  position: relative;
}

ul.bc-info li.currentTime span:after {
  background: #ff6363;
}

.bc-content li.currentTime {
  border-top: 1px solid #ff6363;
  position: relative;
  /*  z-index: 12;*/
}

.fillTimeline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: rgb(255 255 255 / 68%);
}

ul.bc-info li.currentTime span:before {
}

.bc-top.bc-table {
  display: flex;
}

input[type='range'] {
  outline: none;
}

ul.bc-info li {
  background: #fff;
}

body footer {
  display: none;
}

#BookingModal .modal__container {
  max-width: 940px;
  border-radius: 6px;
  padding: 24px;
}

#BookingModal .label-input label {
  font-size: 15px;
  gap: 0;
}

#BookingModal h2.modal__title {
  font-size: 20px;
  font-weight: 600;
}

#BookingModal button.modal__close {
  right: 16px;
  top: 16px;
}

#BookingModal .label-checkbox {
  margin-bottom: 6px;
  font-size: 14px;
}

#BookingModal .select2 {
  width: 100% !important;
}

.booking-item-form {
  display: flex;
  gap: 8px;
}

.calendar-top {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99;
  background: #fff;
}

.calendar-current-date {
  color: #333333;
  font-weight: 600;
  font-size: 30px;
  line-height: 35px;
}

.calendar-today {
  border: 1px solid #848a95;
  border-radius: 3px;
  padding: 8px 9px;
  color: #525559;
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.calendar-today:hover {
  background: #848a95;
  color: #fff;
}

.calendar-next-prev {
  display: flex;
  align-items: center;
}

.calendar-next-prev button {
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  outline: none;
}

.calendar-next-prev button svg {
  display: block;
}

.booking-sidebar {
  width: 285px;
}

.booking-item-form h3 {
  font-weight: bold;
  line-height: 1;
}

.booking-timing-request {
  margin-bottom: 24px;
}

.booking-item-form h3 span {
  color: #ff6363;
}

.booking-item-form p {
  font-size: 12px;
  color: #848484;
  line-height: 1.5;
}

.selected-date {
  display: flex;
  gap: 16px;
}

.range-content {
  position: relative;
  padding-top: 30px;
}

.booking-start-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-start-end select {
  width: auto;
  margin: 0;
  padding-left: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.booking-room-image {
  position: absolute;
  left: -1px;
  top: 100%;
  background: #f8f8f8;
  border: 1px solid #dadce0;
  box-shadow: 0px 12px 12px rgb(0 0 0 / 16%);
  border-radius: 0px 0px 12px 12px;
  width: 500px;
  z-index: 9999;
  display: none;
  padding: 24px;

  font-size: 15px;
  color: #323232;
}

.show-booking-image {
  cursor: pointer;
}

.close-room-image {
  cursor: pointer;
}

.booking-image-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.bc-content ul:nth-child(n + 5) .booking-room-image {
  left: auto;
  right: 0;
}

.bc-content li.active {
  background: #f8f8f8;
}

.bc-content ul:first-child .calendar-timeline:before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #ff6363;
  position: absolute;
  left: -10px;
  top: -5px;
}

.hint-link span,
.hint-pav a {
  background: #d2d6dc;
  border: 1px solid #cccfd3;
  border-radius: 24px;
  font-size: 11px;
  padding: 4px 10px;
  display: inline-flex;
  /*  margin-left: 4px;*/
  margin-top: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.image-show {
  position: absolute;
  padding: 24px;
  background: #f8f8f8;
  border: 1px solid #dadce0;
  box-shadow: 0px 48px 72px rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  z-index: 9;
  text-align: right;
  left: -30px;
  width: 700px;
  bottom: -50px;
  display: none;
}

.image-show img {
  width: 100%;
}

.image-show svg {
  cursor: pointer;
}

.image-show h2 {
  display: flex;
  font-weight: bold;
  align-items: center;
  justify-content: space-between;
}

.hint-link {
  position: relative;
  display: inline-block;
}

.datepicker--day-name {
  color: #1a73e8;
}

.datepicker--nav {
  border-bottom: none;
}

.datepicker--nav-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #000;
}

.datepicker--nav-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  order: 1;
  color: #000;
}

.datepicker--nav-title {
  order: 1;
  flex: 1;
  text-align: left;
  justify-content: flex-start;
}

.datepicker--nav-action[data-action='prev'] {
  order: 2;
}

.datepicker--nav-action[data-action='next'] {
  order: 3;
}

.datepicker--nav-title:hover {
  background: none;
}

.datepicker--nav-action.-disabled- {
  visibility: visible;
  opacity: 0.3;
  cursor: auto;
}

.mobile-calendar-bottom .label-input {
  background: #ecf2ff;
  border-radius: 10px;
  padding: 12px;
}

.label-icon-checkbox {
  display: flex;
}

.label-icon-checkbox p {
  font-size: 15px;
  line-height: 140%;
  flex: 1;
  color: #525559;
}

.label-icon-checkbox svg {
  margin-right: 6px;
}

.label-icon-checkbox a {
  color: #4fd177;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .label-checkbox span i,
  .label-icon-checkbox p {
    font-size: 12px;
    line-height: 1.2;
  }

  .label-checkbox span a {
    display: inline;
  }

  .booking-item-icon svg {
    max-width: 14px;
  }

  .booking-item-form .right h3 {
    font-size: 12px;
  }

  .booking-item-form {
    align-items: center;
  }

  .booking-item-form:last-child {
    align-items: self-start;
  }

  .hint-link span,
  .hint-pav a {
    margin-top: 0;
  }

  body #BookingModal .modal__container {
    border-radius: 0;
    padding: 16px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #BookingModal button.modal__close {
    top: 50px;
  }

  body #BookingModal h2.modal__title {
    font-size: 18px;
  }

  .booking-image-top {
    align-items: flex-start;
  }

  .divider-form {
    margin: 0 -16px 16px;
  }

  input#datepicker {
    /*    display: none;*/
    border: none;
    opacity: 0;
    left: 0;
  }

  .mobile-calendar-top label {
    background: url('../img/chev-b.svg') right center no-repeat;
    padding-right: 24px;
  }

  .mobile-calendar-top {
    display: flex;
    justify-content: space-between;
  }

  .mobile-calendar-top label {
    position: relative;
  }

  .mobile-calendar-top input {
    margin: 0;
    border: 1px solid #d2d6dc;
    padding: 0 3px;
    height: auto;
    min-height: auto;
    display: inline-flex;
    min-width: initial;
    width: initial;
    max-width: initial;
    width: 0px;
    outline: none;
    position: absolute;
  }

  .mobile-calendar-bottom {
    display: none;
    padding-top: 16px;
  }

  .mobile-calendar-bottom select {
    padding: 4px 11px;
  }

  .booking-sidebar br {
    display: none;
  }

  .booking-block {
    display: block;
  }

  .booking-sidebar {
    width: auto;
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin: 0;
  }

  #calendar {
    max-height: calc(100vh - 160px);
  }

  .calendar-top {
    display: none;
  }

  .bc-content li:first-child {
    top: 0;
  }

  .calendar-current-date {
    font-size: 18px;
  }

  .booking-sidebar .label-input {
    margin-bottom: 12px;
  }

  .datepicker-inline .datepicker {
    margin: 0 auto;
  }

  .selected-date {
    display: block;
  }

  .booking-item-form .right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
  }

  .booking-item-form .right p {
    order: 1;
  }

  .booking-item-form .right h3 {
    order: 2;
    flex: 1;
  }

  .booking-item-form .right > div {
    order: 3;
    align-self: flex-end;
  }

  .booking-item-form {
    margin-bottom: 12px;
  }

  .booking-item-form .right > p:after {
    content: ':';
  }

  .booking-item-form:last-child .right p:after {
    display: none;
  }

  .booking-item-form:last-child .right {
    display: block;
  }

  .image-show {
    right: 0;
    width: 90vw;
    left: auto;
  }

  .booking-room-image {
    max-width: 320px;
  }
}
