/* custom styles for UiSlider */
#sliderPrice.noUi-target, #sliderPersone.noUi-target {
  cursor: pointer;
}
#sliderPrice.noUi-target :focus, #sliderPersone.noUi-target :focus {
  outline: none;
}
#sliderPrice.noUi-horizontal, #sliderPersone.noUi-horizontal {
  height: 4px;
  border-radius: 0;
  border: none;
}
#sliderPrice .noUi-connect, #sliderPersone .noUi-connect {
  background: rgb(193, 232.8341968912, 255);
}
#sliderPrice .noUi-base, #sliderPersone .noUi-base {
  background: rgb(244, 251.067357513, 255);
}
#sliderPrice .noUi-handle, #sliderPersone .noUi-handle {
  top: -9px;
  right: -7px;
  width: 24px;
  height: 24px;
  background: #007CC1;
  border: 1px solid white;
  border-radius: 50px;
  box-shadow: unset;
  cursor: pointer;
  transition: transform 300ms ease;
}
#sliderPrice .noUi-handle:before, #sliderPrice .noUi-handle:after, #sliderPersone .noUi-handle:before, #sliderPersone .noUi-handle:after {
  content: none;
}
#sliderPrice .noUi-handle:hover, #sliderPersone .noUi-handle:hover {
  transform: scale(1.2);
}

section.prima-sezione {
  margin-top: 150px;
  margin-bottom: -30px;
}
section.prima-sezione .search-bar-container {
  padding-bottom: 0 !important;
}

.filter-wrap {
  position: sticky;
  top: 40px;
  margin-top: 25px;
}
.filter-wrap .search-wrap label, .filter-wrap .location-wrap label {
  font-size: 12px;
  font-weight: 500;
  padding-left: 5px;
  padding-bottom: 5px;
}
.filter-wrap .search-wrap .input-wrap, .filter-wrap .location-wrap .input-wrap {
  display: flex;
  align-items: center;
  padding: 5px 0 5px 5px;
  width: 100%;
  border: 1px solid gray;
  border-radius: 5px;
}
.filter-wrap .search-wrap .input-wrap svg, .filter-wrap .location-wrap .input-wrap svg {
  width: 25px;
  height: 25px;
}
.filter-wrap .search-wrap .input-wrap input, .filter-wrap .search-wrap .input-wrap select, .filter-wrap .search-wrap .input-wrap .custom-select, .filter-wrap .location-wrap .input-wrap input, .filter-wrap .location-wrap .input-wrap select, .filter-wrap .location-wrap .input-wrap .custom-select {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-size: 15px;
}
.filter-wrap .search-wrap .input-wrap .custom-select, .filter-wrap .location-wrap .input-wrap .custom-select {
  width: 100%;
  margin-right: 20px;
}
.filter-wrap .search-wrap .input-wrap .custom-select .select-items, .filter-wrap .location-wrap .input-wrap .custom-select .select-items {
  width: 100%;
}
.filter-wrap .search-wrap button[type=submit], .filter-wrap .location-wrap button[type=submit] {
  border-radius: 5px;
}
.filter-wrap span {
  display: inline-block;
  padding: 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 15px;
  cursor: pointer;
  transition: opacity;
}
.filter-wrap span:hover {
  opacity: 0.5;
}
@media (min-width: 992px) {
  .filter-wrap span {
    font-size: 16px;
  }
}
.filter-wrap .tipo-wrap span {
  background-color: #007CC1;
  color: white;
  opacity: 0.5;
  transition: opacity 300ms ease;
}
.filter-wrap .tipo-wrap span.active {
  opacity: 1;
}
@media (hover: hover) {
  .filter-wrap .tipo-wrap span:hover {
    opacity: 1;
  }
}
.filter-wrap label {
  font-weight: 600;
  font-size: 18px;
}
@media (min-width: 992px) {
  .filter-wrap label {
    font-size: 21px;
  }
}
.filter-wrap input {
  border: none;
  font-size: 18px;
  width: 100%;
}
.filter-wrap .button-reset {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: white;
  color: #64748b;
  font-size: 14px;
  transition: all 0.2s ease;
}
.filter-wrap .button-reset:hover {
  background-color: #f1f5f9;
  color: #334155;
}
.filter-wrap .button-reset svg {
  width: 20px;
  height: 20px;
}

.filter-button-mobile {
  z-index: 1000;
}

.filter-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  overflow-y: auto;
}

.filter-popup-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.swiper-slide .card-title, .card-wrap .card-title {
  font-size: 22px;
}
.swiper-slide .location, .card-wrap .location {
  color: #007CC1;
  font-size: 18px;
}
.swiper-slide .price, .card-wrap .price {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 20px;
  border-radius: 0 0 0 30px;
}

.the-content {
  transition: opacity 0.3s ease-in-out;
}
.the-content .pagination-wrap {
  justify-content: center;
}
.the-content .pagination-wrap ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  justify-content: center;
}
.the-content .pagination-wrap ul li {
  margin: 5px 5px;
}

.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* Adjust as needed */
}

.loading-indicator svg {
  width: 100px; /* Adjust size as needed */
  height: 100px; /* Adjust size as needed */
}