.bw-main {
  --bw-brand-color: #412c1a;
  --bw-text-on-brand-color: #fff;
  --bw-brand-color2: #412c1a;
  --bw-text-on-brand2-color: #fff;
}

.booking-widget {
  --swiper-theme-color: var(--color-brand);
  --swiper-navigation-size: 24px;

  --adp-cell-background-color-in-range: #412c1a80;
  --adp-cell-background-color-selected: #412c1a;
}

.air-datepicker-cell.-range-from-,
.air-datepicker-cell.-range-to- {
  color: #fff;
  background-color: #412c1a;
}
.air-datepicker-cell.-in-range- {
  color: #fff;
  background-color: #412c1a80;
}

.bw-search-form {
  gap: 2px;
  padding: 2px;
  background-color: var(--color-brand);
}

.bw-search-form .bw-form-input-container {
  background-color: white;
  height: 43px;
  /* padding: 0 10px !important; */
}

.bw-search-form .bw-form-input-wrapper {
  /* background-color: white; */
  /* padding: 0; */
}

.bw-search-form .bw-form-input-container .bw-form-input-container-content {
  border: none;
  padding: 0;
  gap: 12px;
}

.bw-search-form .bw-form-input-wrapper svg {
  width: 24px;
  height: 24px;
  color: var(--color-brand2);
}

.bw-search-form .bw-form-input-label {
  position: absolute;
  left: 38px;
  font-size: 11px;
  font-weight: 400;
  top: 7px;
  /* display: none; */
}

.bw-search-form input,
.bw-search-form .bw-search-form-guests-label {
  margin-top: 12px;
  font-weight: 600;
}

.bw-search-form-guests {
  flex-grow: 1;
  /* align-self: stretch; */
}

.bw-search-form-guests-label {
  flex-grow: 1;
}

.bw-search-form-search-button {
  align-self: stretch;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 0;
  padding: 0 12px;
  height: 43px;
}

.bw-search-form-guests-container {
  border-radius: 0;
  box-shadow: 0px 4px 40px 0px #00000026;
  top: calc(100% + 4px);
  border: none;
  min-width: 320px;
  max-width: 100vw;
}

.bw-search-form-guests-counts {
  flex-direction: column;
  gap: 0;
}

.bw-search-form-guests-counts .bw-form-input-label {
  font-size: 14px;
  font-weight: 600;
}

.bw-search-form-guests-count-button,
.bw-search-form-guests-age-button {
  background-color: var(--color-brand);
  border-radius: 0;
  color: #fff;
  transition: all 300ms ease;
}

.bw-search-form-guests-counts .bw-search-form-guests-count-button svg,
.bw-search-form-guests-container .bw-search-form-guests-age-button svg {
  color: #fff;
}

.bw-search-form-guests-close-button {
  background-color: transparent;
  border-radius: 0;
  border: none;
}

.bw-search-form-childlist-title {
  text-align: center;
  background-color: white;
  position: relative;
}

.bw-search-form-childlist-title::before {
  content: '';
  height: 1px;
  background-color: var(--color-brand);
  width: 118px;
  display: block;
  position: absolute;
  top: 10px;
}

.bw-search-form-childlist-title::after {
  content: '';
  height: 1px;
  background-color: var(--color-brand);
  width: 118px;
  display: block;
  position: absolute;
  top: 10px;
  right: 0;
}

.bw-search-form-child-item {
  flex-basis: 100%;
}

.bw-search-form .bw-search-form-child-item .bw-form-input-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.bw-search-form .bw-search-form-child-item .bw-form-input-container .bw-form-input-label {
  position: relative;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 600;
}

.bw-search-form
  .bw-search-form-child-item
  .bw-form-input-container
  .bw-form-input-container-content {
  flex-grow: 0;
}

.bw-booking-screen .bw-form-input-container {
  padding: 0;
}

.bw-book-form .bw-search-form-guests-count {
  font-weight: 600;
}

.bw-search-form-guests-counts .bw-form-input-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.bw-search-form-guests-counts .bw-form-input-container .bw-form-input-container-content {
  flex-grow: 0;
}

.bw-search-form-guests-counts .bw-form-input-container .bw-form-input-label {
  position: relative;
  top: 0;
  left: 0;
}

.bw-search-form-guests-outer {
  background-color: transparent;
}

.bw-container {
  margin: 20px;
  max-width: calc(100vw - 40px);
}

.bw-hotel-room-description {
  white-space: pre-wrap;
  order: 2;
  transition: all 300ms ease-in-out;
}

.bw-hotel-room-description-expand-button {
  order: 3;
  border: none;
  border-radius: 0;
  color: var(--color-brand);
  padding-right: 30px;
  position: relative;
}

.bw-hotel-room-description-expand-button::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -4px;
  opacity: 0.2;
}

.bw-hotel-room-description-expand-button::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--color-brand);
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -6px;
  opacity: 0.4;
}

.bw-hotel-room-description-collapsed {
  max-height: 45px;
  overflow: hidden;
}

.bw-hotel-room-description-expanded {
  max-height: none;
  overflow: hidden;
}

.bw-images-slider-slide {
  max-height: 300px !important;
  overflow: hidden;
  object-fit: cover;
}

.bw-hotel-room-images img {
  height: 300px !important;
}

.bw-hotel-room-name {
  font-size: 20px;
}

.bw-hotel-room-rate-description {
  white-space: pre-wrap;
}

.bw-hotel-room-head {
  display: none;
}

.bw-hotel-room-info {
  gap: 12px;
  align-items: flex-start;
  min-height: 256px;
}

.bw-hotel-room-choose {
  flex-wrap: wrap;
  position: relative;
}

.bw-hotel-room-list-items {
  margin: 56px 0 0 0;
}

.bw-hotel-room-name {
  padding: 0;
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  order: 0;
}

.bw-hotel-room-amenities {
  order: 4;
}

.bw-hotel-room-param svg {
  color: var(--color-brand);
}

.bw-hotel-room-param {
  gap: 4px;
  font-weight: 600;
}

.bw-hotel-room-minprice {
  font-size: 32px;
  font-weight: 600;
  font-family: 'Glober';
}

.bw-hotel-room-days {
  font-size: 15px;
}

.bw-hotel-room-showprices.bw-button {
  border: 1px solid var(--color-brand);
  border-radius: 0;
  padding: 0 40px;
  min-height: auto;
  flex-grow: 1;
}

.bw-hotel-room-hideprices.bw-button {
  border: 1px solid var(--color-brand);
  background-color: var(--color-brand);
  color: #fff;
  border-radius: 0;
  padding: 0 40px;
  min-height: auto;
  flex-grow: 1;
}

.bw-hotel-room-rate-name {
  font-family: 'Palatino Linotype';
  font-size: 16px;
}

.bw-hotel-room-rate-variant {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.bw-hotel-room-book.bw-button {
  flex-basis: 100%;
}

.bw-hotel-room-book.bw-button,
.bw-booking-form-book.bw-button {
  border-radius: 0;
  background-color: var(--color-brand2);
  color: #fff;
  min-height: 42px;
  padding: 0 70px 0 20px;
  order: 0;
  position: relative;
  font-weight: 600;
}

.bw-hotel-room-rate-variant-discount {
  font-size: 12px;
  order: 1;
  flex-basis: auto;
  flex-grow: 0;
}

.bw-hotel-room-rate-variant-oldprice {
  order: 2;
  flex-basis: auto;
  flex-grow: 0;
  font-size: 12px;
}

.bw-hotel-room-rate-variant-price {
  flex-basis: 100%;
  font-size: 32px;
  font-weight: 600;
  font-family: 'Glober';
  order: 3;
  margin-left: 0;
  justify-content: flex-start;
}

.bw-hotel-room-rate-variant-nights {
  flex-basis: auto;
  order: 4;
}

.bw-hotel-room-rate-variant-peoples {
  flex-basis: auto;
  order: 5;
}

.bw-hotel-room-book::before,
.bw-booking-form-book::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  right: 46px;
  top: 50%;
  margin-top: -4px;
  opacity: 0.2;
}

.bw-hotel-room-book::after,
.bw-booking-form-book::after {
  content: '';
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  right: 30px;
  top: 50%;
  margin-top: -6px;
  opacity: 0.4;
}

.bw-booking-screen-title {
  font-family: 'Palatino Linotype';
  font-weight: 400;
  font-size: 37px;
}

.bw-booking-screen-date-icon,
.bw-booking-screen-people-icon {
  color: var(--color-brand);
}

.bw-booking-screen-people {
  margin: 12px 0 0 0;
}

.bw-booking-screen-room-name {
  padding: 0;
}

.bw-booking-screen-room-title,
.bw-booking-form-title {
  font-size: 13px;
  font-weight: 400;
  border-left: 1px solid var(--color-brand);
  padding: 3px 12px;
  margin: 24px 0 0 0;
}

.bw-form-booking .bw-form-input-container {
  flex-basis: 100%;
}

.bw-form-booking .bw-booking-form-customer-phone,
.bw-form-booking .bw-form-input-container .bw-booking-form-customer-email {
  flex-basis: 40%;
  flex-grow: 1;
  flex-shrink: 0;
}

.bw-form-booking .bw-form-input-container .bw-booking-form-customer-comment {
  flex-basis: 100%;
  max-width: none;
}

.bw-form-booking .bw-form-input-container-content {
  border: 1px solid var(--bw-brand-color2);
  padding: 12px 10px;
}

.bw-form-booking .bw-form-input-label {
  display: none;
}

.bw-booking-form-customer-title {
  margin: 24px 0;
}

.bw-booking-form-guest-number {
  background-color: var(--color-brand2);
  color: #fff;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bw-booking-form-sum {
  font-size: 15px;
  font-weight: 600;
  margin: 24px 0 0 0;
}

.bw-booking-form-guests-list {
  margin: 24px 0 0 0;
}

.bw-payment-option-status-selected {
  border-color: var(--color-brand2);
  background-color: var(--color-brand2);
  color: var(--color-brand);
}

@media only screen and (min-width: 768px) {
  .bw-hotel-room-rate-variants {
    flex-basis: auto;
  }

  .bw-hotel-room-body {
    /* flex-wrap: wrap; */
    /* justify-content: flex-end; */
    flex-grow: 1;
    display: block;
  }

  .bw-hotel-room-images {
    float: left;
  }

  .bw-hotel-room-info,
  .bw-hotel-room-choose {
    max-width: calc(100% - 400px - 12px);
    flex-grow: 1;
    padding: 0 0 0 24px;
    margin: 0 0 0 auto;
  }

  .bw-hotel-room-showprices.bw-button,
  .bw-hotel-room-hideprices.bw-button {
    flex-grow: 0;
  }

  .bw-hotel-room-choose {
    display: flex;
    flex-direction: row;
  }

  .bw-hotel-room-days {
    flex-grow: 1;
  }

  .bw-hotel-room-rate-variant {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .bw-hotel-room-rate-name {
    font-size: 24px;
    font-weight: 700;
  }

  .bw-hotel-room-book.bw-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: auto;
    order: 0;
  }

  .bw-hotel-room-rate-variant-oldprice {
    order: 1;
  }

  .bw-hotel-room-rate-variant-discount {
    order: 2;
  }

  .bw-hotel-room-rate-variant-price {
    flex-basis: auto;
    font-size: 32px;
    font-weight: 600;
    font-family: 'Glober';
    order: 3;
    margin-left: 12px;
  }
  .bw-hotel-room-rate-variant-nights {
    flex-basis: auto;
    order: 4;
  }

  .bw-hotel-room-rate-variant-peoples {
    flex-basis: auto;
    order: 5;
  }

  .bw-hotel-room-rate {
    flex-direction: column;
    align-items: flex-start;
  }

  .bw-hotel-room-rate {
    gap: 12px;
  }

  .bw-booking-screen-title {
    font-size: 50px;
  }

  .bw-booking-screen-dates {
    float: left;
  }

  .bw-booking-screen-people {
    padding-left: 12px;
    margin: 0;
  }

  .bw-form-booking .bw-form-input-container {
    flex-basis: auto;
  }
}

@media only screen and (max-width: 500px) {
  .bw-search-form-date {
    flex-basis: 100%;
  }

  .bw-hotel-room-body {
    display: flex;
  }
}

@media (hover: hover) {
  .bw-button-small:hover {
    background-color: var(--color-brand2);
    color: var(--color-text-on-brand2);
  }

  .bw-button-small.bw-hotel-room-description-expand-button:hover {
    background-color: transparent;
    color: var(--color-text-on-brand2);
  }

  .bw-button-small.bw-hotel-room-description-expand-button:hover::after {
    opacity: 0.8;
  }

  .bw-button-small.bw-hotel-room-description-expand-button:hover::before {
    opacity: 0.4;
  }

  .bw-hotel-room-showprices.bw-button:hover {
    background-color: transparent;
    border: 1px solid var(--color-brand2);
    color: var(--color-text-on-brand2);
  }

  .bw-hotel-room-hideprices.bw-button:hover {
    background-color: var(--color-brand2);
    border: 1px solid var(--color-brand2);
  }

  .bw-hotel-room-book.bw-button:hover,
  .bw-booking-form-book.bw-button:hover {
    color: var(--color-text-on-brand2);
  }

  .bw-payment-option:hover {
    background-color: transparent;
  }
}

.bw-search-form-promocode-button {
  flex-direction: row;
  gap: 8px;
}

.bw-search-form-promocode-container {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
}

.bw-search-form-promocode-button-icon {
  height: 24px;
  width: 24px;
}

.bw-search-form-promocode-button-icon svg {
  width: 100%;
  height: 100%;
}

.bw-search-form-promocode-button-text {
  display: block;
  font-size: inherit;
}
.bw-search-form-promocode-container .bw-form-input-container {
  padding: 0;
}

.bw-search-form-promocode-container .bw-form-input-container .bw-form-input-container-content {
  padding-left: 12px;
}
.bw-search-form-promocode-container .bw-form-input-wrapper {
  border: 1px solid var(--color-brand);
  /* padding: 8px 12px; */
}

.bw-search-form-promocode-container input {
  margin: 0;
  font-size: 15px;
}

.bw-search-form-promocode-container .bw-form-input-container svg {
  color: var(--color-brand2);
}

.bw-button {
  height: 42px;
}

.bw-hotel-room-discount {
  position: absolute;
  left: 20px;
  top: -20px;
}

.bw-booking-form-sum-discount,
.bw-hotel-room-discount,
.bw-hotel-room-rate-variant-discount {
  width: 50px;
  height: 22px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 100%;
  background-color: rgba(190, 0, 3, 0.2);
}

.bw-hotel-room-oldprice {
  position: absolute;
  left: 80px;
  top: -18px;
  font-weight: 800;
}

.bw-booking-form-sum-discount-label {
  display: none;
}

.bw-hotel-room-rate-variant-discount-label {
  display: none;
}
