#booking {
  position: relative;
  min-height: 120px;
  flex-direction: row;
  align-items: center;
  margin: 30px auto;
  padding: 0px 60px;
  z-index: 3;
}

#booking,
#booking * {
  touch-action: manipulation !important;
}

#booking form {
  width: 100%;
  max-width: 950px;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

#booking .searchbtn {
  margin: 20px;
}

#booking .bookingbtn {
  display: flex;
  position: relative;
  flex-direction: row;
  font-size: 16px;
  flex: 3;
  height: 100%;
  justify-content: space-around;
  padding: 10px;
  cursor: pointer;
}

#booking .bookingbtn > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 185px;
}

#booking .bookingbtn > div:not(#calendar) > div:not(:first-child) {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid var(--raisin-black);
  padding-bottom: 5px;
}

#booking .bookingbtn > div:not(#calendar) > div:not(:first-child) img {
  margin-right: 5px;
}

#booking .bookingbtn > div div:first-child {
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

#booking .bookingbtn > div div:nth-child(2) {
  display: flex;
  flex-direction: column;
  font-size: 20px;
}

#booking:not(.active)
  .bookingbtn:not(:hover)
  > div
  div:nth-child(2):not(.selected) {
}

#booking .guestbtn {
  flex: 1;
  align-items: center;
  justify-content: center;
}

#booking .guestbtn svg {
  width: 80%;
  height: 80%;
}

#booking .guestbtn > div {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  justify-content: center;
  font-size: 16px;
  width: 100%;
  align-items: center;
}

#booking .guestbtn > div > div:first-child {
  text-transform: uppercase;
  margin-bottom: 10px;
}

#booking .guestbtn > div > div:nth-child(2) {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
}

#booking .guestbtn .btn {
  border-radius: 50%;
  border: 1px solid var(--raisin-black);
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#booking .guestbtn .nguests {
  width: 20px;
  overflow: hidden;
  justify-content: center;
}

#booking {
  user-select: none !important;
  -webkit-user-select: none !important;
}

#booking.active #calendar .days {
  width: 200px;
  height: 30px;
  margin: 1px 0px;
}

#booking.active #calendar .days th,
#booking.active #calendar .days td {
  background: var(--sea-salt);
  color: var(--raisin-black);
  text-align: center;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin: 2px;
}
#booking.active #calendar .days th {
  background-color: var(--platinum);
}

#booking.active #calendar .days td.past {
  color: var(--platinum);
  cursor: default;
}

#booking.active #calendar .days td.unavailable {
  color: var(--primary-500);
  cursor: default;
  text-decoration: line-through;
}

#booking.active #calendar .days td:not(:empty):not(.past):not(.unavailable):hover {
  cursor: pointer;
}

#booking.active
  #calendar
  .days
  td:not(:empty):not(.past):not(.empty):not(.active):not(.unavailable):hover {
  background-color: var(--platinum);
}

#booking.active #calendar .days td:empty {
  background-color: transparent;
  cursor: default;
}

#booking.active #calendar .days td.active {
  background-color: var(--raisin-black);
  color: var(--sea-salt);
}

#booking div.border {
  display: none;
}

#booking.active div.border {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  border-bottom: 0;
  top: 0;
  left: 0;
  pointer-events: none;
}

#booking #calendar {
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  position: absolute;
  border: 1px solid var(--raisin-black);
}

#booking #calendar .btn {
  cursor: pointer;
}

#calendar .days th,
#calendar .days td {
  width: 30px;
  height: 30px;
  margin: 2px;
  border: 1px solid var(--raisin-black);
}

#booking.active #calendar {
  position: relative;
  visibility: visible;
  max-height: 400px;
  z-index: 2;
  padding: 20px;
  display: flex;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  min-width: 600px;
  background-color: var(--sea-salt);
  flex-direction: row;
  justify-content: space-around;
  cursor: default;
  min-height: 290px;
}

#booking.active #calendar * {
  font-size: 14px;
}

#calendar .month {
  display: flex;
  flex-direction: column;
}

#calendar .days {
  text-decoration: none;
}

#calendar .closebtn {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 20px;
  cursor: pointer;
  font-weight: 700;
}

#booking.active #calendar .chevron {
  cursor: pointer;
  height: 24px;
}

@media (max-width: 1023px) {
  #booking form .btn {
    width: 100%;
    margin: 0;
  }

  #booking form .searchbtn {
    width: 50%;
    justify-content: center;
    margin-top: 20px;
  }

  #booking form {
    padding: 10px;
  }

  #booking form {
    flex-direction: column;
  }

  #booking {
    margin: 50px 0px;
    padding: 0;
  }

  #booking .bookingbtn {
    flex-direction: column;
    align-items: center;
  }

  #booking .bookingbtn > div {
    margin: 20px auto;
  }

  #booking .guestbtn {
    width: 100%;
    max-width: 200px;
  }

  #booking .searchbtn {
    text-align: center;
  }

  #booking #calendar .month2 {
    display: none;
  }

  #booking.active #calendar {
    top: 0%;
    min-width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
  }

  .resultsWrapper .backgroundRectangle {
    display: none;
  }

  #results.results {
    padding: 10px;
  }

  #results .result {
    width: 100%;
    padding: 10px;
  }

  #results .result img {
    max-width: 100%;
  }

  #results .result .resultContent > * {
    margin: 20px 0px;
  }

  #results .result .resultFooter {
    height: 250px;
  }

  #results .result .resultFooter > div {
    width: 100%;
  }

  #results .result > div {
    flex-direction: column;
    align-items: center;
  }

  #results .result .selectedDatesWrapper {
    max-width: 300px;
    margin: 20px auto;
  }

  #results .result .resultFooter .pricingBreakdown {
    margin: auto;
    width: 100%;
  }
}
