/* Service Provider Cards */
.service-provider-card {
    display: flex;
    align-items: center;
    border: 1px solid #eaeaea;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-provider-image img {
    max-width: 160px;
    margin-right: 15px;
    border-radius: 5px;
     height: 115px;
    width: 156px;
    object-fit: cover;
}

.service-provider-details {
    flex-grow: 1;
}

.service-provider-details h3 {
    margin: 0;
    margin-bottom: 5px;
    font-size: 18px;
}

.service-provider-details a {
    text-decoration: none;
    color: #0073aa;
}

.service-provider-details a:hover {
    text-decoration: underline;
}

#custom-service-provider label{
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

#service-category{
    width: 300px;
}
#service-results{
    margin-top: 15px;
}

#filter-button:disabled {
    opacity: 1; /* or any other styling to make it look "normal" */
    cursor: not-allowed; /* optional, to indicate it's not clickable */
}

#filter-button{
    display: none !important;
}

/* ... Other CSS ... */

.service-provider-card {
    display: flex;
    align-items: center;
    border: 1px solid #eaeaea;
    padding: 15px;
    margin-bottom: 25px; /* Increase this value to create more space */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap; /* Ensure content wraps if too wide */
}


.service-provider-card .title {
    width: 100%; /* Make the title span the full width */
    display: block;
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left !important;
    border-bottom: 1px solid black;

}

.service-provider-image {
    margin-right: 15px;
    margin-bottom: 15px !important; 
}

.service-provider-image img {
    max-width: 100px;
    border-radius: 5px;
}

.service-provider-details {
    flex-grow: 1; /* Make this element take up the remaining space */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center items vertically */
}

.service-provider-details h3 {
    margin: 0;
    /margin-bottom: 10px;/
    font-size: 18px;
}
.service-provider-card .title span{
        color: #000;
    font-size: 16px;
    font-weight: 500;
}

.service-provider-details p{
    margin-bottom: 0px;
}

.service-provider-details a:hover {
    color: #333;
}


.service-provider-details a[href^="mailto:"] {
    background-color: #f4f4f4;
    padding: 4px 6px;
    border-radius: 3px;
}


/* Style for Mobile */
@media (max-width: 768px) { /* Assuming 768px is the breakpoint for mobile view */
  .service-provider-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers items horizontally in flex column mode */
    text-align: center; /* centers text */
  }

  .service-provider-image img {
    max-width: 100%; /* ensures image doesn't overflow its container */
  }

  .title span {
    display: block; /* ensures full width and centers the text */
  }
  
  .hot-properties-slider .slide{
      height: 148px !important;
  }
  .service-provider-image{
      margin-right: 0px !important;
      margin-bottom: 15px !important;
     
  }
}

#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* Or however tall you want the loader space to be */
}

#loader img {
    max-height: 100%;
}

.service-provider-details {
    margin-bottom: 20px; /* You can adjust this value as needed */
}