/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

:root {
  --bub-ownerrez-plugin-primary-color: #0b4e79;
  --bub-ownerrez-plugin-secondary-color: #1774ca;
}

/* TEST */

/* Placeholders for dynamic styling */
.bub-property-card {
  /* border-color will be set dynamically */
}

.bub-property-card .bub-property-title {
  /* color will be set dynamically */
}

.bub-property-card .bub-property-price {
  /* background-color will be set dynamically */
}

.bub-property-card .bub-property-button {
  /* background-color and border-color will be set dynamically */
}

/* END: Test */

.property-amenity-list-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.property-amenity-item {
  flex: 0 0 31%;
  display: flex;
  color: #42494f;
}

span.property-icon-list-icon {
  margin-right: 10px;
  width: 20px;
}

span.property-icon-list-text {
  font-size: 14px;
}

[data-star] {
  text-align: left;
  font-style: normal;
  display: inline-block;
  position: relative;
  unicode-bidi: bidi-override;
}
[data-star]::before {
  display: block;
  content: "★★★★★";
  color: #eee;
  font-size: 24px;
}
[data-star]::after {
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  content: "★★★★★";
  width: 0;
  color: var(--bub-ownerrez-plugin-primary-color);
  overflow: hidden;
  height: 100%;
  font-size: 24px;
}

[data-star^="0.1"]::after {
  width: 2%;
}
[data-star^="0.2"]::after {
  width: 4%;
}
[data-star^="0.3"]::after {
  width: 6%;
}
[data-star^="0.4"]::after {
  width: 8%;
}
[data-star^="0.5"]::after {
  width: 10%;
}
[data-star^="0.6"]::after {
  width: 12%;
}
[data-star^="0.7"]::after {
  width: 14%;
}
[data-star^="0.8"]::after {
  width: 16%;
}
[data-star^="0.9"]::after {
  width: 18%;
}
[data-star^="1"]::after {
  width: 20%;
}
[data-star^="1.1"]::after {
  width: 22%;
}
[data-star^="1.2"]::after {
  width: 24%;
}
[data-star^="1.3"]::after {
  width: 26%;
}
[data-star^="1.4"]::after {
  width: 28%;
}
[data-star^="1.5"]::after {
  width: 30%;
}
[data-star^="1.6"]::after {
  width: 32%;
}
[data-star^="1.7"]::after {
  width: 34%;
}
[data-star^="1.8"]::after {
  width: 36%;
}
[data-star^="1.9"]::after {
  width: 38%;
}
[data-star^="2"]::after {
  width: 40%;
}
[data-star^="2.1"]::after {
  width: 42%;
}
[data-star^="2.2"]::after {
  width: 44%;
}
[data-star^="2.3"]::after {
  width: 46%;
}
[data-star^="2.4"]::after {
  width: 48%;
}
[data-star^="2.5"]::after {
  width: 50%;
}
[data-star^="2.6"]::after {
  width: 52%;
}
[data-star^="2.7"]::after {
  width: 54%;
}
[data-star^="2.8"]::after {
  width: 56%;
}
[data-star^="2.9"]::after {
  width: 58%;
}
[data-star^="3"]::after {
  width: 60%;
}
[data-star^="3.1"]::after {
  width: 62%;
}
[data-star^="3.2"]::after {
  width: 64%;
}
[data-star^="3.3"]::after {
  width: 66%;
}
[data-star^="3.4"]::after {
  width: 68%;
}
[data-star^="3.5"]::after {
  width: 70%;
}
[data-star^="3.6"]::after {
  width: 72%;
}
[data-star^="3.7"]::after {
  width: 74%;
}
[data-star^="3.8"]::after {
  width: 76%;
}
[data-star^="3.9"]::after {
  width: 78%;
}
[data-star^="4"]::after {
  width: 80%;
}
[data-star^="4.1"]::after {
  width: 82%;
}
[data-star^="4.2"]::after {
  width: 84%;
}
[data-star^="4.3"]::after {
  width: 86%;
}
[data-star^="4.4"]::after {
  width: 88%;
}
[data-star^="4.5"]::after {
  width: 90%;
}
[data-star^="4.6"]::after {
  width: 92%;
}
[data-star^="4.7"]::after {
  width: 94%;
}
[data-star^="4.8"]::after {
  width: 96%;
}
[data-star^="4.9"]::after {
  width: 98%;
}
[data-star^="5"]::after {
  width: 100%;
}

.property-info-wrap h1 {
  color: #42494f;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 0;
}
.property-info-wrap h2 {
  color: #42494f;
  font-size: 20px;
  font-weight: 300;
}

.property-details {
  display: flex;
}

.property-detail-col p {
  font-size: 14px;
}

.property-detail-col i {
  color: #a26b53;
  margin-right: 2px;
}

.property-detail-col:not(:last-child) {
  margin-right: 12px;
}

.property-desc {
  margin-top: 25px;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.property-header h2 {
  margin-bottom: 5px;
}

h2.amenities-hdr {
  margin-top: 30px;
}

span.property-icon-list-text {
  font-size: 14px;
  font-weight: 400;
}

.property-detail-col p {
  font-size: 14px;
  color: #42494f;
}

.bub_ownerrez_photo_slider .swiper-button-next:after,
.bub_ownerrez_photo_slider .swiper-button-prev:after {
  color: #fff !important;
}

.bub_ownerrez_photo_slider.swiper img {
  max-width: 615px !important;
  opacity: 0.25;
}

.bub_ownerrez_photo_slider.swiper.loaded img {
  opacity: 1;
  max-width: 100% !important;
}

/*  all properties shortcode */

.ownerrez-properties-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}

.ownerrez-property-card {
  color: #fff;
  position: relative;
  /* 	min-height: 35vw;
  display: flex;
  align-items: flex-end; 
  background-size: cover!important;
  background-position: center!important; */
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0px 4px 26px 0px rgba(66, 71, 76, 0.0784313725490196);
}

.ownerrez-property-card img {
  max-width: 100%;
}

/* .ownerrez-property-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 1;
} */

.property-summary i {
  margin-right: 7px;
}

.ownerrez-property-card a.property-url {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.property-summary {
  display: flex;
  font-size: 15px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 20px;
}

.property-summary p {
  margin: 0;
}

.property-summary p.pets-allowed {
  background: #0fb8f0;
  padding: 0px 7px;
  border-radius: 5px;
  line-height: 1.75em;
  color: #fff;
  font-size: 16px;
}

.ownerrez-property-card-inner {
  z-index: 2;
  color: #000;
}

#response-container .ownerrez-property-card-inner h3 {
  color: #1c1c1e;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

span.ownerrez-property-card-subtitle {
  color: #717171;
  font-size: 14px;
  display: flex;
  margin-bottom: 0.9rem;
}

span.ownerrez-property-card-subtitle svg {
  width: 16px;
  margin-right: 7px;
  fill: #717171;
}

#response-container .property-summary {
  padding-bottom: 16px;
  border-bottom: 1px solid #f8f8f8;
  margin-bottom: 20px;
}

div#response-container .ownerrez-featured-list__type {
  display: inline-block;
  font-family: "Poppins", Sans-serif;
  font-size: 12px;
  font-weight: 400;
  background-color: var(--bub-ownerrez-plugin-primary-color);
  border-radius: 5px 5px 5px 5px;
  padding: 6px 10px 6px 10px;
  color: #fff;
}

div#response-container .ownerrez-featured-list__type p {
  margin: 0;
}

.property-summary p {
  margin-bottom: 8px;
}

.property-text {
  font-size: 12px;
}

.loader-text {
  width: 100%;
  display: block;
  font-family: "DM Sans", Sans-serif;
  text-align: center;
  position: relative;
}

.pulsate {
  animation: pulsate 1s ease-out;
  -webkit-animation: pulsate 1s ease-out;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  opacity: 0.5;
}

@keyframes pulsate {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

/* featured images */

.bub-featured-properties {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.bub-featured-property {
  transition: 0.3s all ease;
}

.bub-featured-property:hover {
  opacity: 0.8;
}

.bub-featured-property a {
  color: #333 !important;
}

.property-image {
  background-size: cover !important;
  height: 250px;
  background-position: center !important;
}

.bub-featured-properties .property-summary {
  display: flex;
  gap: 0 12px;
  font-size: 12px;
  padding: 0 10px;
}

.bub-featured-property h3 {
  font-size: 24px;
  font-weight: 400;
}

.bub-featured-property h3 {
  font-weight: 400;
}

.bub-featured-property {
  text-align: center;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding-bottom: 10px;
  background: #fff;
}

.bub-featured-property .property-summary {
  justify-content: center;
  flex-wrap: wrap;
}

.ownerrez-widget[data-widget-type="WP Site - Booking/Inquiry"] {
  box-shadow: 0px 3px 14px rgba(0, 0, 0, 0.1882352941);
  padding: 20px 30px 10px 30px;
}

@media (max-width: 980px) {
  .property-details {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
  }

  .property-detail-col p {
    margin-bottom: 5px;
  }

  .bub-featured-properties {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ownerrez-property-card.legacy-style {
    min-height: 400px;
  }

  .ownerrez-property-card {
    min-height: 320px;
  }

  .ownerrez-properties-grid,
  .bub-featured-properties {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  span.property-icon-list-text {
    font-size: 16px;
  }

  .property-amenity-list-inner {
    gap: 20px;
  }

  .property-amenity-item {
    flex: 100%;
  }

  .property-amenity-list {
    margin-bottom: 20px;
  }
}

form#availability-form {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  position: relative;
}

form#availability-form label {
  /*     display: none; */
  font-family: "DM Sans";
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0 2px;
  position: absolute;
  top: -13px;
}

form#availability-form input.datepicker {
  background: #fff !important;
  height: 48px;
}

form#availability-form input,
form#availability-form select {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.84px;
  /* border-radius: 0 !important; */
  padding: 12px 15px;
}

/* input#start-date,
input#end-date {
position: relative;
padding: 12px 15px 8px!important;
}
input#start-date::after {
  content: 'Arrival';
  position: absolute;
  font-size: 8px;
  top: 5px;
  left: 16px;
}

input#end-date::after {
  content: 'Departure';
  position: absolute;
  font-size: 8px;
  top: 5px;
  left: 16px;
} */

div#pagination-container {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.pagination-label {
  font-size: 16px;
  text-align: center;
}

div#pagination-container a {
  display: inline-block;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #000;
  height: 32px;
  min-width: 32px;
  line-height: 32px;
  font-size: 16px;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
}

div#pagination-container a.active,
div#pagination-container a:hover {
  background: var(--bub-ownerrez-plugin-primary-color);
  border-color: var(--bub-ownerrez-plugin-primary-color);
  color: #fff;
}

div#pagination-container a:not(:last-child) {
  margin-right: 5px;
}

form#availability-form input[type="submit"] {
  background: var(--bub-ownerrez-plugin-primary-color) !important;
  border-color: var(--bub-ownerrez-plugin-primary-color) !important;
  color: #fff;
  padding: 12px 50px;
}

form#availability-form input[type="submit"]:hover,
form#availability-form input[type="submit"]:active,
form#availability-form input[type="submit"]:focus {
  background: var(--bub-ownerrez-plugin-secondary-color) !important;
  border-color: var(--bub-ownerrez-plugin-secondary-color) !important;
}

.property-count {
  font-family: "Arsenal", Sans-serif;
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3.22px;
  text-align: center;
}

.no-properties-found {
  font-size: 32px;
  text-align: center;
}

.search-form-col {
  flex: auto;
  position: relative;
}

.search-form-col input {
  width: 100%;
}

.bub-search-results {
  margin-top: 4vw;
}

a#response-reset {
  color: inherit;
  margin: 0 auto;
  text-align: center;
  border-radius: 25px;
  padding: 7px 15px;
  border: 1px solid;
  display: block;
  width: 9vw;
  margin-bottom: 2vw;
  font-size: 14px;
  transition: all 0.3s ease;
}

a#response-reset:hover {
  color: #fff;
  background: var(--bub-ownerrez-plugin-primary-color);
}

/* Grid Property Photos */

.fancybox__footer [type="button"],
.fancybox__footer [type="reset"],
.fancybox__footer [type="submit"],
.fancybox__footer button {
  width: inherit;
  padding: 0;
  border: none;
}

.bub-property-gallery-1 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px;
}

.bpg-col.bpg-col-right {
  display: flex;
  flex-direction: column;
  width: 50.26vw;
  justify-content: space-between;
  gap: 10px;
}

.bpg-col.bpg-col-left {
  width: 49.115vw;
}

.bpg-row.bpg-right-2 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.bpg-row {
  height: 17.417vw;
}

.bpg-row.bpg-right-2 a {
  width: 24.792vw;
}

.bub-property-gallery-1 a > div {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.bpg-row.bpg-right-1 .show-photos {
  display: none;
}

.bpg-row.bpg-right-2 a:last-child > div {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bpg-row.bpg-right-2 a:last-child > div p {
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 1.5em;
  padding: 0;
}

span.show-photos-ico {
  width: 34px;
  height: 34px;
  background: red;
  display: inline-block;
  background: url(../images/calendar-white.svg);
  background-size: contain;
}

.show-photos {
  text-align: center;
}

.show-photos p {
  margin: 0;
}

.bpg-row.bpg-right-2 a:last-child > div::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.bpg-row.bpg-right-2 a:last-child > div .show-photos {
  position: relative;
}

/* Property Amenities */

ul.bub-property-amenities {
  column-count: 3;
  padding: 0;
}

ul.bub-property-amenities li {
  display: flex;
  align-items: center;
  margin-bottom: 12px !important;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
}

ul.bub-property-amenities li svg {
  width: 100%;
  height: 100%;
}

ul.bub-property-amenities li span {
  padding: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-right: 7px;
  width: 36px;
  height: 36px;
}

ul.bub-property-amenities li p {
  margin: 0;
}

/* Property Amenities */

ul.bub-property-amenities {
  column-count: 3;
  padding: 0;
}

ul.bub-property-amenities li {
  display: flex;
  align-items: center;
  margin-bottom: 12px !important;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
}

ul.bub-property-amenities li svg {
  width: 100%;
  height: 100%;
}

ul.bub-property-amenities li span {
  padding: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-right: 7px;
  width: 36px;
  height: 36px;
}

ul.bub-property-amenities li p {
  margin: 0;
}

#amenitiesLightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1050;
  display: none;
}

.lightbox-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  z-index: 1051;
  height: 80vh;
  width: 43vw;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
}

.lightbox-amenities-header button {
  border: none;
  padding: 0;
  display: inline-block;
  background: #eaeaea;
  padding: 10px;
  border-radius: 50%;
  margin-right: 15px;
}

.lightbox-amenities-header h2 {
  font-size: 16px;
  font-weight: 600;
}

.lightbox-amenities-header {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.lightbox-amenities-header h2 {
  margin: 0;
}

.lightbox-amenities-list {
  overflow-y: scroll;
  height: auto;
  padding: 30px 50px;
}

.lightbox-amenities-header svg {
  width: 24px;
  height: 24px;
}

.close-lightbox {
  display: block;
  margin-top: 20px;
}

.lightbox-content h3 {
  font-size: 16px;
  font-weight: 700;
}

.lightbox-content p {
  font-size: 14px !important;
}

.amenity-item span {
  font-size: 11px;
  padding: 1px 6px;
  background: #eaeaea;
  border-radius: 2px;
  margin-bottom: 2px !important;
  display: inline-block;
  margin-left: 13px;
}

.amenity-item p {
  margin: 0;
  font-size: 14px !important;
}

.amenity-item {
  margin-bottom: 10px;
  line-height: 1.5em;
  padding-left: 20px;
}

.amenities-row {
  margin-bottom: 30px;
}

.amenity-item p::before {
  content: "•";
  margin-right: 10px;
}

button#openAmenitiesLightbox,
button.close-lightbox {
  color: #000;
  border-color: #000;
  margin-top: 16px;
}

button.close-lightbox:hover,
button.close-lightbox:active,
button.close-lightbox:focus,
button#openAmenitiesLightbox:hover,
button#openAmenitiesLightbox:active,
button#openAmenitiesLightbox:focus {
  color: #fff;
  background: var(--bub-ownerrez-plugin-primary-color);
  border-color: var(--bub-ownerrez-plugin-primary-color);
}

button.close-lightbox {
  margin-top: 0;
}
button.close-lightbox:hover svg {
  fill: #fff;
}

/* new styles */

.single-property-body {
  padding: 0 10em;
  margin-top: 5em;
  display: flex;
}

.single-property-left {
  width: 70%;
  padding-right: 7em;
}

.single-property-right {
  width: 30%;
}

.property-archive {
  padding: 10em;
}

.ownerrez-property-img {
  margin-bottom: 20px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

.search-form-col:last-of-type {
  position: relative;
}

.load {
  width: 16px;
  height: 16px;
  margin: 0 auto 0;
  border: solid 2px #fff;
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  -webkit-transition: all 0.5s ease-in;
  -webkit-animation-name: rotate;
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;

  transition: all 0.5s ease-in;
  animation-name: rotate;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  position: absolute;
  top: 15px;
  left: calc(75% - 8px);
}

/* Featured Properties */

.ownerrez-featured-properties {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

.ownerrez-featured-properties .property-item {
  padding: 0;
  margin: 0;
}

.ownerrez-featured-list__gallery.swiper-container {
  position: relative;
  overflow: hidden;
}

.ownerrez-featured-properties.swiper-container.style-1
  .ownerrez-featured-list__item {
  display: flex;
  background: #fff;
}

.ownerrez-featured-properties.swiper-container.style-2
  .ownerrez-featured-list__item {
  flex-direction: column-reverse;
  display: flex;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0px 4px 26px 0px rgba(66, 71, 76, 0.0784313725490196);
  position: relative;
}

.ownerrez-featured-properties.swiper-container.style-2
  .ownerrez-featured-list__item:hover {
  background: #eaf6ff;
}

.ownerrez-featured-properties.style-2
  .ownerrez-featured-list__gallery
  .swiper-slide {
  border-radius: 8px;
}

.ownerrez-featured-properties.swiper-container.style-1
  .ownerrez-featured-list__info {
  width: 37%;
}

.ownerrez-featured-properties.swiper-container.style-1
  .ownerrez-featured-list__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ownerrez-featured-properties.swiper-container.style-1
  .ownerrez-featured-list__info
  p {
  font-size: 14px;
}

.ownerrez-featured-properties.swiper-container .ownerrez-featured-list__type p {
  display: inline-block;
  font-family: "Poppins", Sans-serif;
  font-size: 12px;
  font-weight: 400;
  background-color: #ffbb0b;
  border-radius: 5px 5px 5px 5px;
  padding: 6px 10px 6px 10px;
  color: #fff;
}

.ownerrez-featured-properties.swiper-container.style-2
  .ownerrez-featured-list__type
  p {
  margin: 0;
}

.ownerrez-featured-properties.swiper-container
  .ownerrez-featured-list__info
  h3 {
  font-size: 24px;
  font-weight: 700;
}

.ownerrez-featured-properties.swiper-container.style-2
  .ownerrez-featured-list__info
  h3 {
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.ownerrez-featured-properties.swiper-container.style-1
  .ownerrez-featured-list__gallery {
  width: 63%;
}

.ownerrez-featured-properties.swiper-container.style-1
  .ownerrez-featured-list__gallery
  .swiper-slide {
  height: 520px !important;
}

.ownerrez-featured-properties.swiper-container.style-2
  .ownerrez-featured-list__gallery
  .swiper-slide {
  height: 230px !important;
}

.ownerrez-featured-properties.swiper-container
  .ownerrez-featured-list__amenities-icons {
  display: flex;
  gap: 30px;
}

.ownerrez-featured-properties.swiper-container.style-2 .amenity-icon {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ownerrez-featured-properties.swiper-container.style-2 .amenity-icon svg {
  width: 16px;
}

.ownerrez-featured-properties.swiper-container.style-2 .amenity-icon p {
  margin: 0;
  font-size: 14px;
}

.ownerrez-featured-properties.swiper-container.style-2
  .ownerrez-featured-list__amenities-icons {
  padding-bottom: 16px;
  border-bottom: 1px solid #f8f8f8;
  margin-bottom: 20px;
}

.ownerrez-featured-properties.swiper-container.style-1
  .ownerrez-featured-list__amenities-icons
  .amenity-icon {
  text-align: center;
  text-transform: capitalize;
}

.ownerrez-featured-properties .swiper-button-next:after,
.ownerrez-featured-properties .swiper-button-prev:after {
  color: #fff;
}

.ownerrez-featured-properties p.ownerrez-featured-list__address {
  display: flex;
}

.ownerrez-featured-properties p.ownerrez-featured-list__address svg {
  width: 16px;
  margin-right: 7px;
}

.ownerrez-featured-properties p.ownerrez-featured-list__address {
  color: #717171;
  font-size: 14px;
}

.ownerrez-featured-properties p.ownerrez-featured-list__address svg {
  fill: #717171;
}

.ownerrez-featured-properties .swiper-button-prev,
.ownerrez-featured-properties .swiper-button-next {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a shadow */
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Optional: Adds a semi-transparent background */
  border-radius: 50%; /* Optional: Makes the button circular */
  width: 40px; /* Optional: Sets the width */
  height: 40px; /* Optional: Sets the height */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
}

.ownerrez-featured-properties .swiper-button-prev::after,
.ownerrez-featured-properties .swiper-button-next::after {
  color: #000; /* Ensures the arrow icon is visible */
  font-size: 14px;
}

.ownerrez-featured-properties a.ownerrez-featured-list__link {
  width: 100%;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 9;
}

.ownerrez-featured-list__info {
  position: relative;
}

.swiper-slide.property-item {
  border: 0;
}

/* Datepicker */

.form-group.datepicker {
  width: 32%;
  position: relative;
  margin: 0;
}

.form-group.datepicker #txtFromDate {
  position: absolute;
  width: 100%;
  top: 0;
}

.pseudo-field {
  display: flex;
  padding: 10px;
  border: 1px solid #666;
  border-radius: 4px;
  text-align: center;
  background-color: #fff;
  cursor: pointer;
  align-items: center;
  color: #000;
  font-family: "Urbanist", sans-serif;
  border-radius: 3px;
}

div#pseudoFields {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

div#pseudoFields > div {
  width: 49%;
}

.dayContainer {
  padding: 10px 0 !important;
}

.flatpickr-day {
  max-width: unset !important;
  height: 41px !important;
  width: 14.285714%;
  -webkit-flex-basis: 14.285714%;
  -ms-flex-preferred-size: 14.2857143%;
  flex-basis: 14.285714%;
}

.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
  border-radius: 5px !important;
}

.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
  border-radius: 5px !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--bub-ownerrez-plugin-primary-color) !important;
  border-color: var(--bub-ownerrez-plugin-primary-color) !important;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
  background: #d7ecff !important;
  border-color: #d7ecff !important;
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n + 1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n + 1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n + 1)) {
  -webkit-box-shadow: -10px 0 0 #d7ecff !important;
  box-shadow: -10px 0 0 #d7ecff !important;
}

.flatpickr-day.inRange {
  box-shadow: none !important;
}

button.flatpickr-ownrrz-btn.flatpickr-close {
  font-family: "Poppins", Sans-serif;
  font-size: 12px;
  font-weight: 400;
  background-color: var(--bub-ownerrez-plugin-primary-color);
  border-radius: 5px 5px 5px 5px;
  color: #fff;
  padding: 2px 12px;
  border: 1px solid var(--bub-ownerrez-plugin-primary-color);
  height: 32px;
}

button.flatpickr-ownrrz-btn.flatpickr-close:hover {
  background-color: var(--bub-ownerrez-plugin-secondary-color);
  border-color: var(--bub-ownerrez-plugin-secondary-color);
}

button.flatpickr-ownrrz-btn.flatpickr-clear {
  font-family: "Poppins", Sans-serif;
  font-size: 12px;
  font-weight: 400;
  background-color: #fff;
  border-radius: 5px 5px 5px 5px;
  color: var(--bub-ownerrez-plugin-primary-color);
  padding: 2px 12px;
  border: 1px solid var(--bub-ownerrez-plugin-primary-color);
  height: 32px;
}

button.flatpickr-ownrrz-btn.flatpickr-clear:hover {
  background-color: var(--bub-ownerrez-plugin-primary-color);
  border-color: var(--bub-ownerrez-plugin-primary-color);
  color: #fff;
}

/* Results map */

.bub-search-results.has-map .response-row {
  display: flex;
  gap: 32px;
  overflow: visible;
}

.bub-search-results.has-map div#response-container {
  width: 60%;
}

.bub-search-results.has-map .response-map {
  width: 40%;
  overflow: visible;
}

.bub-search-results.has-map div#response-container br {
  display: none;
}

.bub-search-results.has-map .gm-style-iw-chr {
  position: absolute;
  top: 20px;
  right: 20px;
}

.bub-search-results.has-map .gm-style-iw-d {
  padding-top: 20px;
  padding-left: 5px;
}

.bub-search-results.has-map div#map {
  width: 100%;
  top: 120px !important;
  height: 600px !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  margin-top: 44px;
}

.bub-search-results.has-map .ownerrez-properties-grid {
  grid-template-columns: 1fr 1fr;
}

.bub-search-results.has-map .property-count {
  font-size: 20px;
  text-align: left;
  margin-bottom: 12px;
}

.bub-search-results.has-map
  #response-container
  .ownerrez-property-card-inner
  h3 {
  font-size: 16px;
}

.bub-search-results.has-map .loader-text {
  top: 100px;
}

.bpg-row.bpg-right-2 iframe {
  height: 17.417vw;
  border-radius: 12px;
}

/* Legacy styles */

.response-num-cols-2 .ownerrez-properties-grid {
  grid-template-columns: 1fr 1fr;
}

.response-num-cols-2 .ownerrez-property-card.legacy-style {
  min-height: 550px;
}

.ownerrez-property-card.legacy-style {
  color: #fff;
  position: relative;
  min-height: 35vw;
  display: flex;
  align-items: flex-end;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 0;
}

.ownerrez-property-card.legacy-style::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  left: 0;
  top: 0;
}

.ownerrez-property-card.legacy-style a.property-url {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

#response-container .ownerrez-property-card.legacy-style .property-summary {
  display: flex;
  gap: 15px;
  font-size: 12px;
  padding: 0;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  margin: 0;
}

.ownerrez-property-card.legacy-style .ownerrez-property-card-inner {
  z-index: 2;
  padding: 0 10px;
}

.ownerrez-property-card.legacy-style .ownerrez-property-card-inner h3 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 600;
  color: #fff !important;
}

.ownerrez-property-card.legacy-style .property-summary p {
  margin-bottom: 8px;
  color: #fff !important;
}

.ownerrez-property-card.legacy-style .property-text {
  font-size: 12px;
  color: #fff;
}

/* Style 2 archive */

#response-container .ownerrez-property-card.style-2 .property-summary {
  padding: 0;
  margin: 0;
  border: none;
  display: flex;
  font-size: 14px;
  flex-wrap: wrap;
  border-top: 1px solid #efefef;
  padding-top: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.ownerrez-property-card.style-2 span.ownerrez-property-card-subtitle {
  text-transform: capitalize;
  margin-bottom: 16px;
  font-size: 12px;
  background: var(--bub-ownerrez-plugin-primary-color);
  display: inline-block;
  padding: 0 7px;
  color: #fff;
  border-radius: 4px;
  margin-top: 8px;
  line-height: 24px;
}

@media (max-width: 980px) {
  .bub-search-results.has-map div#map {
    height: 400px !important;
  }

  .flatpickr-bottom-container {
    flex-direction: column;
    font-size: 11px;
  }

  .bub-search-results.has-map .response-row {
    flex-direction: column-reverse;
  }

  .bub-search-results.has-map div#response-container {
    width: 100%;
  }

  .bub-search-results.has-map .ownerrez-properties-grid {
    grid-template-columns: 1fr;
  }

  .property-count {
    padding: 0 15px;
  }

  a#response-reset {
    width: 200px;
  }

  .bub-search-results.has-map.response-map {
    width: 100%;
  }

  form#availability-form {
    flex-wrap: wrap;
    padding: 0 24px;
  }

  .form-group.datepicker {
    width: 100%;
    margin-top: -16px;
  }

  form#availability-form .form-group.datepicker label {
    position: relative;
    top: 0;
  }

  div#pseudoFields > div {
    width: 100%;
  }

  .lightbox-content {
    width: 90vw;
  }

  .ownerrez-featured-properties.swiper-container.style-1
    .ownerrez-featured-list__item {
    flex-direction: column-reverse;
    max-width: 80%;
    margin: 0 auto;
  }

  .ownerrez-featured-properties.swiper-container.style-1
    .ownerrez-featured-list__info {
    width: 100%;
  }

  .ownerrez-featured-properties.swiper-container.style-1
    .ownerrez-featured-list__gallery {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .response-num-cols-2 .ownerrez-properties-grid {
    grid-template-columns: 1fr;
  }

  .response-num-cols-2 .ownerrez-property-card.legacy-style {
    min-height: 400px;
  }

  .ownerrez-featured-properties.swiper-container
    .ownerrez-featured-list__amenities-icons {
    flex-wrap: wrap;
    gap: 10px 15px;
  }

  .ownerrez-featured-properties.swiper-container.style-2 .amenity-icon p {
    font-size: 12px;
  }

  form#availability-form {
    flex-direction: column;
  }

  .search-form-col {
    width: 100%;
  }

  .bpg-row.bpg-right-2 {
    display: none;
  }

  .bpg-row {
    height: 37vw;
  }

  .bpg-row.bpg-right-1 .show-photos {
    display: block;
    position: relative;
    z-index: 9;
  }

  .bpg-row.bpg-right-1 .show-photos p {
    margin: 0;
    font-size: 12px;
  }

  .bpg-row.bpg-right-1 > a > div::before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    border-radius: 12px;
  }

  .bpg-row.bpg-right-1 > a > div {
    position: relative;
  }

  .lightbox-amenities-list {
    padding: 30px;
  }

  .lightbox-content h3 {
    margin-bottom: 10px;
  }

  ul.bub-property-amenities {
    column-count: 2 !important;
  }

  ul.bub-property-amenities li {
    margin: 0;
  }
}
