#homepage_booking {
  --booking-max-width: min(100%, 60rem);
}

.booking-section-outside-wrapper {
  padding-block-end: 2.1875rem;
  background: #fff;
}

.hbook-wrapper-booking-form p, 
.hbook-wrapper-booking-form span,
.hbook-wrapper-booking-form div,
.hb-people-wrapper select {
  font-family: var(--wp--preset--font-family--inter);
}

.hb-people-wrapper select {
  min-width: 4em;
  padding-inline: .5em;
}

.hbook-wrapper-booking-form input[type="text"] {
  height: 3rem;
  font-family: var(--wp--preset--font-family--inter);
  font-size: .9375rem;
}

.hbook-wrapper-booking-form input[type="submit"],
.house-rules-wrapper .wp-element-button,
.booking-section .wp-element-button {  
  width: fit-content;
  font-family: var(--wp--preset--font-family--inter);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.66rem;
  background-color: var(--wp--preset--color--ochre);
  height: fit-content;
  border-width: .0625rem;
  padding: .5625rem .8125rem;
  text-wrap: wrap;
  cursor: pointer;
  text-transform: uppercase
}

@media(width >= 781px) {
  .hbook-wrapper-booking-form input[type="submit"] {
    font-size: 1.375rem;
  }
}

.hbook-wrapper-booking-form label {
  font-family: var(--wp--preset--font-family--inter);
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.13rem;
  margin-bottom: .5rem;
}

.booking-heading {
  font-family: var(--wp--preset--font-family--lexenddeca);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 2.1875rem;
  text-transform: uppercase;
}

@media(width >= 781px) {
  .booking-heading {
    position: absolute;
    --heading-offset: -76px;
    top: var(--heading-offset);
    font-size: 2.7875rem;
    line-height: 3.48125rem;
  }
}

@media(width <= 781px) {
  .booking-heading,
  .hbook-wrapper-booking-form {
    padding-left: .25rem;
  }
}

.hb-title.hb-title-search-form {
  display: none;
}

.booking-section-outside-wrapper .booking-section-inside-wrapper {
  background-color: var(--wp--preset--color--ochre);
  max-width: 980px;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.booking-section {
  position: relative;
  width: 90%;
  padding-bottom: 2rem;
  margin: 0 auto;
}

@media(width >= 781px) {
  .booking-section-inside-wrapper {
    background-color: var(--wp--preset--color--ochre);
    max-width: 980px;
  }

  div.wp-block-group.booking-section-inside-wrapper.is-layout-constrained.wp-block-group-is-layout-constrained {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .booking-section {
    width: 65%;
  }
}

.hb-search-fields {
  display: flex;
  flex-direction: column;
  flex-direction: row;
  flex-wrap: wrap;
}

.hb-vertical-search-form .hb-check-dates-wrapper,
.hb-horizontal-search-form .hb-check-dates-wrapper {
  width: 100%;
}

@media(width >= 781px) {
  .hb-search-fields {
    justify-content: flex-start;
  }

  .hb-search-fields > .hb-check-dates-wrapper  {
    margin-right: 10%;
    width: 45%;
  }

  .hb-search-fields > .hb-check-dates-wrapper ~ .hb-check-dates-wrapper {
    margin-right: 0;
  }

}

.hb-vertical-search-form:not(.hb-search-form-no-children) p.hb-people-wrapper {
  width: 20%;
}

.hb-vertical-search-form:not(.hb-search-form-no-children) p.hb-people-wrapper {
  width: fit-content;
}

.hb-vertical-search-form:not(.hb-search-form-no-children) p.hb-people-wrapper-adults,
.hb-vertical-search-form .hb-searched-summary p.hb-people-wrapper,
.hb-horizontal-search-form:not(.hb-search-form-no-children) p.hb-people-wrapper-adults,
.hb-horizontal-search-form .hb-searched-summary p.hb-people-wrapper {
  margin-right: 3.75rem;
}

@media(width >= 781px) {
  p.hb-people-wrapper-adults {
    margin-right: 5.75rem;
  }
}

@media(width >= 781px) {
  .hb-vertical-search-form p.hb-check-dates-wrapper ,
  .hb-horizontal-search-form p.hb-check-dates-wrapper  {
    width: 45%;
  }
}

.hb-adults, 
.hb-children {
  height: 3rem;
}

div.hb-accom-list,
form.hb-booking-details-form {
  max-width: none;
}

.hb-accom-page .hb-multi-accom-choices.hb-accom-page-one-result .hb-accom {
  border: 0;
  border-top: .0625rem dotted;
}

.hb-accom-desc {
  display: none;
}

.hb-search-button-wrapper {
  width: 100%;
}

.hb-chosen-adutls, .hb-chosen-children {
  min-width: 5.75rem;
}

.hb-datepick-popup-wrapper a {
  text-decoration: none;
  color: #000;
}

.hb-day-available {
  border: 1px solid;
}

@media(width >= 781px) {
  .booking-section-outside-wrapper {
    display: grid;
    padding-inline: 6rem 4.5rem;
    grid-template-areas: 'side-text info dummy';
    grid-template-columns: 2rem auto 2rem;
    place-items: center;
    margin: 0 auto;
  }

  .booking-section-side-text-wrapper {
    grid-area: side-text;
    display: flex;
    text-orientation: mixed;
  }
}

.booking-section-side-text {
  display: none;
}

@media(width >= 781px) {
  .booking-section-side-text {
    display: flex;
    text-transform: uppercase;
    font-family: var(--wp--preset--font-family--inter);
    font-weight: 400;
    font-size: .9375rem;
    letter-spacing: .2em;
    margin-block-start: 0;
    gap: 1.5625rem;
    text-wrap: nowrap;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    gap: 1.4375rem;
    align-items: center;
  }
  
  .booking-section-side-text::before {
    content: '';
    display: inline-block;
    background: #000;
    width: 1px;
    height: 216px;
  }
}

.house-rules-wrapper {
  display: none;
  flex-direction: column;
  font-family: var(--wp--preset--font-family--inter);
  background: rgba(255, 242, 226, .9);;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 500;
}

.house-rules {
  background-color: white;
  filter: drop-shadow(0 0 3rem hsla(0, 0%, 0%, .2));
  padding: 2.5rem 3.125rem;
  overflow-y: auto;
}

@media(width >= 781px) { 
  .house-rules {
    max-width: var(--booking-max-width) !important;
  }
}

.house-rules p,
.house-rules li {
  font-size: .9375rem;
}

.house-rules h3 {
  font-size: 1rem;
}

.house-rules ul {
  padding: 0;
}

.house-rules li {
  list-style-type: none;
  padding: 1.25rem 0;
  border-top: .0625rem solid #000;
}

.house-rules li:first-child{
  border-top: none;
  padding-top: .5rem;
}

.house-rules-wrapper .wp-element-button,
.booking-section .wp-element-button {
  font-size: .9375rem;
  color: #000;
  border: .0625rem solid;
  border-radius: 0;
  background-color: transparent;
}

@media(width >= 781px) {
  .house-rules-wrapper .wp-element-button,
  .booking-section .wp-element-button {
  font-size: 1.125rem;
  }
}

.house-rules-wrapper .wp-block-buttons {
  max-width: var(--booking-max-width) !important;
  margin-top: 10vh !important;
  justify-content: flex-end;
  width: 100%;
}

@media(width >= 1512px) {
  .booking-section .wp-block-buttons {
    position: absolute;
    --button-offset-x: 3.125rem;
    --button-offset-y: -6.0625rem;
    top: var(--button-offset-y);
    right: 0;
  }
}

.house-rules-wrapper .close-house-rules a {
  color: #FFF;
  background-color: #000;
}

.hb-resa-summary-content {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 0;
}