.select2 .select2-container, .select2 .select2-selection{
  width: 100% !important;
}

.select2-selection__rendered{
  line-height: 26px !important;
}
.select2-container .select2-selection--single{
  height: 30px !important;
}
.select2-selection__arrow{
  height: 28px !important;
}


.tooltips {
  position: relative;
  display: inline-block;
}

.tooltips .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltips .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltips:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*.nav-top{
  background: linear-gradient(to right, #106F44, #F37B27);
}*/

.text-grey{
  color: #e1e1e1;
}

a.disabled{
    pointer-events: none;
}

#fieldset{
  border: 1px solid #e1e1e1;
  position: relative;
  padding: 5px;
  margin-top: 20px;
  padding-bottom: 0px;
}

legend{
  position: absolute;
  top: -13px;
  left: 20px;
  height: 25px;
  width: 100px;
  text-align: center;
  font-size: 13px;
  background-color: #2A9DF4;
  color: #fff;
}

label{
  font-size: 13px;
  font-weight: normal !important;
}

.position-relative {
  position: relative;
}

.holder{
  display: flex; 
  overflow-x: auto;
  margin-bottom: 20px;
  margin-right: 0;
}

.holder_mobile{
  display: flex; 
  overflow-x: auto;
  margin-bottom: -20px;
}

.holder_mobile::-webkit-scrollbar {
  display: none;
}

.holder::-webkit-scrollbar {
  height: 8px;
}

.holder::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}
 
.holder::-webkit-scrollbar-thumb {
  background-color: rgb(185, 185, 185);
  border-radius: 15px;
}

/* Default styles */
.holder a .typeContainerImg {
    background-color: #e1e1e1;
    transition: background-color 0.3s ease;
}
.holder a .typeContainerText {
    color: #333333;
    transition: color 0.3s ease;
    font-size: 12px; 
    margin-bottom: 0;
}

/* Hover and active styles */
.holder a:hover .typeContainerImg,
.holder a.active .typeContainerImg {
    background-color: #53aff5 !important;
}
.holder a:hover .typeContainerText,
.holder a.active .typeContainerText {
    color: #2a9df4 !important;
}

/* Default styles */
.holder_mobile a .typeMobileContainerImg {
    background-color: #e1e1e1;
    transition: background-color 0.3s ease;
}
.holder_mobile a .typeContainerText {
    color: #333333;
    transition: color 0.3s ease;
    font-size: 10px; 
}

/* Hover and active styles */
.holder_mobile a:hover .typeMobileContainerImg,
.holder_mobile a.active .typeMobileContainerImg {
    background-color: #53aff5 !important;
}
.holder_mobile a:hover .typeContainerText,
.holder_mobile a.active .typeContainerText {
    color: #2a9df4 !important;
}

.typeContainerImg{
  width: 100px; 
  height: 100px; 
  margin-top: 20px; 
  margin-bottom: 5px; 
  border-radius: 30px;
}

.typeMobileContainerImg {
  width: 70px; 
  height: 70px; 
  margin-top: 20px; 
  margin-bottom: 5px; 
  border-radius: 20px;
}

.p-5px{
  padding: 5px;
}

.sort-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Pushes content to the right */
}

.sort-label {
    margin-right: 10px; /* Adjust spacing as needed */
}

  .puretext-label {
    background-color: #2A9DF4; 
    width: -moz-fit-content; 
    width: fit-content; 
    padding: 0px 5px !important; 
    border-radius: 3px;
  }
  .real-estate-2 .portfolio-info .product-highlights p {
    font-size: 14px;
  }
  .real-estate-2 .portfolio-info .product-highlights span {
    color: #b4b4b4; 
  }
  /* Ensure the slider slide has a defined height */
  .swiper-slide.video-slide {
    position: relative;
    height: 250px; /* Extra small devices (default) */
  }
  @media (min-width: 576px) {
    /* Small devices */
    .swiper-slide.video-slide {
      height: 340px;
    }
  }
  @media (min-width: 768px) {
    /* Medium devices */
    .swiper-slide.video-slide {
      height: 400px;
    }
  }
  @media (min-width: 992px) {
    /* Large devices */
    .swiper-slide.video-slide {
      height: 460px;
    }
  }
  @media (min-width: 1200px) {
    /* Extra large devices */
    .swiper-slide.video-slide {
      min-height: 560px;
    }
  }
  .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
  }
  .video-thumbnail-container,
  .video-iframe-container {
    width: 100%;
    height: 100%;
  }
  .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .video-iframe-container iframe {
    width: 100%;
    height: 100%;
  }
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.3s ease;
    opacity: 1;
  }
  .play-button {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
  }
  .play-button svg {
    border-radius: 50%;
  }

  .swiper-slide .slider-image {
    width: 100%; /* Ensure the image takes up the full width of its container */
    height: 600px; /* Set a fixed height suitable for landscape orientation */
    object-fit: cover; /* Crop the image to fit the container without distortion */
  }

  /* Responsive adjustments */
  @media (max-width: 1200px) {
    .swiper-slide .slider-image {
      height: 550px; /* Adjust height for medium screens */
    }
  }

  @media (max-width: 992px) {
    .swiper-slide .slider-image {
      height: 450px; /* Adjust height for small screens */
    }
  }

  @media (max-width: 768px) {
    .swiper-slide .slider-image {
      height: 300px; /* Adjust height for extra small screens */
    }
  }

  @media (max-width: 576px) {
    .swiper-slide .slider-image {
      height: 260px; /* Adjust height for extra small screens */
    }
  }

  @media (max-width: 480px) {
    .swiper-slide .slider-image {
      height: 210px; /* Adjust height for very small screens */
    }
  }

  @media (max-width: 360px) {
    .swiper-slide .slider-image {
      height: 170px; /* Adjust height for ultra small screens */
    }
  }

  .modal-profile-pic {
        width: 150px;
        height: 150px;
        object-fit: cover;
        object-position: center;
        border-radius: 50%;
        border: 2px solid #ddd;
        display: block;
        margin: 0 auto;
    }